• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » OMAP™ Applications Processors » OMAP 4 Forum » 1080p resolution on HDMI for omap blaze
Share
OMAP™ Applications Processors
  • Forums
Options
  • Subscribe via RSS

1080p resolution on HDMI for omap blaze

1080p resolution on HDMI for omap blaze

This question is answered
Haran Ashok
Posted by Haran Ashok
on May 20 2012 05:06 AM
Intellectual950 points

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

blaze
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Chintan Patel
    Posted by Chintan Patel
    on May 21 2012 01:35 AM
    Intellectual1410 points

    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.
    ------------------------------------------------------------------------------------------------------------------

    HDMI TV On Blaze
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haran Ashok
    Posted by Haran Ashok
    on May 21 2012 05:16 AM
    Intellectual950 points

    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: hdmi
    D/ti_hwc  (  117): #0: 1920x1080 60Hz
    D/ti_hwc  (  117): #1: 1280x720 60Hz
    D/ti_hwc  (  117): #2: 720x480 59Hz
    D/ti_hwc  (  117): #3: 720x480 59Hz
    D/ti_hwc  (  117): #4: 1920x1080 60Hz
    D/ti_hwc  (  117): #6: 1920x1080 24Hz
    D/ti_hwc  (  117): #7: 1280x720 60Hz
    D/ti_hwc  (  117): #8: 720x480 59Hz
    D/ti_hwc  (  117): #9: 720x480 59Hz
    D/ti_hwc  (  117): #10: 640x480 59Hz
    D/ti_hwc  (  117): picking #1
    V/AudioService(  193): Broadcast Receiver: Got ACTION_HDMI_AUDIO_PLUG, state = 1
    V/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 = 0
    V/WiredAccessoryObserver(  193): Intent.ACTION_USB_HEADSET_PLUG: state: 1 name: hdmi
    I/ti_hwc  (  117): external display changed (state=1, mirror={enabled tform=0deg}, dock={enabled tform=0deg}, tv=1

    Regards

    Haran

    blaze
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chintan Patel
    Posted by Chintan Patel
    on May 21 2012 05:32 AM
    Intellectual1410 points

    Haran,

    Try the following commands on your terminal and see the result:

    # stop
    # setprop persist.hwc.mirroring.region ""
    # start

    Regards,

    Chintan

    ------------------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    blaze HDMI TV
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haran Ashok
    Posted by Haran Ashok
    on May 21 2012 06:09 AM
    Intellectual950 points

    Hi Chintan,

    Still it takes a resolution of 1280*720 and not 1080p resolution.

    Regards

    Haran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chintan Patel
    Posted by Chintan Patel
    on May 21 2012 06:21 AM
    Intellectual1410 points

    Haran,

    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.

    Regards,

    Chintan

    ------------------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mayank Mangla
    Posted by Mayank Mangla
    on May 21 2012 08:31 AM
    Expert3825 points

    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.
    ------------------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haran Ashok
    Posted by Haran Ashok
    on May 21 2012 09:42 AM
    Intellectual950 points

    Hi Chintan,

    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.

    Regards

    Haran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthew Kiser
    Posted by Matthew Kiser
    on May 21 2012 14:26 PM
    Intellectual1300 points

    Haran,

    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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haran Ashok
    Posted by Haran Ashok
    on May 22 2012 00:45 AM
    Intellectual950 points

    Hi Matt,

    Thanks for the reply.Will try with the latest release and will revert back to you soon with the results.

    Regards

    Haran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haran Ashok
    Posted by Haran Ashok
    on May 22 2012 04:43 AM
    Intellectual950 points

    Hi Matt,

    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

    Regards,

    Haran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chintan Patel
    Posted by Chintan Patel
    on May 23 2012 06:14 AM
    Intellectual1410 points

    Haran,

    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 60Hz
    D/ti_hwc ( 123): #1: 640x480 59Hz
    D/ti_hwc ( 123): #2: 640x480 72Hz
    D/ti_hwc ( 123): #3: 640x480 75Hz
    D/ti_hwc ( 123): #4: 800x600 56Hz
    D/ti_hwc ( 123): #5: 800x600 60Hz
    D/ti_hwc ( 123): #6: 800x600 72Hz
    D/ti_hwc ( 123): #7: 800x600 75Hz
    D/ti_hwc ( 123): #8: 1024x768 60Hz
    D/ti_hwc ( 123): #9: 1024x768 70Hz
    D/ti_hwc ( 123): #10: 1024x768 75Hz
    D/ti_hwc ( 123): #11: 1280x1024 75Hz
    D/ti_hwc ( 123): #12: 1280x960 60Hz
    D/ti_hwc ( 123): #13: 1280x1024 60Hz
    D/ti_hwc ( 123): #14: 1280x720 60Hz
    D/ti_hwc ( 123): #15: 1280x720 50Hz
    D/ti_hwc ( 123): #16: 720x480 59Hz
    D/ti_hwc ( 123): #17: 720x576 50Hz
    D/ti_hwc ( 123): #18: 640x480 59Hz
    D/ti_hwc ( 123): #19: 720x480 59Hz
    D/ti_hwc ( 123): #20: 720x576 50Hz
    D/ti_hwc ( 123): #21: 1280x720 50Hz
    D/ti_hwc ( 123): #22: 1280x720 60Hz
    D/ti_hwc ( 123): #23: 1920x540 50Hz
    D/ti_hwc ( 123): #24: 1920x540 60Hz
    D/ti_hwc ( 123): #25: 1920x1080 50Hz
    D/ti_hwc ( 123): #26: 1920x1080 60Hz
    D/ti_hwc ( 123): picking #14
    I/ti_hwc ( 123): external display changed (state=1, mirror={enabled tform=0deg}, dock={enabled tform=0deg}, tv=1
    I/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:

    # stop
    # setprop persist.hwc.mirroring.region ""
    # start

    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 60Hz
    D/ti_hwc ( 1138): #1: 640x480 59Hz
    D/ti_hwc ( 1138): #2: 640x480 72Hz
    D/ti_hwc ( 1138): #3: 640x480 75Hz
    D/ti_hwc ( 1138): #4: 800x600 56Hz
    D/ti_hwc ( 1138): #5: 800x600 60Hz
    D/ti_hwc ( 1138): #6: 800x600 72Hz
    D/ti_hwc ( 1138): #7: 800x600 [ 155.574005] tc358765 display0: disable
    [ 155.574127] misc dsscomp: [c66fd800] ignoring set failure -22
    75Hz
    D/ti_hwc ( 1138): #8: 1024x768 60Hz
    D/ti_hwc ( 1138): #9: 1024x768 70Hz
    D/ti_hwc ( 1138): #10: 1024x768 75Hz
    D/ti_hwc ( 1138): #11: 1280x1024 75Hz
    D/ti_hwc ( 1138): #12: 1280x960 60Hz
    D/ti_hwc ( 1138): #13: 1280x1024 60Hz
    D/ti_hwc ( 1138): #14: 1280x720 60Hz
    D/ti_hwc ( 1138): #15: 1280x720 50Hz
    D/ti_hwc ( 1138): #16: 720x480 59Hz
    D/ti_hwc ( 1138): #17: 720x576 50Hz
    D/ti_hwc ( 1138): #18: 640x480 59Hz
    D/ti_hwc ( 1138): #19: 720x480 59Hz
    D/ti_hwc ( 1138): #20: 720x576 50Hz
    D/ti_hwc ( 1138): #21: 1280x720 50Hz
    D/ti_hwc ( 1138): #22: 1280x720 60Hz
    D/ti_hwc ( 1138): #23: 1920x540 50Hz
    D/ti_hwc ( 1138): #24: 1920x540 60Hz
    D/ti_hwc ( 1138): #25: 1920x1080 50Hz
    D/ti_hwc ( 1138): #26: 1920x1080 60Hz
    D/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

    Regards,

    Chintan

    ------------------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    blaze HDMI TV
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthew Kiser
    Posted by Matthew Kiser
    on May 23 2012 11:56 AM
    Intellectual1300 points

    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.

    Matt Kiser

     

    Please click the Verify Answerbutton on this post if it answers your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haran Ashok
    Posted by Haran Ashok
    on May 24 2012 01:37 AM
    Intellectual950 points

    Hi,

    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 --------------->>>>>>>>>0
    I/ti_hwc  (  115): THe value of ext->force_dock is ---------->>>>>>>>0
    D/ti_hwc  (  115): #0: 1920x1080 60Hz
    D/ti_hwc  (  115): #1: 1280x720 60Hz
    D/ti_hwc  (  115): #2: 720x480 59Hz
    D/ti_hwc  (  115): #3: 720x480 59Hz
    D/ti_hwc  (  115): #4: 1920x1080 60Hz
    D/ti_hwc  (  115): #5: 1920x540 60Hz
    D/ti_hwc  (  115): #6: 1920x1080 24Hz
    D/ti_hwc  (  115): #7: 1280x720 60Hz
    D/ti_hwc  (  115): #8: 720x480 59Hz
    D/ti_hwc  (  115): #9: 720x480 59Hz
    D/ti_hwc  (  115): #10: 640x480 59Hz
    D/ti_hwc  (  115): picking #1

    Regards

    Haran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haran Ashok
    Posted by Haran Ashok
    on May 24 2012 06:05 AM
    Intellectual950 points

    Hi,

    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?

    Regards

    Haran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chintan Patel
    Posted by Chintan Patel
    on May 24 2012 08:29 AM
    Intellectual1410 points

    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.

    Regards,

    Chintan

    ------------------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use