当我尝试启动 Steam 时,弹出“glXChooseVisual 失败”的提示
从终端:
Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is enabled automatically
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "unity-gtk-module"
Installing breakpad exception handler for appid(steam)/version(1461972496)
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
glXChooseVisual failedMain.cpp (309) : Assertion Failed: Fatal Error: glXChooseVisual failed
Assert( Assertion Failed: Fatal Error: glXChooseVisual failed ):Main.cpp:309
Installing breakpad exception handler for appid(steam)/version(1461972496)
[0526/021834:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
[0526/021834:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/maste/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Installing breakpad exception handler for appid(steamwebhelper)/version(20160429221814)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461968294)
[0526/021834:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
assert_20160526021834_6.dmp[23686]: Uploading dump (out-of-process)
/tmp/dumps/assert_20160526021834_6.dmp
Installing breakpad exception handler for appid(steamwebhelper)/version(20160429221814)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461972496)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461972496)
assert_20160526021834_6.dmp[23686]: Finished uploading minidump (out-of-process): success = yes
assert_20160526021834_6.dmp[23686]: response: CrashID=bp-e6a8248c-64d9-415e-b281-89dcb2160526
assert_20160526021834_6.dmp[23686]: file ''/tmp/dumps/assert_20160526021834_6.dmp'', upload yes: ''CrashID=bp-e6a8248c-64d9-415e-b281-89dcb2160526''
我感谢所有的帮助,谢谢!
答案1
尝试重新安装显卡驱动程序
以下链接上的第一个答案 安装带有 NVIDIA 显卡的 Ubuntu 16.04 后出现图形问题
答案2
我通过删除这个库解决了这个问题。
sudo rm /usr/lib/i386-linux-gnu/mesa/libGL.so.1
此后 Steam 再次启动。但我不确定这个解决方案是否破坏了系统。