FS#35979 - gnome-shell-3.8.3 breaks unredirection, causes huge performance drop

Attached to Project: Arch Linux
Opened by Peter Weber (hoschi) - Saturday, 29 June 2013, 17:37 GMT
Last edited by Jan de Groot (JGC) - Monday, 01 July 2013, 09:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Hi. All modern graphical-environments support "unredirection". This is required to allow OpenGL based, full-screen applications like games to run with full performance. If it's not available this leads to a huge performance drop e.g. 18 % or even more. Since gnome-shell-3.8.4 this "unredirection" is broken:

https://bugzilla.gnome.org/show_bug.cgi?id=701224
https://github.com/ValveSoftware/steam-for-linux/issues/2163

Additional info:
* package version(s): gnome-shell >= 3.8.3-1
* config and/or log files etc.: upstream developers may or may not release (soon) gnome-shell-3.8.4

We should keep a eye on this. I asked the developers to point me on the "right" patches, because I get weird by the ping-pong on the upstream bug. At least me! I request to patch this downstream for Archlinux, if possible?

Rationale:
We don't know whether if* and when 3.8.4 will be released. Huge performance drop with all graphics-drivers and all-games.
I assume GNOME will release a patch version, but waiting weeks or even months is not quite funny.


Steps to reproduce:
1. launch any full-screen game like IOQuake3
2. $ quake3
3. ~ # open console
4. timedemo 1 # benchmark
5. demo four # run included demo
6. ~ # open console again

With Unredirection and disabled VSYNC I get approximately 290 fps, without Unredirection I get only 250 fps. While this sounds not to be a much pain, this leads to wrong benchmarks at first. But up on more demanding games like L4D2 or something other, this is the difference between smooth gameplay and stuttering.

Thank you
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 01 July 2013, 09:10 GMT
Reason for closing:  Fixed
Comment by Peter Weber (hoschi) - Saturday, 29 June 2013, 17:41 GMT
We can choose one of this patches:
https://bugzilla.gnome.org/show_bug.cgi?id=701224#c34
Comment by Peter Weber (hoschi) - Sunday, 30 June 2013, 12:09 GMT
I have taken the patch for the gnome-shell, mentioned in the above link, and added it to the PKGBUILD for gnome-shell. It works! I was just necessary to add a "})" addidtional, to fix a syntax error. I'm not familiar with packaging or Javasscript, please take a look at it.

# second PKGBUILD includes bug-id


# update:
Thank you Jan!

Loading...