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

            Bug ID: 450301
           Summary: On KWin 5.24 X11 Nvidia, when reenabling compositing,
                    windows begin flickering and flipping upside-down
           Product: kwin
           Version: 5.24.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: nyanpas...@tuta.io
  Target Milestone: ---

Created attachment 146770
  --> https://bugs.kde.org/attachment.cgi?id=146770&action=edit
Someone else's journalctl --user log at the time of the display corruption

SUMMARY
After upgrading to Plasma 5.24, I occasionally (when exiting mpv fullscreen?)
get corrupted kwin_x11 compositing, with flickering and notably upside-down
windows, which persist until restarting kwin_x11.

NVidia corruption is a longstanding issue, but me and two other people have
noticed much more common and qualitatively different symptoms (vertically
flipped windows), which started on KWin 5.24 (and perhaps 5.23.90? IDK.)

STEPS TO REPRODUCE
1. Start a Plasma X11 session on proprietary NVidia drivers, with compositing
enabled. (I'm using 470.103.01 drivers on an older GPU, other people have
encountered this bug on NVidia driver 510.47.03, on both systemd and classic
KDE initialization.)
2. Unsure. I think the bug started when the computer was unattended (but may be
wrong). Two people said the bug started when exiting fullscreen mpv playback (I
*think* fullscreen mpv turns off compositing, one of the two people used
`x11-bypass-compositor=fs-only`).

I was unable to replicate this issue by toggling compositing rapidly, or by
switching users (to SDDM) and unlocking my account again. When exiting mpv
fullscreen, I got a temporarily hung display for 0.25 to 1 second (except for
moving cursor) with transparent/corrupted title bars, but did not get
persistent graphical corruption.

OBSERVED RESULT
Windows begin to flicker, and sometimes render upside down. Disabling
compositing fixes rendering, but reenabling compositing causes the issue to
return. Restarting kwin_x11 fixes the issue and compositing works again.

Checking my journalctl, I don't see any kwin_x11 warnings related to OpenGL. In
one person's screenshot I saw a "kwin_core: XCB error: 10 (BadAccess)" around
the time of the corruption, followed by many QXcbConnection errors clustered at
the same time.

EXPECTED RESULT
kwin_x11 doesn't render improperly.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.9-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2 (drivers 470.103.01)

ADDITIONAL INFORMATION
Probably not related to Bug 450052 (a Wayland bug), but it's worth a look.

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

Reply via email to