快速导航
最近想要玩会儿游戏,但是又不想切换到windows,所以准备安装steam,在linux下玩游戏, 参考文档Steam
准备工作
因为我的是64位操作系统,所以需要启用 multilib
1$ sudo vim /etc/pacman.conf
2# 取消下面注释
3[multilib]
4Include = /etc/pacman.d/mirrorlist
双显卡bumblebee
我的又是双显卡,需要安装32位驱动
1lib32-nvidia-utils
2lib32-mesa-libgl
3lib32-mesa
注意 除此之外,参考 bumblebee报错信息 还需要安装 virtualgl-libs:i386 ( arch上是lib32-virtualgl ) 否则报错
1ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
安装steam
1$ sudo pacman -Syu steam
打开steam
直接启动报错
1$ steam
2/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
3/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
4Running Steam on arch 64-bit
5/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
6STEAM_RUNTIME is enabled automatically
7Installing breakpad exception handler for appid(steam)/version(1459463254)
8libGL error: unable to load driver: i965_dri.so
9libGL error: driver pointer missing
10libGL error: failed to load driver: i965
11libGL error: unable to load driver: swrast_dri.so
12libGL error: failed to load driver: swrast
13....
换个方式启动
1$ optirun steam
虽然也有报错,但是总算能启动了
1/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
2/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
3Running Steam on arch 64-bit
4/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
5STEAM_RUNTIME is enabled automatically
6Installing breakpad exception handler for appid(steam)/version(1459463254)
7Installing breakpad exception handler for appid(steam)/version(1459463254)
8Installing breakpad exception handler for appid(steam)/version(1459463254)
9Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
10Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
11Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
12[0425/180353:ERROR:main_delegate.cc(777)] Could not load cef_extensions.pak
13[0425/180353:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
14....
ok,就这样
知识共享署名-非商业性使用-相同方式共享4.0国际许可协议