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.

AM572x HDMI resolution issue

Hi,

       I want to change the HDMI out resolution. I have tried the steps discussed and conversation but i am unable to set it

Please tell me how can i change the HDMI out resolution, I am using i-processor-sdk-linux-am57xx-evm-02.00.01.07 SDK

Thanks & Regards

Abhishek

  • I will forward this to the software team.
  • Hi,

    If the above suggestions didn't work, try hardcoding x_res & y_res in omapdss_default_get_resolution() function in drivers/video/fbdev/omap2/dss/display.c:
    void omapdss_default_get_resolution(struct omap_dss_device *dssdev,
    u16 *xres, u16 *yres)
    {
    *xres = dssdev->panel.timings.x_res;
    *yres = dssdev->panel.timings.y_res;
    }

    This should force hdmi to work with the hardcoded values.

    Another suggestion is to set the default hdmi timings:
    static const struct omap_video_timings hdmic_default_timings = {
    .x_res = 640,
    .y_res = 480,
    .pixelclock = 25175000,

    in drivers/video/fbdev/omap2/displays-new/connector-hdmi.c & force the HDMI connector to work with the default timing values.

    Best Regards,
    Yordan
  • Hi Yordan

    1. I tried to set the values in the below function but i was unable to set the resolution to 800x600 on HDMI Monitor.

    void omapdss_default_get_resolution(struct omap_dss_device *dssdev,
    u16 *xres, u16 *yres)
    {
    /**xres = dssdev->panel.timings.x_res;
    *yres = dssdev->panel.timings.y_res;*/

    *xres = 800;
    *yres = 600;
    }

    2. Below entries are already 640x480 but at HDMI display it shows resolution 1028x768

    static const struct omap_video_timings hdmic_default_timings = {
    .x_res = 640,
    .y_res = 480,
    .pixelclock = 25175000,

    3. Later i tried setenv mmcrootfstype ext4 rootwait video=HDMI-A-1:640x480 from u-boot In this case i was able to see changed resolution on HDMI monitor as 640x480 but if i try to play video of size 640x480 on display it was playing on small screen only and Resolution on HDMI monitor was visible as 1028x768 once i exit the pipeline again resolution visible on screen was 640x480.

    I use below pipeline to play video data

    gst-launch-1.0 -e v4l2src device="/dev/video1" ! 'video/x-raw,format,(string)YUY2,,width=640,height=480,framerate=(fraction)25/1' ! videoconvert !  ducatimpeg4enc ! !queue ! mpeg4videoparse !  ducatimpeg4dec ! queue ! kmssink sync=false connector=26



    I tried above step on EVM also and get the same result.

    Thanks & Regards

    Abhishek

  • Hello,

    When you are playing the pipeline could you try to use vpe element for scaling.
    VPE supports video operations such as scaling, color space conversion, and deinterlacing.
    Here is examples of usage :
    processors.wiki.ti.com/.../Processor_Training:_Multimedia
    In your pipeline the caps filter I see double ",," could you change it as well.

    BR
    Margarita