https://bugs.kde.org/show_bug.cgi?id=516870
Bug ID: 516870
Summary: KWin 6.6.1 rejects output mode switching on headless
nvidia-open setup with custom EDID
Classification: Plasma
Product: kwin
Version First 6.6.1
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: platform-drm
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 190217
--> https://bugs.kde.org/attachment.cgi?id=190217&action=edit
EDID firmware
SUMMARY
I have a headless desktop that I access exclusively with Sunshine/Moonlight.
The desktop is running nvidia-open drivers and has a custom EDID loaded via
drm.edid_firmware. Switching display modes via kscreen-doctor fails with
"applying config failed! The driver rejected the output configuration" on KWin
6.6.1. Downgrading KWin back to 6.5.5 immediately resolves the issue without
any other changes on the system.
STEPS TO REPRODUCE
1. Boot headless system with nvidia-open and custom EDID loaded via
drm.edid_firmware
2. Confirm connector is active with kscreen-doctor -o
3. Attempt to switch to any non-current mode, for example kscreen-doctor
output.DP-3.mode.2560x1440@60
OBSERVED RESULT
kscreen.doctor: Taddaaa! Found mode "5" "2560x1440@60"
kscreen.doctor: Output 1 set mode "2560x1440@60"
applying config failed! The driver rejected the output configuration
EXPECTED RESULT
Mode switches successfully.
SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.6.1
ADDITIONAL INFORMATION
The Nvidia driver and kernel version did not change between working and broken
states. Only kwin and kwindowsystem were downgraded.
kwin (6.6.1-3.1 => 6.5.5-3.1)
kwindowsystem (6.23.0-1.1 => 6.22.0-1.1)
kscreen-doctor -o output:
Output: 1 DP-3 23ca9e08-044d-409d-a0ad-dcd1c6650e13
enabled
connected
priority 1
DisplayPort
replication source:0
Modes: 1:[email protected]! 2:[email protected] 3:[email protected]
4:[email protected] 5:[email protected] 6:[email protected]* 7:[email protected]
Custom modes: None
Geometry: 0,0 2560x1382
Scale: 1
Rotation: 1
Overscan: 0
Vrr: Never
RgbRange: unknown
HDR: disabled
Wide Color Gamut: disabled
ICC profile: none
Color profile source: sRGB
Color power preference: prefer efficiency and performance
Brightness control: supported, set to 100% and dimming to 100%
Color resolution: unknown
Allow EDR: unsupported
Sharpness control: unsupported
Automatic brightness: unsupported
Decoded EDID:
edid-decode (hex):
00 ff ff ff ff ff ff 00 4c 2d aa 71 4d 58 43 30
27 21 01 03 80 77 22 78 2a c7 25 b1 4b 46 a8 26
0e 50 54 00 00 00 81 00 01 01 01 01 01 01 01 01
01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 a9 50 41 00 00 1c 00 00 00 fd 00 30 90 1e
ff 77 00 0a 20 20 20 20 20 20 00 00 00 fc 00 4c
53 34 39 41 47 39 35 0a 20 20 20 20 00 00 00 ff
00 48 43 53 57 39 30 31 37 38 39 0a 20 20 03 a7
f0 02 70 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9e
02 03 3c b0 e2 00 4f e3 05 c0 00 67 03 0c 00 10
00 b8 3c 6d d8 5d c4 01 78 80 53 00 30 90 c9 54
05 6d 1a 00 00 02 0f 30 90 00 04 8b 03 73 03 e6
06 05 01 8b 73 02 e5 01 8b 84 90 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50
70 12 79 00 00 03 01 64 34 b7 00 88 ff 13 9f 00
2f 80 1f 00 9f 05 28 00 02 00 09 00 f6 7c 00 08
6f 0d 9f 00 2f 80 1f 00 9f 05 28 00 02 00 09 00
b2 6c 00 08 ff 09 9f 00 2f 80 1f 00 7f 06 28 00
02 00 09 00 6a 5e 00 08 ff 09 9f 00 2f 80 1f 00
9f 05 28 00 02 00 09 00 a7 5a 00 08 ff 09 9f 00
2f 80 1f 00 65 05 27 00 02 00 09 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 81 90
----------------
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: SAM
Model: 29098
Serial Number: 809719885 (0x3043584d)
Made in: week 39 of 2023
Basic Display Parameters & Features:
Digital display
Maximum image size: 119 cm x 34 cm
Gamma: 2.20
DPMS levels: Off
RGB color display
First detailed timing is the preferred timing
Color Characteristics:
Red : 0.6943, 0.2929
Green: 0.2744, 0.6591
Blue : 0.1484, 0.0566
White: 0.3134, 0.3291
Established Timings I & II: none
Standard Timings:
DMT 0x1c: 1280x800 59.810326 Hz 16:10 49.702 kHz 83.500000 MHz
Detailed Timing Descriptors:
DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
(1193 mm x 336 mm)
Hfront 88 Hsync 44 Hback 148 Hpol N
Vfront 4 Vsync 5 Vback 36 Vpol P
Display Range Limits:
Monitor ranges (GTF): 48-144 Hz V, 30-255 kHz H, max dotclock 1190 MHz
Display Product Name: 'LS49AG95'
Display Product Serial Number: 'HCSW901789'
Extension blocks: 3
Checksum: 0xa7
----------------
Block 1, Block Map Extension Block:
Block 2: CTA-861 Extension Block
Block 3: DisplayID Extension Block
Checksum: 0x9e
----------------
Block 2, CTA-861 Extension Block:
Revision: 3
Underscans IT Video Formats by default
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
Native detailed modes: 0
Video Capability Data Block:
YCbCr quantization: No Data
RGB quantization: Selectable (via AVI Q)
PT scan behavior: No Data
IT scan behavior: Supports both over- and underscan
CE scan behavior: Supports both over- and underscan
Colorimetry Data Block:
BT2020YCC
BT2020RGB
Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
Source physical address: 1.0.0.0
Supports_AI
DC_36bit
DC_30bit
DC_Y444
Maximum TMDS clock: 300 MHz
Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
Version: 1
Maximum TMDS Character Rate: 600 MHz
SCDC Present
Max Fixed Rate Link: 3 and 6 Gbps per lane on 3 lanes, 6, 8 and 10 Gbps on
4 lanes
Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding
Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
VRRmin: 48 Hz
VRRmax: 144 Hz
Supports VESA DSC 1.2a compression
Supports Compressed Video Transport for 4:2:0 Pixel Encoding
Supports Compressed Video Transport at any valid 1/16th bit bpp
Supports 10 bpc Compressed Video Transport
DSC Max Slices: up to 8 slices and up to (340 MHz/Ksliceadjust) pixel clock
per slice
DSC Max Fixed Rate Link: 3 and 6 Gbps per lane on 3 lanes, 6, 8 and 10 Gbps
on 4 lanes
Maximum number of bytes in a line of chunks: 6144
Vendor-Specific Data Block (AMD), OUI 00-00-1A:
Version: 2
Feature Caps: 0x0f
Minimum Refresh Rate: 48 Hz
Maximum Refresh Rate: 144 Hz
Flags 1.x: 0x00
Flags 2.x: 0x04
Maximum luminance: 139 (1015.241 cd/m^2)
Minimum luminance: 3 (0.001 cd/m^2)
Maximum luminance (without local dimming): 115 (603.666 cd/m^2)
Minimum luminance (without local dimming): 3 (0.001 cd/m^2)
HDR Static Metadata Data Block:
Electro optical transfer functions:
Traditional gamma - SDR luminance range
SMPTE ST2084
Supported static metadata descriptors:
Static metadata type 1
Desired content max luminance: 139 (1015.241 cd/m^2)
Desired content max frame-average luminance: 115 (603.666 cd/m^2)
Desired content min luminance: 2 (0.001 cd/m^2)
Vendor-Specific Video Data Block (HDR10+), OUI 90-84-8B:
Application Version: 1
Full Frame Peak Luminance Index: 0
Peak Luminance Index: 0
Checksum: 0x50 Unused space in Extension Block: 67 bytes
----------------
Block 3, DisplayID Extension Block:
Version: 1.2
Extension Count: 0
Display Product Type: Extension Section
Video Timing Modes Type 1 - Detailed Timings Data Block:
DTD: 5120x1440 59.978158 Hz 0:0 88.828 kHz 469.010000 MHz
(aspect undefined, no 3D stereo, preferred)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 10 Vback 28 Vpol N
DTD: 3440x1440 60.002626 Hz 0:0 88.864 kHz 319.910000 MHz
(aspect undefined, no 3D stereo)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 10 Vback 28 Vpol N
DTD: 2560x1664 60.003019 Hz 0:0 102.305 kHz 278.270000 MHz
(aspect undefined, no 3D stereo)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 10 Vback 28 Vpol N
DTD: 2560x1440 60.002681 Hz 0:0 88.864 kHz 241.710000 MHz
(aspect undefined, no 3D stereo)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 10 Vback 28 Vpol N
DTD: 2560x1382 60.002482 Hz 0:0 85.324 kHz 232.080000 MHz
(aspect undefined, no 3D stereo)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 10 Vback 27 Vpol N
Checksum: 0x81
Checksum: 0x90
--
You are receiving this mail because:
You are watching all bug changes.