[Mesa-dev] [Bug 80933] New: Fullscreen OpenGL programs (e.g. games) crash if focus lost then regained, something to do with automatic compositing suspension
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 4 17:53:08 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=80933
Priority: medium
Bug ID: 80933
Assignee: mesa-dev at lists.freedesktop.org
Summary: Fullscreen OpenGL programs (e.g. games) crash if focus
lost then regained, something to do with automatic
compositing suspension
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: nrfoconnor+freedesktop at gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: 10.2
Component: Other
Product: Mesa
See also: https://github.com/ValveSoftware/Dota-2/issues/886
Yes, the above link is specific to Dota 2, though I've found that I have the
exact same problem with all other *fullscreen* programs (including Flash and
Silverlight plugins running in Wine/Pipelight): namely, if the program loses
focus for whatever reason (something appears in front of it, I use my Alt-Tab
window switch hotkey, et cetera), then occasionally when I return to the
program in question, it crashes.
The problem seems to be related to compositing window managers and the feature
they have to automatically suspend compositing. Disabling compositing, as well
as disabling the automatic suspension feature, causes the problem to cease. And
due to the nature of the feature in question, running the game in "window mode"
also avoids the problem.
Having redirected both stderr and stdout to a log file in the case of
Civilization V, no error message seems to be present when the crash occurs.
Silverlight in Wine/Pipelight brings up a mockup of the Windows "Program has
encountered an error" dialog, so I suspect Linux native programs merely
segfault or something equally unhelpful in troubleshooting. :V
I believe this is a bug within Mesa, and not my drivers or window manager,
because the above link shows the problem occuring across multiple driver and WM
combinations (and my own tests have ruled out the possibility of it being a bug
in the specific program). With KDE/KWin, the workaround is painless - if you
disable the automatic suspension feature in the advanced tab of its "Desktop
Effects" page, the problem ceases and you can forget it was ever a problem to
begin with. I am unsure of the instructions for other window managers, but I
would imagine they have a similar checkbox stashed away somewhere, or you can
of course disable compositing entirely if you prefer.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140705/5fe3378a/attachment-0001.html>
More information about the mesa-dev
mailing list