protonscr

Issues with hybrid graphics

steamclosed reviewedbumblebee
ValveSoftware/steam-for-linux#1338 · opened 2013-02-06 by porl · updated 2013-02-07 · 2 comments · github
Pporl 2013-02-06 github

Steam (and games using it) do not seem to be able to load the correct graphics driver.

I have X and everything else working fine with the AMD card but Steam and any games under it are trying to use the built in (Intel) card and failing.

Using LIBGL_DEBUG=verbose the following occurs:

glxinfo http://pastebin.com/mvhAtSnZ (notice the loading of the fglrx driver at the top)
steam http://pastebin.com/RLLswwZ8 (notice the failed attempts to load the i965 intel driver)

Since capturing those logs I have downloaded and installed the latest catalyst beta driver with no change (other than the version number at the top of the glxinfo output now reading 12.10.5 fglrx.

The relevant sections of the lspci -v output are here http://pastebin.com/XSVz75Vj

I am using the andrikos ppa for the xserver-xorg-video-intel package. It contains patches to allow the hybrid setup to work. Without it I can't even get an X server working with the fglrx drivers. I can't manually disable the Intel chipset from BIOS either as the laptop BIOS (HP Pavilion dv7) does not have an option to do so.

I don't understand why Steam (and nothing else) is trying to use the wrong driver through libGL? Is there any way I can force it to use another? I already tried "cheating" and symlinking the i965 files it is looking for to the fglrx ones but as expected that didn't work.

Ddavidw-valve maintainer 2013-02-06 github

Note that Steam and its games are 32 bit applications, and so will use a 32 bit libGL. Have you verified your system can run 32-bit applications on your AMD card?

Pporl 2013-02-07 github

Thank you! I saw that /usr/lib32/libGL.* were simlinked to mesa ones rather than the fglrx libGL.so ones. Fixed!

Nothing extracted yet.