FS#40290 - [lib32-ati-dri] [steam] 3d acceleration disabled or hobbled after update

Attached to Project: Community Packages
Opened by Baird Hendrix (redwolf) - Saturday, 10 May 2014, 03:57 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 10 May 2014, 07:10 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Laurent Carlier (lordheavy)
Daniel Wallace (gtmanfred)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After performing update, graphics acceleration support is lost or at least severely broken. Symptoms are Kerbal Space Program loads but plays at 1-2 fps, Portal and Half Life 2 games refuse to load, Jazzpunk shows a blank screen, and Shadowrun Returns refuses to load. Psychonauts loads and initial movies play fine, but after the movies play then the menu screen plays at about 1-2 fps, and the game hangs on exit.

System is using a Radeon HD 6870 as it's graphics card, with the following xorg options.

Section "Device"
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AccelMethod" "EXA"
Option "MigrationHeuristic" "greedy"
Option "AccelDFS" "true"
Option "EnablePageFlip" "true"
Option "EnableDepthMoves" "true"
EndSection

I confirmed the bug still exists with the following options set:


Section "Device"
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection

Additional info:

Packages changed are as follows.

-ati-dri 10.1.1-2
+ati-dri 10.1.3-1
-lib32-ati-dri 10.1.1-1
+lib32-ati-dri 10.1.2-1
-lib32-mesa 10.1.1-1
-lib32-mesa-libgl 10.1.1-1
+lib32-mesa 10.1.2-1
+lib32-mesa-libgl 10.1.2-1
-mesa 10.1.1-2
+mesa 10.1.3-1
-mesa-libgl 10.1.1-2
+mesa-libgl 10.1.3-1

I was able to bring graphics acceleration back online after doing the following commands.


cd /var/cache/pacman/pkg
pacman -U ati-dri-10.1.1-2-x86_64.pkg.tar.xz mesa-10.1.1-2-x86_64.pkg.tar.xz mesa-libgl-10.1.1-2-x86_64.pkg.tar.xz
pacman -U lib32-ati-dri-10.1.1-1-x86_64.pkg.tar.xz lib32-mesa-10.1.1-1-x86_64.pkg.tar.xz lib32-mesa-libgl-10.1.1-1-x86_64.pkg.tar.xz


Steps to reproduce:

If I re-upgrade to the latest version of those packages, then the bug shows up again. I do this by running:


pacman -U ati-dri-10.1.3-1-x86_64.pkg.tar.xz mesa-10.1.3-1-x86_64.pkg.tar.xz mesa-libgl-10.1.3-1-x86_64.pkg.tar.xz

At this point, Steam games mentioned run fine. Also, xonotonic (using as my reference x86_64 game) works fine as well.

When I run:

cd /var/cache/pacman/pkg
pacman -U lib32-ati-dri-10.1.1-1-x86_64.pkg.tar.xz lib32-mesa-10.1.1-1-x86_64.pkg.tar.xz lib32-mesa-libgl-10.1.1-1-x86_64.pkg.tar.xz

Then xonotonic still works, however the issues with the Steam games resurfaces.

And then I run:

cd /var/cache/pacman/pkg
pacman -U lib32-ati-dri-10.1.2-1-x86_64.pkg.tar.xz lib32-mesa-10.1.2-1-x86_64.pkg.tar.xz lib32-mesa-libgl-10.1.2-1-x86_64.pkg.tar.xz

The issue returns. I confirmed that Xonotonic still works at this point, ruling out the non-multilib libraries.

Just running:

cd /var/cache/pacman/pkg
pacman -U lib32-ati-dri-10.1.1-1-x86_64.pkg.tar.xz lib32-mesa-10.1.1-1-x86_64.pkg.tar.xz lib32-mesa-libgl-10.1.1-1-x86_64.pkg.tar.xz

Seems to bring acceleration to the steam games back.

This task depends upon

Closed by  Laurent Carlier (lordheavy)
Saturday, 10 May 2014, 07:10 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://github.com/ValveSoftware/steam-f or-linux/issues/3273
Comment by Baird Hendrix (redwolf) - Saturday, 10 May 2014, 04:05 GMT
Attaching my Xorg.0.log file. I was unable to find pertinent information in my journal relating to steam games, because I'm not sure what executables or parameters to search for. I have my entire journal dumped but would prefer not to post the whole thing.
Comment by Baird Hendrix (redwolf) - Saturday, 10 May 2014, 04:19 GMT
It's Steam that's causing issues. If I run Kerbal Space Program through the Steam launcher or Steam desktop icon it runs at slow speeds. However, if I run it using the command 'KSP.x86' in the appropriate directory (/home/USERNAME/.local/share/Steam/SteamApps/common/Kerbal Space Program), the problem goes away. I can also confirm KSP.x86_64 works fine as well.

I also confirmed Jazzpunk appears to load just fine when executed with 'Jazzpunk.x86'.

Unchecking 'Enable the Steam Overlay while in-game' has no effect. It appears to be something about the Steam launcher that is broken with the new version of the lib32 libraries.

I also confirmed I am running both Steam and the game executables as the same (non-elevated) user, and not as root. Have not confirmed if the issue lies with mesa/ati-dri, Arch's configuration, or Steam itself.
Comment by Baird Hendrix (redwolf) - Saturday, 10 May 2014, 04:33 GMT
Attempted to run steam -applaunch, and got http://sprunge.us/WDFj as output in my terminal. At that point the program hung, and was unresponsive to Ctrl-C. Had to kill -9.


Output is as follows:


[redwolf@circe linux]$ steam -applaunch
Running Steam on arch 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/home/redwolf/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib32/xorg/modules/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
...
Comment by Baird Hendrix (redwolf) - Saturday, 10 May 2014, 05:00 GMT
This issue is occuring with steam client built Apr 23, 2014 at 13:47:55.
Comment by Laurent Carlier (lordheavy) - Saturday, 10 May 2014, 07:09 GMT
It's a Steam issue, just do rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6

Loading...