kwin/plugins/platforms
Martin Flöser 06a558e3de [platforms/x11] Quit the OpenGL Freeze protection thread on shutdown
Summary:
Weird NVIDIA behavior fixup part 2. Now that we do no longer freeze when
NVIDIA decides to create an OpenGL error on startup
(aefb5f4dd9), we experience a new issue.
KWin is terminating (no idea why, [1]) and at the same time the OpenGL freeze
protection thread is still running. So far we did not terminate the
thread on shutdown and thus we hit an abort in Qt.

This change ensures that we properly terminate the thread on shutdown.

[1] My current theory is that games terminate KWin, common pattern of
bug reports is "steam".

BUG: 382283
FIXED-IN: 5.10.4

Test Plan:
Tortured KWin by making sure I go through the code path,
saw the abort without the patch, no more abort with the patch

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D6735
2017-07-16 18:04:17 +02:00
..
drm [DRM plugin] No forward declare of DrmSurfaceBuffer without GBM 2017-05-11 23:53:24 +02:00
fbdev SVN_SILENT made messages (.desktop file) - always resolve ours 2017-04-25 10:05:35 +02:00
hwcomposer SVN_SILENT made messages (.desktop file) - always resolve ours 2017-04-25 10:05:35 +02:00
virtual Merge branch 'scaling' 2017-04-29 14:11:13 +01:00
wayland SVN_SILENT made messages (.desktop file) - always resolve ours 2017-04-25 10:05:35 +02:00
x11 [platforms/x11] Quit the OpenGL Freeze protection thread on shutdown 2017-07-16 18:04:17 +02:00
CMakeLists.txt Move the x11 plugin sources into a x11/windowed directory 2016-04-12 08:04:16 +02:00