http://bugs.winehq.org/show_bug.cgi?id=29371
Bug #: 29371 Summary: Support GNOME Mutter's new suspended compositing for fullscreen apps Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: alexhultman@gmail.com Classification: Unclassified
Mutter 3.2 supports suspended composition for apps that requests it. Wine doesn't seem to request / fall into the heuristics.
I'm currently playing some DOOM 3 and it's clearly not undirected when playing from GNOME Shell. Fallback mode has better performance as nothing is composited.
If an app is fullscreen it should suspend composition.
Have we checked a variety of games to see that they are reliably using override-redirect windows for their fullscreen version?
Yes I did that back then when I decided on that heuristics, even "benchmark only" stuff like unengine heaven does that.
They missed Wine games.
http://bugs.winehq.org/show_bug.cgi?id=29371
Alex alexhultman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.33
http://bugs.winehq.org/show_bug.cgi?id=29371
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement
http://bugs.winehq.org/show_bug.cgi?id=29371
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2011-12-18 02:20:37 CST --- Our fullscreen windows are marked fullscreen, Mutter should be able to detect that.
http://bugs.winehq.org/show_bug.cgi?id=29371
--- Comment #2 from Alex alexhultman@gmail.com 2011-12-18 03:16:45 CST --- Created attachment 38015 --> http://bugs.winehq.org/attachment.cgi?id=38015 DOOM 3 through Wine on Mutter 3.2
If it was working I shouldn't be able to do this while playing. Should I file a bug in the GNOME bugzilla? Obviously there is not good enough integration between Mutter and Wine..
http://bugs.winehq.org/show_bug.cgi?id=29371
Alex alexhultman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from Alex alexhultman@gmail.com 2011-12-18 03:27:31 CST --- I don't think it's a Mutter issue. The game 0ad runs with suspended composition and no performance penalties from GNOME shell. If I remember correctly the heuristics Mutter uses to determine if a window should suspend the composition is some kind of flag + the fact that the window is fullscreen. Do you set that flag on Wine windows? (If I'm not completely wrong, that is..)
http://bugs.winehq.org/show_bug.cgi?id=29371
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-18 03:37:55 CST --- Wine already does mark its windows as fullscreen that should be enough.
http://bugs.winehq.org/show_bug.cgi?id=29371
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-18 03:40:08 CST --- If Mutter needs something else then ask the mutter devs about it. Somehow I doubt that they care, 2 bugs I filed an year ago didn't even get a single comment from them, it's so much more fun to fork Metacity and forget about any its bugs the same day.
http://bugs.winehq.org/show_bug.cgi?id=29371
Alex alexhultman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #6 from Alex alexhultman@gmail.com 2011-12-18 03:50:47 CST --- Okay I'll talk to the Mutter devs but can you please stop marking this bug RESOLVED? It's not. My attachment shows DOOM 3 being composited by GNOME shell.
http://bugs.winehq.org/show_bug.cgi?id=29371
--- Comment #7 from Alex alexhultman@gmail.com 2011-12-18 03:53:23 CST --- (In reply to comment #0)
undirected
I mean unredirected..
http://bugs.winehq.org/show_bug.cgi?id=29371
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2011-12-18 03:56:35 CST --- See bug 19376 for the details.
*** This bug has been marked as a duplicate of bug 19376 ***
http://bugs.winehq.org/show_bug.cgi?id=29371
--- Comment #9 from Alex alexhultman@gmail.com 2011-12-22 03:31:33 CST --- (In reply to comment #4)
Wine already does mark its windows as fullscreen that should be enough.
If you want the window to be unredirected in Mutter 3.2 you have to flag it as fullscreen And override-redirect.
https://bugzilla.gnome.org/show_bug.cgi?id=597014
http://tronche.com/gui/x/xlib/window/attributes/override-redirect.html
Most (if not all) native linux games do this and are properly unredirected in Mutter 3.2.
http://bugs.winehq.org/show_bug.cgi?id=29371
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-22 03:40:17 CST --- (In reply to comment #9)
If you want the window to be unredirected in Mutter 3.2 you have to flag it as fullscreen And override-redirect.
Asking clients to mark its windows as override-redirect as an easy way for WM developers to move all the burden to some other's shoulders. Override-redirect should be avoided as much as possible in reality if an application needs real support from a WM.