After pressing Escape with KScreenLocker visible, when the display reinitialised, its output was drastically reduced

The Problem

When I last unlock-session’d, via kscreenlocker_greet, with the display disabled,[1] when the display reinitialised upon a keypress, it reinitialised as:

  1. #!/usr/bin/env sh
    kscreen-doctor -o
    
  2. Output: 1 DP-1 bc83a867-837f-477b-b49f-e8e2e8bded23
            enabled
            connected
            priority 1
            DisplayPort
            replication source:0
            Modes:  1:640x480@59.94*! 
            Geometry: 0,0 640x480
            Scale: 1
            Rotation: 1
            Overscan: 0
            Vrr: incapable
            RgbRange: Automatic
            HDR: incapable
            Wide Color Gamut: incapable
            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: automatic (10), range: [8; 16] bits per color
            Allow EDR: unsupported
            Sharpness control: unsupported
    

I attempted to force it to another resolution, but failed:

  1. #!/usr/bin/env sh
    kscreen-doctor output.DP-1.mode.1920x1080@60
    
  2. Output mode 1920x1080@60 not found.

This was corroborated by kcm_kscreen:

Retroactive Diagnosis

However, I have managed to remediate it:

…via:

#!/usr/bin/env sh
qdbus-qt6 org.kde.LogoutPrompt /LogoutPrompt promptReboot

However, not knowing what caused it troubles me. To that end, all that I immediately observe is a coredumpd entrant:

However, although theoretically possible to be irrelevant, I’ll note that kcmshell6 can’t invoke kcm_kscreen anymore, either:

RokeJulianLockhart@Beedell:~$ kcmshell6 kcm_kscreen
QQmlComponent: Component is not ready
kf.kcmutils: QList(kcmutils/kcmmoduleqml.cpp:7:1: Type Kirigami.ApplicationItem unavailable, file:///usr/lib64/qt6/qml/org/kde/kirigami/ApplicationItem.qml:78:1: Type Kirigami.AbstractApplicationItem unavailable
    Kirigami.AbstractApplicationItem {
    ^, file:///usr/lib64/qt6/qml/org/kde/kirigami/AbstractApplicationItem.qml:131:5: Type OverlayDrawer unavailable
        property OverlayDrawer globalDrawer
        ^, file:///usr/lib64/qt6/qml/org/kde/kirigami/OverlayDrawer.qml:14:1: Type KT.OverlayDrawer unavailable
    KT.OverlayDrawer {
    ^, qrc:/qt/qml/org/kde/kirigami/templates/OverlayDrawer.qml:232:36: Type KTP.DrawerHandle unavailable
        readonly property Item handle: KTP.DrawerHandle {
                                       ^, qrc:/qt/qml/org/kde/kirigami/templates/private/DrawerHandle.qml:68:17: ".onActiveValueChanged" is not available due to component versioning.
                    onActiveValueChanged: (delta) => {
                    ^)
Failed to initialize KCModuleQML
Aborted                    (core dumped) kcmshell6 kcm_kscreen

I’ve solely submitted this to bugzilla.redhat.com/show_bug.cgi?id=2435521, because drkonqi itself doesn’t catch it.

My Environment

  • DE

    Operating System: Fedora Linux 43
    KDE Plasma Version: 6.5.5
    KDE Frameworks Version: 6.22.0
    Qt Version: 6.10.1
    Kernel Version: 6.18.7-200.fc43.x86_64 (64-bit)
    Graphics Platform: Wayland
    Memory: 32 GiB of RAM (30.4 GiB usable)
    Graphics Processor 1: AMD Radeon RX 5700
    Graphics Processor 2: AMD Ryzen 5 7600X 6-Core Processor
    
  • GPU Port

    1. #!/usr/bin/env sh
      run0 lshw -c display -json | yq -P
      
    2. - id: display
        class: display
        claimed: true
        handle: PCI:0000:03:00.0
        description: VGA compatible controller
        product: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
        vendor: Advanced Micro Devices, Inc. [AMD/ATI]
        physid: "0"
        businfo: pci@0000:03:00.0
        version: c4
        width: 64
        clock: 33000000
        configuration:
          driver: amdgpu
          latency: "0"
        capabilities:
          pm: Power Management
          pciexpress: PCI Express
          msi: Message Signalled Interrupts
          vga_controller: true
          bus_master: bus mastering
          cap_list: PCI capabilities listing
          rom: extension ROM
      - id: display
        class: display
        claimed: true
        handle: PCI:0000:59:00.0
        description: VGA compatible controller
        product: Raphael
        vendor: Advanced Micro Devices, Inc. [AMD/ATI]
        physid: "0"
        businfo: pci@0000:59:00.0
        version: c7
        width: 64
        clock: 33000000
        configuration:
          driver: amdgpu
          latency: "0"
        capabilities:
          pm: Power Management
          pciexpress: PCI Express
          msi: Message Signalled Interrupts
          msix: MSI-X
          vga_controller: true
          bus_master: bus mastering
          cap_list: PCI capabilities listing
      
  • Monitor

    1. #!/usr/bin/env sh
      hwinfo --monitor
      
    2. 72: None 00.0: 10002 LCD Monitor                                
        [Created at monitor.125]
        Unique ID: rdCR.08rGJ7kUoc8
        Parent ID: svHJ.Zzd7VOLabX6
        Hardware Class: monitor
        Model: "AOC Q3279WG5B"
        Vendor: AOC "AOC"
        Device: eisa 0x3279 "Q3279WG5B"
        Serial ID: "40899"
        Resolution: 720x400@70Hz
        Resolution: 640x480@60Hz
        Resolution: 640x480@67Hz
        Resolution: 640x480@72Hz
        Resolution: 640x480@75Hz
        Resolution: 800x600@56Hz
        Resolution: 800x600@60Hz
        Resolution: 800x600@72Hz
        Resolution: 800x600@75Hz
        Resolution: 832x624@75Hz
        Resolution: 1024x768@60Hz
        Resolution: 1024x768@70Hz
        Resolution: 1024x768@75Hz
        Resolution: 1280x1024@75Hz
        Resolution: 1920x1080@60Hz
        Resolution: 1280x1024@60Hz
        Resolution: 2560x1440@60Hz
        Size: 725x428 mm
        Year of Manufacture: 2019
        Week of Manufacture: 51
        Detailed Timings #0:
           Resolution: 2560x1440
           Horizontal: 2560 2568 2600 2666 (+8 +40 +106) -hsync
             Vertical: 1440 1443 1448 1481 (+3 +8 +41) +vsync
          Frequencies: 296.00 MHz, 111.03 kHz, 74.97 Hz
        Year of Manufacture: 2019
        Week of Manufacture: 51
        Detailed Timings #1:
           Resolution: 2560x1440
           Horizontal: 2560 2608 2640 2720 (+48 +80 +160) +hsync
             Vertical: 1440 1443 1448 1481 (+3 +8 +41) +vsync
          Frequencies: 241.50 MHz, 88.79 kHz, 59.95 Hz
        Driver Info #0:
          Max. Resolution: 2560x1440
          Vert. Sync Range: 48-76 Hz
          Hor. Sync Range: 114-114 kHz
          Bandwidth: 296 MHz
        Config Status: cfg=new, avail=yes, need=no, active=unknown
        Attached to: #1 (VGA compatible controller)
      

  1. askubuntu.com/q/1466798 ↩︎