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

            Bug ID: 528906
           Summary: Windows stop redrawing after direct scanout on NVIDIA
                    (frame callbacks lost); plasmashell desktops on SDR
                    outputs freeze
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 198517
  --> https://bugs.kde.org/attachment.cgi?id=198517&action=edit
KWin support information

This one in a 4-monitor setup was actually caught/workarounded by Claude :)
The workaround is a one-liner, see below, hope this helps:


Desktop widgets (e.g. a digital clock with seconds) on the SDR outputs freeze
shortly after plasmashell starts. Their tooltips still show the correct time,
so the QML side keeps updating and only the desktop window stops presenting new
frames. With Qt's default threaded render loop, plasmashell also uses about
110% CPU, rendering two windows at about 200 fps on 60 Hz outputs. With
QSG_RENDER_LOOP=basic the CPU usage drops to about 2%, but the windows stay
frozen.

What I ruled out:
- Config: a fresh plasma-org.kde.plasma.desktop-appletsrc and plasmashellrc
give the same result. On a fresh config the affected desktops never draw even
the default wallpaper.
- Render backend: OpenGL and Vulkan, threaded and basic loops, all behave the
same.

Evidence that points at direct scanout:
- The HDR output (DP-3) never freezes.
- Enabling WCG on DP-2 only (kscreen-doctor output.DP-2.wcg.enable), then
restarting plasmashell, makes DP-2 update again while DP-1 stays frozen.
- KWIN_DRM_NO_DIRECT_SCANOUT=1 on kwin_wayland fixes it completely: all outputs
update, CPU about 2%, and no other workaround is needed.

Started after: the Plasma 6.8 update, around the same time as NVIDIA 620.70 and
Qt 6.11.2.

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

Reply via email to