Hi,
I am using this release of ICS to boot omap Blaze http://omappedia.org/wiki/L27.IS.2.P2_OMAP4_Icecream_Sandwich_Release_Notes.I want to achieve 1080p output on my HDMI.How can i achieve it?
Regards
Haran
Haran,
Give us some more details to understand. Are you saying after connecting HDMI TV to blaze you are not getting 1080p resolution? Are you getting some other resolution? Also attach #logcat.
Regards,
Chintan
------------------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.------------------------------------------------------------------------------------------------------------------
Hi Chintan,
Thanks for the reply.When i connect my Omap blaze to a 1080p supported TV Android by default selects a resolution of 1280*720 and not 1920*1080.What should i do for Android to select a resolution of 1080p.
Here is the logcat
V/WiredAccessoryObserver( 193): Intent.ACTION_USB_HEADSET_PLUG: state: 0 name: hdmiD/ti_hwc ( 117): #0: 1920x1080 60HzD/ti_hwc ( 117): #1: 1280x720 60HzD/ti_hwc ( 117): #2: 720x480 59HzD/ti_hwc ( 117): #3: 720x480 59HzD/ti_hwc ( 117): #4: 1920x1080 60HzD/ti_hwc ( 117): #6: 1920x1080 24HzD/ti_hwc ( 117): #7: 1280x720 60HzD/ti_hwc ( 117): #8: 720x480 59HzD/ti_hwc ( 117): #9: 720x480 59HzD/ti_hwc ( 117): #10: 640x480 59HzD/ti_hwc ( 117): picking #1V/AudioService( 193): Broadcast Receiver: Got ACTION_HDMI_AUDIO_PLUG, state = 1V/WiredAccessoryObserver( 193): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=1, DEVPATH=/devices/virtual/switch/hdmi, SEQNUM=1438, ACTION=change, SWITCH}V/WiredAccessoryObserver( 193): newState = 16, headsetState = 16,mHeadsetState = 0V/WiredAccessoryObserver( 193): Intent.ACTION_USB_HEADSET_PLUG: state: 1 name: hdmiI/ti_hwc ( 117): external display changed (state=1, mirror={enabled tform=0deg}, dock={enabled tform=0deg}, tv=1
Try the following commands on your terminal and see the result:
# stop# setprop persist.hwc.mirroring.region ""# start
Still it takes a resolution of 1280*720 and not 1080p resolution.
It should work. I suggest to do one of the following:
1) Try with the latest IC release:
http://www.omappedia.com/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Release_Notes
2) Continue debug the same release by looking into the file mydroid\hardware\ti\omap4xxx\hwc\hwc.c and function omap4_hwc_set_best_hdmi_mode() for further debug. Like try increasing struct dsscomp_videomode modedb[16] to struct dsscomp_videomode modedb[32].
Le us know your observation later.
Which TV model are you using? Can you try on a different model?
Please click the Verify Answer button on this post if it answers your question. ------------------------------------------------------------------------------------------------------------------
I was able to achieve 1920*1080 with some changes in the hwc.c file ie what i did is i forced android to pick up 1920*1080 resolution and it occupied only 2/3rd of my TV ie the display was in the top left corner occupying only 2/3rd of the display and with a lot of disturbances ie those white spots everywhere.Is this approach fine or should i try something else.What should i do to get a clear 1080p display.I confirmed that it was a 1080p display by checking the display1 timings.
Chintan has given you the correct answer. Removing the mirroring.region property is all that is necessary. However the release you are using is very early and does not work correctly in all cases. You need to move to the latest L4AI release and it should work. The reason changing the hwc.c file does not work is that while you forced it to choose the FHD resolution, you did not set up the HWC to enlarge the surfaces. The reason HD is the default and not FHD is because the blaze tablet's panel is close to (but not exactly) 1280x720, so the mirroring.region property is set up so that the tablet's panel is correctly displayed on HDMI in HD resolution.
Instead of changing the hwc code, We suggest you upgrade to the latest ICS releast L4AI.1.4 and unset the persist.hwc.mirroring.region property.This should fully duplicate and enlarge the surfaces to FHD resolution on HDMI when mirroring.
Matt Kiser
Please click the Verify Answerbutton on this post if it answers your question.
Hi Matt,
Thanks for the reply.Will try with the latest release and will revert back to you soon with the results.
Tried with the latest release but it still takes a resolution of 1280*720 only and not 1080p.I did the procedure as instructed by Chintan but still no use.It by default selects 720p resolution and not 1080p.This is the release that i used.
http://omappedia.org/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Release_Notes
Are you using Blaze or Blaze tablet?
I have tried default 4AI.1.4 release on my Blaze tablet for "Android on Tablet" from the following link. The file name is omap4_emmc_files_blaze_tablet_4AI.1.4.tar.bz2. I have not modified anything or replaced anything.
http://www.omappedia.com/wiki/Android:_Working_with_pre-built_binaries
I have booted with HDMI TV connected initially it picked up 1280x7120 resolution as shown in the logs below:
I/ti_hwc ( 123): clone region is set to (0,0) to (1280,720)D/ti_hwc ( 123): #0: 1920x1080 60HzD/ti_hwc ( 123): #1: 640x480 59HzD/ti_hwc ( 123): #2: 640x480 72HzD/ti_hwc ( 123): #3: 640x480 75HzD/ti_hwc ( 123): #4: 800x600 56HzD/ti_hwc ( 123): #5: 800x600 60HzD/ti_hwc ( 123): #6: 800x600 72HzD/ti_hwc ( 123): #7: 800x600 75HzD/ti_hwc ( 123): #8: 1024x768 60HzD/ti_hwc ( 123): #9: 1024x768 70HzD/ti_hwc ( 123): #10: 1024x768 75HzD/ti_hwc ( 123): #11: 1280x1024 75HzD/ti_hwc ( 123): #12: 1280x960 60HzD/ti_hwc ( 123): #13: 1280x1024 60HzD/ti_hwc ( 123): #14: 1280x720 60HzD/ti_hwc ( 123): #15: 1280x720 50HzD/ti_hwc ( 123): #16: 720x480 59HzD/ti_hwc ( 123): #17: 720x576 50HzD/ti_hwc ( 123): #18: 640x480 59HzD/ti_hwc ( 123): #19: 720x480 59HzD/ti_hwc ( 123): #20: 720x576 50HzD/ti_hwc ( 123): #21: 1280x720 50HzD/ti_hwc ( 123): #22: 1280x720 60HzD/ti_hwc ( 123): #23: 1920x540 50HzD/ti_hwc ( 123): #24: 1920x540 60HzD/ti_hwc ( 123): #25: 1920x1080 50HzD/ti_hwc ( 123): #26: 1920x1080 60HzD/ti_hwc ( 123): picking #14I/ti_hwc ( 123): external display changed (state=1, mirror={enabled tform=0deg}, dock={enabled tform=0deg}, tv=1I/ti_hwc ( 123): omap4_hwc_device_open(rgb_order=1 nv12_only=0)I/ti_hwc ( 123): Unable to open gc-core device (1), blits disabled
After that I have tried the commands as I have suggested to you on terminal:
After that the new resolution picked up is 1920x1080 as shown in the logs below:
I/ti_hwc ( 1138): clone region is set to (0,0) to (1024,768)D/ti_hwc ( 1138): #0: 1920x1080 60HzD/ti_hwc ( 1138): #1: 640x480 59HzD/ti_hwc ( 1138): #2: 640x480 72HzD/ti_hwc ( 1138): #3: 640x480 75HzD/ti_hwc ( 1138): #4: 800x600 56HzD/ti_hwc ( 1138): #5: 800x600 60HzD/ti_hwc ( 1138): #6: 800x600 72HzD/ti_hwc ( 1138): #7: 800x600 [ 155.574005] tc358765 display0: disable[ 155.574127] misc dsscomp: [c66fd800] ignoring set failure -2275HzD/ti_hwc ( 1138): #8: 1024x768 60HzD/ti_hwc ( 1138): #9: 1024x768 70HzD/ti_hwc ( 1138): #10: 1024x768 75HzD/ti_hwc ( 1138): #11: 1280x1024 75HzD/ti_hwc ( 1138): #12: 1280x960 60HzD/ti_hwc ( 1138): #13: 1280x1024 60HzD/ti_hwc ( 1138): #14: 1280x720 60HzD/ti_hwc ( 1138): #15: 1280x720 50HzD/ti_hwc ( 1138): #16: 720x480 59HzD/ti_hwc ( 1138): #17: 720x576 50HzD/ti_hwc ( 1138): #18: 640x480 59HzD/ti_hwc ( 1138): #19: 720x480 59HzD/ti_hwc ( 1138): #20: 720x576 50HzD/ti_hwc ( 1138): #21: 1280x720 50HzD/ti_hwc ( 1138): #22: 1280x720 60HzD/ti_hwc ( 1138): #23: 1920x540 50HzD/ti_hwc ( 1138): #24: 1920x540 60HzD/ti_hwc ( 1138): #25: 1920x1080 50HzD/ti_hwc ( 1138): #26: 1920x1080 60HzD/ti_hwc ( 1138): picking #0
So the suggestions provided should work as it is. Can you try changing the TV or re-flash the device as I have mentioned at start?
You can check the selected HDMI TV timings by following command:
For Blaze Tablet: shell@android:/ # cat /sys/devices/platform/omapdss/display1/timings
For Blaze: shell@android:/ # cat /sys/devices/platform/omapdss/display2/timings
Also be sure to
setprop persist.hwc.mirroring.enabled "1"
This will help to ensure the entire UI is mirrored to HDMI and not just video layers.
Even though i do not use the prebuilts i compile android for blaze of the latest release and when i boot it and follow the above instructions it still takes 720p and not 1080p.I dont know what is the problem here is the LOG.
I/ti_hwc ( 115): The value of ext->mirror.rotation is --------------->>>>>>>>>0I/ti_hwc ( 115): THe value of ext->force_dock is ---------->>>>>>>>0D/ti_hwc ( 115): #0: 1920x1080 60HzD/ti_hwc ( 115): #1: 1280x720 60HzD/ti_hwc ( 115): #2: 720x480 59HzD/ti_hwc ( 115): #3: 720x480 59HzD/ti_hwc ( 115): #4: 1920x1080 60HzD/ti_hwc ( 115): #5: 1920x540 60HzD/ti_hwc ( 115): #6: 1920x1080 24HzD/ti_hwc ( 115): #7: 1280x720 60HzD/ti_hwc ( 115): #8: 720x480 59HzD/ti_hwc ( 115): #9: 720x480 59HzD/ti_hwc ( 115): #10: 640x480 59HzD/ti_hwc ( 115): picking #1
Can you pls tel me what are the bootargs that has to be given?I am giving these bootargs
setenv bootargs androidboot.console=ttyO2 console=ttyO2,115200n8 mem=456M@0x80000000 mem=512M@0xA0000000 root=/dev/mmcblk1p2 rw rootdelay=2 init=/init vram="64M" omapfb.vram="0:32M,1:32M" consoleblank=0 setenv bootcmd 'mmcinit 0; fatload mmc 0 0x80000000 uImage;bootm 80000000'
Is the frame buffer size sufficient or should i give a bigger frame buffer size?
Look into the file ($MYDROID/device/ti/support-tools/boot/omap4/umulti2.sh) for bootargs used for blaze. The 32M buffer is big enough for four(4) 1080p RGB (1920*1080*2*4) buffers so that may not be issue.