https://bugs.kde.org/show_bug.cgi?id=480657
Bug ID: 480657 Summary: Preferred resolution not applied Classification: Plasma Product: KScreen Version: 5.27.10 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: common Assignee: kscreen-bugs-n...@kde.org Reporter: mich...@adrhinum.de Target Milestone: --- SUMMARY *** The monitors preferred resolution is recognized, but it's not possible to apply it. *** STEPS TO REPRODUCE 1. Set screen resolution on a 6K-monitor to 6144x3456@60 (via kscreen-doctor or systemsettings). 2. 3. OBSERVED RESULT Screen resolution stays at 5120x2880@60. EXPECTED RESULT Screen resolution is set to 6144x3456@60. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 Kernel Version: 6.7.2-arch1-2 (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: LENOVO System Version: ThinkPad X1 Carbon Gen 9 ADDITIONAL INFORMATION 6K-Monitor (Dell U3224KBA) attached to a laptop (LENOVO ThinkPad X1) via thunderbolt. The monitor has a preferred resolution of 6144x3456@60. > cat /sys/class/drm/card1-DP-3/edid | di-edid-decode Block 0, Base EDID: EDID Structure Version & Revision: 1.4 Vendor & Product Identification: Manufacturer: DEL Model: 17191 Serial Number: 808531276 Made in: week 21 of 2023 Basic Display Parameters & Features: Digital display Bits per primary color channel: 10 DisplayPort interface Maximum image size: 70 cm x 39 cm Gamma: 2.20 DPMS levels: Off Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2 First detailed timing does not include the native pixel format and preferred refresh rate Color Characteristics: Red : 0.6777, 0.3134 Green: 0.2558, 0.6933 Blue : 0.1464, 0.0527 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 DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.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 Standard Timings: DMT 0x15: 1152x864 75.000000 Hz 4:3 67.500 kHz 108.000000 MHz DMT 0x1c: 1280x800 59.810326 Hz 16:10 49.702 kHz 83.500000 MHz DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz DMT 0x33: 1600x1200 60.000000 Hz 4:3 75.000 kHz 162.000000 MHz DMT 0x3a: 1680x1050 59.954250 Hz 16:10 65.290 kHz 146.250000 MHz DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz DMT 0x45: 1920x1200 59.884600 Hz 16:10 74.556 kHz 193.250000 MHz DMT 0x53: 1600x900 60.000000 Hz 16:9 60.000 kHz 108.000000 MHz (RB) Detailed Timing Descriptors: DTD 1: 3840x2160 59.996625 Hz 16:9 133.312 kHz 533.250000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 54 Vpol N Display Product Serial Number: 'JP8G4P3' Display Product Name: 'DELL U3224KBA' Display Range Limits: Monitor ranges (Bare Limits): 56-76 Hz V, 30-220 kHz H, max dotclock 1380 MHz Extension blocks: 2 Checksum: 0x02 ---------------- Block 1, CTA-861 Extension Block: Revision: 3 Underscans IT Video Formats by default Basic audio support Supports YCbCr 4:4:4 Supports YCbCr 4:2:2 Native detailed modes: 1 Video Data Block: VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz VIC 95: 3840x2160 30.000000 Hz 16:9 67.500 kHz 297.000000 MHz VIC 94: 3840x2160 25.000000 Hz 16:9 56.250 kHz 297.000000 MHz VIC 93: 3840x2160 24.000000 Hz 16:9 54.000 kHz 297.000000 MHz VIC 34: 1920x1080 30.000000 Hz 16:9 33.750 kHz 74.250000 MHz VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz VIC 18: 720x576 50.000000 Hz 16:9 31.250 kHz 27.000000 MHz VIC 3: 720x480 59.940060 Hz 16:9 31.469 kHz 27.000000 MHz VIC 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz Audio Data Block: Linear PCM: Max channels: 2 Supported sample rates (kHz): 48 44.1 32 Supported sample sizes (bits): 24 20 16 Speaker Allocation Data Block: FL/FR - Front Left/Right Detailed Timing Descriptors: DTD 2: 2560x1440 59.950550 Hz 16:9 88.787 kHz 241.500000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 33 Vpol N DTD 3: 2048x1280 59.922227 Hz 16:10 78.918 kHz 174.250000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 6 Vback 28 Vpol N Checksum: 0x57 ---------------- Block 2, DisplayID Extension Block: Version: 1.2 Display Product Type: Standalone display device Video Timing Modes Type 1 - Detailed Timings Data Block: DTD: 6144x3456 60.001253 Hz 16:9 213.304 kHz 1378.800000 MHz (aspect 16:9, no 3D stereo, preferred) Hfront 48 Hsync 32 Hback 240 Hpol P Vfront 3 Vsync 5 Vback 91 Vpol N DTD: 6016x3384 59.998324 Hz 16:9 208.854 kHz 1323.300000 MHz (aspect 16:9, no 3D stereo) Hfront 48 Hsync 32 Hback 240 Hpol P Vfront 3 Vsync 5 Vback 89 Vpol N DTD: 5120x2880 59.995011 Hz 16:9 177.705 kHz 952.500000 MHz (aspect 16:9, no 3D stereo) Hfront 48 Hsync 32 Hback 160 Hpol P Vfront 3 Vsync 5 Vback 74 Vpol N DTD: 6144x3456 29.994768 Hz 16:9 105.132 kHz 662.750000 MHz (aspect 16:9, no 3D stereo) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 41 Vpol N Checksum: 0x90 ---------------- EDID conformity: PASS Although libkscreen recognizes the same resolution as preferred, it does not choose it as default. > kscreen-doctor -o kscreen.kwayland: adding output 46 kscreen.kwayland: adding output 47 kscreen.kwayland: Loading Wayland backend. Output: 1 eDP-1 disabled connected priority 0 Panel Modes: 0:3840x2400@60*! 1:1600x1200@60 2:1280x1024@60 3:1024x768@60 4:2560x1600@60 5:1920x1200@60 6:1280x800@60 7:3840x2160@60 8:3200x1800@60 9:2880x1620@60 10:2560x1440@60 11:1920x1080@60 12:1600x900@60 13:1368x768@60 14:1280x720@60 Geometry: 5120,0 3840x2400 Scale: 1 Rotation: 1 Overscan: 0 Vrr: Automatic RgbRange: Automatic Output: 2 DP-3 enabled connected priority 1 DisplayPort Modes: 0:6144x3456@60! 1:3840x2160@60 2:6144x3456@30 3:6016x3384@60 4:5120x2880@60* 5:3840x2160@30 6:3840x2160@30 7:3840x2160@25 8:3840x2160@24 9:3840x2160@24 10:2560x1440@60 11:2048x1280@60 12:1920x1200@60 13:1920x1080@60 14:1920x1080@60 15:1920x1080@60 16:1920x1080@50 17:1920x1080@30 18:1920x1080@30 19:1600x1200@60 20:1680x1050@60 21:1600x900@60 22:1280x1024@75 23:1280x1024@60 24:1280x800@60 25:1152x864@75 26:1280x720@60 27:1280x720@60 28:1280x720@50 29:1024x768@75 30:1024x768@60 31:800x600@75 32:800x600@60 33:720x576@50 34:720x480@60 35:720x480@60 36:640x480@75 37:640x480@60 38:640x480@60 39:640x480@60 40:720x400@70 Geometry: 0,0 5120x2880 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic > kscreen-doctor -i Environment: * KSCREEN_BACKEND : [not set] * KSCREEN_BACKEND_INPROCESS : [not set] * KSCREEN_LOGGING : true Logging to : /home/ma/.local/share/kscreen/kscreen.log Preferred KScreen backend : KSC_KWayland.so Available KScreen backends: * KSC_Fake.so: /usr/lib/qt/plugins/kf5/kscreen/KSC_Fake.so * KSC_KWayland.so: /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so * KSC_QScreen.so: /usr/lib/qt/plugins/kf5/kscreen/KSC_QScreen.so * KSC_XRandR.so: /usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR.so * KSC_XRandR11.so: /usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR11.so Trying to set the preferred resolution doesn't change anything: > kscreen-doctor output.DP-3.mode.0 kscreen.kwayland: adding output 46 kscreen.kwayland: adding output 47 kscreen.kwayland: Loading Wayland backend. kscreen.doctor: Taddaaa! Found mode "0" "6144x3456@60" kscreen.doctor: Output 2 set mode "0" kscreen.doctor: setop exec returned KScreen::Config( KScreen::Output(1, "eDP-1", connected disabled priority 0, pos: QPoint(5120,0), res: QSize(3840, 2400), modeId: "0", scale: 1, clone: no, rotation: KScreen::Output::None, followPreferredMode: false) KScreen::Output(2, "DP-3", connected enabled priority 1, pos: QPoint(0,0), res: QSize(5120, 2880), modeId: "0", scale: 1, clone: no, rotation: KScreen::Output::None, followPreferredMode: false) ) > kscreen-doctor -o kscreen.kwayland: adding output 46 kscreen.kwayland: adding output 47 kscreen.kwayland: Loading Wayland backend. Output: 1 eDP-1 disabled connected priority 0 Panel Modes: 0:3840x2400@60*! 1:1600x1200@60 2:1280x1024@60 3:1024x768@60 4:2560x1600@60 5:1920x1200@60 6:1280x800@60 7:3840x2160@60 8:3200x1800@60 9:2880x1620@60 10:2560x1440@60 11:1920x1080@60 12:1600x900@60 13:1368x768@60 14:1280x720@60 Geometry: 5120,0 3840x2400 Scale: 1 Rotation: 1 Overscan: 0 Vrr: Automatic RgbRange: Automatic Output: 2 DP-3 enabled connected priority 1 DisplayPort Modes: 0:6144x3456@60! 1:3840x2160@60 2:6144x3456@30 3:6016x3384@60 4:5120x2880@60* 5:3840x2160@30 6:3840x2160@30 7:3840x2160@25 8:3840x2160@24 9:3840x2160@24 10:2560x1440@60 11:2048x1280@60 12:1920x1200@60 13:1920x1080@60 14:1920x1080@60 15:1920x1080@60 16:1920x1080@50 17:1920x1080@30 18:1920x1080@30 19:1600x1200@60 20:1680x1050@60 21:1600x900@60 22:1280x1024@75 23:1280x1024@60 24:1280x800@60 25:1152x864@75 26:1280x720@60 27:1280x720@60 28:1280x720@50 29:1024x768@75 30:1024x768@60 31:800x600@75 32:800x600@60 33:720x576@50 34:720x480@60 35:720x480@60 36:640x480@75 37:640x480@60 38:640x480@60 39:640x480@60 40:720x400@70 Geometry: 0,0 5120x2880 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic > cat .local/share/kscreen/kscreen.log 01.02.2024 06:52:05.793 ; kwayland ; : adding output 46 01.02.2024 06:52:05.793 ; kwayland ; : adding output 47 01.02.2024 06:52:05.817 ; kwayland ; : Loading Wayland backend. 01.02.2024 06:52:05.973 ; kwayland ; : adding output 46 01.02.2024 06:52:05.974 ; kwayland ; : adding output 47 01.02.2024 06:52:05.975 ; kwayland ; : Loading Wayland backend. 01.02.2024 06:53:05.522 ; kwayland ; : adding output 46 01.02.2024 06:53:05.522 ; kwayland ; : adding output 47 01.02.2024 06:53:05.523 ; kwayland ; : Loading Wayland backend. 01.02.2024 07:04:35.312 ; kwayland ; : adding output 46 01.02.2024 07:04:35.313 ; kwayland ; : adding output 47 01.02.2024 07:04:35.313 ; kwayland ; : Loading Wayland backend. 01.02.2024 07:04:35.313 ; doctor ; : Taddaaa! Found mode "0" "6144x3456@60" 01.02.2024 07:04:35.313 ; doctor ; : Output 2 set mode "0" 01.02.2024 07:04:35.332 ; doctor ; : setop exec returned KScreen::Config( KScreen::Output(1, "eDP-1", connected disabled priority 0, pos: QPoint(5120,0), res: QSize(3840, 2400), modeId: "0", scale: 1, clone: no, rotation: KScreen::Output::None, followPreferredMode: false) KScreen::Output(2, "DP-3", connected enabled priority 1, pos: QPoint(0,0), res: QSize(5120, 2880), modeId: "0", scale: 1, clone: no, rotation: KScreen::Output::None, followPreferredMode: false) ) 01.02.2024 07:06:49.184 ; kwayland ; : adding output 46 01.02.2024 07:06:49.184 ; kwayland ; : adding output 47 01.02.2024 07:06:49.184 ; kwayland ; : Loading Wayland backend. -- You are receiving this mail because: You are watching all bug changes.