https://bugs.kde.org/show_bug.cgi?id=521864

            Bug ID: 521864
           Summary: KWin: DRM master authentication failure on displayless
                    secondary GPU during s2idle resume causes permanent
                    black screen on all outputs
    Classification: Plasma
           Product: kwin
      Version First 6.7.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 193435
  --> https://bugs.kde.org/attachment.cgi?id=193435&action=edit
AI generated report for this bug.

DESCRIPTION
On the latest KDE 6.7.0, and maybe earlier, there is an issue when resuming
from a suspend when AsusMuxDgpu is active. 

What happens is that the laptop suspends normally, but on resume both the
laptop panel and external monitor stays black. I used an AI agent to help me
track down and verify the issue. I'll attach the report it wrote to this
report. 

STEPS TO REPRODUCE
1. Boot an Asus laptop that has the Advanced Optimus MUX available in
AsusMuxDgpu mode. 
2. Log in, and let the system suspend. (My sustem suspends too s2_idle)
3. Wake the system back up.

OBSERVED RESULT
The keyboard lights up, but both monitors stay black. The system is still
responsive, and tapping the power button results in a normal logout and
shutdow. 

EXPECTED RESULT
The system to resume normally, like in Hybrid mode. 

SOFTWARE/OS VERSIONS
      /\          evert@Evert
     /  \         -----------
    /    \        OS: Arch Linux x86_64
   /      \       Host: ROG Strix G733PYV_G733PYV (1.0)
  /   ,,   \      Kernel: Linux 7.0.12-1-cachyos
 /   |  |   \     Uptime: 22 hours, 30 mins
/_-''    ''-_\    Packages: 7 (flatpak), 2174 (pacman)
                  Shell: bash 5.3.9
                  Display (BenQ EX3210U): 3840x2160 @ 1.25x in 32", 120 Hz
[External] *
                  Display (NE173QHM-NZ2): 2560x1440 @ 1.33x in 17", 240 Hz
[Built-in]
                  DE: KDE Plasma 6.7.0
                  WM: KWin (Wayland)
                  WM Theme: Breeze
                  Theme: Breeze (Light) [Qt], Breeze [GTK2/3/4]
                  Icons: breeze [Qt], breeze [GTK2/3/4]
                  Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
                  Cursor: breeze (48px)
                  Terminal: konsole 26.4.2
                  Terminal Font: Hack (12pt)
                  CPU: AMD Ryzen 9 7945HX3D (32) @ 5.46 GHz
                  GPU 1: AMD Radeon 610M [Integrated]
                  GPU 2: NVIDIA GeForce RTX 4090 Laptop GPU [Discrete]
                  Memory: 8.20 GiB / 62.00 GiB (13%)
                  Swap: 0 B / 50.00 GiB (0%)
                  Disk (/): 112.33 GiB / 200.00 GiB (56%) - btrfs
                  Disk (/home): 2.63 TiB / 3.40 TiB (77%) - btrfs
                  Disk (/home/evert/Videos): 2.80 TiB / 3.39 TiB (83%) - btrfs
                  Local IP (wlp4s0): 192.168.88.132/24
                  Battery (GA50358): 76% [AC Connected]
                  Locale: en_GB.UTF-8


ADDITIONAL INFORMATION
What we think is happening, is that the amdgpu cannot be turned off, but is is
physically disconnected from the laptop panel by the MUX, allowing the nVidia
GPU to drive both the laptop panel and external monitor. 
In the event of a resume, kwin looks for cards to wake back up. The first card
it finds is the amdgpu, but this has no screens attached to it, and it just
fails at this junction, rather than try to look for more cards that it might
have to wake up. 

I'll attach the AI report as a file. It contains a lot more details, and might
answer some questions you might have. If not, please feel free to ask for
additional information, and we'll happily provide it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to