Steam for Linux > Limited Beta > 主题详情
adewolf11 2012年12月7日下午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.
正在显示第 1 - 5 条,共 5 条留言
< >
Aleksander 2012年12月8日上午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.
最后由 Aleksander 编辑于; 2012年12月8日上午2:35
adewolf11 2012年12月8日上午7:57 
What is primusrun? Oh BTW I had to add a bublebee hack (Lenovo hack) to get optirun to woek.
Aleksander 2012年12月8日上午11:02 
引用自 adewolf11
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年12月13日上午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.
最后由 bundyo 编辑于; 2012年12月13日上午2:19
bundyo 2012年12月13日下午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.
正在显示第 1 - 5 条,共 5 条留言
< >
每页显示数: 15 30 50
发帖日期: 2012年12月7日下午12:09
帖子数: 5