我尝试从 16.04 升级到 Ubuntu 18.04 后运行 Steam(它在那里运行完美)。问题是,它无法打开。当我尝试steam
在终端中执行命令时,它返回此消息:
Running Steam on ubuntu 18.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
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: 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
我唯一理解的是驱动程序无法正确加载,但我不知道该怎么办。
答案1
这些命令应该可以解决这个问题,感谢智能人类,(Steam 无法启动。LibGL 错误) 和 kisak-valve (https://github.com/ValveSoftware/steam-for-linux/issues/5249)
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1
LD_PRELOAD='/usr/$LIB/libstdc++.so.6' LIBGL_DRI3_DISABLE=1 steam
最后,运行命令steam
,它将启动并开始更新。