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

            Bug ID: 513901
           Summary: Plasmashell freezes at black screen after locking
                    screen and pressing Esc due to an "Invalid argument"
    Classification: Plasma
           Product: plasmashell
      Version First 6.5.4
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Alright, I hit this bug EIGHT times today and it REALLY pissed me off. Hope you
find the root cause and fix this, by the way. All cases were only fixed by a
FORCED SHUTDOWN... 

While on a trip, I wanted to use my laptop to play music while the screen was
turned off, so I gone to Battery > set both "When inactive" and "When laptop
lid closed" to "Do Nothing", used Elisa to play music, locked the screen and
pressed Esc to softly turn off the screen without suspending as always, and
boom.

The music kept playing, but after a while, when I wanted to use my computer,
turns out Plasma decided to stop rendering ABSOLUTELY anything. Black screen,
no matter if I switched TTYs or press whatever button (including power), Plasma
would not render anything to the screen even though I could change tracks with
my Bluetooth's airbuds buttons.

Then the logs are flooded with:

dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: src QRectF(0,0 2560x1440)
-> dst QRect(0,0 2560x1440)
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to create
framebuffer: Invalid argument
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Rendering a layer failed!
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to find a working
output layer configuration! Enabled layers:
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: src QRectF(0,0 2560x1440)
-> dst QRect(0,0 2560x1440)
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to create
framebuffer: Invalid argument
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Rendering a layer failed!
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to find a working
output layer configuration! Enabled layers:
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: src QRectF(0,0 2560x1440)
-> dst QRect(0,0 2560x1440)
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to create
framebuffer: Invalid argument
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Rendering a layer failed!
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to find a working
output layer configuration! Enabled layers:
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: src QRectF(0,0 2560x1440)
-> dst QRect(0,0 2560x1440)


STEPS TO REPRODUCE
1. Play music through Elisa
2. Set both "When inactive" and "When laptop lid closed" to "Do Nothing"
(preferably on battery, but I also hit this TWICE while being on AC)
3. Lock the screen (Meta + L)
4. Press Esc and watch the render not come back to life

OBSERVED RESULT
Graphics frost in a black screen even though the system is still "technically
working", and the logs flooded with framebuffer fails:

dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: src QRectF(0,0 2560x1440)
-> dst QRect(0,0 2560x1440)
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to create
framebuffer: Invalid argument
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Rendering a layer failed!
dic 27 10:48:51 malasdecisiones kwin_wayland[3379]: Failed to find a working
output layer configuration! Enabled layers:

EXPECTED RESULT
A simple innocent screen lock while playing music MUST NOT bring down the
entire graphics pipeline 💀

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION

CPU: Ryzen 9 6900 HX, 16 threads
Memory: 16 GiB DDR5
iGPU: AMD Radeon 680M
dGPU: RTX 3050 Laptop (Plasma DOES NOT USE THE DGPU to render the desktop at
all according to nvtop and nvidia-smi)
Laptop model: ASUS Zenbook Pro 17

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

Reply via email to