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

            Bug ID: 505812
           Summary: Wayland: Severe flickering / screen blanking with
                    screenshot region selection on NVIDIA
    Classification: Plasma
           Product: kwin
      Version First git-stable-Plasma/6.3
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: nospampls.essential...@aleeas.com
  Target Milestone: ---

On a KDE Wayland session with NVIDIA open drivers (5070ti), using any
screenshot tool  (like Spectacle or Flameshot) causes the screen on which it is
active (multi-monitor setup) to blank out (go black) for the duration of the
selection. Can press ESC to restore the screen then. It seems to work sometimes
after a reboot, but uncertain about the reasons why and when. This was
happening with Plasma 6.3 as well as with 6.4. Over the range of multiple
nvidia drivers as well.

This is a sample captured using the command: strace -e trace=ioctl spectacle
2>&1 | grep -v EAGAIN:

ctl(24, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x4f, 0x20), 0x7ffe4b18f4f0) = 0
ioctl(24, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x4f, 0x20), 0x7ffe4b18f4f0) = 0
ioctl(24, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x4f, 0x20), 0x7ffe4b18f4f0) = 0
ioctl(24, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x4f, 0x20), 0x7ffe4b18f4f0) = 0
ioctl(25, _IOC(_IOC_READ|_IOC_WRITE, 0x6d, 0, 0x10), 0x7ffe4b18f5e0) = 0
ioctl(24, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f5d0) = 0
ioctl(24, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f630) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x41, 0x38), 0x7ffe4b18f4e0) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7ffe4b18eb40) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f520) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f520) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f600) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f550) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f570) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7ffe4b18eb60) = 0
ioctl(15, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10), 0x7ffe4b18f630) = 0

And after filtering out QT_LOGGING_RULES="*.debug=true" spectacle - there are
multiple instances of:

qt.qpa.wayland.backingstore: requestUpdate
qt.qpa.wayland.backingstore: requestUpdate called twice without committing
anything

So it could be related.
I would've attached some screenshots, but oh well.. (:

Operating System: CachyOS Linux 
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 5070 Ti

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

Reply via email to