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

            Bug ID: 529040
           Summary: Kickoff popup shows icons but no text after all
                    outputs briefly disappear on resume (Wayland, NVIDIA)
    Classification: Plasma
           Product: plasmashell
      Version First 6.8.2
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Application Launcher (Kickoff) widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: 1.0

SUMMARY
After resuming from suspend, the Application Launcher (Kickoff) popup opens
with all of its icons
but none of its text: no app names under the favorites, no category names in
the sidebar, no user
name, no search field placeholder, no labels on the Applications/Places tabs or
on the power buttons.
Text renders fine everywhere else, including the panel in the same plasmashell
process.
Restarting plasmashell fixes it.

What triggers it: on resume, kwin briefly removes both outputs (two DisplayPort
monitors on NVIDIA),
so every Qt client logs "There are no outputs - creating placeholder screen",
then kwin adds the
outputs back a moment later. The Kickoff popup was hidden during that window
and has had no text
ever since.

STEPS TO REPRODUCE
1. Plasma Wayland session, two DP monitors on the NVIDIA proprietary driver
(580, Pascal).
2. Open Kickoff at some point during the session, then close it.
3. Suspend to RAM (S3) overnight and resume.
4. On resume, kwin removes all outputs for a fraction of a second and re-adds
them (log below).
5. Open Kickoff.

OBSERVED RESULT
Kickoff shows icons only and no text at all (attachment 1).

EXPECTED RESULT
Kickoff shows its normal text, as it does after a plasmashell restart
(attachment 2).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed, kernel 7.3.3
KDE Plasma Version: 6.8.2 (kwin6 6.8.2-3.1)
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0 (qt6-wayland 6.12.0-3.1)
Graphics Platform: Wayland
GPU: NVIDIA Quadro P600, proprietary driver 580.196.07
(NVreg_PreserveVideoMemoryAllocations=1)
Note: libnvidia-egl-wayland2 1.0.2 is in use instead of egl-wayland 1.1.x, to
work around the
sync_file fd leak (NVIDIA egl-wayland issue #196).

ADDITIONAL INFORMATION
What I checked while Kickoff was broken, before restarting plasmashell:
- kwin maps the Kickoff window normally. A KWin script showed it at the correct
size and position
  above the panel (659x520 at 630,504, on the panel's output). So the window is
there; only the
  text inside it is missing. The icons in the same window render fine.
- The panel stayed visible through the resume and still drew text (digital
clock).
- A new window from the same plasmashell process (the Digital Clock settings
dialog, opened via
  evaluateScript after the resume) drew text fine (attachment 3).
- KRunner, a separate process started after the resume, drew text fine
(attachment 4).
- No "QRhiGles2: Context is lost" or other graphics-reset messages in the log,
so this looks
  different from bug 517084. The plasmashell threads were not stuck (render
threads idle in
  futex wait).
So it looks like only a window that was hidden while there were no outputs
comes back without text.
I only tested Kickoff, so other applet popups may be affected the same way.

Relevant user journal at resume:
  08:40:30.704 (~20 Qt clients, within 0.5 ms) There are no outputs - creating
placeholder screen
  08:40:31.062 plasmashell: requesting unexisting screen geometry 1   (~100
similar lines, screens 0 and 1)
  08:40:31.064 plasmashell: There are no outputs - creating placeholder screen
  08:40:31.246 kwin_wayland: Atomic commit failed: EBUSY   (x3)

Why the outputs disappear (for context; the bug reported here is that
plasmashell does not recover):
the systemd-sleep hook /usr/lib/systemd/system-sleep/nvidia runs
"nvidia-sleep.sh resume", which
restores VRAM and then does chvt back to the session VT (it switched to VT 63
at suspend). kwin drops
both outputs about 0.67 s later, right after the session becomes active again.
No outputs were dropped
at suspend time. The same output drop is in the log after every overnight
resume since at least
Nov 13. I have noticed the missing text once so far, so I can't say yet whether
it happens every time.
A comment on bug 520317 suggests that kwin keep the last output alive instead
of tearing it down, so
that clients never see zero outputs; that would avoid this as well.

ATTACHMENTS
1-kickoff-after-resume-no-text.png      Kickoff after resume, icons only
2-kickoff-after-plasmashell-restart.png Kickoff after restarting plasmashell
3-new-dialog-same-process-ok.png        new dialog from the same plasmashell
process, text OK
4-krunner-ok.png                        KRunner (separate process) after
resume, text OK

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

Reply via email to