use the nvidia glx extension GLX_NV_robustness_video_memory_purge if available, in order to ensure the screen has correct content after resume or virtual terminal change on nvidia cards
Details
Details
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Lint Skipped - Unit
Unit Tests Skipped
plugins/platforms/x11/standalone/glxbackend.cpp | ||
---|---|---|
300 | Just an observation that this patch only enables the extension when kwin is configured to use the core profile. |
plugins/platforms/x11/standalone/glxbackend.cpp | ||
---|---|---|
301 |
That one is no longer used. You can check in KWin debug console (KRunner enter "KWin") in the OpenGL tab which extensions are available. |
Comment Actions
Damn, I had a comment unsubmitted for weeks.
Any chance we can get this in before Plasma 5.10?
plugins/platforms/x11/standalone/glxbackend.cpp | ||
---|---|---|
301 | Ok the bug is that you need to use hasExtension() rather than hasGLExtension(). After this small change your patch works fine (I get the "Desktop effects were restarted" notification after switching VT!) |