This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Omap blaze tablet 2 HDMI 1080p resolution

Hi,

I use 4AI.1.4-P1 for blaze tablet 2, current hdmi resolution is 1280*720. I want to change the hdmi resolution to 1920*1080 for 24-inch LCD monitor (1080p supported ), I modify the code under mydroid/ device/ti/blaze_tablet/device.mk. I modify code in device.mk as below:

default:

PRODUCT_PROPERTY_OVERRIDES += \
    persist.hwc.mirroring.region=0:0:1280:720

modify:

PRODUCT_PROPERTY_OVERRIDES += \
    persist.hwc.mirroring.region=0:0:1920:1080

And then I clean and rebuild android filesystem.

But the 1080p resolution display is in the top left corner only 2/3 of the screen, the default resolution 1280*720 is okay for full screen,is there anything I need to modify?

Thanks very much.

  • Hi Darren,

    The resolution of the Tablet2 LCD is 1280 x 800 and it clones the content on to HDMI upon booting the device with HDMI connected and powered on.

    The hardware composer checks the best fit HDMI resolution and picks the timings accordingly.

    Now that you forced to pick the 1080p timings of TV, the overlay needs to be programmed to resize the input data to match the HDMI timings resolution so that the content gets scaled up and displayed over the full screen. That is, the output size parameter of the overlay whose manager is TV needs to be modified appropriately to 1080p resolution so that the content gets scaled and displayed over the full screen. You can check this out in the Hardware Composer layer under the $MYDROID/hardware/ti/omap4xxx/hwc

    Thanks & Best Regards,

    Venkat

  • Hi Vankat,

    Thanks for your reply. Following the http://e2e.ti.com/support/omap/f/849/t/189552.aspx, I unset  the persist.hwc.mirroring.region property. Taht is, I comment the code in  $mydroid/ device/ti/blaze_tablet/device.mk. I modify code in device.mk as below:

    #PRODUCT_PROPERTY_OVERRIDES += \
    #    persist.hwc.mirroring.region=0:0:1280:720

    After rebuilding the code and restart:

    I use logcat command to get log, the log about hdmi is as below:

     I/ti_hwc  (  241): clone region is set to (0,0) to (1280,800)
    D/ti_hwc  (  241): #0: 1920x1080 60Hz
    D/ti_hwc  (  241): #1: 640x480 59Hz
    D/ti_hwc  (  241): #2: 800x600 60Hz
    D/ti_hwc  (  241): #3: 1024x768 60Hz
    D/ti_hwc  (  241): #4: 1280x960 60Hz
    D/ti_hwc  (  241): #5: 1280x1024 60Hz
    D/ti_hwc  (  241): #6: 1920x1080 60Hz
    D/ti_hwc  (  241): #7: 1280x720 60Hz
    D/ti_hwc  (  241): #8: 720x480 59Hz
    D/ti_hwc  (  241): #9: 1920x1080 60Hz
    D/ti_hwc  (  241): #10: 1920x540 60Hz
    D/ti_hwc  (  241): #11: 1280x720 60Hz
    D/ti_hwc  (  241): #12: 720x480 59Hz
    D/ti_hwc  (  241): #13: 720x480 59Hz
    D/ti_hwc  (  241): #14: 640x480 59Hz
    D/ti_hwc  (  241): #15: 720x576 50Hz
    D/ti_hwc  (  241): #16: 720x576 50Hz
    D/ti_hwc  (  241): #17: 1280x720 50Hz
    D/ti_hwc  (  241): #18: 1920x540 50Hz
    D/ti_hwc  (  241): #19: 1920x1080 50Hz
    D/ti_hwc  (  241): picking #0

     It seems that adjusted hdmi resolution to 1920*1080 works. The screen display is as below:

     

     

     

     

  • Hi Vankat,

    Sorry, the post unfinished on my last post.  I posted some figures and it was fail. I don't not what is wrong.

    The status of adjusting hdmi resolution to 1080p, the screen display is as below, but on both rigt side and left side of LCD, the black rectangular on both side as below,

           

    Is it normal? Or there is something wrong?

    Thanks a lot.

    Darren Huang

  • Hi Darren,

    This is normal as the HWC layer ensures that the aspect ratio is maintained and hence re-sizes it to center of the HDMI screen resolution. As I mentioned earlier, we are trying to clone the frame buffer content which is of 1280x800 LCD resolution on to HDMI TV and hence to avoid stretched artifacts it ensures that the resizing is done maintaining the aspect ratio within the HDMI screen resolution limits.

    Thanks & Best Regards,

    Venkat