Difference between revisions of "How to display on HDMI"

[quality revision] [quality revision]
m
m

Template:ArticleMainWriter Template:ReviewersList Template:ArticleApprovedVersion

1 Article purpose[edit]

This article aims to specify what is displayed on an HDMI®[1] monitor (or TV) connected, through an HDMI cable, to a STMicroelectronics board, in different use cases explained below.

This article also explains how to get the video modes (resolutions and refresh frequencies) of the HDMI monitor (or TV) that are supported by the device, how to test them, and finally how to select one.

2 Prerequisites[edit]

Obviously, it is mandatory that your STMicroelectronics board has an HDMI connector, which is the case for:

File:STM32MP157X-DKX HDMI.png
HDMI cable connected on Discovery kit
Board name: STM32MP157X-DKX (note that
STM32MP157C-DK2 shown here (without the MB1407 daughterboard DSI display
, for the STM32MP157X-DK2 Discovery kit, is not shown here
)

An HDMI cable and an HDMI monitor (or TV) are also needed.

3 Use cases[edit]

The table below shows the different use cases that involve both the DSI display and the HDMI monitor.

Original situation Action Final situation
DSI display HDMI monitor
HDMI unplugged
- Board not started
- DSI display connected
- HDMI monitor not connected
Start the board DSI U-Boot splash screen.png then briefly DSI user splash screen.png and finally DSI Wayland background.png HDMI black screen.png
HDMI cold-plug
- Board not started
- DSI display connected
- HDMI monitor connected
Start the board DSI U-Boot splash screen.png HDMI user splash screen.png then HDMI Wayland background.png
HDMI hot-plug
- Board started
- DSI display connected
- HDMI monitor not connected
Plug the HDMI monitor
DSI Wayland background.png Restart Weston[2]
DSI black screen.png
HDMI black screen.png
HDMI Wayland background GTK launcher.png
The demo launcher window is not displayed fullscreen
Tap or click on the top-right corner cross to close the demo launcher window

Tap or click on the left-bottom "nine blue square" icon to start again the demo launcher window
DSI black screen.png HDMI Wayland background.png
The demo launcher window is displayed fullscreen
HDMI hot-unplug
- Board started
- DSI display connected
- HDMI monitor connected
Unplug the HDMI monitor
DSI black screen.png
DSI Wayland background GTK launcher.png
The demo launcher window is not downscaled
HDMI black screen.png
Restart Weston[2] DSI Wayland background.png HDMI black screen.png


The following statements explain the use cases summarized above:

  • The U-Boot graphical console (U-Boot logs similar to the ones displayed on the host PC Terminal program"ST life.augmented" picture) is never displayed on the HDMI monitor. This console is displayed on the DSI display (if any on the board).
  • If the board has both a DSI display and an HDMI monitor, the Wayland background layer is only displayed on one of these displays (see the "rules" below).
  • HDMI unplugged: if no HDMI monitor is connected to the board before the board starts, and if a DSI display is connected to the board, the Wayland background layer is displayed on the DSI display.
  • HDMI cold-plug: if an HDMI monitor is connected to the board before the board starts, the Wayland background layer is displayed on this HDMI monitor.
  • HDMI hot-plug: if an HDMI monitor is connected to the board after the board starts, this plug is not automatically detected by Wayland / Weston. To force the display The demo launcher window is not automatically upscaled: close and open it again to have it fullscreeen on the HDMI monitor, restart Weston[2].
  • HDMI hot-unplug: similarly, if an HDMI monitor is disconnected from the board while the Wayland background layer is displayed on the HDMI monitor, this unplug is not automatically detected by Wayland / Weston. To force the display on the DSI display, The demo launcher window is not automatically downscaled: restart Weston[2] to have it fullscreen on the DSI display.

4 Video modes[edit]

Generally, the HDMI monitor (or TV) provides several video modes (resolutions and refresh frequencies), that might not be all supported by the platform. In case of HDMI cold-plug or HDMI hot-plug, the first video mode provided by the HDMI monitor that is supported by the platform, is selected. To change this video mode selected per default, all the video modes both provided by the HDMI monitor and supported by the platform shall be retrieved, optionally tested, and finally set in the weston.ini configuration file[3].

Let us assume that the DSI display and the HDMI monitor are connected to the board, and that the Wayland background is displayed on the HDMI monitor.

  • Retrieve the video modes provided by the HDMI monitor and supported by the platform thanks to the modetest command (see below how to get all the video modes supported by the HDMI monitor, whether they are supported or not by the platform)
Board $> modetest -M stm
Encoders:
id      crtc    type    possible crtcs  possible clones
2728      3233      DPI     0x00000001      0x00000000
2930      0       DSI     0x00000001      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders
2829      2728      connected       HDMI-A-1        710x400700x390         310      28
27   modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  1920x1080 30 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  1920x1080 25 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
  720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
                        00ffffffffffff00526210010101010100ffffffffffff004c2d920900000000
                        ff170103804728780a0dc9a0574798270a160103804627780aee91a3544c9926
                        12484c2fcf00818001010101010101010f5054bdef80714f81c0810081809500
                        010101010101023a80d072382d40102ca9c0b3000101023a801871382d40582c
                        4580c48e2100001e662150b051001b304500a05a0000001e662156aa51001e30
                        40703600c18e2100001e000000fc0054468f3300a05a0000001e000000fd0018
                        4f53484942412d54560a2020000000fd4b0f5117000a202020202020000000fc
                        00174c0f510f000a202020202020019f0053414d53554e470a20202020200152
                        02032c70521f10202122130414051211020330f14d901f041305140312202122
                        03021615070601260907071507506d0307162309070783010000e2000f72030c
                        0c002000382dc026262929008c0ad090001000b82d20d0080140073f405090a0
                        204031200c405500138e210000180e1f011d80d0721c1620102c2580a05a0000
                        008051001e3040803700978e2100001c009e011d8018711c1620582c2500a05a
                        f12700a05100253050803700978e21000000009e011d00bc52d01e20b8285540
                        001ca91a00a05000163030203700978ea05a0000001e011d007251d01e206e28
                        2100001a0000000000000000000000745500a05a0000001e0000000000000097
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
30        6 non-desktop:
                flags: immutable range
                values: 0 1
                value: 0
        19 CRTC_ID:
                flags: object
                value: 33
31      0       connected       DSI-1           52x86           1       2930
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  480x800 50 480 600 663664 783784 800 812814 824828 836842 3272933000 flags: ; 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: 3
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
        6 non-desktop:
                flags: immutable range
                values: 0 1
                value: 0
        19 CRTC_ID:
                flags: object
                value: 0

CRTCs:
id      fb      pos     size
3233      3539      (0,0)   (800x6001280x720)
  800x6001280x720 7560 8001280 8161390 8961430 10561650 600720 601725 604730 625750 4950074250 flags: phsync, pvsync; type: driver
  props:
        20 ACTIVE:
                flags: range
                values: 0 1
                value: 1
        21 MODE_ID:
                flags: blob
                blobs:

                value:
                        0a22010000056e05960572060000d002
                        d502da02ee0200003c00000005000000
                        40000000313238307837323000000000
                        00000000000000000000000000000000
                        00000000
        18 OUT_FENCE_PTR:
                flags: range
                values: 0 18446744073709551615
                value: 0
        25 GAMMA_LUT:
                flags: blob
                blobs:

                value:
        26 GAMMA_LUT_SIZE:
                flags: immutable range
                values: 0 4294967295
                value: 256

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
3132      3233      3539      0,0             0,0     0               0x00000001
  formats: AR24 XR24 RG24 RG16 AR15 XR15 AR12 XR12 C8  
  props:
        67 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1
        16 FB_ID:
                flags: object
                value: 39
        17 IN_FENCE_FD:
                flags: signed range
                values: -1 2147483647
                value: -1
        19 CRTC_ID:
                flags: object
                value: 33
        12 CRTC_X:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        13 CRTC_Y:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        14 CRTC_W:
                flags: range
                values: 0 2147483647
                value: 1280
        15 CRTC_H:
                flags: range
                values: 0 2147483647
                value: 720
        8 SRC_X:
                flags: range
                values: 0 4294967295
                value: 0
        9 SRC_Y:
                flags: range
                values: 0 4294967295
                value: 0
        10 SRC_W:
                flags: range
                values: 0 4294967295
                value: 83886080
        11 SRC_H:
                flags: range
                values: 0 4294967295
                value: 47185920
34      0       0       0,0             0,0     0               0x00000001
  formats: AR24 RG24 RG16 AR15 AR12 C8  
  props:
        67 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        16 FB_ID:
                flags: object
                value: 0
        17 IN_FENCE_FD:
                flags: signed range
                values: -1 2147483647
                value: -1
        19 CRTC_ID:
                flags: object
                value: 0
        12 CRTC_X:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        13 CRTC_Y:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        14 CRTC_W:
                flags: range
                values: 0 2147483647
                value: 0
        15 CRTC_H:
                flags: range
                values: 0 2147483647
                value: 0
        8 SRC_X:
                flags: range
                values: 0 4294967295
                value: 0
        9 SRC_Y:
                flags: range
                values: 0 4294967295
                value: 0
        10 SRC_W:
                flags: range
                values: 0 4294967295
                value: 0
        11 SRC_H:
                flags: range
                values: 0 4294967295
                value: 0

Frame buffers:
id      size    pitch
  • Analyse the output of the modetest command:
    • 3 10 modes (8 unique modes) of the connected HDMI monitor (HDMI-A-1 / connector 28 29) are supported:
      • 1920x1080 resolution with a refresh frequency of 30 Hz
      • 1920x1080 resolution with a refresh frequency of 25 Hz
      • 1920x1080 resolution with a refresh frequency of 24 Hz
      • 1280x720 resolution with a refresh frequency of 60 Hz
      • 1280x720 resolution with a refresh frequency of 50 Hz
      • 800x600 resolution with a refresh frequency of 75 Hz
      • 720x576 resolution with a refresh frequency of 50 Hz
      • 720x480 resolution with a refresh frequency of 60 Hz
Warning.png In the above example, some 1920x1080 resolutions are available but use cases may not work properly if the platform is not powerful enough for such high resolutions (DDR size and bandwidth, CPU and GPU performances...).


Connectors:
id      encoder status          name            size (mm)       modes   encoders
2829      2728      connected       HDMI-A-1        710x400700x390         310      28
27   modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
 1920x1080 30 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
 1920x1080 25 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
 1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
 1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
 1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver  # duplicated mode, depends on hdmi tv
 1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
 1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver  # duplicated mode, depends on hdmi tv
 800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
  720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
Connectors:
id      encoder status          name            size (mm)       modes   encoders
[...]
Template:Highlight231      0       Template:Highlight2connected       Template:Highlight2DSI-1           52x86           1       2930
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  Template:Highlight2 480x800 50 50 480 600 663664 783784 800 812814 824828 836842 3272933000 flags: ; type: preferred, driver


  • Per default, the first video mode provided by the HDMI monitor that is supported by the platform, is selected: here, it is the 800x600 1280x720 60 resolution
    • Check it with the information provided by the modetest command: make the link between the HDMI connector 28 29, the encoder id 27 28, the CRTC id 32 33, and finally the video mode 800x600 1280x720 60
Connectors:
id      encoder status          name            size (mm)       modes   encoders
2829      2728      connected       HDMI-A-1        710x400         3       27

Encoders:
id      crtc    type    possible crtcs  possible clones
2728      3233      DPI     0x00000001      0x00000000


CRTCs:
id      fb      pos     size
3233      3539      (0,0)   (800x6001280x720)
  800x6001280x720 7560 8001280 8161390 8961430 10561650 600720 601725 604730 625750 4950074250 flags: phsync, pvsync; type: driver
  • Stop Weston[2], use the modetest command[4] to test the different modes, and restart Weston[2]

Syntax:

Board $> modetest -M stm -s <HDMI connector>:<selected resolution>@XR24 -v

Example with the 3 8 modes identified above:

Board $> systemctl stop weston
Board $> modetest -M stm -s 28:800x600@XR2429:1920x1080-30 -v
Board $> modetest -M stm -s 29:1920x1080-25 -v
Board $> modetest -M stm -s 29:1920x1080-24 -v
Board $> modetest -M stm -s 29:1280x720-60 -v  # -60 to specify the Hz as there are two 1280x720 modes
Board $> modetest -M stm -s 29:1280x720-50 -v  # -50 to specify the Hz as there are two 1280x720 modes
Board $> modetest -M stm -s 29:800x600 -v
Board $> modetest -M stm -s 2829:720x480@XR24 -v
Board $> modetest -M stm -s 2829:720x576@XR24 -v
Board $> systemctl start weston


  • Set the selected video mode in the /etc/xdg/weston/weston.ini configuration file, and restart Weston[2]

Syntax:

[output]
name=HDMI-A-1
mode=<selected resolution>

Example (720x480 resolution selected):

mode=720x480

Board $> systemctl restart weston


  • Check that the new video mode has been taken into account with the information provided by the modetest command: make the link between the HDMI connector 28 29, the encoder id 27 28, the CRTC id 32 33, and finally the new video mode 720x480
Board $> modetest -M stm
Encoders:
id      crtc    type    possible crtcs  possible clones
2728      3233      DPI     0x00000001      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders
2829      2728      connected       HDMI-A-1        710x400700x390         310       2728


CRTCs:
id      fb      pos     size
3233      3835      (0,0)   (720x480)
  720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver

5 FAQ[edit]

5.1 How to get all the video modes supported by the HDMI monitor[edit]

This chapter gives a method to retrieve all the video modes supported by the HDMI monitor, whether they are supported or not by the platform.

  • Retrieve all the video modes supported by the HDMI monitor
Board $> dmesg -cC
Board $> echo 4 > /sys/module/drm/parameters/debug
Board $> systemctl restart weston
Board $> dmesg
[20292 2527.095467787272] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:2829:HDMI-A-1]
[20292 2527.227634825480] [drm:drm_add_display_info] non_desktop set to 0
[ 2527.825502] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz
[ 2527.825551] [drm:drm_add_edid_modes.part.1519] ELD monitor SAMSUNG
[ 2527.825569] [drm:drm_add_edid_modes.part.19] HDMI: latency present 0 0, video latency 208 1, audio latency 8 64
[ 2527.825580] [drm:drm_add_edid_modes.part.19] ELD size 32, SAD count 1
[ 2527.825591] [drm:drm_add_display_info] non_desktop set to 0
[ 2527.825601] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz
[20292 2527.230310828842] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 5060 148500 1920 24482008 24922052 26402200 1080 1084 1089 1125 [20292.2303290x48 0x5
[ 2527.828863] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292 2527.230353828888] [drm:drm_mode_debug_printmodeline] Modeline 4039:"1360x7681366x768" 60 85500 13601366 14241436 15361579 1792 768 771 777774 795798 0x4050x40 0x5
[20292 2527.230365828901] [drm:drm_mode_prune_invalid] Not using 1360x7681366x768 mode: CLOCK_HIGHRANGE
[20292 2527.230387828922] [drm:drm_mode_debug_printmodeline] Modeline 4340:"1280x768" 60 79500 1280 1344 1472 1664 768 771 778 798 0x406
[20292.2303991920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[ 2527.828934] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.828955] [drm:drm_mode_debug_printmodeline] Modeline 41:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 2527.828967] [drm:drm_mode_prune_invalid] Not using 1280x7681920x1080i mode: CLOCKNO_HIGHINTERLACE
[20292 2527.230421828987] [drm:drm_mode_debug_printmodeline] Modeline 4446:"1280x7681152x864" 750 102250108000 12801152 13601216 14881344 16961600 768864 771865 778868 805900 0x460x40 0x5
[20292 2527.230433828999] [drm:drm_mode_prune_invalid] Not using 1280x7681152x864 mode: CLOCK_HIGH
[20292 2527.230454829019] [drm:drm_mode_debug_printmodeline] Modeline 4547:"1280x7681280x800" 600 6825071000 1280 1328 1360 1440 768800 771803 778809 790823 0x4090x40 0x9
[20292 2527.230467829039] [drm:drm_mode_prune_invalid] Not using 1280x7681280x800 mode: CLOCK_HIGHRANGE
[20292 2527.230488829059] [drm:drm_mode_debug_printmodeline] Modeline 4648:"1280x1024" 0 108000 1280 1328 1440 1688 1024 1025 1028 106651066 [20292.2305000x40 0x5
[ 2527.829071] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[20292 2527.230521829091] [drm:drm_mode_debug_printmodeline] Modeline 4749:"800x6001440x900" 0 4000088750 8001440 8401488 9681520 10561600 600900 601903 605909 628926 0x40 0x50x9
[20292 2527.230533829103] [drm:drm_mode_prune_invalid] Not using 800x6001440x900 mode: CLOCK_RANGE
[20292 2527.230555829123] [drm:drm_mode_debug_printmodeline] Modeline 48:"50:"1600x900" 0 108000 1600 1624 1704 1800 900 901 904 1000 0x40 0x5
[ 2527.829135] [drm:drm_mode_prune_invalid] Not using 1600x900 mode: CLOCK_HIGH
[ 2527.829155] [drm:drm_mode_debug_printmodeline] Modeline 51:"1680x1050" 0 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x40 0x9
[ 2527.829167] [drm:drm_mode_prune_invalid] Not using 1680x1050 mode: CLOCK_HIGH
[ 2527.829188] [drm:drm_mode_debug_printmodeline] Modeline 52:"800x600" 0 3600040000 800 824840 896968 10241056 600 601 603605 625628 0x40 0x5
[20292 2527.230567829199] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[20292 2527.230588829220] [drm:drm_mode_debug_printmodeline] Modeline 4953:"640x480" 0 31500 640 656 720 840 480 481 484 500 0x40 0xa
[20292 2527.230600829231] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292 2527.230621829253] [drm:drm_mode_debug_printmodeline] Modeline 5054:"640x480" 0 31500 640 664 704 832 480 489 492 520 0x40 0xa
[20292 2527.230633829265] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292 2527.230654829287] [drm:drm_mode_debug_printmodeline] Modeline 5155:"640x480" 0 30240 640 704 768 864 480 483 486 525 0x40 0xa
[ 2527.829298] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 2527.829318] [drm:drm_mode_debug_printmodeline] Modeline 56:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40 0xa
[20292 2527.230667829330] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292 2527.230688829350] [drm:drm_mode_debug_printmodeline] Modeline 52:"57:"720x400" 0 28320 720 738 846 900 400 412 414 449 0x40 0x6
[ 2527.829372] [drm:drm_mode_prune_invalid] Not using 720x400 mode: CLOCK_RANGE
[ 2527.829393] [drm:drm_mode_debug_printmodeline] Modeline 58:"1280x1024" 0 135000 1280 1296 1440 1688 1024 1025 1028 106651066 [20292.2307000x40 0x5
[ 2527.829404] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[20292 2527.230722829424] [drm:drm_mode_debug_printmodeline] Modeline 5359:"1024x768" 0 78750 1024 1040 1136 1312 768 769 772 800 0x40 50x5
[20292 2527.230734829436] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_HIGHRANGE
[20292 2527.230756829457] [drm:drm_mode_debug_printmodeline] Modeline 5460:"1024x768" 0 75000 1024 1048 1184 1328 768 771 777 806 0x40 a0xa
[20292 2527.230768829469] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_HIGHRANGE
[20292 2527.230790829489] [drm:drm_mode_debug_printmodeline] Modeline 5661:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x40 a0xa
[20292 2527.230802829501] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
[20292 2527.230824829521] [drm:drm_mode_debug_printmodeline] Modeline 58:"62:"832x624" 0 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[ 2527.829533] [drm:drm_mode_prune_invalid] Not using 832x624 mode: CLOCK_RANGE
[ 2527.829553] [drm:drm_mode_debug_printmodeline] Modeline 65:"800x600" 0 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[20292 2527.230836829564] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[20292 2527.230857829585] [drm:drm_mode_debug_printmodeline] Modeline 6067:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 112551125 [20292.2308700x40 0x5
[ 2527.829596] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292 2527.230891829617] [drm:drm_mode_debug_printmodeline] Modeline 6170:"1920x1080" 0 74250148500 1920 25582448 26022492 27502640 1080 1084 1089 1125 50x40 0x5
[20292 2527.230903829629] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292 2527.230924829649] [drm:drm_mode_debug_printmodeline] Modeline 6278:"1920x10801920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 2527.829661] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.829690] [drm:drm_mode_debug_printmodeline] Modeline 79:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 10891094 1125 50x40 0x15
[20292 2527.230936829701] [drm:drm_mode_prune_invalid] Not using 1920x10801920x1080i mode: CLOCKNO_HIGHINTERLACE
[20292 2527.230957829722] [drm:drm_mode_debug_printmodeline] Modeline 6385:"1920x1080720x480i" 0 13500 720 739 801 858 480 488 494 525 0x40 0x101a
[ 2527.829733] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
[ 2527.829754] [drm:drm_mode_debug_printmodeline] Modeline 86:"720x576i" 0 13500 720 732 795 864 576 580 586 625 0x40 0x101a
[ 2527.829765] [drm:drm_mode_prune_invalid] Not using 720x576i mode: NO_INTERLACE
[ 2527.829787] [drm:drm_mode_debug_printmodeline] Modeline 87:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x20015
[ 2527.829799] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.829820] [drm:drm_mode_debug_printmodeline] Modeline 88:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 10891094 1125 50x40 0x20015
[20292 2527.230970829832] [drm:drm_mode_prune_invalid] Not using 1920x10801920x1080i mode: CLOCKNO_HIGHINTERLACE
[20292 2527.230991829853] [drm:drm_mode_debug_printmodeline] Modeline 6489:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x1c005
[ 2527.829865] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829885] [drm:drm_mode_debug_printmodeline] Modeline 90:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x4005
[ 2527.829897] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829917] [drm:drm_mode_debug_printmodeline] Modeline 91:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
[ 2527.829929] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829950] [drm:drm_mode_debug_printmodeline] Modeline 92:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
[ 2527.829961] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829982] [drm:drm_mode_debug_printmodeline] Modeline 93:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
[ 2527.830003] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830024] [drm:drm_mode_debug_printmodeline] Modeline 94:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
[ 2527.830035] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830056] [drm:drm_mode_debug_printmodeline] Modeline 95:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 50x1c005
[20292 2527.231003830068] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCKNO_HIGHSTEREO
[20292 2527.231024830088] [drm:drm_mode_debug_printmodeline] Modeline 6596:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x4005
[ 2527.830099] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830120] [drm:drm_mode_debug_printmodeline] Modeline 97:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x20015
[ 2527.830131] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.830152] [drm:drm_mode_debug_printmodeline] Modeline 98:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x20015
[ 2527.830164] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.830185] [drm:drm_mode_debug_printmodeline] Modeline 99:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830196] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830217] [drm:drm_mode_debug_printmodeline] Modeline 100:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x4005
[ 2527.830229] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830250] [drm:drm_mode_debug_printmodeline] Modeline 101:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830261] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830282] [drm:drm_mode_debug_printmodeline] Modeline 102:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.830293] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830322] [drm:drm_mode_debug_printmodeline] Modeline 103:"1920x1080" 0 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830334] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830355] [drm:drm_mode_debug_printmodeline] Modeline 104:"1920x1080" 0 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x20005
[ 2527.830366] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830387] [drm:drm_mode_debug_printmodeline] Modeline 106:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 50x20005
[20292 2527.231037830399] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCKNO_HIGHSTEREO
[20292 2527.231058830419] [drm:drm_mode_debug_printmodeline] Modeline 66:"108:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x20005
[ 2527.830431] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830452] [drm:drm_mode_debug_printmodeline] Modeline 109:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x1c015
[ 2527.830463] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.830484] [drm:drm_mode_debug_printmodeline] Modeline 111:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 112551125 [20292.2310710x40 0x1c015
[ 2527.830496] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292 2527.231092830517] [drm:drm_mode_debug_printmodeline] Modeline 67:"114:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x20005
[ 2527.830528] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830549] [drm:drm_mode_debug_printmodeline] Modeline 115:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830561] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830582] [drm:drm_mode_debug_printmodeline] Modeline 116:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x20005
[ 2527.830593] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830614] [drm:drm_mode_debug_printmodeline] Modeline 117:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830625] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830646] [drm:drm_mode_debug_printmodeline] Modeline 118:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.830667] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830688] [drm:drm_mode_debug_printmodeline] Modeline 119:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 112551125 [20292.2311040x40 0x4015
[ 2527.830699] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292 2527.231125830842] [drm:drm_mode_debug_printmodeline] Modeline 73120:"720x576i1920x1080i" 0 1350074250 7201920 7322448 7952492 8642640 5761080 5801084 5861094 6251125 0x40 0x10a0x4015
[20292 2527.231137830854] [drm:drm_mode_prune_invalid] Not using 720x576i1920x1080i mode: NO_INTERLACE
[20292 2527.231159830876] [drm:drm_mode_debug_printmodeline] Modeline 75121:"720x480i1920x1080" 0 1350074250 7201920 7392448 8012492 8582640 4801080 4881084 4941089 5251125 0x40 0x10a0x4005
[20292 2527.231171830887] [drm:drm_mode_prune_invalid] Not using 720x480i1920x1080 mode: NO_INTERLACE
[20292.231192STEREO
[ 2527.830908] [drm:drm_mode_debug_printmodeline] Modeline 122:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x4005
[ 2527.830919] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830941] [drm:drm_mode_debug_printmodeline] Modeline 123:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 2527.830952] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 2527.830973] [drm:drm_mode_debug_printmodeline] Modeline 124:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 2527.830985] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.831006] [drm:drm_mode_debug_printmodeline] Modeline 78:"125:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831026] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_RANGE
[ 2527.831046] [drm:drm_mode_debug_printmodeline] Modeline 126:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[20292 2527.231204831058] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292 2527.231226831078] [drm:drm_mode_debug_printmodeline] Modeline 79130:"1920x1080720x480" 60 148352 1920 27027 720 736 798 858 480 489 495 525 0x40 0xa
[ 2527.831089] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
[ 2527.831110] [drm:drm_mode_debug_printmodeline] Modeline 131:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 2527.831122] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 2527.831142] [drm:drm_mode_debug_printmodeline] Modeline 132:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 [20292.2312380x40 0x5
[ 2527.831154] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGHRANGE
[20292 2527.231259831174] [drm:drm_mode_debug_printmodeline] Modeline 80:"133:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x101a
[ 2527.831186] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
[ 2527.831207] [drm:drm_mode_debug_printmodeline] Modeline 134:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x20015
[ 2527.831218] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.831239] [drm:drm_mode_debug_printmodeline] Modeline 135:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
[ 2527.831251] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.831272] [drm:drm_mode_debug_printmodeline] Modeline 136:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
[ 2527.831283] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.831304] [drm:drm_mode_debug_printmodeline] Modeline 140:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 112551125 [20292.2312710x40 0x1c005
[ 2527.831316] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCKNO_HIGHSTEREO
[20292 2527.231292831337] [drm:drm_mode_debug_printmodeline] Modeline 81141:"1920x1080" 3024 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x4005
[ 2527.831357] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831378] [drm:drm_mode_debug_printmodeline] Modeline 142:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 112551125 [20292.2313040x40 0x1c005
[ 2527.831390] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCKNO_HIGHSTEREO
[20292 2527.231325831411] [drm:drm_mode_debug_printmodeline] Modeline 82:"143:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.831422] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831443] [drm:drm_mode_debug_printmodeline] Modeline 145:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x4050x40 0x20005
[20292 2527.231337831455] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCKNO_HIGHSTEREO
[20292 2527.231358831476] [drm:drm_mode_debug_printmodeline] Modeline 83146:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 [20292.2313700x40 0x1c015
[ 2527.831487] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292 2527.231390831509] [drm:drm_mode_debug_printmodeline] Modeline 84149:"720x4801920x1080" 6024 2702774176 7201920 7362558 7982602 8582750 4801080 4891084 4951089 5251125 0x40 0xa0x20005
[20292 2527.231402831521] [drm:drm_mode_prune_invalid] Not using 720x4801920x1080 mode: CLOCKNO_RANGESTEREO
[20292 2527.231423831542] [drm:drm_mode_debug_printmodeline] Modeline 86150:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x1a
[20292.2314361920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
[ 2527.831553] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831574] [drm:drm_mode_debug_printmodeline] Modeline 151:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.831585] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831605] [drm:drm_mode_debug_printmodeline] Modeline 152:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x4015
[ 2527.831617] [drm:drm_mode_prune_invalid] Not using 720x480i1920x1080i mode: NO_INTERLACE
[20292 2527.231460831637] [drm:drm_mode_debug_printmodeline] Modeline 153:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x4005
[ 2527.831649] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831682] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:2829:HDMI-A-1] probed modes :
[20292 2527.231482831703] [drm:drm_mode_debug_printmodeline] Modeline 55:"76:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 2527.831731] [drm:drm_mode_debug_printmodeline] Modeline 75:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 2527.831750] [drm:drm_mode_debug_printmodeline] Modeline 74:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 2527.831770] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831789] [drm:drm_mode_debug_printmodeline] Modeline 68:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831808] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 2527.831827] [drm:drm_mode_debug_printmodeline] Modeline 69:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 2527.831846] [drm:drm_mode_debug_printmodeline] Modeline 63:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[20292 2527.231501831865] [drm:drm_mode_debug_printmodeline] Modeline 4173:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
[20292 2527.231521831883] [drm:drm_mode_debug_printmodeline] Modeline 6872:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[20292 2527.231614832937] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:3031:DSI-1]
[20292 2527.231699833066] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:3031:DSI-1] probed modes :
[20292 2527.231722833092] [drm:drm_mode_debug_printmodeline] Modeline 3437:"480x800" 50 3272933000 480 600 663664 783784 800 812814 824828 836842 0x48 0x0
[ 2528.077108] [drm:drm_mode_addfb2] [FB:36]
[ 2528.945095] [drm:drm_mode_addfb2] [FB:38]

  • Analyse the drm logs
    • The modes of the HDMI monitor (HDMI-A-1 / connector 28 29) that contain one of the following keywords are not supported: CLOCK_HIGH, CLOCK_RANGE and NO_INTERLACE
