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.

TMDSEVM572X: Changing HDMI resolution

Part Number: TMDSEVM572X

I Want to set My HDMI external resolution from 800x600 to 1080p.

Thanks

  • Hello,

    Did you try to add video=HDMI-A-1:1280x780 and  make  changes in /etc/weston.ini file?
    Please check these guides:
    processors.wiki.ti.com/.../Processor_Linux_SDK_Graphics_and_Display

    http://processors.wiki.ti.com/index.php/Linux_Core_DSS_User's_Guide


    BR
    Margarita

  • Hello,
    Thanks.
    I tried it already this with no success. I even tried to use smaller resolution change and failed (1024x768).
    When I send command fbset that was my output:

    mode "800x480"
    geometry 800 480 1024 760 32
    timing 0 0 0 0 0 0
    accel true
    rgba 8/16,8/16,8/0,8/24
    endmode
    Gilad
  • Hello,

    Could you provide the steps that you are executing?

    Could you post the execution of these two commands also?
    cat /proc/cmdline
    ./modetest

    BR
    Margarita
  • Hello

    First I add the line " video=HDMI-A-1:1280x780" in /etc/weston.ini as you suggested.

    Later I tried to use the Ti proposal i.e.

    I add to /etc/weston.ini the following

    [output]

    name=HDMI-A-I

    mode=1024x768

    In both cases I failed

    The output of cat /proce/cmdline is

    console=tty02,115200n8 root=PARTUUID-00000000-02 rw rootfstype=ext4 rootwait

    and the output of mode test

    root@am57xx-evm:~# modetest

    trying to open device 'i915'...failed.

    trying to open device 'radeon'...failed.

    [ 3574.234985] omapdss error: HDMI I2C Master Error

    trying to open device 'nouveau'...failed.

    trying to open device 'vmwgfx'...failed.

    trying to open device 'omapdrm'...success.

    Encoders:

    id      crtc    type    possible crtcs  possible clones

    25      28      TMDS    0x00000001      0x00000000

    29      32      TMDS    0x00000002      0x00000000

    Connectors:

    id      encoder status          type    size (mm)       modes   encoders

    26      25      connected       HDMI-A  0x0             5       25

     modes:

           name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)

     1024x768 60 1024 1048 1184 1344 768 771 777 806 flags: nhsync, nvsync; type: driver

     800x600 60 800 840 968 1056 600 601 605 628 flags: phsync, pvsync; type: driver

     800x600 56 800 824 896 1024 600 601 603 625 flags: phsync, pvsync; type: driver

     848x480 60 848 864 976 1088 480 486 494 517 flags: phsync, pvsync; type: driver

     640x480 60 640 656 752 800 480 489 492 525 flags: nhsync, nvsync; type: driver

     props:

           1 EDID:

                   flags: immutable blob

                   blobs:

                   value:

           2 DPMS:

                   flags: enum

                   enums: On=0 Standby=1 Suspend=2 Off=3

                   value: 0

    30      29      connected       unknown 0x0             1       29

     modes:

           name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)

     800x480 60 800 1010 1040 1056 480 502 515 525 flags: nhsync, nvsync; type: preferred, driver

     props:

           1 EDID:

                   flags: immutable blob

                   blobs:

                   value:

           2 DPMS:

                   flags: enum

                   enums: On=0 Standby=1 Suspend=2 Off=3

                   value: 0

    CRTCs:

    id      fb      pos     size

    28      44      (0,0)   (1024x768)

     1024x768 60 1024 1048 1184 1344 768 771 777 806 flags: nhsync, nvsync; type: driver

     props:

           21 trans-key-mode:

                   flags: enum

                   enums: disable=0 gfx-dst=1 vid-src=2

                   value: 0

           22 trans-key:

                   flags: range

                   values: 0 16777215

                   value: 0

           23 background:

                   flags: range

                   values: 0 16777215

                   value: 0

           24 alpha_blender:

                   flags: range

                   values: 0 1

                   value: 0

           17 rotation:

                   flags: bitmask

                   values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20

                   value: 0

           18 zorder:

                   flags: range

                   values: 0 3

                   value: 0

           19 global_alpha:

                   flags: range

                   values: 0 255

                   value: 0

           20 pre_mult_alpha:

                   flags: range

                   values: 0 1

                   value: 0

    32      46      (0,0)   (800x480)

     800x480 60 800 1010 1040 1056 480 502 515 525 flags: nhsync, nvsync; type: preferred, driver

     props:

           21 trans-key-mode:

                   flags: enum

                   enums: disable=0 gfx-dst=1 vid-src=2

                   value: 0

           22 trans-key:

                   flags: range

                   values: 0 16777215

                   value: 0

           23 background:

                   flags: range

                   values: 0 16777215

                   value: 0

           24 alpha_blender:

                   flags: range

                   values: 0 1

                   value: 0

           17 rotation:

                   flags: bitmask

                   values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20

                   value: 0

           18 zorder:

                   flags: range

                   values: 0 3

                   value: 0

           19 global_alpha:

                   flags: range

                   values: 0 255

                   value: 0

           20 pre_mult_alpha:

                   flags: range

                   values: 0 1

                   value: 0

    Planes:

    id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs

    27      28      44      0,0             0,0     0               0x00000001

     formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24

     props:

           5 type:

                   flags: immutable enum

                   enums: Overlay=0 Primary=1 Cursor=2

                   value: 1

           17 rotation:

                   flags: bitmask

                   values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20

                   value: 1

           18 zorder:

                   flags: range

                   values: 0 3

                   value: 0

           19 global_alpha:

                   flags: range

                   values: 0 255

                   value: 0

           20 pre_mult_alpha:

                   flags: range

                   values: 0 1

                   value: 0

    31      32      46      0,0             0,0     0               0x00000002

     formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY

     props:

           5 type:

                   flags: immutable enum

                   enums: Overlay=0 Primary=1 Cursor=2

                   value: 1

           17 rotation:

                   flags: bitmask

                   values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20

                   value: 1

           18 zorder:

                   flags: range

                   values: 0 3

                   value: 0

           19 global_alpha:

                   flags: range

                   values: 0 255

                   value: 0

           20 pre_mult_alpha:

                   flags: range

                   values: 0 1

                   value: 0

    33      0       0       0,0             0,0     0               0x00000003

     formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY

     props:

           5 type:

                   flags: immutable enum

                   enums: Overlay=0 Primary=1 Cursor=2

                   value: 0

           17 rotation:

                   flags: bitmask

                   values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20

                   value: 1

           18 zorder:

                   flags: range

                   values: 0 3

                   value: 0

           19 global_alpha:

                   flags: range

                   values: 0 255

                   value: 0

           20 pre_mult_alpha:

                   flags: range

                   values: 0 1

                   value: 0

    34      0       0       0,0             0,0     0               0x00000003

     formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY

     props:

           5 type:

                   flags: immutable enum

                   enums: Overlay=0 Primary=1 Cursor=2

                   value: 0

           17 rotation:

                   flags: bitmask

                   values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20

                   value: 1

           18 zorder:

                   flags: range

                   values: 0 3

                   value: 0

           19 global_alpha:

                   flags: range

                   values: 0 255

                   value: 0

           20 pre_mult_alpha:

                   flags: range

                   values: 0 1

                   value: 0

    Frame buffers:

    id      size    pitch

    BR

    Gilad

  • Hello,

    Gilad Davara said:
    First I add the line " video=HDMI-A-1:1280x780" in /etc/weston.ini as you suggested.

    No. This video=HDMI-A-1:1024x768 should be added in bootargs not in weston.ini.

    Please check the first user guide that I linked.

    BR

    Margarita

  • Hello,
    I did tried to use setenv command. Unfortunately setenv command is not found in my board.
    Do you have any other idea how to add this variable to bootargs ?
    Thanks,
    BR
    Gilad
  • Hello,

    Where you are executing the command? Is it in u-boot?

    BR
    Margarita
  • Hello,
    In the Ti evm board itself. My OS is located on SD.
    I can change the boot args in my host computer. I just don't know how to do this except compile new OS
    BR
    Gilad
  • Hello,

    You should enter in uboot.
    When the u-boot counts down hit any key to enter.

    BR
    Margarita
  • Your external monitor doesn't seem to support 1080p or 720p resolution. Modeset output is showing below resolutions supported by the monitor -

    1024x768 60 1024 1048 1184 1344 768 771 777 806 flags: nhsync, nvsync; type: driver

    800x600 60 800 840 968 1056 600 601 605 628 flags: phsync, pvsync; type: driver

    800x600 56 800 824 896 1024 600 601 603 625 flags: phsync, pvsync; type: driver

    848x480 60 848 864 976 1088 480 486 494 517 flags: phsync, pvsync; type: driver

    640x480 60 640 656 752 800 480 489 492 525 flags: nhsync, nvsync; type: driver
  • Hello,
    When I used the set of commands

    #setenv optargs video=HDMI-A-1:1024x768
    #saveenv

    in the uboot mode and it worked.
    Thanks a lot.

    BR Gilad
  • Hello,

    I am glad that the issue is solved.

    BR
    Margarita