Bug 451293 - [wayland] Text throughout QtQuick-based apps partially or entirely missing after waking system from sleep
Summary: [wayland] Text throughout QtQuick-based apps partially or entirely missing af...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.2
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-03-08 22:34 UTC by Tobias G.
Modified: 2023-05-24 19:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example 1 (1.32 MB, image/jpeg)
2022-03-22 23:29 UTC, Tobias G.
Details
Example 2 (1.01 MB, image/jpeg)
2022-03-22 23:30 UTC, Tobias G.
Details
Example 3 (1.76 MB, image/jpeg)
2022-03-22 23:31 UTC, Tobias G.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias G. 2022-03-08 22:34:38 UTC
SUMMARY
Hey guys, 
I noticed that after putting my pc to sleep and waking it again leads to severe graphical issues, with e.g text not being visible in the application menu anymore. 

STEPS TO REPRODUCE
1. Start wayland session
2. Put pc to standby
3. Wake pc

OBSERVED RESULT
Graphical issues

EXPECTED RESULT
No graphical issues

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.11-2-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 23.4 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2

ADDITIONAL INFORMATION
I didn't know which component's fault it is, so I just put it in the general category, sorry.
Comment 1 Nate Graham 2022-03-22 15:59:55 UTC
Can you attach a screenshot that shows some of these graphical issues?

Does it happen in the X11 session, or only with Wayland?
Comment 2 Tobias G. 2022-03-22 23:24:53 UTC
(In reply to Nate Graham from comment #1)
> Can you attach a screenshot that shows some of these graphical issues?
> 
> Does it happen in the X11 session, or only with Wayland?

It never happened in the X11 session (I use standby regularly and have also switched back to X11 already), just in wayland.
While trying to "provoke" the issue (setting PC to standby) I also managed to get no screen at all after waking the PC, not even the mouse was visible.

In the second attempt I managed to get the issue I'm talking about, but it seems like not all letters are missing, just most of them, for example "8" and "f" work fine, but most others don't. I guess my PC just forgot how to write lol
Comment 3 Tobias G. 2022-03-22 23:29:12 UTC
Created attachment 147676 [details]
Example 1
Comment 4 Tobias G. 2022-03-22 23:30:44 UTC
Created attachment 147677 [details]
Example 2
Comment 5 Tobias G. 2022-03-22 23:31:58 UTC
Created attachment 147678 [details]
Example 3
Comment 6 Nate Graham 2022-03-24 02:46:34 UTC
Thank you. These graphical glitches are caused by bugs in the NVIDIA proprietary driver for that GPU. Please report this issue to the NVIDIA folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/

It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks!
Comment 7 David Edmundson 2022-03-24 11:34:57 UTC
Please don't message Nvidia. 
QtWayland doesn't support EGL Context Resets. It needs adding.
Comment 8 David Edmundson 2022-03-24 11:35:37 UTC
As a workaround, nvidia-persistenced would also suffice, that copies memory contents on standby.
Comment 9 Nate Graham 2023-04-27 21:42:56 UTC
Either way, an upstream issue.

David, do you happen to have a bug report URL handy for either the QtWayland issue or the NVIDIA issue you referenced?