Bug 364766 - Graphics distorted after suspend/resume with nvidia
Summary: Graphics distorted after suspend/resume with nvidia
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 354731 370953 373364 380239 383581 383950 387704 387982 388226 388354 391560 392226 392886 394470 395975 397288 399925 399991 400537 400880 400971 402150 402880 403756 405626 406093 406493 407529 408357 412607 413723 414288 415760 416532 418187 420440 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-26 08:44 UTC by alfaflo
Modified: 2021-08-31 19:38 UTC (History)
66 users (show)

See Also:
Latest Commit:
Version Fixed In: Qt 5.13 by default; Qt 5.11 with config flag manually set


Attachments
screenshot (566.63 KB, image/png)
2016-06-26 08:45 UTC, alfaflo
Details
QtBase NV Reset patch (7.66 KB, patch)
2017-09-04 13:50 UTC, David Edmundson
Details
Versions + Curruption (187.16 KB, image/png)
2018-05-27 20:44 UTC, Joe
Details
plasma backtrace (14.47 KB, text/plain)
2018-05-29 11:56 UTC, Antonio Orefice
Details
Corruption on the blur as of plasma 5.13 (2.33 MB, image/jpeg)
2018-06-17 10:23 UTC, RaitaroH
Details
crash output on resume (13.24 KB, text/plain)
2018-12-17 02:35 UTC, Joe
Details
crash log (12.12 KB, text/plain)
2018-12-17 14:48 UTC, Antonio Orefice
Details
Window Graphical Corruption (2.07 MB, image/png)
2019-07-16 11:34 UTC, Nayr438
Details
corrupted fonts + Latte icons (1.91 MB, image/png)
2019-11-11 22:03 UTC, Benedikt
Details
Screenshot with corrupted graphics after resume (1.62 MB, image/png)
2020-02-27 00:58 UTC, ale_scapin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alfaflo 2016-06-26 08:44:14 UTC
After wake up from suspend, some plasmoids (e.g. trash, weather widget) show graphic error.
Most time, the text below the icon is not readable.
After "updating" the plasmoid (e.g. throwing a file into trash), the text plasmoid is OK again.

(system: openSUSE Leap 42.1 with plasma 5.6.5 [but this also happend with plasma 5.6]; nvidia graphic card m9800gt with closed source driver)

Reproducible: Always

Steps to Reproduce:
1. suspend system
2. wake up
3. log in

Actual Results:  
some plasmoids (most time "trash" plasmoid) show graphic error, e.g. non readable text

Expected Results:  
no graphic errors; correct working widgets/plasmoids

It seems, that plasmoids get not "updated" after resume from suspend.
It doesn't matter if compositing is switched on or off.
Comment 1 alfaflo 2016-06-26 08:45:13 UTC
Created attachment 99697 [details]
screenshot
Comment 2 Szymon 2016-11-29 17:16:38 UTC
I have the same bug, after suspend icons names become buggy on plasmashell. When I drag&drop bugged icon or restart plasmashell, file names gets visible again.

system Neon 64bit, KDE Plasma 5.8.3, Nvidia driver 370.28 (but same thing on nouveau)

Reproducible: Always

Steps to Reproduce:
1. suspend system
2. wake up
3. log in
Comment 3 Christoph Feck 2017-06-02 02:17:21 UTC
*** Bug 380239 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2017-06-02 02:18:34 UTC
Related to/duplicate of bug 344326.
Comment 5 David Edmundson 2017-09-04 13:50:12 UTC
Created attachment 107684 [details]
QtBase NV Reset patch

This patch against QtBase adds robustness support, implements GLX_NV_robustness_video_memory_purge, and resets the GLContext on failure.

In terms of actually doing a reset, I'm simply running a render loop once with the GLContext marked as invalid; which is what the angle and windows backend are doing. It doesn't seem like enough, but with my nvidia card in, it does seem to work.

