archlinux安装steam


最近想要玩会儿游戏,但是又不想切换到windows,所以准备安装steam,在linux下玩游戏, 参考文档Steam

准备工作

因为我的是64位操作系统,所以需要启用 multilib

$ sudo vim /etc/pacman.conf
# 取消下面注释
[multilib]
Include = /etc/pacman.d/mirrorlist

双显卡bumblebee

我的又是双显卡,需要安装32位驱动

lib32-nvidia-utils
lib32-mesa-libgl
lib32-mesa

注意 除此之外,参考 bumblebee报错信息 还需要安装 virtualgl-libs:i386 ( arch上是lib32-virtualgl ) 否则报错

ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.

安装steam

$ sudo pacman -Syu steam

打开steam

直接启动报错

$ steam
/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
Running Steam on arch  64-bit
/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1459463254)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
....

换个方式启动

$ optirun steam

虽然也有报错,但是总算能启动了

/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
Running Steam on arch  64-bit
/home/jianglin/.local/share/Steam/steam.sh:行161: VERSION_ID: 未绑定的变量
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1459463254)
Installing breakpad exception handler for appid(steam)/version(1459463254)
Installing breakpad exception handler for appid(steam)/version(1459463254)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
[0425/180353:ERROR:main_delegate.cc(777)] Could not load cef_extensions.pak
[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.
....

ok,就这样

作者: honmaple
链接: https://honmaple.me/articles/2016/04/archlinux安装steam.html
版权: 知识共享署名-非商业性使用-相同方式共享4.0国际许可协议
wechat