[20292 2527.095467787272] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:2829:HDMI-A-1]
[20292.227634] [drm:drm_add_edid_modes.part.15]
HDMI: DVI dual 0, max TMDS clock 225000 kHz
[20292.230310[ 2527.828842] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 5060 148500 1920 24482008 24922052 26402200 1080 1084 1089 1125 [20292.2303290x48 0x5
[ 2527.828863] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[...]
[20292.230521 2527.828888] [drm:drm_mode_debug_printmodeline] Modeline 4739:"800x6001366x768" 060 4000085500 8001366 8401436 9681579 10561792 600768 601771 605774 628798 0x40 0x5
[20292 2527.230533828901] [drm:drm_mode_prune_invalid] Not using 800x6001366x768 mode: CLOCK_RANGE
[...]
[20292.231058 2527.828922] [drm:drm_mode_debug_printmodeline] Modeline 6640:"1920x1080i" 050 74250 1920 2448 2492 2640 1080 1084 1094 112551125 [20292.2310710x40 0x15
[ 2527.828934] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE

  • The 3 10 modes of the HDMI monitor (HDMI-A-1 / connector 28 29) that are supported (as analyzed from the modetest output), are also seen with these drm logs
[20292 2527.231460831682] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:2829:HDMI-A-1] probed modes :
[20292 2527.231482831703] [drm:drm_mode_debug_printmodeline] Modeline 55:"76:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 2527.831731] [drm:drm_mode_debug_printmodeline] Modeline 75:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 2527.831750] [drm:drm_mode_debug_printmodeline] Modeline 74:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 2527.831770] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831789] [drm:drm_mode_debug_printmodeline] Modeline 68:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831808] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 2527.831827] [drm:drm_mode_debug_printmodeline] Modeline 69:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 2527.831846] [drm:drm_mode_debug_printmodeline] Modeline 63:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[20292 2527.231501831865] [drm:drm_mode_debug_printmodeline] Modeline 4173:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
[20292 2527.231521831883] [drm:drm_mode_debug_printmodeline] Modeline 6872:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[20292 2527.231699833066] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:Template:Highlight2:Template:Highlight231:DSI-1] probed modes :
[20292 2527.231722833092] [drm:drm_mode_debug_printmodeline] Modeline 34:Template:Highlight2 32729 37:"480x800" 50 33000 480 600 663664 783784 800 812814 824828 836842 0x48 0x0

6 References[edit]



<noinclude>

{{ArticleMainWriter | Jean-ChristopheT}}
{{ReviewersList | PhilippeC, YannickF}}
{{ArticleApprovedVersion | Jean-ChristopheT | PhilippeC (Passed 26Jun'18)) | No previous approved version | AlainF - 09Jul'18 - 8081 | 13Jul'18}}

[[Category:How to run use cases]]
</noinclude>

==Article purpose==
This article aims to specify what is displayed on an HDMI<sup>&reg;</sup><ref>[https://www.hdmi.org HDMI (High-Definition Multimedia Interface)]</ref> monitor (or TV) connected, through an HDMI cable, to a STMicroelectronics board, in different use cases explained below.

This article also explains how to get the video modes (resolutions and refresh frequencies) of the HDMI monitor (or TV) that are supported by the device, how to test them, and finally how to select one.

==Prerequisites==
Obviously, it is mandatory that your STMicroelectronics board has an HDMI connector, which is the case for: {{UpdateNeededForNewBoard|Point to the HDMI connector (if any) of the new board}}
:* the [[STM32MP157X-DKX - hardware_description#MB1272-CN9|STM32MP157X-DKXSTM32MP157x-DKx Discovery kit (CN9 HDMI connector)]]
[[File: STM32MP157X-DKXSTM32MP157x-DKx_HDMI.png|thumb|400px|center|link=|HDMI cable connected on Discovery kit <br> Board name: '''STM32MP157X-DKX''' (note that '''STM32MP157C-DK2''' shown here (without the MB1407 daughterboard DSI display, for the STM32MP157X-DK2 Discovery kit, is not shown here)]]

An HDMI cable and an HDMI monitor (or TV) are also needed.

==Use cases==
The table below shows the different use cases that involve both the DSI display and the HDMI monitor.

{| class="wikitablest-table" style="text-align:center"
! style="border: 1px solid darkgray" rowspan="2" | Original situation
! style="border: 1px solid darkgray" rowspan="2" | Action
! style="border: 1px solid darkgray" colspan="2" | Final situation
|-
! style="border: 1px solid darkgray" width=35% | DSI display
! style="border: 1px solid darkgray;"
! rowspan="2" style="text-align:center;" | Original situation
! rowspan="2" style="text-align:center; width:20%;" | Action
! colspan="2" style="text-align:center;" | Final situation
|-
! style="text-align:center; width:35%;" | DSI display
! style="text-align:center;" | HDMI monitor
|-
| style="text-align:left" | <span id{{=}}"HDMI-unplugged">'''HDMI unplugged'''</span> <br> - Board {{Highlight|not}} started <br> - DSI display connected <br> - HDMI monitor {{Highlight|not}} connected || Start the board || [[File:DSI_U-Boot_splash_screen.png|link=]] then briefly [[File:DSI user splash screen.png|link=]] and finally [[File:DSI_Wayland_background.png|link=]] || [[File:HDMI_black_screen.png|link=]]
|-
| style="text-align:left" | <span id{{=}}"HDMI-cold-plug">'''HDMI cold-plug'''</span> <br> - Board {{Highlight|not}} started <br> - DSI display connected <br> - HDMI monitor {{Highlight|connected}} || Start the board || [[File:DSI_U-Boot_splash_screen.png|link=]] || [[File:HDMI user splash screen.png|link=]] then [[File:HDMI_Wayland_background.png|link=]]
|-
| style="text-align:left" rowspan="2" | <span id{{=}}"HDMI-hot-plug">'''HDMI hot-plug'''</span> <br> - Board {{Highlight|started}} <br> - DSI display connected <br> - HDMI monitor {{Highlight|not}} connected || Plug the HDMI monitor || [[File:DSI_Wayland_backgroundblack_screen.png|link=]] || [[File:HDMI_black_screen.png|link=]]
|-
| Restart Weston<ref name="restart Weston">[[How to stop and start Weston|How to restart Weston]]</ref> Wayland_background_GTK_launcher.png|link=]]<br>The demo launcher window is not displayed fullscreen
|-
| Tap or click on the top-right corner cross to close the demo launcher window<br><br>Tap or click on the left-bottom "nine blue square" icon to start again the demo launcher window || [[File:DSI_black_screen.png|link=]] || [[File:HDMI_Wayland_background.png|link=]]
<br>The demo launcher window is displayed fullscreen|-
| style="text-align:left" rowspan="2" | <span id{{=}}"HDMI-hot-unplug">'''HDMI hot-unplug'''</span> <br> - Board {{Highlight|started}} <br> - DSI display connected <br> - HDMI monitor {{Highlight|connected}} || Unplug the HDMI monitor || [[File:DSI_black_screen.png|link=]] Wayland_background_GTK_launcher.png|link=]]<br>The demo launcher window is not downscaled || [[File:HDMI_black_screen.png|link=]]
|-
|  Restart Weston<ref name="restart Weston"/> ||[[How to stop and start Weston|How to restart Weston]]</ref> || [[File:DSI_Wayland_background.png|link=]] || [[File:HDMI_black_screen.png|link=]]
|}

The following statements explain the use cases summarized above:
* The [[U-Boot graphical console (overview | U-Boot logs similar to the ones displayed on the host PC Terminal program]] graphical console ("ST life.augmented" picture) is never displayed on the HDMI monitor. This console is displayed on the DSI display (if any on the board).


* If the board has both a DSI display and an HDMI monitor, the Wayland background layer is only displayed on one of these displays (see the "rules" below).


* [[#HDMI-unplugged|'''HDMI unplugged''']]: if no HDMI monitor is connected to the board before the board starts, and if a DSI display is connected to the board, the Wayland background layer is displayed on the DSI display.


* [[#HDMI-cold-plug|'''HDMI cold-plug''']]: if an HDMI monitor is connected to the board before the board starts, the Wayland background layer is displayed on this HDMI monitor.


* [[#HDMI-hot-plug|'''HDMI hot-plug''']]: if an HDMI monitor is connected to the board after the board starts, this plug is not automatically detected by Wayland / Weston. To force the display The demo launcher window is not automatically upscaled: close and open it again to have it fullscreeen on the HDMI monitor, restart Weston<ref name="restart Weston"/>

.
* [[#HDMI-hot-unplug|'''HDMI hot-unplug''']]: similarly, if an HDMI monitor is disconnected from the board while the Wayland background layer is displayed on the HDMI monitor, this unplug is not automatically detected by Wayland / Weston. To force the display on the DSI display, restart Weston<ref name="restart Weston"/>

The demo launcher window is not automatically downscaled: restart Weston<ref name="restart Weston"/> to have it fullscreen on the DSI display.
==Video modes==
Generally, the HDMI monitor (or TV) provides several video modes (resolutions and refresh frequencies), that might not be all supported by the platform. In case of '''HDMI cold-plug''' or '''HDMI hot-plug''', the first video mode provided by the HDMI monitor that is supported by the platform, is selected. To change this video mode selected per default, all the video modes both provided by the HDMI monitor and supported by the platform shall be retrieved, optionally tested, and finally set in the ''weston.ini'' configuration file<ref>[[Wayland Weston overview#Configuration|How to configure Weston]]</ref>.

Let us assume that the DSI display and the HDMI monitor are connected to the board, and that the Wayland background is displayed on the HDMI monitor.

* Retrieve the video modes provided by the HDMI monitor and supported by the platform (thanks to the [[DRM KMS overview#modetest (DRM/KMS test tool) | modetest]] command (see [[#How to get all the video modes supported by the HDMI monitor|below]] how to get all the video modes supported by the HDMI monitor, whether they are supported or not by the platform)

 {{Board$}} modetest -M stm<pre>

Encoders:
id      crtc    type    possible crtcs  possible clones27      3228      33      DPI     0x00000001      0x000000002930      0       DSI     0x00000001      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders28      2729      28      connected       HDMI-A-1        710x400         3       27700x390         10      28modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)1920x1080 30 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  1920x1080 25 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
  720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:00ffffffffffff005262100101010101
                        ff170103804728780a0dc9a057479827
                        12484c2fcf0081800101010101010101
                        010101010101023a80d072382d40102c
                        4580c48e2100001e662150b051001b30
                        40703600c18e2100001e000000fc0054
                        4f53484942412d54560a2020000000fd
                        00174c0f510f000a202020202020019f
                        02032c70521f10202122130414051211
                        03021615070601260907071507506d03
                        0c002000382dc026262929008c0ad090
                        204031200c405500138e210000180e1f
                        008051001e3040803700978e2100001c
                        f12700a05100253050803700978e2100
                        001ca91a00a05000163030203700978e
                        2100001a00000000000000000000007400ffffffffffff004c2d920900000000
                        0a160103804627780aee91a3544c9926
                        0f5054bdef80714f81c0810081809500
                        a9c0b3000101023a801871382d40582c
                        4500a05a0000001e662156aa51001e30
                        468f3300a05a0000001e000000fd0018
                        4b0f5117000a202020202020000000fc
                        0053414d53554e470a20202020200152
                        020330f14d901f041305140312202122
                        07162309070783010000e2000f72030c
                        001000b82d20d0080140073f405090a0
                        011d80d0721c1620102c2580a05a0000
                        009e011d8018711c1620582c2500a05a
                        0000009e011d00bc52d01e20b8285540
                        a05a0000001e011d007251d01e206e28
                        5500a05a0000001e0000000000000097

        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 030      0               6 non-desktop:
                flags: immutable range
                values: 0 1
                value: 0
        19 CRTC_ID:
                flags: object
                value: 33
31      0       connected       DSI-1           52x86           1       2930

  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  480x800 50 480 600 663 783664 784 800 812 824 836 32729814 828 842 33000 flags: ; 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: 3
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0       6 non-desktop:
                flags: immutable range
                values: 0 1
                value: 0
        19 CRTC_ID:
                flags: object
                value: 0
CRTCs:
id      fb      pos     size32      35      (0,0)   (800x600)
  800x600 75 800 816 896 1056 600 601 604 625 4950033      39      (0,0)   (1280x720)
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  props:       20 ACTIVE:
                flags: range
                values: 0 1
                value: 1
        21 MODE_ID:
                flags: blob
                blobs:

                value:
                        0a22010000056e05960572060000d002
                        d502da02ee0200003c00000005000000
                        40000000313238307837323000000000
                        00000000000000000000000000000000
                        00000000
        18 OUT_FENCE_PTR:
                flags: range
                values: 0 18446744073709551615
                value: 0
        25 GAMMA_LUT:
                flags: blob
                blobs:

                value:
        26 GAMMA_LUT_SIZE:
                flags: immutable range
                values: 0 4294967295
                value: 256
Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs31      32      3532      33      39      0,0             0,0     0               0x00000001
  formats: AR24 XR24 RG24 RG16 AR15 XR15 AR12 XR12 C8  
  props:67 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 133      0       0       0        16 FB_ID:
                flags: object
                value: 39
        17 IN_FENCE_FD:
                flags: signed range
                values: -1 2147483647
                value: -1
        19 CRTC_ID:
                flags: object
                value: 33
        12 CRTC_X:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        13 CRTC_Y:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        14 CRTC_W:
                flags: range
                values: 0 2147483647
                value: 1280
        15 CRTC_H:
                flags: range
                values: 0 2147483647
                value: 720
        8 SRC_X:
                flags: range
                values: 0 4294967295
                value: 0
        9 SRC_Y:
                flags: range
                values: 0 4294967295
                value: 0
        10 SRC_W:
                flags: range
                values: 0 4294967295
                value: 83886080
        11 SRC_H:
                flags: range
                values: 0 4294967295
                value: 47185920
34      0       0       0,0             0,0     0               0x00000001
  formats: AR24 RG24 RG16 AR15 AR12 C8  
  props:67 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0       16 FB_ID:
                flags: object
                value: 0
        17 IN_FENCE_FD:
                flags: signed range
                values: -1 2147483647
                value: -1
        19 CRTC_ID:
                flags: object
                value: 0
        12 CRTC_X:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        13 CRTC_Y:
                flags: signed range
                values: -2147483648 2147483647
                value: 0
        14 CRTC_W:
                flags: range
                values: 0 2147483647
                value: 0
        15 CRTC_H:
                flags: range
                values: 0 2147483647
                value: 0
        8 SRC_X:
                flags: range
                values: 0 4294967295
                value: 0
        9 SRC_Y:
                flags: range
                values: 0 4294967295
                value: 0
        10 SRC_W:
                flags: range
                values: 0 4294967295
                value: 0
        11 SRC_H:
                flags: range
                values: 0 4294967295
                value: 0
Frame buffers:
id      size    pitch</pre>


* Analyse the output of the ''modetest'' command

** 3 modes :
** 10 modes (8 unique modes) of the {{Highlight|connected}} HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|2829}}) are supported:

*** {{Highlight|1920x1080}} resolution with a refresh frequency of {{Highlight|30}} Hz
*** {{Highlight|1920x1080}} resolution with a refresh frequency of {{Highlight|25}} Hz
*** {{Highlight|1920x1080}} resolution with a refresh frequency of {{Highlight|24}} Hz
*** {{Highlight|1280x720}} resolution with a refresh frequency of {{Highlight|60}} Hz
*** {{Highlight|1280x720}} resolution with a refresh frequency of {{Highlight|50}} Hz
*** {{Highlight|800x600}} resolution with a refresh frequency of {{Highlight|75}} Hz
*** {{Highlight|720x576}} resolution with a refresh frequency of {{Highlight|50}} Hz
*** {{Highlight|720x480}} resolution with a refresh frequency of {{Highlight|60}} Hz
{{Warning | In the above example, some 1920x1080 resolutions are available but use cases may not work properly if the platform is not powerful enough for such high resolutions (DDR size and bandwidth, CPU and GPU performances...).}}

Connectors:
 id      encoder status          name            size (mm)       modes   encoders
 {{Highlight|28}}      2729}}      28      {{Highlight|connected}}       {{Highlight|HDMI-A-1}}        710x400         3       27700x390         10      28modes:
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot) {{Highlight|{{Highlight|1920x1080 30}} 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  {{Highlight|1920x1080 25}} 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  {{Highlight|1920x1080 24}} 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  {{Highlight|1280x720 60}} 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver {{grey | # duplicated mode, depends on hdmi tv}}
  {{Highlight|1280x720 50}} 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver {{grey | # duplicated mode, depends on hdmi tv}}
  {{Highlight|800x600 75}} 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver {{Highlight|720x576 50}} 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver {{Highlight|720x480 60}} 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver

:* 1 mode of the {{Highlight2HighlightParam|connected}} DSI display ({{Highlight2HighlightParam|DSI-1}} / connector {{Highlight2|30HighlightParam|31}}) is supported
::* {{Highlight2HighlightParam|480x800}} resolution with a refresh frequency of {{Highlight2HighlightParam|50}} Hz
 Connectors:
 id      encoder status          name            size (mm)       modes   encoders
 [...]
 {{Highlight2|30HighlightParam|31}}      0       {{Highlight2HighlightParam|connected}}       {{Highlight2HighlightParam|DSI-1}}           52x86           1       2930modes:
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
   {{Highlight2HighlightParam|480x800 50}} 50 480 600 663 783664 784 800 812 824 836 32729814 828 842 33000 flags: ; type: preferred, driver

* Per default, the first video mode provided by the HDMI monitor that is supported by the platform, is selected: here, it is the {{Highlight|800x6001280x720 60}} resolution
** Check it with the information provided by the ''modetest'' command: make the link between the HDMI connector {{Highlight|2829}}, the encoder id {{Highlight|2728}}, the CRTC id {{Highlight|3233}}, and finally the video mode {{highlight|800x6001280x720 60}}
 Connectors:
 id      encoder status          name            size (mm)       modes   encoders
 {{Highlight|2829}}      {{Highlight|2728}}      connected       HDMI-A-1        710x400         3       27

 Encoders:
 id      crtc    type    possible crtcs  possible clones
 {{Highlight|2728}}      {{Highlight|3233}}      DPI     0x00000001      0x00000000
 CRTCs:
 id      fb      pos     size
 {{Highlight|32}}      35      (0,0)   (800x600)
   {{Highlight|800x600}} 75 800 816 896 1056 600 601 604 625 49500 33}}      39      (0,0)   (1280x720)
   {{Highlight|1280x720 60}} 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver

* Stop Weston<ref name="restart Weston"/>, use the ''modetest'' command <ref name="drm">[[DRM KMS overview#Test Vsync | DRM KMS Overview - Test Vsync]]</ref> to test the different modes, and restart Weston<ref name="restart Weston"/>

Syntax:
 {{Board$}} modetest -M stm -s {{Highlight|<HDMI connector>}}:{{Highlight|<selected resolution>}}@XR24 -v

Example with the 38 modes identified above:
 {{Board$}} systemctl stop weston
 {{Board$}} modetest -M stm -s {{Highlight|2829}}:{{Highlight|800x600}}@XR241920x1080-30}} -v
 {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1920x1080-25}} -v
 {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1920x1080-24}} -v
 {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1280x720-60}} -v {{grey| # -60 to specify the Hz as there are two 1280x720 modes}}
 {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1280x720-50}} -v {{grey| # -50 to specify the Hz as there are two 1280x720 modes}}
 {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|800x600}} -v
 {{Board$}} modetest -M stm -s {{Highlight|2829}}:{{Highlight|720x480}}@XR24 -v
 {{Board$}} modetest -M stm -s {{Highlight|2829}}:{{Highlight|720x576}}@XR24 -v
 {{Board$}} systemctl start weston

* Set the selected video mode in the ''/etc/xdg/weston/weston.ini'' configuration file, and restart Weston<ref name="restart Weston"/>

Syntax:
 [output]
 name=HDMI-A-1
 mode={{Highlight|<selected resolution>}}

Example (720x480 resolution selected):
 mode={{Highlight|720x480}}

 {{Board$}} systemctl restart weston

* Check that the new video mode has been taken into account with the information provided by the ''modetest'' command: make the link between the HDMI connector {{Highlight|2829}}, the encoder id {{Highlight|2728}}, the CRTC id {{Highlight|3233}}, and finally the new video mode {{highlight|720x480}}
 {{Board$}} modetest -M stm

 Encoders:
 id      crtc    type    possible crtcs  possible clones
 {{Highlight|2728}}      {{Highlight|3233}}      DPI     0x00000001      0x00000000

 Connectors:
 id      encoder status          name            size (mm)       modes   encoders
 {{Highlight|2829}}      {{Highlight|2728}}      connected       HDMI-A-1        710x400         3       27
700x390         10       28
CRTCs:
 id      fb      pos     size
 {{Highlight|32}}      3833}}      35      (0,0)   (720x480)
   {{Highlight|720x480}} 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver

==FAQ==
===How to get all the video modes supported by the HDMI monitor===
This chapter gives a method to retrieve '''all the video modes''' supported by the HDMI monitor''', whether they are supported or not by the platform.

* Retrieve all the video modes supported by the HDMI monitor
 {{Board$}} dmesg -cC

 {{Board$}} echo 4 > /sys/module/drm/parameters/debug
 {{Board$}} dmesg<pre>

[20292.095467systemctl restart weston
 {{Board$}} dmesg<pre>

[ 2527.787272] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:2829:HDMI-A-1]
[20292.227634 2527.825480] [drm:drm_add_edid_modes.part.15] HDMI: display_info] non_desktop set to 0
[ 2527.825502] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz
[ 2527.825551] [drm:drm_add_edid_modes.part.19] ELD monitor SAMSUNG
[ 2527.825569] [drm:drm_add_edid_modes.part.19] HDMI: latency present 0 0, video latency 208 1, audio latency 8 64
[ 2527.825580] [drm:drm_add_edid_modes.part.19] ELD size 32, SAD count 1
[ 2527.825591] [drm:drm_add_display_info] non_desktop set to 0
[ 2527.825601] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz
[20292.230310 2527.828842] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 5060 148500 1920 2448 2492 26402008 2052 2200 1080 1084 1089 1125 [20292.2303290x48 0x5
[ 2527.828863] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.230353 2527.828888] [drm:drm_mode_debug_printmodeline] Modeline 40:"1360x76839:"1366x768" 60 85500 1360 1424 15361366 1436 1579 1792 768 771 777 795 0x405
[20292.230365774 798 0x40 0x5
[ 2527.828901] [drm:drm_mode_prune_invalid] Not using 1360x7681366x768 mode: CLOCK_HIGH
[20292.230387RANGE
[ 2527.828922] [drm:drm_mode_debug_printmodeline] Modeline 43:"1280x768" 60 79500 1280 1344 1472 1664 768 771 778 798 0x406
[20292.23039940:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[ 2527.828934] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.828955] [drm:drm_mode_debug_printmodeline] Modeline 41:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 2527.828967] [drm:drm_mode_prune_invalid] Not using 1280x7681920x1080i mode: CLOCK_HIGH
[20292.230421NO_INTERLACE
[ 2527.828987] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x768" 75 102250 1280 1360 1488 1696 768 771 778 805 0x46
[20292.23043346:"1152x864" 0 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[ 2527.828999] [drm:drm_mode_prune_invalid] Not using 1280x7681152x864 mode: CLOCK_HIGH
[20292.230454 2527.829019] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x768" 60 6825047:"1280x800" 0 71000 1280 1328 1360 1440 768 771 778 790 0x409
[20292.230467800 803 809 823 0x40 0x9
[ 2527.829039] [drm:drm_mode_prune_invalid] Not using 1280x7681280x800 mode: CLOCK_HIGH
[20292.230488RANGE
[ 2527.829059] [drm:drm_mode_debug_printmodeline] Modeline 4648:"1280x1024" 0 108000 1280 1328 1440 1688 1024 1025 1028 10665
[20292.2305001066 0x40 0x5
[ 2527.829071] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[20292.230521 2527.829091] [drm:drm_mode_debug_printmodeline] Modeline 47:"800x60049:"1440x900" 0 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[20292.23053388750 1440 1488 1520 1600 900 903 909 926 0x40 0x9
[ 2527.829103] [drm:drm_mode_prune_invalid] Not using 800x6001440x900 mode: CLOCK_RANGE
[20292.230555 2527.829123] [drm:drm_mode_debug_printmodeline] Modeline 48:"800x600" 0 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[20292.23056750:"1600x900" 0 108000 1600 1624 1704 1800 900 901 904 1000 0x40 0x5
[ 2527.829135] [drm:drm_mode_prune_invalid] Not using 1600x900 mode: CLOCK_HIGH
[ 2527.829155] [drm:drm_mode_debug_printmodeline] Modeline 51:"1680x1050" 0 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x40 0x9
[ 2527.829167] [drm:drm_mode_prune_invalid] Not using 1680x1050 mode: CLOCK_HIGH
[ 2527.829188] [drm:drm_mode_debug_printmodeline] Modeline 52:"800x600" 0 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[ 2527.829199] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[20292.230588 2527.829220] [drm:drm_mode_debug_printmodeline] Modeline 4953:"640x480" 0 31500 640 656 720 840 480 481 484 500 0x40 0xa
[20292.230600 2527.829231] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.230621 2527.829253] [drm:drm_mode_debug_printmodeline] Modeline 5054:"640x480" 0 31500 640 664 704 832 480 489 492 520 0x40 0xa
[20292.230633 2527.829265] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.230654 2527.829287] [drm:drm_mode_debug_printmodeline] Modeline 5155:"640x480" 0 30240 640 704 768 864 480 483 486 525 0x40 0xa
[ 2527.829298] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 2527.829318] [drm:drm_mode_debug_printmodeline] Modeline 56:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40 0xa
[20292.230667 2527.829330] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.230688 2527.829350] [drm:drm_mode_debug_printmodeline] Modeline 52:"57:"720x400" 0 28320 720 738 846 900 400 412 414 449 0x40 0x6
[ 2527.829372] [drm:drm_mode_prune_invalid] Not using 720x400 mode: CLOCK_RANGE
[ 2527.829393] [drm:drm_mode_debug_printmodeline] Modeline 58:"1280x1024" 0 135000 1280 1296 1440 1688 1024 1025 1028 10665
[20292.2307001066 0x40 0x5
[ 2527.829404] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[20292.230722 2527.829424] [drm:drm_mode_debug_printmodeline] Modeline 5359:"1024x768" 0 78750 1024 1040 1136 1312 768 769 772 800 0x40 5
[20292.2307340x5
[ 2527.829436] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_HIGH
[20292.230756RANGE
[ 2527.829457] [drm:drm_mode_debug_printmodeline] Modeline 5460:"1024x768" 0 75000 1024 1048 1184 1328 768 771 777 806 0x40 a
[20292.2307680xa
[ 2527.829469] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_HIGH
[20292.230790RANGE
[ 2527.829489] [drm:drm_mode_debug_printmodeline] Modeline 5661:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x40 a
[20292.2308020xa
[ 2527.829501] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
[20292.230824 2527.829521] [drm:drm_mode_debug_printmodeline] Modeline 58:"62:"832x624" 0 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[ 2527.829533] [drm:drm_mode_prune_invalid] Not using 832x624 mode: CLOCK_RANGE
[ 2527.829553] [drm:drm_mode_debug_printmodeline] Modeline 65:"800x600" 0 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[20292.230836 2527.829564] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[20292.230857 2527.829585] [drm:drm_mode_debug_printmodeline] Modeline 6067:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 11255
[20292.2308701125 0x40 0x5
[ 2527.829596] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.230891 2527.829617] [drm:drm_mode_debug_printmodeline] Modeline 6170:"1920x1080" 0 74250148500 1920 2558 2602 27502448 2492 2640 1080 1084 1089 1125 5
[20292.2309030x40 0x5
[ 2527.829629] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.230924 2527.829649] [drm:drm_mode_debug_printmodeline] Modeline 62:"1920x108078:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 2527.829661] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.829690] [drm:drm_mode_debug_printmodeline] Modeline 79:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 10891094 1125 5
[20292.2309360x40 0x15
[ 2527.829701] [drm:drm_mode_prune_invalid] Not using 1920x10801920x1080i mode: CLOCK_HIGH
[20292.230957NO_INTERLACE
[ 2527.829722] [drm:drm_mode_debug_printmodeline] Modeline 63:"1920x108085:"720x480i" 0 74250 1920 13500 720 739 801 858 480 488 494 525 0x40 0x101a
[ 2527.829733] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
[ 2527.829754] [drm:drm_mode_debug_printmodeline] Modeline 86:"720x576i" 0 13500 720 732 795 864 576 580 586 625 0x40 0x101a
[ 2527.829765] [drm:drm_mode_prune_invalid] Not using 720x576i mode: NO_INTERLACE
[ 2527.829787] [drm:drm_mode_debug_printmodeline] Modeline 87:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x20015
[ 2527.829799] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.829820] [drm:drm_mode_debug_printmodeline] Modeline 88:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 10891094 1125 5
[20292.2309700x40 0x20015
[ 2527.829832] [drm:drm_mode_prune_invalid] Not using 1920x10801920x1080i mode: CLOCK_HIGH
[20292.230991NO_INTERLACE
[ 2527.829853] [drm:drm_mode_debug_printmodeline] Modeline 6489:"1280x720" 0 74250 1280 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x1c005
[ 2527.829865] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829885] [drm:drm_mode_debug_printmodeline] Modeline 90:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x4005
[ 2527.829897] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829917] [drm:drm_mode_debug_printmodeline] Modeline 91:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
[ 2527.829929] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829950] [drm:drm_mode_debug_printmodeline] Modeline 92:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
[ 2527.829961] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.829982] [drm:drm_mode_debug_printmodeline] Modeline 93:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
[ 2527.830003] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830024] [drm:drm_mode_debug_printmodeline] Modeline 94:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
[ 2527.830035] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830056] [drm:drm_mode_debug_printmodeline] Modeline 95:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 5
[20292.2310030x1c005
[ 2527.830068] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_HIGH
[20292.231024NO_STEREO
[ 2527.830088] [drm:drm_mode_debug_printmodeline] Modeline 6596:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x4005
[ 2527.830099] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830120] [drm:drm_mode_debug_printmodeline] Modeline 97:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x20015
[ 2527.830131] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.830152] [drm:drm_mode_debug_printmodeline] Modeline 98:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x20015
[ 2527.830164] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.830185] [drm:drm_mode_debug_printmodeline] Modeline 99:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830196] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830217] [drm:drm_mode_debug_printmodeline] Modeline 100:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x4005
[ 2527.830229] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830250] [drm:drm_mode_debug_printmodeline] Modeline 101:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830261] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830282] [drm:drm_mode_debug_printmodeline] Modeline 102:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.830293] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830322] [drm:drm_mode_debug_printmodeline] Modeline 103:"1920x1080" 0 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830334] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830355] [drm:drm_mode_debug_printmodeline] Modeline 104:"1920x1080" 0 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x20005
[ 2527.830366] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830387] [drm:drm_mode_debug_printmodeline] Modeline 106:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 5
[20292.2310370x20005
[ 2527.830399] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_HIGH
[20292.231058NO_STEREO
[ 2527.830419] [drm:drm_mode_debug_printmodeline] Modeline 66:"108:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x20005
[ 2527.830431] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.830452] [drm:drm_mode_debug_printmodeline] Modeline 109:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x1c015
[ 2527.830463] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.830484] [drm:drm_mode_debug_printmodeline] Modeline 111:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 11255
[20292.2310711125 0x40 0x1c015
[ 2527.830496] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.231092 2527.830517] [drm:drm_mode_debug_printmodeline] Modeline 67:"114:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x20005
[ 2527.830528] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830549] [drm:drm_mode_debug_printmodeline] Modeline 115:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830561] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830582] [drm:drm_mode_debug_printmodeline] Modeline 116:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x20005
[ 2527.830593] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830614] [drm:drm_mode_debug_printmodeline] Modeline 117:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
[ 2527.830625] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830646] [drm:drm_mode_debug_printmodeline] Modeline 118:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.830667] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830688] [drm:drm_mode_debug_printmodeline] Modeline 119:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 11255
[20292.2311041125 0x40 0x4015
[ 2527.830699] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.231125 2527.830842] [drm:drm_mode_debug_printmodeline] Modeline 73:"720x576i120:"1920x1080i" 0 13500 720 732 795 864 576 580 586 625 0x40 0x10a
[20292.23113774250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x4015
[ 2527.830854] [drm:drm_mode_prune_invalid] Not using 720x576i1920x1080i mode: NO_INTERLACE
[20292.231159 2527.830876] [drm:drm_mode_debug_printmodeline] Modeline 75:"720x480i121:"1920x1080" 0 13500 720 739 801 858 480 488 494 525 0x40 0x10a
[20292.23117174250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x4005
[ 2527.830887] [drm:drm_mode_prune_invalid] Not using 720x480i1920x1080 mode: NO_INTERLACE
[20292.231192STEREO
[ 2527.830908] [drm:drm_mode_debug_printmodeline] Modeline 122:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x4005
[ 2527.830919] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.830941] [drm:drm_mode_debug_printmodeline] Modeline 123:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 2527.830952] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 2527.830973] [drm:drm_mode_debug_printmodeline] Modeline 124:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 2527.830985] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.831006] [drm:drm_mode_debug_printmodeline] Modeline 78:"125:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831026] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_RANGE
[ 2527.831046] [drm:drm_mode_debug_printmodeline] Modeline 126:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[20292.231204 2527.831058] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.231226 2527.831078] [drm:drm_mode_debug_printmodeline] Modeline 79:"1920x1080130:"720x480" 60 148352 1920 27027 720 736 798 858 480 489 495 525 0x40 0xa
[ 2527.831089] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
[ 2527.831110] [drm:drm_mode_debug_printmodeline] Modeline 131:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 2527.831122] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 2527.831142] [drm:drm_mode_debug_printmodeline] Modeline 132:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 [20292.2312380x40 0x5
[ 2527.831154] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.231259RANGE
[ 2527.831174] [drm:drm_mode_debug_printmodeline] Modeline 80:"133:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x101a
[ 2527.831186] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
[ 2527.831207] [drm:drm_mode_debug_printmodeline] Modeline 134:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x20015
[ 2527.831218] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 2527.831239] [drm:drm_mode_debug_printmodeline] Modeline 135:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
[ 2527.831251] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.831272] [drm:drm_mode_debug_printmodeline] Modeline 136:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
[ 2527.831283] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[ 2527.831304] [drm:drm_mode_debug_printmodeline] Modeline 140:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 11255
[20292.2312711125 0x40 0x1c005
[ 2527.831316] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.231292NO_STEREO
[ 2527.831337] [drm:drm_mode_debug_printmodeline] Modeline 81141:"1920x1080" 3024 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x4005
[ 2527.831357] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831378] [drm:drm_mode_debug_printmodeline] Modeline 142:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 11255
[20292.2313041125 0x40 0x1c005
[ 2527.831390] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.231325NO_STEREO
[ 2527.831411] [drm:drm_mode_debug_printmodeline] Modeline 82:"143:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.831422] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831443] [drm:drm_mode_debug_printmodeline] Modeline 145:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x405
[20292.2313370x40 0x20005
[ 2527.831455] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_HIGH
[20292.231358NO_STEREO
[ 2527.831476] [drm:drm_mode_debug_printmodeline] Modeline 83146:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 [20292.2313700x40 0x1c015
[ 2527.831487] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.231390 2527.831509] [drm:drm_mode_debug_printmodeline] Modeline 84:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
[20292.231402149:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x20005
[ 2527.831521] [drm:drm_mode_prune_invalid] Not using 720x4801920x1080 mode: CLOCK_RANGE
[20292.231423NO_STEREO
[ 2527.831542] [drm:drm_mode_debug_printmodeline] Modeline 86:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x1a
[20292.231436150:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
[ 2527.831553] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831574] [drm:drm_mode_debug_printmodeline] Modeline 151:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
[ 2527.831585] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831605] [drm:drm_mode_debug_printmodeline] Modeline 152:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x4015
[ 2527.831617] [drm:drm_mode_prune_invalid] Not using 720x480i1920x1080i mode: NO_INTERLACE
[20292.231460 2527.831637] [drm:drm_mode_debug_printmodeline] Modeline 153:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x4005
[ 2527.831649] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
[ 2527.831682] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:2829:HDMI-A-1] probed modes :
[20292.231482 2527.831703] [drm:drm_mode_debug_printmodeline] Modeline 55:"76:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 2527.831731] [drm:drm_mode_debug_printmodeline] Modeline 75:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 2527.831750] [drm:drm_mode_debug_printmodeline] Modeline 74:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 2527.831770] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831789] [drm:drm_mode_debug_printmodeline] Modeline 68:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 2527.831808] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 2527.831827] [drm:drm_mode_debug_printmodeline] Modeline 69:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 2527.831846] [drm:drm_mode_debug_printmodeline] Modeline 63:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[20292.231501 2527.831865] [drm:drm_mode_debug_printmodeline] Modeline 4173:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
[20292.231521 2527.831883] [drm:drm_mode_debug_printmodeline] Modeline 6872:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[20292.231614 2527.832937] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:3031:DSI-1]
[20292.231699 2527.833066] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:3031:DSI-1] probed modes :
[20292.231722 2527.833092] [drm:drm_mode_debug_printmodeline] Modeline 3437:"480x800" 50 3272933000 480 600 663 783664 784 800 812 824 836814 828 842 0x48 0x0</pre>

[ 2528.077108] [drm:drm_mode_addfb2] [FB:36]
[ 2528.945095] [drm:drm_mode_addfb2] [FB:38]</pre>

* Analyse the ''drm'' logs
** The modes of the HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|2829}}) that contain one of the following keywords are not supported: {{Highlight|CLOCK_HIGH}}, {{Highlight|CLOCK_RANGE}} and {{Highlight|NO_INTERLACE}}
 [20292.095467 2527.787272] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight|2829}}:{{Highlight|HDMI-A-1}}]
 [20292.227634] [drm:drm_add_edid_modes.part.15] HDMI: DVI dual 0, max TMDS clock 225000 kHz
 [20292.230310...]
 [ 2527.828842] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 5060 148500 1920 2448 2492 26402008 2052 2200 1080 1084 1089 1125  [20292.2303290x48 0x5
 [ 2527.828863] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: {{Highlight|CLOCK_HIGH}}
 [...]
 [20292.230521 2527.828888] [drm:drm_mode_debug_printmodeline] Modeline 47:"800x600" 0 40000 800 840 968 1056 600 601 605 628 0x40 0x5
 [20292.23053339:"1366x768" 60 85500 1366 1436 1579 1792 768 771 774 798 0x40 0x5
 [ 2527.828901] [drm:drm_mode_prune_invalid] Not using 800x6001366x768 mode: {{Highlight|CLOCK_RANGE}}
 [...]
 [20292.231058 2527.828922] [drm:drm_mode_debug_printmodeline] Modeline 6640:"1920x1080i" 050 74250 1920 2448 2492 2640 1080 1084 1094 11255
 [20292.2310711125 0x40 0x15
 [ 2527.828934] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: {{Highlight|NO_INTERLACE}}

:* The 310 modes of the HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|2829}}) that are supported (as analyzed from the [[#Video modes|''modetest'' output]]), are also seen with these ''drm'' logs
 [20292.231460 2527.831682] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight|2829}}:{{Highlight|HDMI-A-1}}] probed modes :
 [20292.231482 2527.831703] [drm:drm_mode_debug_printmodeline] Modeline 55:{{Highlight|"800x600" 75}}76:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
 [ 2527.831731] [drm:drm_mode_debug_printmodeline] Modeline 75:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
 [ 2527.831750] [drm:drm_mode_debug_printmodeline] Modeline 74:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
 [ 2527.831770] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
 [ 2527.831789] [drm:drm_mode_debug_printmodeline] Modeline 68:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
 [ 2527.831808] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
 [ 2527.831827] [drm:drm_mode_debug_printmodeline] Modeline 69:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
 [ 2527.831846] [drm:drm_mode_debug_printmodeline] Modeline 63:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
 [20292.231501 2527.831865] [drm:drm_mode_debug_printmodeline] Modeline 41:{{Highlight|"720x576" 50}}73:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
 [20292.231521 2527.831883] [drm:drm_mode_debug_printmodeline] Modeline 68:{{Highlight|"720x480" 60}}72:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa

:* The only mode of the DSI display ({{Highlight2HighlightParam|DSI-1}} / connector {{Highlight2|30HighlightParam|31}}) that is supported (as analyzed from the [[#Video modes|''modetest'' output]]), is also seen with these ''drm'' logs
 [20292.231699 2527.833066] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight2|30}}:{{Highlight2HighlightParam|31}}:{{HighlightParam|DSI-1}}] probed modes :
 [20292.231722 2527.833092] [drm:drm_mode_debug_printmodeline] Modeline 34:{{Highlight2|"480x800" 50}} 32729 480 600 663 783 800 812 824 83637:"480x800" 50 33000 480 600 664 784 800 814 828 842 0x48 0x0

==References==<references />

<noinclude>

{{PublicationRequestId | 8081 | 2018-07-09 | AlainF}}
[[Category:How to run use cases]]
[[Category:DRM KMS]]
[[Category:Wayland Weston]]</noinclude>
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
 
{{ArticleMainWriter | Jean-ChristopheT}}
 
{{ReviewersList | PhilippeC, YannickF}}
 
{{ArticleApprovedVersion | Jean-ChristopheT | PhilippeC (Passed 26Jun'18)) | No previous approved version | AlainF - 09Jul'18 - 8081 | 13Jul'18}}
 
 
[[Category:How to run use cases]]
 
 
</noinclude>
 
 
 
==Article purpose==
 
==Article purpose==
 
This article aims to specify what is displayed on an HDMI<sup>&reg;</sup><ref>[https://www.hdmi.org HDMI (High-Definition Multimedia Interface)]</ref> monitor (or TV) connected, through an HDMI cable, to a STMicroelectronics board, in different use cases explained below.
 
This article aims to specify what is displayed on an HDMI<sup>&reg;</sup><ref>[https://www.hdmi.org HDMI (High-Definition Multimedia Interface)]</ref> monitor (or TV) connected, through an HDMI cable, to a STMicroelectronics board, in different use cases explained below.
Line 15: Line 6:
 
==Prerequisites==
 
==Prerequisites==
 
Obviously, it is mandatory that your STMicroelectronics board has an HDMI connector, which is the case for: {{UpdateNeededForNewBoard|Point to the HDMI connector (if any) of the new board}}
 
Obviously, it is mandatory that your STMicroelectronics board has an HDMI connector, which is the case for: {{UpdateNeededForNewBoard|Point to the HDMI connector (if any) of the new board}}
:* the [[STM32MP157X-DKX - hardware_description#MB1272-CN9|STM32MP157X-DKX Discovery kit (CN9 HDMI connector)]]
+
:* the [[STM32MP157X-DKX - hardware_description#MB1272-CN9|STM32MP157x-DKx Discovery kit (CN9 HDMI connector)]]
[[File: STM32MP157X-DKX_HDMI.png|thumb|400px|center|link=|HDMI cable connected on Discovery kit <br> Board name: '''STM32MP157X-DKX''' (note that the MB1407 daughterboard DSI display, for the STM32MP157X-DK2 Discovery kit, is not shown here)]]
+
[[File: STM32MP157x-DKx_HDMI.png|thumb|400px|center|link=|HDMI cable connected on Discovery kit <br> '''STM32MP157C-DK2''' shown here (without the MB1407 daughterboard DSI display)]]
   
 
An HDMI cable and an HDMI monitor (or TV) are also needed.
 
An HDMI cable and an HDMI monitor (or TV) are also needed.
Line 23: Line 14:
 
The table below shows the different use cases that involve both the DSI display and the HDMI monitor.
 
The table below shows the different use cases that involve both the DSI display and the HDMI monitor.
   
{| class="wikitable" style="text-align:center"
+
{| class="st-table" style="text-align:center;"
! style="border: 1px solid darkgray" rowspan="2" | Original situation
+
! rowspan="2" style="text-align:center;" | Original situation
! style="border: 1px solid darkgray" rowspan="2" | Action
+
! rowspan="2" style="text-align:center; width:20%;" | Action
! style="border: 1px solid darkgray" colspan="2" | Final situation
+
! colspan="2" style="text-align:center;" | Final situation
 
|-
 
|-
! style="border: 1px solid darkgray" width=35% | DSI display
+
! style="text-align:center; width:35%;" | DSI display
! style="border: 1px solid darkgray" | HDMI monitor
+
! style="text-align:center;" | HDMI monitor
 
|-
 
|-
 
| style="text-align:left" | <span id{{=}}"HDMI-unplugged">'''HDMI unplugged'''</span> <br> - Board {{Highlight|not}} started <br> - DSI display connected <br> - HDMI monitor {{Highlight|not}} connected || Start the board || [[File:DSI_U-Boot_splash_screen.png|link=]] then briefly [[File:DSI user splash screen.png|link=]] and finally [[File:DSI_Wayland_background.png|link=]] || [[File:HDMI_black_screen.png|link=]]
 
| style="text-align:left" | <span id{{=}}"HDMI-unplugged">'''HDMI unplugged'''</span> <br> - Board {{Highlight|not}} started <br> - DSI display connected <br> - HDMI monitor {{Highlight|not}} connected || Start the board || [[File:DSI_U-Boot_splash_screen.png|link=]] then briefly [[File:DSI user splash screen.png|link=]] and finally [[File:DSI_Wayland_background.png|link=]] || [[File:HDMI_black_screen.png|link=]]
Line 35: Line 26:
 
| style="text-align:left" | <span id{{=}}"HDMI-cold-plug">'''HDMI cold-plug'''</span> <br> - Board {{Highlight|not}} started <br> - DSI display connected <br> - HDMI monitor {{Highlight|connected}} || Start the board || [[File:DSI_U-Boot_splash_screen.png|link=]] || [[File:HDMI user splash screen.png|link=]] then [[File:HDMI_Wayland_background.png|link=]]
 
| style="text-align:left" | <span id{{=}}"HDMI-cold-plug">'''HDMI cold-plug'''</span> <br> - Board {{Highlight|not}} started <br> - DSI display connected <br> - HDMI monitor {{Highlight|connected}} || Start the board || [[File:DSI_U-Boot_splash_screen.png|link=]] || [[File:HDMI user splash screen.png|link=]] then [[File:HDMI_Wayland_background.png|link=]]
 
|-
 
|-
| style="text-align:left" rowspan="2" | <span id{{=}}"HDMI-hot-plug">'''HDMI hot-plug'''</span> <br> - Board {{Highlight|started}} <br> - DSI display connected <br> - HDMI monitor {{Highlight|not}} connected || Plug the HDMI monitor || [[File:DSI_Wayland_background.png|link=]] || [[File:HDMI_black_screen.png|link=]]
+
| style="text-align:left" rowspan="2" | <span id{{=}}"HDMI-hot-plug">'''HDMI hot-plug'''</span> <br> - Board {{Highlight|started}} <br> - DSI display connected <br> - HDMI monitor {{Highlight|not}} connected || Plug the HDMI monitor || [[File:DSI_black_screen.png|link=]] || [[File:HDMI_Wayland_background_GTK_launcher.png|link=]]<br>The demo launcher window is not displayed fullscreen
 
|-
 
|-
| Restart Weston<ref name="restart Weston">[[How to stop and start Weston|How to restart Weston]]</ref> || [[File:DSI_black_screen.png|link=]] || [[File:HDMI_Wayland_background.png|link=]]
+
| Tap or click on the top-right corner cross to close the demo launcher window<br><br>Tap or click on the left-bottom "nine blue square" icon to start again the demo launcher window || [[File:DSI_black_screen.png|link=]] || [[File:HDMI_Wayland_background.png|link=]]<br>The demo launcher window is displayed fullscreen
 
|-
 
|-
| style="text-align:left" rowspan="2" | <span id{{=}}"HDMI-hot-unplug">'''HDMI hot-unplug'''</span> <br> - Board {{Highlight|started}} <br> - DSI display connected <br> - HDMI monitor {{Highlight|connected}} || Unplug the HDMI monitor || [[File:DSI_black_screen.png|link=]] || [[File:HDMI_black_screen.png|link=]]
+
| style="text-align:left" rowspan="2" | <span id{{=}}"HDMI-hot-unplug">'''HDMI hot-unplug'''</span> <br> - Board {{Highlight|started}} <br> - DSI display connected <br> - HDMI monitor {{Highlight|connected}} || Unplug the HDMI monitor || [[File:DSI_Wayland_background_GTK_launcher.png|link=]]<br>The demo launcher window is not downscaled || [[File:HDMI_black_screen.png|link=]]
 
|-
 
|-
|  Restart Weston<ref name="restart Weston"/> || [[File:DSI_Wayland_background.png|link=]] || [[File:HDMI_black_screen.png|link=]]
+
|  Restart Weston<ref name="restart Weston">[[How to stop and start Weston|How to restart Weston]]</ref> || [[File:DSI_Wayland_background.png|link=]] || [[File:HDMI_black_screen.png|link=]]
 
|}
 
|}
   
   
 
The following statements explain the use cases summarized above:
 
The following statements explain the use cases summarized above:
* The U-Boot graphical console (U-Boot logs similar to the ones displayed on the host PC Terminal program) is never displayed on the HDMI monitor. This console is displayed on the DSI display (if any on the board)
+
* The [[U-Boot overview | U-Boot]] graphical console ("ST life.augmented" picture) is never displayed on the HDMI monitor. This console is displayed on the DSI display (if any on the board).
   
* If the board has both a DSI display and an HDMI monitor, the Wayland background layer is only displayed on one of these displays (see the "rules" below)
+
* If the board has both a DSI display and an HDMI monitor, the Wayland background layer is only displayed on one of these displays (see the "rules" below).
   
* [[#HDMI-unplugged|'''HDMI unplugged''']]: if no HDMI monitor is connected to the board before the board starts, and if a DSI display is connected to the board, the Wayland background layer is displayed on the DSI display
+
* [[#HDMI-unplugged|'''HDMI unplugged''']]: if no HDMI monitor is connected to the board before the board starts, and if a DSI display is connected to the board, the Wayland background layer is displayed on the DSI display.
   
* [[#HDMI-cold-plug|'''HDMI cold-plug''']]: if an HDMI monitor is connected to the board before the board starts, the Wayland background layer is displayed on this HDMI monitor
+
* [[#HDMI-cold-plug|'''HDMI cold-plug''']]: if an HDMI monitor is connected to the board before the board starts, the Wayland background layer is displayed on this HDMI monitor.
   
* [[#HDMI-hot-plug|'''HDMI hot-plug''']]: if an HDMI monitor is connected to the board after the board starts, this plug is not automatically detected by Wayland / Weston. To force the display on the HDMI monitor, restart Weston<ref name="restart Weston"/>
+
* [[#HDMI-hot-plug|'''HDMI hot-plug''']]: if an HDMI monitor is connected to the board after the board starts, this plug is automatically detected by Wayland / Weston. The demo launcher window is not automatically upscaled: close and open it again to have it fullscreeen on the HDMI monitor.
   
* [[#HDMI-hot-unplug|'''HDMI hot-unplug''']]: similarly, if an HDMI monitor is disconnected from the board while the Wayland background layer is displayed on the HDMI monitor, this unplug is not automatically detected by Wayland / Weston. To force the display on the DSI display, restart Weston<ref name="restart Weston"/>
+
* [[#HDMI-hot-unplug|'''HDMI hot-unplug''']]: if an HDMI monitor is disconnected from the board while the Wayland background layer is displayed on the HDMI monitor, this unplug is automatically detected by Wayland / Weston. The demo launcher window is not automatically downscaled: restart Weston<ref name="restart Weston"/> to have it fullscreen on the DSI display.
   
 
==Video modes==
 
==Video modes==
Line 63: Line 54:
 
Let us assume that the DSI display and the HDMI monitor are connected to the board, and that the Wayland background is displayed on the HDMI monitor.
 
Let us assume that the DSI display and the HDMI monitor are connected to the board, and that the Wayland background is displayed on the HDMI monitor.
   
* Retrieve the video modes provided by the HDMI monitor and supported by the platform (see [[#How to get all the video modes supported by the HDMI monitor|below]] how to get all the video modes supported by the HDMI monitor, whether they are supported or not by the platform)
+
* Retrieve the video modes provided by the HDMI monitor and supported by the platform thanks to the [[DRM KMS overview#modetest (DRM/KMS test tool) | modetest]] command (see [[#How to get all the video modes supported by the HDMI monitor|below]] how to get all the video modes supported by the HDMI monitor, whether they are supported or not by the platform)
   
 
  {{Board$}} modetest -M stm
 
  {{Board$}} modetest -M stm
Line 69: Line 60:
 
Encoders:
 
Encoders:
 
id      crtc    type    possible crtcs  possible clones
 
id      crtc    type    possible crtcs  possible clones
27     32     DPI    0x00000001      0x00000000
+
28     33     DPI    0x00000001      0x00000000
29     0      DSI    0x00000001      0x00000000
+
30     0      DSI    0x00000001      0x00000000
   
 
Connectors:
 
Connectors:
 
id      encoder status          name            size (mm)      modes  encoders
 
id      encoder status          name            size (mm)      modes  encoders
28     27     connected      HDMI-A-1        710x400         3      27
+
29      28      connected      HDMI-A-1        700x390         10      28
 
   modes:
 
   modes:
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  +
  1920x1080 30 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  +
  1920x1080 25 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  +
  1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  +
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  +
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  +
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  +
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
 
   800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
 
   800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
 
   720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
 
   720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
Line 86: Line 84:
   
 
                 value:
 
                 value:
                         00ffffffffffff005262100101010101
+
                         00ffffffffffff004c2d920900000000
                         ff170103804728780a0dc9a057479827
+
                         0a160103804627780aee91a3544c9926
                         12484c2fcf0081800101010101010101
+
                         0f5054bdef80714f81c0810081809500
                         010101010101023a80d072382d40102c
+
                         a9c0b3000101023a801871382d40582c
                         4580c48e2100001e662150b051001b30
+
                         4500a05a0000001e662156aa51001e30
                         40703600c18e2100001e000000fc0054
+
                         468f3300a05a0000001e000000fd0018
                         4f53484942412d54560a2020000000fd
+
                         4b0f5117000a202020202020000000fc
                         00174c0f510f000a202020202020019f
+
                         0053414d53554e470a20202020200152
                         02032c70521f10202122130414051211
+
                         020330f14d901f041305140312202122
                         03021615070601260907071507506d03
+
                         07162309070783010000e2000f72030c
                         0c002000382dc026262929008c0ad090
+
                         001000b82d20d0080140073f405090a0
                         204031200c405500138e210000180e1f
+
                         011d80d0721c1620102c2580a05a0000
                         008051001e3040803700978e2100001c
+
                         009e011d8018711c1620582c2500a05a
                         f12700a05100253050803700978e2100
+
                         0000009e011d00bc52d01e20b8285540
                         001ca91a00a05000163030203700978e
+
                         a05a0000001e011d007251d01e206e28
                         2100001a000000000000000000000074
+
                         5500a05a0000001e0000000000000097
 
         2 DPMS:
 
         2 DPMS:
 
                 flags: enum
 
                 flags: enum
Line 110: Line 108:
 
                 enums: Good=0 Bad=1
 
                 enums: Good=0 Bad=1
 
                 value: 0
 
                 value: 0
30     0      connected      DSI-1          52x86          1      29
+
        6 non-desktop:
  +
                flags: immutable range
  +
                values: 0 1
  +
                value: 0
  +
        19 CRTC_ID:
  +
                flags: object
  +
                value: 33
  +
31     0      connected      DSI-1          52x86          1      30
 
   modes:
 
   modes:
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
   480x800 50 480 600 663 783 800 812 824 836 32729 flags: ; type: preferred, driver
+
   480x800 50 480 600 664 784 800 814 828 842 33000 flags: ; type: preferred, driver
 
   props:
 
   props:
 
         1 EDID:
 
         1 EDID:
Line 127: Line 132:
 
                 flags: enum
 
                 flags: enum
 
                 enums: Good=0 Bad=1
 
                 enums: Good=0 Bad=1
  +
                value: 0
  +
        6 non-desktop:
  +
                flags: immutable range
  +
                values: 0 1
  +
                value: 0
  +
        19 CRTC_ID:
  +
                flags: object
 
                 value: 0
 
                 value: 0
   
 
CRTCs:
 
CRTCs:
 
id      fb      pos    size
 
id      fb      pos    size
32     35     (0,0)  (800x600)
+
33     39     (0,0)  (1280x720)
   800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
+
   1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
 
   props:
 
   props:
  +
        20 ACTIVE:
  +
                flags: range
  +
                values: 0 1
  +
                value: 1
  +
        21 MODE_ID:
  +
                flags: blob
  +
                blobs:
  +
  +
                value:
  +
                        0a22010000056e05960572060000d002
  +
                        d502da02ee0200003c00000005000000
  +
                        40000000313238307837323000000000
  +
                        00000000000000000000000000000000
  +
                        00000000
  +
        18 OUT_FENCE_PTR:
  +
                flags: range
  +
                values: 0 18446744073709551615
  +
                value: 0
  +
        25 GAMMA_LUT:
  +
                flags: blob
  +
                blobs:
  +
  +
                value:
  +
        26 GAMMA_LUT_SIZE:
  +
                flags: immutable range
  +
                values: 0 4294967295
  +
                value: 256
   
 
Planes:
 
Planes:
 
id      crtc    fb      CRTC x,y        x,y    gamma size      possible crtcs
 
id      crtc    fb      CRTC x,y        x,y    gamma size      possible crtcs
31     32     35     0,0            0,0    0              0x00000001
+
32     33     39     0,0            0,0    0              0x00000001
 
   formats: AR24 XR24 RG24 RG16 AR15 XR15 AR12 XR12 C8   
 
   formats: AR24 XR24 RG24 RG16 AR15 XR15 AR12 XR12 C8   
 
   props:
 
   props:
         6 type:
+
         7 type:
 
                 flags: immutable enum
 
                 flags: immutable enum
 
                 enums: Overlay=0 Primary=1 Cursor=2
 
                 enums: Overlay=0 Primary=1 Cursor=2
 
                 value: 1
 
                 value: 1
33      0      0      0,0            0,0    0              0x00000001
+
        16 FB_ID:
  +
                flags: object
  +
                value: 39
  +
        17 IN_FENCE_FD:
  +
                flags: signed range
  +
                values: -1 2147483647
  +
                value: -1
  +
        19 CRTC_ID:
  +
                flags: object
  +
                value: 33
  +
        12 CRTC_X:
  +
                flags: signed range
  +
                values: -2147483648 2147483647
  +
                value: 0
  +
        13 CRTC_Y:
  +
                flags: signed range
  +
                values: -2147483648 2147483647
  +
                value: 0
  +
        14 CRTC_W:
  +
                flags: range
  +
                values: 0 2147483647
  +
                value: 1280
  +
        15 CRTC_H:
  +
                flags: range
  +
                values: 0 2147483647
  +
                value: 720
  +
        8 SRC_X:
  +
                flags: range
  +
                values: 0 4294967295
  +
                value: 0
  +
        9 SRC_Y:
  +
                flags: range
  +
                values: 0 4294967295
  +
                value: 0
  +
        10 SRC_W:
  +
                flags: range
  +
                values: 0 4294967295
  +
                value: 83886080
  +
        11 SRC_H:
  +
                flags: range
  +
                values: 0 4294967295
  +
                value: 47185920
  +
34     0      0      0,0            0,0    0              0x00000001
 
   formats: AR24 RG24 RG16 AR15 AR12 C8   
 
   formats: AR24 RG24 RG16 AR15 AR12 C8   
 
   props:
 
   props:
         6 type:
+
         7 type:
 
                 flags: immutable enum
 
                 flags: immutable enum
 
                 enums: Overlay=0 Primary=1 Cursor=2
 
                 enums: Overlay=0 Primary=1 Cursor=2
  +
                value: 0
  +
        16 FB_ID:
  +
                flags: object
  +
                value: 0
  +
        17 IN_FENCE_FD:
  +
                flags: signed range
  +
                values: -1 2147483647
  +
                value: -1
  +
        19 CRTC_ID:
  +
                flags: object
  +
                value: 0
  +
        12 CRTC_X:
  +
                flags: signed range
  +
                values: -2147483648 2147483647
  +
                value: 0
  +
        13 CRTC_Y:
  +
                flags: signed range
  +
                values: -2147483648 2147483647
  +
                value: 0
  +
        14 CRTC_W:
  +
                flags: range
  +
                values: 0 2147483647
  +
                value: 0
  +
        15 CRTC_H:
  +
                flags: range
  +
                values: 0 2147483647
  +
                value: 0
  +
        8 SRC_X:
  +
                flags: range
  +
                values: 0 4294967295
  +
                value: 0
  +
        9 SRC_Y:
  +
                flags: range
  +
                values: 0 4294967295
  +
                value: 0
  +
        10 SRC_W:
  +
                flags: range
  +
                values: 0 4294967295
  +
                value: 0
  +
        11 SRC_H:
  +
                flags: range
  +
                values: 0 4294967295
 
                 value: 0
 
                 value: 0
   
Line 156: Line 279:
 
</pre>
 
</pre>
   
 
+
* Analyse the output of the ''modetest'' command:
* Analyse the output of the ''modetest'' command
+
** 10 modes (8 unique modes) of the {{Highlight|connected}} HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|29}}) are supported:
** 3 modes of the {{Highlight|connected}} HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|28}}) are supported
+
*** {{Highlight|1920x1080}} resolution with a refresh frequency of {{Highlight|30}} Hz
  +
*** {{Highlight|1920x1080}} resolution with a refresh frequency of {{Highlight|25}} Hz
  +
*** {{Highlight|1920x1080}} resolution with a refresh frequency of {{Highlight|24}} Hz
  +
*** {{Highlight|1280x720}} resolution with a refresh frequency of {{Highlight|60}} Hz
  +
*** {{Highlight|1280x720}} resolution with a refresh frequency of {{Highlight|50}} Hz
 
*** {{Highlight|800x600}} resolution with a refresh frequency of {{Highlight|75}} Hz
 
*** {{Highlight|800x600}} resolution with a refresh frequency of {{Highlight|75}} Hz
 
*** {{Highlight|720x576}} resolution with a refresh frequency of {{Highlight|50}} Hz
 
*** {{Highlight|720x576}} resolution with a refresh frequency of {{Highlight|50}} Hz
 
*** {{Highlight|720x480}} resolution with a refresh frequency of {{Highlight|60}} Hz
 
*** {{Highlight|720x480}} resolution with a refresh frequency of {{Highlight|60}} Hz
  +
  +
{{Warning | In the above example, some 1920x1080 resolutions are available but use cases may not work properly if the platform is not powerful enough for such high resolutions (DDR size and bandwidth, CPU and GPU performances...).}}
  +
  +
  +
 
  Connectors:
 
  Connectors:
 
  id      encoder status          name            size (mm)      modes  encoders
 
  id      encoder status          name            size (mm)      modes  encoders
  {{Highlight|28}}      27     {{Highlight|connected}}      {{Highlight|HDMI-A-1}}        710x400         3      27
+
  {{Highlight|29}}      28     {{Highlight|connected}}      {{Highlight|HDMI-A-1}}        700x390         10      28
 
   modes:
 
   modes:
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  {{Highlight|800x600 75}} 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
+
  {{Highlight|1920x1080 30}} 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  {{Highlight|720x576 50}} 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
+
  {{Highlight|1920x1080 25}} 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  {{Highlight|720x480 60}} 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
+
  {{Highlight|1920x1080 24}} 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
  +
  {{Highlight|1280x720 60}} 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  +
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver {{grey | # duplicated mode, depends on hdmi tv}}
  +
  {{Highlight|1280x720 50}} 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  +
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver {{grey | # duplicated mode, depends on hdmi tv}}
  +
  {{Highlight|800x600 75}} 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
  +
  {{Highlight|720x576 50}} 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  +
  {{Highlight|720x480 60}} 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
   
:* 1 mode of the {{Highlight2|connected}} DSI display ({{Highlight2|DSI-1}} / connector {{Highlight2|30}}) is supported
+
:* 1 mode of the {{HighlightParam|connected}} DSI display ({{HighlightParam|DSI-1}} / connector {{HighlightParam|31}}) is supported
::* {{Highlight2|480x800}} resolution with a refresh frequency of {{Highlight2|50}} Hz
+
::* {{HighlightParam|480x800}} resolution with a refresh frequency of {{HighlightParam|50}} Hz
 
  Connectors:
 
  Connectors:
 
  id      encoder status          name            size (mm)      modes  encoders
 
  id      encoder status          name            size (mm)      modes  encoders
 
  [...]
 
  [...]
  {{Highlight2|30}}      0      {{Highlight2|connected}}      {{Highlight2|DSI-1}}          52x86          1      29
+
  {{HighlightParam|31}}      0      {{HighlightParam|connected}}      {{HighlightParam|DSI-1}}          52x86          1      30
  modes:
+
  modes:
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
 
         name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
   {{Highlight2|480x800 50}} 480 600 663 783 800 812 824 836 32729 flags: ; type: preferred, driver
+
   {{HighlightParam|480x800 50}} 50 480 600 664 784 800 814 828 842 33000 flags: ; type: preferred, driver
   
   
* Per default, the first video mode provided by the HDMI monitor that is supported by the platform, is selected: here, it is the {{Highlight|800x600}} resolution
+
* Per default, the first video mode provided by the HDMI monitor that is supported by the platform, is selected: here, it is the {{Highlight|1280x720 60}} resolution
** Check it with the information provided by the ''modetest'' command: make the link between the HDMI connector {{Highlight|28}}, the encoder id {{Highlight|27}}, the CRTC id {{Highlight|32}}, and finally the video mode {{highlight|800x600}}
+
** Check it with the information provided by the ''modetest'' command: make the link between the HDMI connector {{Highlight|29}}, the encoder id {{Highlight|28}}, the CRTC id {{Highlight|33}}, and finally the video mode {{highlight|1280x720 60}}
 
  Connectors:
 
  Connectors:
 
  id      encoder status          name            size (mm)      modes  encoders
 
  id      encoder status          name            size (mm)      modes  encoders
  {{Highlight|28}}      {{Highlight|27}}      connected      HDMI-A-1        710x400        3      27
+
  {{Highlight|29}}      {{Highlight|28}}      connected      HDMI-A-1        710x400        3      27
 
   
 
   
 
  Encoders:
 
  Encoders:
 
  id      crtc    type    possible crtcs  possible clones
 
  id      crtc    type    possible crtcs  possible clones
  {{Highlight|27}}      {{Highlight|32}}      DPI    0x00000001      0x00000000
+
  {{Highlight|28}}      {{Highlight|33}}      DPI    0x00000001      0x00000000
+
 
 
  CRTCs:
 
  CRTCs:
 
  id      fb      pos    size
 
  id      fb      pos    size
  {{Highlight|32}}      35     (0,0)  (800x600)
+
  {{Highlight|33}}      39     (0,0)  (1280x720)
   {{Highlight|800x600}} 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
+
   {{Highlight|1280x720 60}} 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
 
 
   
* Stop Weston, use the ''modetest'' command to test the different modes, and restart Weston
+
* Stop Weston<ref name="restart Weston"/>, use the ''modetest'' command<ref name="drm">[[DRM KMS overview#Test Vsync | DRM KMS Overview - Test Vsync]]</ref> to test the different modes, and restart Weston<ref name="restart Weston"/>
 
Syntax:
 
Syntax:
  {{Board$}} modetest -M stm -s {{Highlight|<HDMI connector>}}:{{Highlight|<selected resolution>}}@XR24 -v
+
  {{Board$}} modetest -M stm -s {{Highlight|<HDMI connector>}}:{{Highlight|<selected resolution>}} -v
   
Example with the 3 modes identified above:
+
Example with the 8 modes identified above:
 
  {{Board$}} systemctl stop weston
 
  {{Board$}} systemctl stop weston
  {{Board$}} modetest -M stm -s {{Highlight|28}}:{{Highlight|800x600}}@XR24 -v
+
  {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1920x1080-30}} -v
  {{Board$}} modetest -M stm -s {{Highlight|28}}:{{Highlight|720x480}}@XR24 -v
+
{{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1920x1080-25}} -v
  {{Board$}} modetest -M stm -s {{Highlight|28}}:{{Highlight|720x576}}@XR24 -v
+
{{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1920x1080-24}} -v
  +
{{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1280x720-60}} -v {{grey| # -60 to specify the Hz as there are two 1280x720 modes}}
  +
{{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|1280x720-50}} -v {{grey| # -50 to specify the Hz as there are two 1280x720 modes}}
  +
{{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|800x600}} -v
  +
  {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|720x480}} -v
  +
  {{Board$}} modetest -M stm -s {{Highlight|29}}:{{Highlight|720x576}} -v
 
  {{Board$}} systemctl start weston
 
  {{Board$}} systemctl start weston
   
   
* Set the selected video mode in the ''/etc/xdg/weston/weston.ini'' configuration file, and restart Weston
+
* Set the selected video mode in the ''/etc/xdg/weston/weston.ini'' configuration file, and restart Weston<ref name="restart Weston"/>
 
Syntax:
 
Syntax:
 
  [output]
 
  [output]
Line 222: Line 365:
   
   
* Check that the new video mode has been taken into account with the information provided by the ''modetest'' command: make the link between the HDMI connector {{Highlight|28}}, the encoder id {{Highlight|27}}, the CRTC id {{Highlight|32}}, and finally the new video mode {{highlight|720x480}}
+
* Check that the new video mode has been taken into account with the information provided by the ''modetest'' command: make the link between the HDMI connector {{Highlight|29}}, the encoder id {{Highlight|28}}, the CRTC id {{Highlight|33}}, and finally the new video mode {{highlight|720x480}}
 
  {{Board$}} modetest -M stm
 
  {{Board$}} modetest -M stm
   
 
  Encoders:
 
  Encoders:
 
  id      crtc    type    possible crtcs  possible clones
 
  id      crtc    type    possible crtcs  possible clones
  {{Highlight|27}}      {{Highlight|32}}      DPI    0x00000001      0x00000000
+
  {{Highlight|28}}      {{Highlight|33}}      DPI    0x00000001      0x00000000
 
   
 
   
 
  Connectors:
 
  Connectors:
 
  id      encoder status          name            size (mm)      modes  encoders
 
  id      encoder status          name            size (mm)      modes  encoders
  {{Highlight|28}}      {{Highlight|27}}      connected      HDMI-A-1        710x400         3       27
+
  {{Highlight|29}}      {{Highlight|28}}      connected      HDMI-A-1        700x390         10       28
+
 
 
  CRTCs:
 
  CRTCs:
 
  id      fb      pos    size
 
  id      fb      pos    size
  {{Highlight|32}}      38     (0,0)  (720x480)
+
  {{Highlight|33}}      35     (0,0)  (720x480)
 
   {{Highlight|720x480}} 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
 
   {{Highlight|720x480}} 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
   
 
==FAQ==
 
==FAQ==
 
===How to get all the video modes supported by the HDMI monitor===
 
===How to get all the video modes supported by the HDMI monitor===
This chapter gives a method to retrieve '''all the video modes''' supported by the HDMI monitor, whether they are supported or not by the platform.
+
This chapter gives a method to retrieve '''all the video modes supported by the HDMI monitor''', whether they are supported or not by the platform.
   
 
* Retrieve all the video modes supported by the HDMI monitor
 
* Retrieve all the video modes supported by the HDMI monitor
  {{Board$}} dmesg -c
+
  {{Board$}} dmesg -C
 
  {{Board$}} echo 4 > /sys/module/drm/parameters/debug
 
  {{Board$}} echo 4 > /sys/module/drm/parameters/debug
  +
{{Board$}} systemctl restart weston
 
  {{Board$}} dmesg
 
  {{Board$}} dmesg
 
<pre>
 
<pre>
[20292.095467] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:28:HDMI-A-1]
+
[ 2527.787272] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1]
[20292.227634] [drm:drm_add_edid_modes.part.15] HDMI: DVI dual 0, max TMDS clock 225000 kHz
+
[ 2527.825480] [drm:drm_add_display_info] non_desktop set to 0
[20292.230310] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 50 148500 1920 2448 2492 2640 1080 1084 1089 1125
+
[ 2527.825502] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz
[20292.230329] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.825551] [drm:drm_add_edid_modes.part.19] ELD monitor SAMSUNG
[20292.230353] [drm:drm_mode_debug_printmodeline] Modeline 40:"1360x768" 60 85500 1360 1424 1536 1792 768 771 777 795 0x405
+
[ 2527.825569] [drm:drm_add_edid_modes.part.19] HDMI: latency present 0 0, video latency 208 1, audio latency 8 64
[20292.230365] [drm:drm_mode_prune_invalid] Not using 1360x768 mode: CLOCK_HIGH
+
[ 2527.825580] [drm:drm_add_edid_modes.part.19] ELD size 32, SAD count 1
[20292.230387] [drm:drm_mode_debug_printmodeline] Modeline 43:"1280x768" 60 79500 1280 1344 1472 1664 768 771 778 798 0x406
+
[ 2527.825591] [drm:drm_add_display_info] non_desktop set to 0
[20292.230399] [drm:drm_mode_prune_invalid] Not using 1280x768 mode: CLOCK_HIGH
+
[ 2527.825601] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz
[20292.230421] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x768" 75 102250 1280 1360 1488 1696 768 771 778 805 0x46
+
[ 2527.828842] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[20292.230433] [drm:drm_mode_prune_invalid] Not using 1280x768 mode: CLOCK_HIGH
+
[ 2527.828863] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.230454] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x768" 60 68250 1280 1328 1360 1440 768 771 778 790 0x409
+
[ 2527.828888] [drm:drm_mode_debug_printmodeline] Modeline 39:"1366x768" 60 85500 1366 1436 1579 1792 768 771 774 798 0x40 0x5
[20292.230467] [drm:drm_mode_prune_invalid] Not using 1280x768 mode: CLOCK_HIGH
+
[ 2527.828901] [drm:drm_mode_prune_invalid] Not using 1366x768 mode: CLOCK_RANGE
[20292.230488] [drm:drm_mode_debug_printmodeline] Modeline 46:"1280x1024" 0 108000 1280 1328 1440 1688 1024 1025 1028 10665
+
[ 2527.828922] [drm:drm_mode_debug_printmodeline] Modeline 40:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[20292.230500] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
+
[ 2527.828934] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.230521] [drm:drm_mode_debug_printmodeline] Modeline 47:"800x600" 0 40000 800 840 968 1056 600 601 605 628 0x40 0x5
+
[ 2527.828955] [drm:drm_mode_debug_printmodeline] Modeline 41:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[20292.230533] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
+
[ 2527.828967] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.230555] [drm:drm_mode_debug_printmodeline] Modeline 48:"800x600" 0 36000 800 824 896 1024 600 601 603 625 0x40 0x5
+
[ 2527.828987] [drm:drm_mode_debug_printmodeline] Modeline 46:"1152x864" 0 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[20292.230567] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
+
[ 2527.828999] [drm:drm_mode_prune_invalid] Not using 1152x864 mode: CLOCK_HIGH
[20292.230588] [drm:drm_mode_debug_printmodeline] Modeline 49:"640x480" 0 31500 640 656 720 840 480 481 484 500 0x40 0xa
+
[ 2527.829019] [drm:drm_mode_debug_printmodeline] Modeline 47:"1280x800" 0 71000 1280 1328 1360 1440 800 803 809 823 0x40 0x9
[20292.230600] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
+
[ 2527.829039] [drm:drm_mode_prune_invalid] Not using 1280x800 mode: CLOCK_RANGE
[20292.230621] [drm:drm_mode_debug_printmodeline] Modeline 50:"640x480" 0 31500 640 664 704 832 480 489 492 520 0x40 0xa
+
[ 2527.829059] [drm:drm_mode_debug_printmodeline] Modeline 48:"1280x1024" 0 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
[20292.230633] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
+
[ 2527.829071] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[20292.230654] [drm:drm_mode_debug_printmodeline] Modeline 51:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40 0xa
+
[ 2527.829091] [drm:drm_mode_debug_printmodeline] Modeline 49:"1440x900" 0 88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9
[20292.230667] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
+
[ 2527.829103] [drm:drm_mode_prune_invalid] Not using 1440x900 mode: CLOCK_RANGE
[20292.230688] [drm:drm_mode_debug_printmodeline] Modeline 52:"1280x1024" 0 135000 1280 1296 1440 1688 1024 1025 1028 10665
+
[ 2527.829123] [drm:drm_mode_debug_printmodeline] Modeline 50:"1600x900" 0 108000 1600 1624 1704 1800 900 901 904 1000 0x40 0x5
[20292.230700] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
+
[ 2527.829135] [drm:drm_mode_prune_invalid] Not using 1600x900 mode: CLOCK_HIGH
[20292.230722] [drm:drm_mode_debug_printmodeline] Modeline 53:"1024x768" 0 78750 1024 1040 1136 1312 768 769 772 800 0x40 5
+
[ 2527.829155] [drm:drm_mode_debug_printmodeline] Modeline 51:"1680x1050" 0 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x40 0x9
[20292.230734] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_HIGH
+
[ 2527.829167] [drm:drm_mode_prune_invalid] Not using 1680x1050 mode: CLOCK_HIGH
[20292.230756] [drm:drm_mode_debug_printmodeline] Modeline 54:"1024x768" 0 75000 1024 1048 1184 1328 768 771 777 806 0x40 a
+
[ 2527.829188] [drm:drm_mode_debug_printmodeline] Modeline 52:"800x600" 0 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[20292.230768] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_HIGH
+
[ 2527.829199] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[20292.230790] [drm:drm_mode_debug_printmodeline] Modeline 56:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x40 a
+
[ 2527.829220] [drm:drm_mode_debug_printmodeline] Modeline 53:"640x480" 0 31500 640 656 720 840 480 481 484 500 0x40 0xa
[20292.230802] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
+
[ 2527.829231] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.230824] [drm:drm_mode_debug_printmodeline] Modeline 58:"800x600" 0 50000 800 856 976 1040 600 637 643 666 0x40 0x5
+
[ 2527.829253] [drm:drm_mode_debug_printmodeline] Modeline 54:"640x480" 0 31500 640 664 704 832 480 489 492 520 0x40 0xa
[20292.230836] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
+
[ 2527.829265] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.230857] [drm:drm_mode_debug_printmodeline] Modeline 60:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 11255
+
[ 2527.829287] [drm:drm_mode_debug_printmodeline] Modeline 55:"640x480" 0 30240 640 704 768 864 480 483 486 525 0x40 0xa
[20292.230870] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.829298] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.230891] [drm:drm_mode_debug_printmodeline] Modeline 61:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 5
+
[ 2527.829318] [drm:drm_mode_debug_printmodeline] Modeline 56:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40 0xa
[20292.230903] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.829330] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[20292.230924] [drm:drm_mode_debug_printmodeline] Modeline 62:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 5
+
[ 2527.829350] [drm:drm_mode_debug_printmodeline] Modeline 57:"720x400" 0 28320 720 738 846 900 400 412 414 449 0x40 0x6
[20292.230936] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.829372] [drm:drm_mode_prune_invalid] Not using 720x400 mode: CLOCK_RANGE
[20292.230957] [drm:drm_mode_debug_printmodeline] Modeline 63:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 5
+
[ 2527.829393] [drm:drm_mode_debug_printmodeline] Modeline 58:"1280x1024" 0 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[20292.230970] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.829404] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[20292.230991] [drm:drm_mode_debug_printmodeline] Modeline 64:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 5
+
[ 2527.829424] [drm:drm_mode_debug_printmodeline] Modeline 59:"1024x768" 0 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[20292.231003] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_HIGH
+
[ 2527.829436] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
[20292.231024] [drm:drm_mode_debug_printmodeline] Modeline 65:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 5
+
[ 2527.829457] [drm:drm_mode_debug_printmodeline] Modeline 60:"1024x768" 0 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
[20292.231037] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_HIGH
+
[ 2527.829469] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
[20292.231058] [drm:drm_mode_debug_printmodeline] Modeline 66:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 11255
+
[ 2527.829489] [drm:drm_mode_debug_printmodeline] Modeline 61:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[20292.231071] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
+
[ 2527.829501] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
[20292.231092] [drm:drm_mode_debug_printmodeline] Modeline 67:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 11255
+
[ 2527.829521] [drm:drm_mode_debug_printmodeline] Modeline 62:"832x624" 0 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[20292.231104] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
+
[ 2527.829533] [drm:drm_mode_prune_invalid] Not using 832x624 mode: CLOCK_RANGE
[20292.231125] [drm:drm_mode_debug_printmodeline] Modeline 73:"720x576i" 0 13500 720 732 795 864 576 580 586 625 0x40 0x10a
+
[ 2527.829553] [drm:drm_mode_debug_printmodeline] Modeline 65:"800x600" 0 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[20292.231137] [drm:drm_mode_prune_invalid] Not using 720x576i mode: NO_INTERLACE
+
[ 2527.829564] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[20292.231159] [drm:drm_mode_debug_printmodeline] Modeline 75:"720x480i" 0 13500 720 739 801 858 480 488 494 525 0x40 0x10a
+
[ 2527.829585] [drm:drm_mode_debug_printmodeline] Modeline 67:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[20292.231171] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
+
[ 2527.829596] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.231192] [drm:drm_mode_debug_printmodeline] Modeline 78:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
+
[ 2527.829617] [drm:drm_mode_debug_printmodeline] Modeline 70:"1920x1080" 0 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[20292.231204] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
+
[ 2527.829629] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[20292.231226] [drm:drm_mode_debug_printmodeline] Modeline 79:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125
+
[ 2527.829649] [drm:drm_mode_debug_printmodeline] Modeline 78:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[20292.231238] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.829661] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.231259] [drm:drm_mode_debug_printmodeline] Modeline 80:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 11255
+
[ 2527.829690] [drm:drm_mode_debug_printmodeline] Modeline 79:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[20292.231271] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.829701] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.231292] [drm:drm_mode_debug_printmodeline] Modeline 81:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 11255
+
[ 2527.829722] [drm:drm_mode_debug_printmodeline] Modeline 85:"720x480i" 0 13500 720 739 801 858 480 488 494 525 0x40 0x101a
[20292.231304] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
+
[ 2527.829733] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
[20292.231325] [drm:drm_mode_debug_printmodeline] Modeline 82:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x405
+
[ 2527.829754] [drm:drm_mode_debug_printmodeline] Modeline 86:"720x576i" 0 13500 720 732 795 864 576 580 586 625 0x40 0x101a
[20292.231337] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_HIGH
+
[ 2527.829765] [drm:drm_mode_prune_invalid] Not using 720x576i mode: NO_INTERLACE
[20292.231358] [drm:drm_mode_debug_printmodeline] Modeline 83:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125
+
[ 2527.829787] [drm:drm_mode_debug_printmodeline] Modeline 87:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x20015
[20292.231370] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
+
[ 2527.829799] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.231390] [drm:drm_mode_debug_printmodeline] Modeline 84:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
+
[ 2527.829820] [drm:drm_mode_debug_printmodeline] Modeline 88:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x20015
[20292.231402] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
+
[ 2527.829832] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[20292.231423] [drm:drm_mode_debug_printmodeline] Modeline 86:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x1a
+
[ 2527.829853] [drm:drm_mode_debug_printmodeline] Modeline 89:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x1c005
[20292.231436] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
+
[ 2527.829865] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[20292.231460] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:28:HDMI-A-1] probed modes :
+
[ 2527.829885] [drm:drm_mode_debug_printmodeline] Modeline 90:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x4005
[20292.231482] [drm:drm_mode_debug_printmodeline] Modeline 55:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
+
[ 2527.829897] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[20292.231501] [drm:drm_mode_debug_printmodeline] Modeline 41:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
+
[ 2527.829917] [drm:drm_mode_debug_printmodeline] Modeline 91:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
[20292.231521] [drm:drm_mode_debug_printmodeline] Modeline 68:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
+
[ 2527.829929] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[20292.231614] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:30:DSI-1]
+
[ 2527.829950] [drm:drm_mode_debug_printmodeline] Modeline 92:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
[20292.231699] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:30:DSI-1] probed modes :
+
[ 2527.829961] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
[20292.231722] [drm:drm_mode_debug_printmodeline] Modeline 34:"480x800" 50 32729 480 600 663 783 800 812 824 836 0x48 0x0
+
[ 2527.829982] [drm:drm_mode_debug_printmodeline] Modeline 93:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
  +
[ 2527.830003] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.830024] [drm:drm_mode_debug_printmodeline] Modeline 94:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
  +
[ 2527.830035] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.830056] [drm:drm_mode_debug_printmodeline] Modeline 95:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x1c005
  +
[ 2527.830068] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.830088] [drm:drm_mode_debug_printmodeline] Modeline 96:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x4005
  +
[ 2527.830099] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.830120] [drm:drm_mode_debug_printmodeline] Modeline 97:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x20015
  +
[ 2527.830131] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.830152] [drm:drm_mode_debug_printmodeline] Modeline 98:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x20015
  +
[ 2527.830164] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.830185] [drm:drm_mode_debug_printmodeline] Modeline 99:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.830196] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830217] [drm:drm_mode_debug_printmodeline] Modeline 100:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x4005
  +
[ 2527.830229] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830250] [drm:drm_mode_debug_printmodeline] Modeline 101:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.830261] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830282] [drm:drm_mode_debug_printmodeline] Modeline 102:"1920x1080" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.830293] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830322] [drm:drm_mode_debug_printmodeline] Modeline 103:"1920x1080" 0 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.830334] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830355] [drm:drm_mode_debug_printmodeline] Modeline 104:"1920x1080" 0 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.830366] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830387] [drm:drm_mode_debug_printmodeline] Modeline 106:"1280x720" 0 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x20005
  +
[ 2527.830399] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.830419] [drm:drm_mode_debug_printmodeline] Modeline 108:"1280x720" 0 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x20005
  +
[ 2527.830431] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.830452] [drm:drm_mode_debug_printmodeline] Modeline 109:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x1c015
  +
[ 2527.830463] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.830484] [drm:drm_mode_debug_printmodeline] Modeline 111:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x1c015
  +
[ 2527.830496] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.830517] [drm:drm_mode_debug_printmodeline] Modeline 114:"1920x1080" 0 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.830528] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830549] [drm:drm_mode_debug_printmodeline] Modeline 115:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.830561] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830582] [drm:drm_mode_debug_printmodeline] Modeline 116:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.830593] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830614] [drm:drm_mode_debug_printmodeline] Modeline 117:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.830625] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830646] [drm:drm_mode_debug_printmodeline] Modeline 118:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.830667] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830688] [drm:drm_mode_debug_printmodeline] Modeline 119:"1920x1080i" 0 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x4015
  +
[ 2527.830699] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.830842] [drm:drm_mode_debug_printmodeline] Modeline 120:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x4015
  +
[ 2527.830854] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.830876] [drm:drm_mode_debug_printmodeline] Modeline 121:"1920x1080" 0 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x4005
  +
[ 2527.830887] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830908] [drm:drm_mode_debug_printmodeline] Modeline 122:"1920x1080" 0 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x4005
  +
[ 2527.830919] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.830941] [drm:drm_mode_debug_printmodeline] Modeline 123:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
  +
[ 2527.830952] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
  +
[ 2527.830973] [drm:drm_mode_debug_printmodeline] Modeline 124:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
  +
[ 2527.830985] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.831006] [drm:drm_mode_debug_printmodeline] Modeline 125:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
  +
[ 2527.831026] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_RANGE
  +
[ 2527.831046] [drm:drm_mode_debug_printmodeline] Modeline 126:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
  +
[ 2527.831058] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
  +
[ 2527.831078] [drm:drm_mode_debug_printmodeline] Modeline 130:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
  +
[ 2527.831089] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
  +
[ 2527.831110] [drm:drm_mode_debug_printmodeline] Modeline 131:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
  +
[ 2527.831122] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
  +
[ 2527.831142] [drm:drm_mode_debug_printmodeline] Modeline 132:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
  +
[ 2527.831154] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
  +
[ 2527.831174] [drm:drm_mode_debug_printmodeline] Modeline 133:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x101a
  +
[ 2527.831186] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
  +
[ 2527.831207] [drm:drm_mode_debug_printmodeline] Modeline 134:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x20015
  +
[ 2527.831218] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.831239] [drm:drm_mode_debug_printmodeline] Modeline 135:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x1c005
  +
[ 2527.831251] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.831272] [drm:drm_mode_debug_printmodeline] Modeline 136:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x4005
  +
[ 2527.831283] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.831304] [drm:drm_mode_debug_printmodeline] Modeline 140:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.831316] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831337] [drm:drm_mode_debug_printmodeline] Modeline 141:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x4005
  +
[ 2527.831357] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831378] [drm:drm_mode_debug_printmodeline] Modeline 142:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.831390] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831411] [drm:drm_mode_debug_printmodeline] Modeline 143:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.831422] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831443] [drm:drm_mode_debug_printmodeline] Modeline 145:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x20005
  +
[ 2527.831455] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: NO_STEREO
  +
[ 2527.831476] [drm:drm_mode_debug_printmodeline] Modeline 146:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x1c015
  +
[ 2527.831487] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.831509] [drm:drm_mode_debug_printmodeline] Modeline 149:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.831521] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831542] [drm:drm_mode_debug_printmodeline] Modeline 150:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x1c005
  +
[ 2527.831553] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831574] [drm:drm_mode_debug_printmodeline] Modeline 151:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x20005
  +
[ 2527.831585] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831605] [drm:drm_mode_debug_printmodeline] Modeline 152:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x4015
  +
[ 2527.831617] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
  +
[ 2527.831637] [drm:drm_mode_debug_printmodeline] Modeline 153:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x4005
  +
[ 2527.831649] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: NO_STEREO
  +
[ 2527.831682] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] probed modes :
  +
[ 2527.831703] [drm:drm_mode_debug_printmodeline] Modeline 76:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
  +
[ 2527.831731] [drm:drm_mode_debug_printmodeline] Modeline 75:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
  +
[ 2527.831750] [drm:drm_mode_debug_printmodeline] Modeline 74:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
  +
[ 2527.831770] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
  +
[ 2527.831789] [drm:drm_mode_debug_printmodeline] Modeline 68:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
  +
[ 2527.831808] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
  +
[ 2527.831827] [drm:drm_mode_debug_printmodeline] Modeline 69:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
  +
[ 2527.831846] [drm:drm_mode_debug_printmodeline] Modeline 63:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
  +
[ 2527.831865] [drm:drm_mode_debug_printmodeline] Modeline 73:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
  +
[ 2527.831883] [drm:drm_mode_debug_printmodeline] Modeline 72:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
  +
[ 2527.832937] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:31:DSI-1]
  +
[ 2527.833066] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:31:DSI-1] probed modes :
  +
[ 2527.833092] [drm:drm_mode_debug_printmodeline] Modeline 37:"480x800" 50 33000 480 600 664 784 800 814 828 842 0x48 0x0
  +
[ 2528.077108] [drm:drm_mode_addfb2] [FB:36]
  +
[ 2528.945095] [drm:drm_mode_addfb2] [FB:38]
 
</pre>
 
</pre>
 
   
 
* Analyse the ''drm'' logs
 
* Analyse the ''drm'' logs
** The modes of the HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|28}}) that contain one of the following keywords are not supported: {{Highlight|CLOCK_HIGH}}, {{Highlight|CLOCK_RANGE}} and {{Highlight|NO_INTERLACE}}
+
** The modes of the HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|29}}) that contain one of the following keywords are not supported: {{Highlight|CLOCK_HIGH}}, {{Highlight|CLOCK_RANGE}} and {{Highlight|NO_INTERLACE}}
  [20292.095467] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight|28}}:{{Highlight|HDMI-A-1}}]
+
  [ 2527.787272] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight|29}}:{{Highlight|HDMI-A-1}}]
[20292.227634] [drm:drm_add_edid_modes.part.15] HDMI: DVI dual 0, max TMDS clock 225000 kHz
 
[20292.230310] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 50 148500 1920 2448 2492 2640 1080 1084 1089 1125
 
[20292.230329] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: {{Highlight|CLOCK_HIGH}}
 
 
  [...]
 
  [...]
  [20292.230521] [drm:drm_mode_debug_printmodeline] Modeline 47:"800x600" 0 40000 800 840 968 1056 600 601 605 628 0x40 0x5
+
  [ 2527.828842] [drm:drm_mode_debug_printmodeline] Modeline 36:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
  [20292.230533] [drm:drm_mode_prune_invalid] Not using 800x600 mode: {{Highlight|CLOCK_RANGE}}
+
  [ 2527.828863] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: {{Highlight|CLOCK_HIGH}}
  [...]
+
  [ 2527.828888] [drm:drm_mode_debug_printmodeline] Modeline 39:"1366x768" 60 85500 1366 1436 1579 1792 768 771 774 798 0x40 0x5
  [20292.231058] [drm:drm_mode_debug_printmodeline] Modeline 66:"1920x1080i" 0 74250 1920 2448 2492 2640 1080 1084 1094 11255
+
[ 2527.828901] [drm:drm_mode_prune_invalid] Not using 1366x768 mode: {{Highlight|CLOCK_RANGE}}
  [20292.231071] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: {{Highlight|NO_INTERLACE}}
+
  [ 2527.828922] [drm:drm_mode_debug_printmodeline] Modeline 40:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
  +
  [ 2527.828934] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: {{Highlight|NO_INTERLACE}}
   
:* The 3 modes of the HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|28}}) that are supported (as analyzed from the [[#Video modes|''modetest'' output]]), are also seen with these ''drm'' logs
+
:* The 10 modes of the HDMI monitor ({{Highlight|HDMI-A-1}} / connector {{Highlight|29}}) that are supported (as analyzed from the [[#Video modes|''modetest'' output]]), are also seen with these ''drm'' logs
  [20292.231460] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight|28}}:{{Highlight|HDMI-A-1}}] probed modes :
+
  [ 2527.831682] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight|29}}:{{Highlight|HDMI-A-1}}] probed modes :
  [20292.231482] [drm:drm_mode_debug_printmodeline] Modeline 55:{{Highlight|"800x600" 75}} 49500 800 816 896 1056 600 601 604 625 0x40 0x5
+
  [ 2527.831703] [drm:drm_mode_debug_printmodeline] Modeline 76:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
  [20292.231501] [drm:drm_mode_debug_printmodeline] Modeline 41:{{Highlight|"720x576" 50}} 27000 720 732 796 864 576 581 586 625 0x40 0xa
+
[ 2527.831731] [drm:drm_mode_debug_printmodeline] Modeline 75:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
  [20292.231521] [drm:drm_mode_debug_printmodeline] Modeline 68:{{Highlight|"720x480" 60}} 27000 720 736 798 858 480 489 495 525 0x40 0xa
+
[ 2527.831750] [drm:drm_mode_debug_printmodeline] Modeline 74:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
  +
[ 2527.831770] [drm:drm_mode_debug_printmodeline] Modeline 45:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
  +
[ 2527.831789] [drm:drm_mode_debug_printmodeline] Modeline 68:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
  +
[ 2527.831808] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
  +
[ 2527.831827] [drm:drm_mode_debug_printmodeline] Modeline 69:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
  +
[ 2527.831846] [drm:drm_mode_debug_printmodeline] Modeline 63:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
  +
  [ 2527.831865] [drm:drm_mode_debug_printmodeline] Modeline 73:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
  +
  [ 2527.831883] [drm:drm_mode_debug_printmodeline] Modeline 72:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
   
:* The only mode of the DSI display ({{Highlight2|DSI-1}} / connector {{Highlight2|30}}) that is supported (as analyzed from the [[#Video modes|''modetest'' output]]), is also seen with these ''drm'' logs
+
:* The only mode of the DSI display ({{HighlightParam|DSI-1}} / connector {{HighlightParam|31}}) that is supported (as analyzed from the [[#Video modes|''modetest'' output]]), is also seen with these ''drm'' logs
  [20292.231699] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{Highlight2|30}}:{{Highlight2|DSI-1}}] probed modes :
+
  [ 2527.833066] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:{{HighlightParam|31}}:{{HighlightParam|DSI-1}}] probed modes :
  [20292.231722] [drm:drm_mode_debug_printmodeline] Modeline 34:{{Highlight2|"480x800" 50}} 32729 480 600 663 783 800 812 824 836 0x48 0x0
+
  [ 2527.833092] [drm:drm_mode_debug_printmodeline] Modeline 37:"480x800" 50 33000 480 600 664 784 800 814 828 842 0x48 0x0
   
 
==References==
 
==References==
 
<references />
 
<references />
  +
  +
<noinclude>
  +
{{PublicationRequestId | 8081 | 2018-07-09 | AlainF}}
  +
[[Category:How to run use cases]]
  +
[[Category:DRM KMS]]
  +
[[Category:Wayland Weston]]
  +
</noinclude>

Attachments

Discussions