Note, EGL is not implemented.
Comment 6 Christoph Feck 2017-09-06 19:42:34 UTC
*** Bug 383581 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2017-09-17 14:40:28 UTC
*** Bug 383950 has been marked as a duplicate of this bug. ***
Comment 8 Joe 2017-10-24 01:07:27 UTC
I can still reproduce this (both Desktop and Laptop w/ latest binary NVIDIA driver) on the latest 5.11.1 release.
Comment 9 Pulfer 2017-11-23 08:07:31 UTC
(In reply to David Edmundson from comment #5)
> I'll tidy this up and submit this for review.

Hi David! Have you submitted that Qt patch for review?
Comment 10 David Edmundson 2017-11-23 11:20:57 UTC
Not yet. It requires some refactoring first.
Comment 11 David Edmundson 2017-12-09 00:01:42 UTC
*** Bug 387704 has been marked as a duplicate of this bug. ***
Comment 12 David Edmundson 2017-12-24 22:28:53 UTC
*** Bug 387982 has been marked as a duplicate of this bug. ***
Comment 13 David Edmundson 2017-12-28 23:48:05 UTC
*** Bug 388226 has been marked as a duplicate of this bug. ***
Comment 14 Elvis Angelaccio 2017-12-31 09:24:20 UTC
*** Bug 388354 has been marked as a duplicate of this bug. ***
Comment 15 Joe 2018-01-23 22:30:47 UTC
Is there a QT bug for this, too? If so and it helps I can comment/add the information from here to it. Also, anything else that might help getting this fixed that I can help out with, let me know (testing/etc?).
Comment 16 Locuaz 2018-01-24 15:16:17 UTC
Dear David Edmundson, may you give us the specific steps to apply this patch, please? I have a Nvidia Geforce GTX 1070. My OS is Arch Linux, WM is KDE Plasma. Thanks.
Comment 17 Pulfer 2018-01-24 16:19:59 UTC
(In reply to David Edmundson from comment #5)
> Created attachment 107684 [details]
> QtBase NV Reset patch

BTW, shouldn't it be "GLX_ARB_create_context_robustness" instead of "GLX_ARB_create_context_profile" in this line of the patch?

+        const bool supportsRobustness = glxExt.contains("GLX_ARB_create_context_profile");
Comment 18 David Edmundson 2018-03-06 10:59:09 UTC
Submitted: https://codereview.qt-project.org/#/c/220325/
Comment 19 David Edmundson 2018-03-08 01:22:43 UTC
*** Bug 354731 has been marked as a duplicate of this bug. ***
Comment 20 Tony 2018-03-12 23:26:19 UTC
*** Bug 391560 has been marked as a duplicate of this bug. ***
Comment 21 David Edmundson 2018-03-23 15:20:54 UTC
*** Bug 392226 has been marked as a duplicate of this bug. ***
Comment 22 David Edmundson 2018-03-23 15:21:07 UTC
Merged for Qt5.11
Comment 23 Joe 2018-03-23 16:24:43 UTC
Really appreciate the work on this, should add a lot of polish to Plasma. Any chance of it being backported to a QT 5.10.x bug release?
Comment 24 David Edmundson 2018-03-23 16:25:39 UTC
There won't be another 5.10.x
Comment 25 Joe 2018-03-23 16:32:45 UTC
ah, well then, that would be a great reason to not back port it. QT release schedules always confuse me anyways.
Comment 26 Christoph Feck 2018-04-15 03:02:39 UTC
*** Bug 392886 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2018-05-20 13:49:26 UTC
*** Bug 394470 has been marked as a duplicate of this bug. ***
Comment 28 Rajinder Yadav 2018-05-21 03:27:38 UTC
FYI: I recently install Kubuntu 18.04 LTS, not sure what version of KDE and QT is being used, but this bug still exists in this distro release.
Comment 29 Joe 2018-05-27 18:50:08 UTC
I have installed QT 5.11.0 in Arch (along with Plasma 5.12.5 and Frameworks 5.46), and this problem is still present with the graphical corruption of icon names after resuming from suspend. Selecting the icons and moving/dragging them with the mouse restores it to normal. I am on the 396.24 Nvidia driver with a Quadro M2000M in my laptop. I will check my desktop later, too, that also experiences this bug.
Comment 30 Joe 2018-05-27 18:51:21 UTC
Also, would the build against matter? In my about page in system settings it has: 
Qt 5.11.0 (built against 5.10.1). I would assume its all ABI compatible so the installed runtime version would be fine if it has the fix.
Comment 31 Joe 2018-05-27 20:43:11 UTC
To update, tested it on my desktop (same stack, but a GTX 1070), and the bug still exists with QT 5.11.0. I have attached a screen shot, too.
Comment 32 Joe 2018-05-27 20:44:08 UTC
Created attachment 112910 [details]
Versions + Curruption
Comment 33 David Edmundson 2018-05-29 10:46:49 UTC
Not everything went into Qt that meant we could enable this by default. There's an issue that still needs fixing. 

You can force it by adding

[QtQuickRendererSettings]
GraphicsResetNotifications=true

into plasmashellrc

but it /might/ lockup.
Comment 34 Antonio Orefice 2018-05-29 11:29:13 UTC
Indeed, plasma crashes on my system if i add 
[QtQuickRendererSettings]
GraphicsResetNotifications=true

Speaking of workarounds, is there a less drastic way than restarting plasmashell to fix rendering corruptions?
I mean something that triggers a complete redraw of plasmashell that can be automated via command line?
Comment 35 David Edmundson 2018-05-29 11:51:01 UTC
I wasn't expecting a crash, just a possible freeze. Can I have a backtrace?
Comment 36 Antonio Orefice 2018-05-29 11:56:33 UTC
Created attachment 112948 [details]
plasma backtrace

Did it.
Do i need to find a build with debug symbols enabled?

(What about the other question about triggering a redraw without quitting plasmashell?)

Thanks!
Comment 37 David Edmundson 2018-05-29 12:11:44 UTC
Heh, it crashed in the plotter nothing relating to this patch. (that's fixed in next frameworks AFAIK)

It's not just a redraw needed. I can't think of any decent way.
Comment 38 Antonio Orefice 2018-05-29 12:18:58 UTC
I can't say why, but it crashes after it resumes from s2ram and only if i add those strings to plasmashellrc (every single time i did it).
Comment 39 Antonio Orefice 2018-05-29 17:22:07 UTC
I just tried on another system (gtx 1060 + driver from nvidia) and it does not crash, however screen corruption persists.
I'm running Arch Linux

qt5-base 5.11.0-1
plasma-framework 5.46.0-2
Comment 40 Antonio Orefice 2018-06-13 12:51:51 UTC
(In reply to David Edmundson from comment #37)
> Heh, it crashed in the plotter nothing relating to this patch. (that's fixed
> in next frameworks AFAIK)
> 
> It's not just a redraw needed. I can't think of any decent way.
Today Arch received update for plasma-framework 5.47.0 and crashing persists.
Comment 41 RaitaroH 2018-06-17 10:23:59 UTC
Created attachment 113385 [details]
Corruption on the blur as of plasma 5.13

As of plasma 5.13 there is a blur effect on the lock/login screen. The corruption caused by this bug now extended to the blur too. It does not fix itself if you let the controls disappear or reappear. 

I kept a konsole opened but the blur was fine.
Comment 42 David Edmundson 2018-06-29 17:12:31 UTC
*** Bug 395975 has been marked as a duplicate of this bug. ***
Comment 43 Joe 2018-07-17 04:21:33 UTC
I can also second that it now is happening in the screen locker. I remember a year or two ago SDDM having the problem (and maybe the old screen locker?) and it having been resolved at one point.

Also - it looks like the QT bug is closed and merged now? So, maybe yay and the fix will get into QT 5.11.2?
Comment 44 Christoph Feck 2018-08-03 15:48:10 UTC
*** Bug 370953 has been marked as a duplicate of this bug. ***
Comment 45 David Edmundson 2018-10-04 13:16:32 UTC
Can someone **WITH Qt 5.12 GIT LATEST** please test something for me

Add to kdeglobals

[QtQuickRendererSettings]
GraphicsResetNotifications=true

and restart everything

And check graphics work after suspend/resume

Afterwards if you experience a freeze/crash when filing a bug please state very clearly you have this flag enabled in the report and CC here.
Comment 46 Antonio Orefice 2018-10-05 09:58:05 UTC
Building qt is not an option for me, i'm sorry.
However i'm using GraphicsResetNotifications on qt 5.11.1 since a couple of months and have had 2 or 3 freezes at most, so it would not be easy to debug.

One thing i noticed is that for the fix to be effective/triggered, one needs to interact with the desktop somehow.
By now, i hibernate, resume, i see corrupted labels; next i hover the mouse over one of them, and they recover.
Would it be possible to do something to "trigger" that so that one can execute it sistematically when the system resumes?
Comment 47 David Edmundson 2018-10-17 14:26:17 UTC
*** Bug 399925 has been marked as a duplicate of this bug. ***
Comment 48 Nate Graham 2018-10-18 21:29:18 UTC
*** Bug 399991 has been marked as a duplicate of this bug. ***
Comment 49 Nate Graham 2018-10-20 04:15:19 UTC
*** Bug 400038 has been marked as a duplicate of this bug. ***
Comment 50 Nate Graham 2018-11-01 18:26:40 UTC
*** Bug 400537 has been marked as a duplicate of this bug. ***
Comment 51 David Edmundson 2018-11-10 10:59:48 UTC
*** Bug 400880 has been marked as a duplicate of this bug. ***
Comment 52 Adam Golański 2018-11-11 19:31:45 UTC
(In reply to Joe from comment #43)
> I can also second that it now is happening in the screen locker. I remember
> a year or two ago SDDM having the problem (and maybe the old screen locker?)
> and it having been resolved at one point.
> 
> Also - it looks like the QT bug is closed and merged now? So, maybe yay and
> the fix will get into QT 5.11.2?

I am afraid that I just submitted a duplicate of this issue, with Qt 5.11.2
Still not working well in current KDE Neon.
Comment 53 David Edmundson 2018-11-12 08:23:02 UTC
See #45
Comment 54 hant0508 2018-12-01 17:22:02 UTC
I've reproduced the bug using 390.x Nvidia driver and QT 5.11. Then I've updated Nvidia driver to 415.x version and the bug disappeared.
Comment 55 S. Christian Collins 2018-12-03 04:40:23 UTC
(In reply to hant0508 from comment #54)
> I've reproduced the bug using 390.x Nvidia driver and QT 5.11. Then I've
> updated Nvidia driver to 415.x version and the bug disappeared.

Weird; I'm using NVIDIA driver 415.18 and Qt 5.11.2 and I still have the bug on GeForce GTX 970. What OS & card are you using?
Comment 56 hant0508 2018-12-03 18:15:22 UTC
(In reply to S. Christian Collins from comment #55)
> (In reply to hant0508 from comment #54)
> > I've reproduced the bug using 390.x Nvidia driver and QT 5.11. Then I've
> > updated Nvidia driver to 415.x version and the bug disappeared.
> 
> Weird; I'm using NVIDIA driver 415.18 and Qt 5.11.2 and I still have the bug
> on GeForce GTX 970. What OS & card are you using?

I'm using Ubuntu 18.10 and Nvidia GeForce GT 730M. Btw, some little artifacts remains, e.g. white squares on Latte Dock icons (can be fixed with "latte-dock -r"), but lagging cursor, blur and most other distortions disappeared after driver upgrade.
Comment 57 Christoph Feck 2018-12-06 03:09:43 UTC
*** Bug 400971 has been marked as a duplicate of this bug. ***
Comment 58 Joe 2018-12-13 18:10:49 UTC
Just wondering if there were any updates on this - I have the latest QT (5.12.0) along with the latest Plasma/Frameworks release, but this is still occurring.
Comment 59 Joe 2018-12-13 18:12:16 UTC
Also this is on a GTX 1070 w/ the 415.22 drivers.
Comment 60 David Edmundson 2018-12-13 18:35:28 UTC
Can someone **WITH Qt 5.12** please test something for me

Add to kdeglobals

[QtQuickRendererSettings]
GraphicsResetNotifications=true

and restart everything

And check graphics work after suspend/resume

Afterwards if you experience a freeze/crash when filing a bug please state very clearly you have this flag enabled in the report and CC here.
Comment 61 David Edmundson 2018-12-15 17:43:21 UTC
*** Bug 402150 has been marked as a duplicate of this bug. ***
Comment 62 Joe 2018-12-17 02:35:14 UTC
OK, I tried it - so, with the latest Arch Kernel (4.19.8-arch1-1-ARCH) - I just got hard locks when SDDM booted up (no mouse movement or keyboard, couldn't switch to virtual terminals). Not sure if this is related, but, it didn't happen before and I tried 3 times in a row. Nothing in the systemd journal.

I booted up the LTS kernel and was able to log in fine. I presed suspend, and, while it woke up, X was a black/blank screen. Clicking/moving the mouse made graphical distortions (I have attached plasmaTrace.txt with my journal output). I then removed the option from my kdeglobals file, rebooted into the latest/non LTS kernel, and everything was fine on that again (although obviously while suspend works/it booted, I still get the distortions on desktop icons). All in all - kind of strange. I can try it a few more times if needed (although I am off without access to my desktop for a bit for the holidays soon).
Comment 63 Joe 2018-12-17 02:35:54 UTC
Created attachment 116956 [details]
crash output on resume
Comment 64 Antonio Orefice 2018-12-17 14:48:19 UTC
Created attachment 116964 [details]
crash log

Plasma crashes for me on resume 3 tries, 3 crashes.
(And before the crash i can see that text is corrupted)
Comment 65 David Edmundson 2018-12-17 15:25:53 UTC
>Thread 9 (Thread 0x7f01e3bff700 (LWP 26293)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007f0224218c5b in  () at /usr/lib/qt/qml/org/kde/kquickcontrolsaddons/libkquickcontrolsaddonsplugin.so
#8  0x00007f0233f393e0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007f0235aeff33 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/libQt5Quick.so.5
5

I know that crash... it's the plotter, it shouldn't be related to this at all :/
Comment 66 Anton K 2018-12-23 14:40:20 UTC
Hi, I added

[QtQuickRendererSettings]
GraphicsResetNotifications=true

in ~/.config/plasmashellrc

and It fixed this problem

but not work, if added It in 
~/.config/kdeglobals

KDE Plasma: 5.14.4
QT: 5.11.2

Thanks!
Comment 67 Anton K 2018-12-23 14:42:39 UTC
Hi, I added

[QtQuickRendererSettings]
GraphicsResetNotifications=true

in ~/.config/plasmashellrc

and It fixed this problem

but not work, if added It in 
~/.config/kdeglobals

KDE Plasma: 5.14.4
QT: 5.11.2

Thanks!
Comment 68 David Edmundson 2018-12-23 16:43:07 UTC
What didn't work?
Comment 69 Amine Roukh 2018-12-27 10:00:18 UTC
Hello,
Adding:

[QtQuickRendererSettings]
GraphicsResetNotifications=true

to ~/.config/plasmashellrc

fixed the problem for me too.
However, adding the parameter to ~/.config/kdeglobals caused a blackscreen with only cursor after suspend.

Thank you #67.
Comment 70 David Edmundson 2018-12-27 17:43:00 UTC
Thanks.

Can you test:

[QtQuickRendererSettings]
GraphicsResetNotifications=true

in kdeglobals

and 

[QtQuickRendererSettings]
GraphicsResetNotifications=false

in kwinrc

and confirm that works.
Comment 71 Txutxifel 2018-12-29 12:57:02 UTC
(In reply to Amine Roukh from comment #69)
> Hello,
> Adding:
> 
> [QtQuickRendererSettings]
> GraphicsResetNotifications=true
> 
> to ~/.config/plasmashellrc
> 
> fixed the problem for me too.
> However, adding the parameter to ~/.config/kdeglobals caused a blackscreen
> with only cursor after suspend.
> 
> Thank you #67.

(In reply to David Edmundson from comment #70)
> Thanks.
> 
> Can you test:
> 
> [QtQuickRendererSettings]
> GraphicsResetNotifications=true
> 
> in kdeglobals
> 
> and 
> 
> [QtQuickRendererSettings]
> GraphicsResetNotifications=false
> 
> in kwinrc
> 
> and confirm that works.

I tried this and I got a black screen in the login. However ~/.config/plasmashellrc works to me

Thanks for your work
Comment 72 David Edmundson 2018-12-31 00:00:35 UTC
Of course it didn't. 

because it's setting loading from

~/.config/kwin_x11rc

Which is arguably another bug, but one for another day, so that test above hasn't actually proved if it's kwin or not.


Can you retest with the config file above?
Comment 73 David Edmundson 2018-12-31 00:26:21 UTC
The other place to check is whether it's the lock screen.

Either put the disabling code in kscreenlocker_greetrc
Or just change the setting to lock the screen in system settings
Comment 74 David Edmundson 2018-12-31 00:36:28 UTC
(sorry for the noise)

It was the screen locker (I could reproduce locally after enabling).

The code path it freezes in is in Qt. I have a patch that works, but means we can't enable this till Qt 5.13!

If people here can leave this enabled in kdeglobals and disabled in kscreenlocker_greetrc and report any other issues that would still help.
Comment 75 David Edmundson 2018-12-31 14:39:06 UTC
FWIW, fix in the Qt place that affects the screen locker https://codereview.qt-project.org/#/c/248942/
Comment 76 David Edmundson 2019-01-05 13:37:24 UTC
*** Bug 402880 has been marked as a duplicate of this bug. ***
Comment 77 Joe 2019-01-07 20:39:08 UTC
@David - nice, thanks. Any chance of that being back ported it into a 5.12.1 or bug fix release before 5.13? Also finally back around after the holidays/etc, will try things again on my desktop this week in the other config file.
Comment 78 Joe 2019-01-20 01:01:48 UTC
BTW, sorry this took so long, but, I finally added:


[QtQuickRendererSettings]
GraphicsResetNotifications=true

into ~/.config/kdeglobals,

and 


[QtQuickRendererSettings]
GraphicsResetNotifications=false

into ~/.config/kwin_x11rc

and so far so good - I force suspended/resumed and no corruption. I also let it naturally suspend and same results. Will update if I get any lockups/issues, so far so good!
Comment 79 Christoph Feck 2019-02-15 17:07:45 UTC
*** Bug 373364 has been marked as a duplicate of this bug. ***
Comment 80 Christoph Feck 2019-02-15 17:08:07 UTC
*** Bug 403756 has been marked as a duplicate of this bug. ***
Comment 81 David Edmundson 2019-03-19 11:30:37 UTC
*** Bug 405626 has been marked as a duplicate of this bug. ***
Comment 82 David Edmundson 2019-03-21 17:50:36 UTC
FWIW, my final (I hope) Qt patch was part of Qt5.12.2

This means just 

[QtQuickRendererSettings]
GraphicsResetNotifications=true

into ~/.config/kdeglobals

should be enough without lockups.

I want to hear more feedback before I make that the default
Comment 83 Txutxifel 2019-03-25 08:39:05 UTC
Hi,
I have tried in my system (Nvidia 1050 + Opensuse tumbleweed with qt5.12.2)

What works
Almost everything. 
Switching between users

What not
There is no image in the login screen after suspend.
In the first login, I got image

What error I found
kde has once this error after suspend. There is no error, in second, third suspend:

Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbaeee54940 (LWP 2779))]

Thread 19 (Thread 0x7fba17508700 (LWP 5343)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7fbae4216700 (LWP 3740)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7fba1c374700 (LWP 3603)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7fba28b75700 (LWP 3587)):
#0  0x00007fba4cc0c81b in  () at /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#1  0x00007fba4cc0d7c8 in  () at /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#2  0x00007fba4cc0dae9 in  () at /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#3  0x00007fba4cc0e33a in  () at /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#4  0x00007fba4e6f8ca8 in pa_mainloop_dispatch () at /usr/lib64/libpulse.so.0
#5  0x00007fba4e6f8f7c in pa_mainloop_iterate () at /usr/lib64/libpulse.so.0
#6  0x00007fba4e6f9020 in pa_mainloop_run () at /usr/lib64/libpulse.so.0
#7  0x00007fba4e707039 in  () at /usr/lib64/libpulse.so.0
#8  0x00007fba4cc1de28 in  () at /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#9  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#10 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7fba2d677700 (LWP 3543)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7fba3dc75700 (LWP 3475)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7fba3fb5d700 (LWP 3400)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7fba40e5b700 (LWP 3396)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7fba42410700 (LWP 3271)):
#0  0x00007fbaf0cbd6c4 in read () at /lib64/libc.so.6
#1  0x00007fbaef98f880 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fbaef94890f in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fbaef948de0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fbaef948f5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fbaf11f1e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf119d3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbaf0fe8016 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbadefdf717 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#9  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#11 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7fba44681700 (LWP 3246)):
#0  0x00007fbaf0cbd6c4 in read () at /lib64/libc.so.6
#1  0x00007fbaef98f880 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fbaef94890f in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fbaef948de0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fbaef948f5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fbaf11f1e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf119d3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbaf0fe8016 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#10 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fbad7e0f700 (LWP 3203)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbae96401da in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fbae96401fb in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#4  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fbadbef5700 (LWP 3148)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7e599 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7e7fa in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#7  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fbae1e71700 (LWP 3104)):
[KCrash Handler]
#6  0x00007fbaf18c33b5 in QOpenGLShaderProgram::setUniformValue(int, QMatrix4x4 const&) () at /usr/lib64/libQt5Gui.so.5
#7  0x00007fbae4645bb5 in  () at /usr/lib64/qt5/qml/org/kde/kquickcontrolsaddons/libkquickcontrolsaddonsplugin.so
#8  0x00007fbaf11c8343 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007fbaf2dd2160 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib64/libQt5Quick.so.5
#10 0x00007fbaf2d7abd4 in  () at /usr/lib64/libQt5Quick.so.5
#11 0x00007fbaf2d7e7b8 in  () at /usr/lib64/libQt5Quick.so.5
#12 0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#14 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fbae31f4700 (LWP 3032)):
#0  0x00007fbaf0cbd6c4 in read () at /lib64/libc.so.6
#1  0x00007fbaef98f880 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fbaef94890f in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fbaef948de0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fbaef948f5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fbaf11f1e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf119d3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbaf0fe8016 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbaf2cf9396 in  () at /usr/lib64/libQt5Quick.so.5
#9  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#11 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fbae94b8700 (LWP 2898)):
#0  0x00007fbaf0cbd6c4 in read () at /lib64/libc.so.6
#1  0x00007fbaef98f880 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fbaef94890f in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fbaef948de0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fbaef948f5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fbaf11f1e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf119d3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbaf0fe8016 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#10 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fbaeafcc700 (LWP 2869)):
#0  0x00007fbaf0cbd6c4 in read () at /lib64/libc.so.6
#1  0x00007fbaef98f880 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fbaef94890f in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fbaef948de0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fbaef948f5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fbaf11f1e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbaf119d3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbaf0fe8016 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbaf2a1bfc5 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#11 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fbaec1fc700 (LWP 2814)):
#0  0x00007fbaf35dda19 in __tls_get_addr () at /lib64/ld-linux-x86-64.so.2
#1  0x00007fbaf0fe86e6 in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf11f1d5a in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaef948369 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fbaef948d6b in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fbaef948f5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fbaf11f1e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbaf119d3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbaf0fe8016 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007fbaf1a8a565 in  () at /usr/lib64/libQt5DBus.so.5
#10 0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#12 0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fbaece79700 (LWP 2799)):
#0  0x00007fbaf0cc1ae9 in poll () at /lib64/libc.so.6
#1  0x00007fbaf3169cc7 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fbaf316b8fa in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fbaed037788 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fbaf0fe9362 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbaf050dfab in start_thread () at /lib64/libpthread.so.0
#6  0x00007fbaf0ccc6af in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fbaeee54940 (LWP 2779)):
#0  0x00007fbaf051403c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbaf0fef453 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbaf0fef539 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbaf2d7ccd7 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fbaf2d7d89a in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fbaf2ddd906 in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#6  0x00007fbaf1d13551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#7  0x00007fbaf1d1a930 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#8  0x00007fbaf119e6f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007fbaf157ecf3 in QPlatformWindow::windowEvent(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#10 0x00007fbaf1d1aa33 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007fbaf119e6f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007fbaf11f1273 in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#13 0x00007fbaf11f1afc in  () at /usr/lib64/libQt5Core.so.5
#14 0x00007fbaef948c2e in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#15 0x00007fbaef948ec8 in  () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fbaef948f5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#17 0x00007fbaf11f1e63 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#18 0x00007fbaf119d3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fbaf11a5402 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#20 0x0000559ed319427b in  ()
#21 0x00007fbaf0bf4b7b in __libc_start_main () at /lib64/libc.so.6
#22 0x0000559ed31946fa in _start ()
[Inferior 1 (process 2779) detached]



I hope this helps.

I can do any test you need

Cheers
Comment 84 David Edmundson 2019-03-25 10:28:31 UTC
>There is no image in the login screen after suspend.

Right, I need to add reset support there. Thanks

Crash is a common crash in the plotter (mostly in the system monitor graphs), the reset just seems to trigger it more often.
Comment 85 Nate Graham 2019-04-01 18:07:49 UTC
*** Bug 406093 has been marked as a duplicate of this bug. ***
Comment 86 David Edmundson 2019-04-07 15:35:44 UTC
Git commit c244729b67714f2c3c471815b1cdafa6ac5e8d9d by David Edmundson.
Committed on 07/04/2019 at 15:35.
Pushed by davidedmundson into branch 'master'.

Enable glGetGraphicsResetStatus support by default on Qt >= 5.13

Summary:
I added support in Qt for handling Nvidia's glGetGraphicsResetStatus
flag, which reports when it has lost it's context and the visual state
needs refreshing.

As it required some changes in various other parts of Qt and Plasma this
was opt-in behind a QSurfaceFormat flag which I exposed to Plasma users
via a config option. Since Qt5.12.2 everything seems to work nicely.

This patch enables support on Qt >= 5.13 to play safe.

Test Plan: Feedback from wide test audience on the bug report.

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D20087

M  +7    -1    src/quickaddons/qtquicksettings.cpp

https://commits.kde.org/kdeclarative/c244729b67714f2c3c471815b1cdafa6ac5e8d9d
Comment 87 Elvis Angelaccio 2019-04-13 09:06:24 UTC
*** Bug 406493 has been marked as a duplicate of this bug. ***
Comment 88 techxgames 2019-04-14 09:38:53 UTC
(In reply to David Edmundson from comment #86)
> Git commit c244729b67714f2c3c471815b1cdafa6ac5e8d9d by David Edmundson.
> Committed on 07/04/2019 at 15:35.
> Pushed by davidedmundson into branch 'master'.
> 
> Enable glGetGraphicsResetStatus support by default on Qt >= 5.13
> 
> Summary:
> I added support in Qt for handling Nvidia's glGetGraphicsResetStatus
> flag, which reports when it has lost it's context and the visual state
> needs refreshing.
> 
> As it required some changes in various other parts of Qt and Plasma this
> was opt-in behind a QSurfaceFormat flag which I exposed to Plasma users
> via a config option. Since Qt5.12.2 everything seems to work nicely.
> 
> This patch enables support on Qt >= 5.13 to play safe.

I have Qt 5.12.2 on Kubuntu 19.04, and the flickering graphics happens from boot.  Would this update fix that as well? 

https://bugs.kde.org/show_bug.cgi?id=405920#c5
Comment 89 David Faure 2019-04-18 07:34:16 UTC
I just filed https://bugreports.qt.io/browse/QTBUG-75269, but when reading comment 83 I think that's pretty much the same... are you sure this is fixed?
I do have commit c244729b67714f2 in kdeclarative, of course.
Comment 90 David Edmundson 2019-04-18 08:35:54 UTC
No its https://bugs.kde.org/show_bug.cgi?id=403453

Was a bug before now we hit it more often. I'll fix it.
Comment 91 Antonio Rojas 2019-05-14 15:54:41 UTC
*** Bug 407529 has been marked as a duplicate of this bug. ***
Comment 92 Nayr438 2019-05-20 14:44:31 UTC
This has been marked as a duplicated of my bug report. So I will just post this here. 

It shows as solved here, but the problem still occurs, have latest updates from the Arch Repository.  


[QtQuickRendererSettings]
GraphicsResetNotifications=true

Adding this seems to cause more graphical glitches. Instead of a pixilated mess some things are just white on resume. Though I still get a pixelated mess for desktop fonts, and some windows on resume. 
Either the above or a recent update solved the pixilated mess from occurring in the Application Launcher, but now text is rendered in white blocks per letter on resume occasionally or is just a garbled mess that is unreadable.
Comment 93 David Edmundson 2019-05-20 15:30:24 UTC
I don't know what Arch has. Please use version numbers of Qt and Plasma.
Comment 94 Nayr438 2019-05-20 15:54:10 UTC
Operating System: Arch Linux 
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
Kernel Version: 5.1.2-zen1-1-zen
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 1600X Six-Core Processor
Memory: 15.7 GiB of RAM
Graphic Card: GeForce GTX 1060 6GB
Driver: NVIDIA 430.14
Comment 95 Bug Janitor Service 2019-06-04 04:33:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 96 Christoph Feck 2019-06-04 22:15:08 UTC
Information was provided with comment #94; changing status for inspection.

I believe this bugfix needs Qt 5.13; the version field is probably set incorrectly.
Comment 97 Christoph Feck 2019-06-06 15:57:35 UTC
*** Bug 408357 has been marked as a duplicate of this bug. ***
Comment 98 Nayr438 2019-06-10 21:14:36 UTC
To my understanding, it was supposed to be resolved with Qt5.12.2 using 

[QtQuickRendererSettings]
GraphicsResetNotifications=true

It was supposed to just be a default behavior starting with Qt5.13 to play it safe. At least to my understanding, but I could be wrong here.
Comment 99 Bob Wya 2019-06-10 21:49:52 UTC
(In reply to Nayr438 from comment #98)
> It was supposed to just be a default behavior starting with Qt5.13 to play
> it safe. At least to my understanding, but I could be wrong here.

Setting:

[QtQuickRendererSettings]
GraphicsResetNotifications=true

locks my Plasma 5 Desktop, after a hibernate operation.
Tested on Gentoo with Plasma 5.15.90.1 and Qt 5.12.3 ...

I get graphical corruption (desktop icons, System Settings. primarily) - without the above setting. This is when resuming from hibernate - but not consistently _every_ time.

I'm using a Nvidia Geforce GTX 970M and Nvidia driver 418.52.10 ...
Comment 100 David Edmundson 2019-06-11 05:20:52 UTC
What locks exactly?
Please include a back trace.
Comment 101 Andrei Ivnitskii 2019-06-21 08:00:56 UTC
Kubuntu 19.04

KDE 5.15
Qt 5.12
Nvidia GTX 1060 (418 driver)

https://hostingkartinok.com/show-image.php?id=37f0bda79a62ad503d08309a6f5595d5

Bug still present. I try nouveau driver, but without success.
Comment 102 David Edmundson 2019-06-21 10:21:29 UTC
That setup requires the opt in config above
Comment 103 Andrei Ivnitskii 2019-06-21 10:35:59 UTC
#78 ?
Comment 104 Andrei Ivnitskii 2019-06-21 12:05:34 UTC
Yeah! This workaround (#78) works!
Comment 105 solanosalex 2019-06-21 14:00:13 UTC
#82 worked for me after restarting (kwin_x11 --replace was not enough)

KDE neon 5.16 User Edition

KDE Plasma 5.16.1
KDE Frameworks 5.59.0
Qt 5.12.3
Kernel 4.18.0-22-generic
GPU: NVIDIA GeForce GTX 1050 Mobile
Driver: Nvidia v390.116
Comment 106 Andrei Ivnitskii 2019-06-24 05:31:58 UTC
Sometimes I get 

https://hostingkartinok.com/show-image.php?id=0250fab359b42e0f1b97002b0e069713

Is this plasma problem? Or KWin?
Comment 107 Owen 2019-07-01 03:27:00 UTC
(In reply to Bob Wya from comment #99)
> (In reply to Nayr438 from comment #98)
> > It was supposed to just be a default behavior starting with Qt5.13 to play
> > it safe. At least to my understanding, but I could be wrong here.
> 
> Setting:
> 
> [QtQuickRendererSettings]
> GraphicsResetNotifications=true
> 
> locks my Plasma 5 Desktop, after a hibernate operation.
> Tested on Gentoo with Plasma 5.15.90.1 and Qt 5.12.3 ...
> 
> I get graphical corruption (desktop icons, System Settings. primarily) -
> without the above setting. This is when resuming from hibernate - but not
> consistently _every_ time.
> 
> I'm using a Nvidia Geforce GTX 970M and Nvidia driver 418.52.10 ...

Same problem here, on KDE Neon 5.16, Qt version 5.12.3

After resume from suspend no login screen appears, only the desktop background, I can restart plasma and kwin and it doesn't help, I have to reboot to get the desktop back.

This is the same with the additional kwin_x11rc setting or without.
Comment 108 David Edmundson 2019-07-01 07:59:01 UTC
>This is the same with the additional kwin_x11rc setting or without.

Unsurprising. Change plasmashellrc or kdeglobals.
Comment 109 Owen 2019-07-01 08:16:10 UTC
(In reply to David Edmundson from comment #108)
> >This is the same with the additional kwin_x11rc setting or without.
> 
> Unsurprising. Change plasmashellrc or kdeglobals.

Thanks for your efforts David. Yes I have done exactly as the post I quoted, added to ~/.config/kdeglobals

[QtQuickRendererSettings]
GraphicsResetNotifications=true

I only mentioned kwin_x11rc as Comment 78 suggests ALSO setting the same flag to false in this file is necessary as well, either way makes no difference, having the kdeglobals setting is what causes the lock out after resume. Removing it fixes that problem but back to corrupt icon text. I'll try plasmashellrc instead in case that makes any difference.
Comment 110 Bug Janitor Service 2019-07-16 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 111 David Faure 2019-07-16 06:41:31 UTC
Info was provided, changing status.
Comment 112 Nayr438 2019-07-16 11:34:18 UTC
Created attachment 121550 [details]
Window Graphical Corruption

Operating System: Arch Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Kernel Version: 5.2.0-zen1-1-zen
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 1600X Six-Core Processor
Memory: 15.7 GiB of RAM
Graphic Card: GeForce GTX 1060 6GB
Driver: NVIDIA 430.26

As of latest updates, the bug still occurs but a lot less frequently. For anyone on NVIDIA 418, I had a lot more issues under Plasma and SDDM with NVIDIA 418 than NVIDIA 430.
Comment 113 David Edmundson 2019-08-23 08:22:03 UTC
Does it fix itself as you mouseover any of the icons of the system settings sidebar?
Comment 114 David Edmundson 2019-08-28 09:03:50 UTC
Found an issue where this doesn't work when a user is using the basic render loop rather than the threaded one.

Upstream patch:
https://codereview.qt-project.org/c/qt/qtdeclarative/+/271912

@Nayr438 can I see the output of your 

QSG_INFO=1 systemsettings5
Comment 115 Nayr438 2019-08-28 13:37:26 UTC
qt.scenegraph.general: threaded render loop
qt.scenegraph.general: Using sg animation driver
qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
qt.scenegraph.general: Using sg animation driver
qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
qt.scenegraph.general: texture atlas dimensions: 512x512
qt.scenegraph.general: R/G/B/A Buffers:   8 8 8 0
qt.scenegraph.general: Depth Buffer:      24
qt.scenegraph.general: Stencil Buffer:    8
qt.scenegraph.general: Samples:           -1
qt.scenegraph.general: GL_VENDOR:         NVIDIA Corporation
qt.scenegraph.general: GL_RENDERER:       GeForce GTX 1060 6GB/PCIe/SSE2
qt.scenegraph.general: GL_VERSION:        4.6.0 NVIDIA 430.40
qt.scenegraph.general: GL_EXTENSIONS:    GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_fragment_shader_interlock GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_post_depth_coverage GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_locations GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_sparse_texture2 GL_ARB_sparse_texture_clamp GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_filter_minmax GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXTX_framebuffer_mixed_formats GL_EXT_Cg_shader GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_import_sync_object GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_provoking_vertex GL_EXT_raster_multisample GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_formatted GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_sparse_texture2 GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_window_rectangles GL_EXT_x11_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KTX_buffer_region GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_NVX_nvenc_interop GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_alpha_to_coverage_dither_control GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NV_blend_minmax_factor GL_NV_blend_square GL_NV_clip_space_w_scaling GL_NV_command_list GL_NV_compute_program5 GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_dilate GL_NV_conservative_raster_pre_snap_triangles GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_explicit_multisample GL_NV_feature_query GL_NV_fence GL_NV_fill_rectangle GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_coverage_to_color GL_NV_fragment_program GL_NV_fragment_program2 GL_NV_fragment_program_option GL_NV_fragment_shader_interlock GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_geometry_shader_passthrough GL_NV_gpu_program4 GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_internalformat_sample_query GL_NV_light_max_exponent GL_NV_memory_attachment GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_query_resource GL_NV_query_resource_tag GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_robustness_video_memory_purge GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_shader_atomic_counters GL_NV_shader_atomic_float GL_NV_shader_atomic_float64 GL_NV_shader_atomic_fp16_vector GL_NV_shader_atomic_int64 GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_shader_thread_group GL_NV_shader_thread_shuffle GL_NV_stereo_view_rendering GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_rectangle_compressed GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_uniform_buffer_unified_memory GL_NV_vdpau_interop GL_NV_vdpau_interop2 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_OVR_multiview GL_OVR_multiview2 GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
qt.scenegraph.general: Max Texture Size: 32768
qt.scenegraph.general: Debug context:    false
Comment 116 Nayr438 2019-08-28 13:47:00 UTC
(In reply to David Edmundson from comment #113)
> Does it fix itself as you mouseover any of the icons of the system settings
> sidebar?

No, but it does fix it self if I move the window. I would like to add that it has actually started becoming a pretty rare occurrence.

Operating System: Arch Linux 
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Kernel Version: 5.2.9-zen1-1-zen
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 1600X Six-Core Processor
Memory: 15.7 GiB of RAM
Graphic Card: GeForce GTX 1060 6GB
Driver: NVIDIA 430.40
Comment 117 David Edmundson 2019-08-28 15:35:49 UTC
Aha, it's just affecting system settings because QQuickWidget has it's own render handling, which means I still need yet another Qt patch to handle the reset there.
Comment 118 Joe 2019-08-28 16:19:24 UTC
So, just want to say that I have noticed something on my desktop. When resuming from sleep, I sometimes still get the graphical corruption on resume on desktop icons, but, it refreshes/fixes itself after a few seconds. Not a huge deal, but though I might as well report that the fix sometimes seems to take a bit to kick in.
Comment 119 Txutxifel 2019-09-06 16:06:35 UTC
Thanks, now my system works better after suspend

I would like say that:
-Sometimes y get a message after resume with: Desktop effects were restarted due to a graphics reset. I don't know if it's normal.
-I found that vmware guests shows same composite problems as before.
Comment 120 Txutxifel 2019-09-06 16:07:26 UTC
I forgot to say I use vmware workstation;)

Cheers
Comment 121 David Edmundson 2019-09-06 21:36:15 UTC
The message is normal, but arguably pointless. I'll revsit that.

VMWware (and whatever) else we can't fix.

Every client needs to reset itself after a graphics resets. That's on VMWare (or whatever other client) to fix.
Comment 122 David Edmundson 2019-09-27 20:52:53 UTC
Re-closing as upstream.

There were some issues with systemsettings (or any other code using QQuickWidget) patches for these are on review on Qt. Maybe will be merged in Qt 5.14, otherwise Qt 5.15.
Comment 123 techxgames 2019-09-29 18:28:15 UTC
Bummer that Kubuntu, IIRC, will use Qt 5.12 for 20.04 LTS
Comment 124 David Edmundson 2019-10-04 16:02:15 UTC
*** Bug 412607 has been marked as a duplicate of this bug. ***
Comment 125 Txutxifel 2019-10-17 15:32:18 UTC
Hi
I asked nvidia about wine corruption and I found this:

https://devtalk.nvidia.com/default/topic/1064961/linux/ms-office-in-wine-corruption/

I undestand they are work in alternative suspend mode
http://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/powermanagement.html

It fix my wine problem (No vmware). Maybe helps

Thanks
Comment 126 Nate Graham 2019-11-04 17:31:03 UTC
*** Bug 413723 has been marked as a duplicate of this bug. ***
Comment 127 Benedikt 2019-11-08 05:10:11 UTC
(In reply to Joe from comment #78)
> BTW, sorry this took so long, but, I finally added:
> 
> 
> [QtQuickRendererSettings]
> GraphicsResetNotifications=true
> 
> into ~/.config/kdeglobals,
> 
> and 
> 
> 
> [QtQuickRendererSettings]
> GraphicsResetNotifications=false
> 
> into ~/.config/kwin_x11rc
> 
> and so far so good - I force suspended/resumed and no corruption. I also let
> it naturally suspend and same results. Will update if I get any
> lockups/issues, so far so good!
While this fixes the corrupted icons on my desktop, it does not fix the name/font below the icon, nor corrupted icons in my Latte Dock.
Comment 128 David Edmundson 2019-11-11 21:32:30 UTC
Please include full version numbers of Plasma and Qt and a screenshot of the icons to make sure we're talking about the same thing
Comment 129 David Edmundson 2019-11-11 21:33:24 UTC
Latte dock is a different product, please don't reopen this if that's broken.
Comment 130 Benedikt 2019-11-11 22:03:30 UTC
Created attachment 123846 [details]
corrupted fonts + Latte icons

This what it looks like, after performing the steps described in Comment #78. 

Plasma Version 5.12.9 
Qt Version: 5.9.5
Comment 131 David Edmundson 2019-11-11 22:32:22 UTC
>Qt Version: 5.9.5

Well that's the problem. Please only reopen if you have issues with Qt >= 5.14
Comment 132 Méven Car 2019-11-19 10:09:44 UTC
*** Bug 414288 has been marked as a duplicate of this bug. ***
Comment 133 Hussam Al-Tayeb 2019-11-26 13:47:12 UTC
@David, if I run Qt 5.13.2, plasma 5.17.3 and QSG_RENDER_LOOP=threaded, is that sufficient or do I need Qt 5.14beta?
Comment 134 Nate Graham 2020-01-01 19:31:57 UTC
*** Bug 415760 has been marked as a duplicate of this bug. ***
Comment 135 Nate Graham 2020-01-21 17:30:54 UTC
*** Bug 416532 has been marked as a duplicate of this bug. ***
Comment 136 ale_scapin 2020-02-25 16:41:03 UTC
The problem stills remain in version greater than plasma 5.14. Version 5.18 seems to fix the issue, but further update recreate them. My system is kubuntu 19.10 with plasma 5.18.1 and i use Nvidia card with proprietary driver version 440.59
Comment 137 David Edmundson 2020-02-25 17:10:51 UTC
@ale, version of Qt is the important one
Comment 138 ale_scapin 2020-02-25 18:08:40 UTC
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.10
(available in About System)
KDE Plasma Version: 5.18.1
KDE Frameworks Version: 5.67.0
Qt Version: 5.12.4
Comment 139 Nate Graham 2020-02-26 18:56:37 UTC
*** Bug 418191 has been marked as a duplicate of this bug. ***
Comment 140 Nate Graham 2020-02-26 20:32:10 UTC
*** Bug 418187 has been marked as a duplicate of this bug. ***
Comment 141 ale_scapin 2020-02-27 00:58:11 UTC
Created attachment 126446 [details]
Screenshot with corrupted graphics after resume
Comment 142 David Edmundson 2020-02-27 01:01:44 UTC
See #131

Your Qt is older than the required versions for this fix.
Comment 143 ale_scapin 2020-02-27 01:44:53 UTC
Is there any repository with latest Qt for Kubuntu 19.10?
Comment 144 ale_scapin 2020-02-27 03:43:06 UTC
Is there any tutorial on how to upgrade qt version in kubuntu or ther is any program to backport Nvidia fix on previous version of qt like qt 5.12.x? The latest qt used in Kubuntu on latest version is 5.12.4...
Comment 145 Nate Graham 2020-02-27 05:21:04 UTC
Just wait for the next version of Kubuntu and upgrade to it. If you want new software faster, a different distro might be a better bet.

Regardless, that's is all quite off-topic from the perspective of this bug report. :)
Comment 146 Nate Graham 2020-04-23 16:45:52 UTC
*** Bug 420440 has been marked as a duplicate of this bug. ***
Comment 147 Krasi Georgiev 2020-06-12 11:41:50 UTC
Nvidia 440.64
Kubuntu 20.04

Added the flag to ~/.config/kdeglobals
[QtQuickRendererSettings]
GraphicsResetNotifications=true


Without the flag I ger artifacts on many icons after each resume, with the flag the icons become white and still unreadable.

plasmashell 5.18.5
Qt: 5.12.8
KDE Frameworks: 5.68.0
kf5-config: 1.0
Comment 148 David Edmundson 2020-06-12 12:42:03 UTC
There were multiple bug fixes that went into Qt5.13 and 5.14.

I can't remember what I fixed when, but please can you retest with a new Qt before reopening. There's not much it's worth me doing before that.
Comment 149 Krasi Georgiev 2020-06-16 15:36:57 UTC
Is updating just a matter of running the QT installer? I tried to find some online resources, but couldn't find any guides and don't want to install any unnecessary packages unless needed.
Comment 150 RC000 2020-07-28 14:09:46 UTC
(In reply to David Edmundson from comment #148)
> There were multiple bug fixes that went into Qt5.13 and 5.14.
> 
> I can't remember what I fixed when, but please can you retest with a new Qt
> before reopening. There's not much it's worth me doing before that.

Tested with Qt: 5.14.2 on Fedora 32 / KDE (plasmashell 5.18.5) still happens if I don't apply the kdeglobals fix.
Comment 151 Armando Ota 2020-09-09 20:44:44 UTC
Problem still present ... some applications like System settings, google chrome, viber have meesed up display. 
System settings are missing the whole left list of categories. Even application restart does not help.
Chrome does not display pages normaly (blank white screen or parts of screen) and it has to be restarted to display them again 
Viber has images messed up. 
KDE Neon 5.19 
KDE Plasma version: 5.19.5
KDE Frameworks: 5.73.0
QT version 5.14.2
KErnel 5.4.0-47-generic 
OS type: 64 bit
GPU: Geforce GTX 1080 Ti


Added 
[QtQuickRendererSettings]
GraphicsResetNotifications=true

to kdeglobals

Regards

Armando
Comment 152 Nate Graham 2021-03-10 03:41:30 UTC
*** Bug 397288 has been marked as a duplicate of this bug. ***
Comment 153 Nate Graham 2021-08-31 19:38:35 UTC
*** Bug 354731 has been marked as a duplicate of this bug. ***
Comment 154 Nate Graham 2021-08-31 19:38:39 UTC
*** Bug 353667 has been marked as a duplicate of this bug. ***