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.

SK-AM62: HDMI Display Resolution

Part Number: SK-AM62

Hi there,

I am trying to connect an HDMI display with a resolution of 800x480, however both the Yocto and Debian images seem to think the resolution should be 1920x1080. Is it possible to set the output resolution?

Thanks

  • Hello,

    1. When you say "Yocto and Debian pick up 1920x1080", what are you referring to? Is it the Weston Window? In general, if you run the command: journalctl -b | grep -i weston, it will show you all the reoslutions that Weston detected and the preferred resolution. 

    2. Try running the command "modetest -M tidss" and it will show all the resolutions supported by your monitor. My guess would be the preferred resolution for your monitor is 1920x1080.

    3. In weston, you can change resolution by modifying file "/etc/xdg/weston/weston.ini", define your output resolution and restart weston.

    [output]
    name=HDMI-A-1
    mode=800x4800@60

    Regards,

    Krunal

  • Hi Krunal,

    Thanks for the response. I guess the major piece of information I forgot to include is that I'm not using a compositor. I'm trying to run my app which uses GBM, DRM, and EGL (Basically the same setup as kmscube.) 

    Thanks,

    Andrew

  • Hi Andrew,

    My recommendation would be to review the drm-legacy.c file in Kmscube. Inside the file, there is a function called "init_drm" and and in that function, it uses the highest resolution mode or the preferred mode. In most cases, that is 1920x1080 and I would recommend you to modify the function based on your specs.

    Regards,
    Krunal