Custom HDMI resolution with android

Discussion in 'UDOO 101' started by Yoshi, Jan 21, 2014.

  1. Yoshi

    Yoshi New Member

    Joined:
    Jan 21, 2014
    Messages:
    4
    Likes Received:
    0
    How can I set custom HDMI resolution with andoid image? I read that it can be done in ubuntu. How about android?
     
  2. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    you need to set the environment variable with your custom resolution instead of 1920x1080:

    Code:
    setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
    This guide is for setting the LVDS but it works also for setting a custom HDMI resolution. http://www.udoo.org/faq-items/how-do-i-set-up-my-lvds/
     
  3. Yoshi

    Yoshi New Member

    Joined:
    Jan 21, 2014
    Messages:
    4
    Likes Received:
    0
    Just one more noob question. Where can I put this line? Thanks.
     
  4. Yoshi

    Yoshi New Member

    Joined:
    Jan 21, 2014
    Messages:
    4
    Likes Received:
    0
    I've just found it in the documentation. Thanks.
     
  5. Yoshi

    Yoshi New Member

    Joined:
    Jan 21, 2014
    Messages:
    4
    Likes Received:
    0
    I tried your settings and it works with standard output like 1080p and 720p. But when I try with the custom resolution I need (1760x729), it fallbacks to 720p. I also tried with 1760x1100 & 1760x990 (which keep ratio 16:10 & 16:9) and all of these fail. Can you check this configuration?
    Thanks.
     
  6. anton@driversbay.ca

    anton@driversbay.ca New Member

    Joined:
    Feb 7, 2014
    Messages:
    2
    Likes Received:
    0
    Hey guys, same question here, im looking to setup 1280x800, changes go through (I had 1920x1080, display worked but objects on screen were too small), natural res of my screen is 1280x800, after system boots - i see 1280x672 for some reason. I see all images with wrong aspect ratio, i guess that is due to thing that i have 16:9 currently as default, which parameter changes it to 16:10. Please advise, thanks
     
  7. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
  8. anton@driversbay.ca

    anton@driversbay.ca New Member

    Joined:
    Feb 7, 2014
    Messages:
    2
    Likes Received:
    0
    Delba, reference you provided doesn't look like what I need. Device im working with is HDMI display. Control board on it is capable of scaling of any resolution (up to 1080p) to the display. it works perfectly on 1080p settings in android, but its not native resolution for the LCD, its 1280x800 screen. I'm not an expert in this subject, but it seems that you have predefined HDMI modes for 16:9 wide screen ratios, so when I try to pass 1280x800 it accepts 1280 parameter but changes vertical resolution to 720 (picture looks extended in vertical direction). When i check configuration information in "developers tools" in android it shows horRes=1280, vertRes=672, i guess 672 is actual window vertical size minus android bar height, so my system vertical resolution is 720, not 800. I'm learning kernel compilation process right now and probably will be able to get my answer myself soon, but if you can suggest at least that my conclusion is right or wrong would be cool. Btw I tryied to hookup this display to my windows laptop and I was able to setup 1280x*800 on this screen and picture looked perfect, so screen and control board on it work fine.
     

Share This Page