HDMI display resolution issues

Hi,
I’m trying to use a monochrome LCD screen with a Xavier NX. The screen is connected to a MIPI DSI to HDMI adapter. The adapter has some custom EDID:

EDID version: 1.3
Manufacturer: SMP Model 26768 Serial Number 1
Made in week 50 of 2017
Digital display
Maximum image size: 70 cm x 39 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
RGB color display
Default (sRGB) color space is primary color space
First detailed timing is preferred timing
Color Characteristics
  Red:   0.6611, 0.3320
  Green: 0.3017, 0.6132
  Blue:  0.1494, 0.0595
  White: 0.3134, 0.3291
Established Timings I & II: none
Standard Timings: none
Detailed mode: Clock 263.300 MHz, 3096 mm x 224 mm
               2840 2960 2980 3020 (120  20  40) hborder 75
                224  244  248  264 ( 20   4  16) vborder 10
               +hsync +vsync
               VertFreq: 330.248 Hz, HorFreq: 87.185 kHz
Detailed mode: Clock 263.300 MHz, 3096 mm x 224 mm
               2840 2960 2980 3020 (120  20  40)
                224  244  248  264 ( 20   4  16)
               +hsync +vsync
               VertFreq: 330.248 Hz, HorFreq: 87.185 kHz
Dummy Descriptor
Dummy Descriptor
Has 2 extension blocks
Checksum: 0xaf

----------------

CTA-861 Extension Block Revision 3
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
0 native detailed modes
43 bytes of CTA data blocks
  Video Data Block
  Audio Data Block
    Reserved (0x00)
  Speaker Allocation Data Block
    Speaker map:
  Vendor-Specific Data Block, OUI 0x000c03 (HDMI)
    Source physical address 1.0.0.0
    Supports_AI
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 300 MHz
  Vendor-Specific Data Block, OUI 0xc45dd8 (HDMI Forum)
    Version: 1
    Maximum TMDS Character Rate: 600 MHz
    SCDC Present
    VRRmin: 0 Hz
    VRRmax: 35 Hz
  Unknown CTA tag 0x00, length 5
    60 00 e3 06 00  `....
  Extended tag: YCbCr 4:2:0 Capability Map Data Block
    SVD Index 1 is out of range
Checksum: 0x57

----------------

DisplayID Extension Block Version 1.2 Length 121 Extension Count 0
Display Product Type: Extension Section
  Video Timing Modes Type 1 - Detailed Timings Data Block
    Detailed mode: Clock 263.270 MHz, aspect 1:1, no 3D stereo, preferred
                   2840 2960 2980 3020 (120  20  40)
                   4320 4340 4344 4360 ( 20   4  16)
                   -hsync -vsync
                   VertFreq: 19.994 Hz, HorFreq: 87.175 kHz
  Checksum: 0x16
Checksum: 0x90

The mode I need to run the screen in is in an extension block at the end:

Detailed mode: Clock 263.270 MHz, aspect 1:1, no 3D stereo, preferred
                   2840 2960 2980 3020 (120  20  40)
                   4320 4340 4344 4360 ( 20   4  16)
                   -hsync -vsync
                   VertFreq: 19.994 Hz, HorFreq: 87.175 kHz

However, the only mode available in Gnome display settings is 2840x224. xrandr also only shows that mode. Finally, running X with Option ModeDebug does not list 2840x4320 as an option it tries to validate.

I’m not really sure what to try to debug this or what additional information to provide, but I could use some help.
The screen works in its native resolution when connected to my desktop computer.

Any thoughts/suggestions?

What is the result of xorg log after you added ModeDebug?

Could you attach full log?

Here it is. Thanks for looking into this!

Xorg.0.log (203.9 KB)

Please share the result of

cat /sys/kernel/debug/tegradc.0/edid

Here it is.

edid.txt (1.1 KB)

From this edid, it tells the driver to output 2840x224.

Thus, this is not NVIDIA driver issue.

Decoding the edid, I get the attached info. It does mention the correct mode:

DisplayID Extension Block Version 1.2 Length 121 Extension Count 0
Display Product Type: Extension Section
  Video Timing Modes Type 1 - Detailed Timings Data Block
    Detailed mode: Clock 263.270 MHz, aspect 1:1, no 3D stereo, preferred
                   2840 2960 2980 3020 (120  20  40)
                   4320 4340 4344 4360 ( 20   4  16)
                   -hsync -vsync
                   VertFreq: 19.994 Hz, HorFreq: 87.175 kHz

How can I enable it?

edid-decode.txt (3.4 KB)

I am not quite sure about how edid-decode did here.

If posting your EDID directly to http://www.edidreader.com/, it shows

Horizontal Active: 2840
Vertical Active: 224

Interesting. Also, my desktop can run the screen in its correct mode. It detects it without any tweaks. I use an RTX 3080 Ti. Any clues on what’s going on? Any other things I can try to do?

Is it possible to customize the EDID?

Doesn’t look like it, no.