Steam for Linux > Limited Beta > Téma részletei
adewolf11 2012. dec. 7. @ du. 12:09
Issue: Steam and optirun (bumblebee)
Hello all:
I am running Majaro Linux 64-bit (Arch based) on a Lenovo Y480 (I7, Inetl 4000/Nvidia 640M,88GB RAM,750GB HDD) using bumblebee to get to the nvidia GPU. I am getting this error:
[adewolf@manjaro ~]$ optirun steam LIBGL_DEBUG=verbose
Installing breakpad exception handler for appid(steam)/version(1354745237_client)
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Looks like steam didn't shutdown cleanly, scheduling immediate update check
Installing breakpad exception handler for appid(steam)/version(1354745237_client)
Installing breakpad exception handler for appid(steam)/version(1354745237_client)
unlinked 0 orphaned pipes
removing stale semaphore last operated on by process 1394 with name 0eBlobRegistryMutex_DDE060F816C3BB3B8902CD455EF36815
removing stale semaphore last operated on by process 1394 with name 0eBlobRegistrySignal_DDE060F816C3BB3B8902CD455EF36815
removing stale semaphore last operated on by process 1394 with name 0emSteamEngineInstance
removing stale semaphore last operated on by process 1394 with name 0eSteamEngineLock
Installing breakpad exception handler for appid(steam)/version(1354745237_client)
glXChooseVisual failed[adewolf@manjaro ~]$

Runs fine without optirun, but then it's using the Intel 4000 GPU.
15/5 megjegyzés mutatása
< >
Aleksander 2012. dec. 8. @ de. 2:04 
Although I can run Steam with optirun quite smoothly, I have similar problem with some games on 64-bit Ubuntu 12.10. Amnesia runs quite smoothly with optirun, but Trine 2 won't even start.

When executing Trine2 via trine2_bin_starter.sh it runs smoothly, but when I try:

pawel@neuroglia:~/.local/share/Steam/SteamApps/common/Trine 2$ optirun -v bin/trine2_bin_starter.sh
[ 5842.691620] [INFO]Response: Yes. X is active.
[ 5842.691695] [INFO]Running application through vglrun.
pawel@neuroglia:~/.local/share/Steam/SteamApps/common/Trine 2$ nohup: redirecting stderr to stdout

And nothing happens next, there is no running trine when I
pawel@neuroglia:~/.local/share/Steam/SteamApps/common/Trine 2$ ps aux | grep trine

My card is
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev ff)

UPDATE:
Works perfectly with primusrun.
Legutóbb szerkesztette: Aleksander; 2012. dec. 8. @ de. 2:35
adewolf11 2012. dec. 8. @ de. 7:57 
What is primusrun? Oh BTW I had to add a bublebee hack (Lenovo hack) to get optirun to woek.
Aleksander 2012. dec. 8. @ de. 11:02 
adewolf11 eredeti hozzászólása:
What is primusrun? Oh BTW I had to add a bublebee hack (Lenovo hack) to get optirun to woek.
Basically, http://www.webupd8.org/2012/11/primus-better-performance-and-less.html
bundyo 2012. dec. 13. @ de. 2:19 
I can confirm primusrun working great with Steam for Linux.

As a sidenote, I've encountered a very strange slowdown issue with fullscreen resolutions on my Zenbook UX32VD (HD 4000 + nVidia 620M, openSUSE Tumbleweed with Mesa 9, intel 2.20.15, nVidia blob 310.19), if you also have it, see the following issue discussion[github.com] in Primus' GutHub repo with a possible workaround. Still can't put my finger on what actually causes it.
Legutóbb szerkesztette: bundyo; 2012. dec. 13. @ de. 2:19
bundyo 2012. dec. 13. @ du. 3:15 
And another tip:

When using Primus and in fullscreen (as most games) on my Zenbook, changing the fullscreen resolution doesn't affect at all FPS as it should, as the Intel card still has to render a texture with the same amount of pixels as before (1920x1080 in that case). No idea why, but stopping texture tiling using .drirc helps a bit, for instance Trine 2 in fullscreen 1280x720 jumps from ~25 to ~35-40 FPS (on menu screen).

To try this, create ~/.drirc containing:
<driconf>
<device screen="0">
<application name="all">
<option name="texture_tiling" value="false" />
</application>
</device>
</driconf>

Do have in mind that such configuration affects Intel video texture tiling in all applications.
15/5 megjegyzés mutatása
< >
Laponként: 15 30 50
Küldés ideje: 2012. dec. 7. @ du. 12:09
Hozzászólások: 5