我使用的是 ubuntu 15.04.3。我运行了 sudo apt-get update、upgrade、distro-update 等,安装了一堆 32 位库,但仍然无法运行。完整错误如下:
SteamUpdateUI:发生 X 错误 X 请求失败的错误:BadValue(整数参数超出操作范围)
以前有人见过这个吗?
答案1
是的,我今天看到了。
运行~/.steam/steam.sh
会产生更详细的输出:
Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is enabled automatically
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
awk: /home/niklas/.steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (requ
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
[2016-06-14 18:24:28] Startup - updater built Jun 9 2016 20:55:22
Installing breakpad exception handler for appid(steam)/version(1465507923)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
^C
所以 - 这是旧的“Steam 发行了系统上已经存在的旧版本的库并且它们不起作用”的问题。
可以通过运行以下命令修复:
cd ~/.steam/ubuntu12_32/steam-runtime
rm amd64/lib/x86_64-linux-gnu/lib*
rm amd64/usr/lib/lib*
rm amd64/usr/lib/x86_64-linux-gnu/lib*
rm i386/lib/i386-linux-gnu/lib*
rm i386/usr/lib/lib*
rm i386/usr/lib/i386-linux-gnu/lib*
ldd steamclient.so
#install those that are missing:
sudo apt install libnm-glib4:i386
它现在可以工作 - 直到下次更新....
(看https://github.com/ValveSoftware/steam-for-linux/issues/172#issuecomment-225929024)