Radeon RX 7900 GRE USBC -> DP monitor modes do not match EDID info
Brief summary of the problem:
I'm currently running 3x 1440P monitors on a Radeon RX 7900 GRE. This ran fine prior to a recent update (also it runs fine if I use a LiveCD boot image as well). After a recent update, the monitor that is plugged in via the USB-C port cannot run 1440P (it tops out at 1080P). Swapping monitors across ports results in the same behavior for the monitor plugged in to the USB-C port.
Note, I ran the update March 8, but it included several weeks' worth of updates as I had neglected to do regular updates.
Hardware description:
- CPU: AMD Ryzen 9 7900X
- GPU (lspci): Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
- GPU (GPUViewer): AMD Radeon RX 7900 GRE (RADV NAVI31)
- System Memory: 64GB
- Display(s): 2 x Dell U2713HM, 1 x NEC PA271W
- Type of Display Connection: 2 x DP, 1 x USB-C->DP
System information:
- Distro name and Version: Fedora 39 (was also a problem under 38 - I upgraded as a troubleshooting step)
- Kernel version: 6.7.7-200.fc39.x86_64
- Custom kernel: n/a
- AMD official driver version: n/a? I never installed a custom AMD driver, just whatever comes from repo maintainers
- Mesa Version: 23.3.5
How to reproduce the issue:
Currently, I have my NEC plugged in to the USB-C->DP port.
When I run edid-decode /sys/class/drm/card1-DP-1/edid
I get this result:
edid details
edid-decode (hex):00 ff ff ff ff ff ff 00 38 a3 dc 67 00 00 00 00 31 14 01 04 b5 3c 22 78 e2 4f 65 ad 4f 32 b2 26 0b 50 54 bf ef 80 81 c0 81 80 90 40 8b c0 95 00 a9 c0 a9 40 d1 c0 56 5e 00 a0 a0 a0 29 50 30 20 35 00 55 50 21 00 00 1a 00 00 00 fd 00 32 57 1f 5e 18 00 0a 20 20 20 20 20 20 00 00 00 fc 00 50 41 32 37 31 57 0a 20 20 20 20 20 20 00 00 00 ff 00 30 5a 31 30 31 35 39 34 55 41 0a 20 20 00 89
Block 0, Base EDID: EDID Structure Version & Revision: 1.4 Vendor & Product Identification: Manufacturer: NEC Model: 26588 Made in: week 49 of 2010 Basic Display Parameters & Features: Digital display Bits per primary color channel: 10 DisplayPort interface Maximum image size: 60 cm x 34 cm Gamma: 2.20 DPMS levels: Standby Suspend Off Supported color formats: RGB 4:4:4 First detailed timing includes the native pixel format and preferred refresh rate Color Characteristics: Red : 0.6767, 0.3085 Green: 0.1982, 0.6982 Blue : 0.1494, 0.0449 White: 0.3134, 0.3291 Established Timings I & II: IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz Apple : 640x480 66.666667 Hz 4:3 35.000 kHz 30.240000 MHz DMT 0x05: 640x480 72.808802 Hz 4:3 37.861 kHz 31.500000 MHz DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz DMT 0x0a: 800x600 72.187572 Hz 4:3 48.077 kHz 50.000000 MHz DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz Apple : 832x624 74.551266 Hz 4:3 49.726 kHz 57.284000 MHz DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz DMT 0x11: 1024x768 70.069359 Hz 4:3 56.476 kHz 75.000000 MHz DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz DMT 0x24: 1280x1024 75.024675 Hz 5:4 79.976 kHz 135.000000 MHz Apple : 1152x870 75.061550 Hz 192:145 68.681 kHz 100.000000 MHz Standard Timings: DMT 0x55: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz DMT 0x2a: 1400x1050 59.978442 Hz 4:3 65.317 kHz 121.750000 MHz GTF : 1360x765 60.000341 Hz 16:9 47.520 kHz 84.396000 MHz DMT 0x2f: 1440x900 59.887445 Hz 16:10 55.935 kHz 106.500000 MHz DMT 0x53: 1600x900 60.000000 Hz 16:9 60.000 kHz 108.000000 MHz (RB) DMT 0x33: 1600x1200 60.000000 Hz 4:3 75.000 kHz 162.000000 MHz DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz Detailed Timing Descriptors: DTD 1: 2560x1440 59.950550 Hz 16:9 88.787 kHz 241.500000 MHz (597 mm x 336 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 33 Vpol N Display Range Limits: Monitor ranges (GTF): 50-87 Hz V, 31-94 kHz H, max dotclock 240 MHz Display Product Name: 'PA271W' Display Product Serial Number: '0Z101594UA' Checksum: 0x89
Take note that under Detailed Timing Descriptors, it's properly reporting "DTD 1: 2560x1440".
However, when I run cat /sys/class/drm/card1-DP-1/modes
It does not list 2560x1440:
Modes
1920x1080 1600x1200 1400x1050 1600x900 1280x1024 1280x1024 1440x900 1360x768 1152x864 1280x720 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
I'm unsure where to go next. Is this a driver bug? Do I need to play with a configuration file to make this work? I tried adding a custom kernel param via video DP-1:2560x1440@59.95
but that doesn't seem to do anything.