Arch-Linux
Steam 無法在 Arch Linux 上啟動 - 可能是 libGL 錯誤(nvidia)
每當我嘗試啟動 Steam 時,我都會在瞬間出現“Steam 升級”載入螢幕,然後每個 Steam 程序都會終止。
當我在終端中執行 steam、steam-runtime 或 steam-native 時,我得到以下輸出(雙花括號中的文本是我的評論):
/home/USER/.local/share/Steam/steam.sh: Zeile 154: VERSION_ID ist nicht gesetzt. {{line154: VERSION_ID not set.}} /home/USER/.local/share/Steam/steam.sh: Zeile 154: VERSION_ID ist nicht gesetzt. {{line154: VERSION_ID not set.}} Running Steam on arch 64-bit /home/USER/.local/share/Steam/steam.sh: Zeile 154: VERSION_ID ist nicht gesetzt. {{line154: VERSION_ID not set.}} STEAM_RUNTIME is enabled automatically Pins up-to-date! Installing breakpad exception handler for appid(steam)/version(1522709999) libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Installing breakpad exception handler for appid(steam)/version(1522709999) Installing breakpad exception handler for appid(steam)/version(1522709999) {{Steam upgrade window pops up}} (steam:1581): Gtk-WARNING **: 11:37:59.515: Im Modulpfad »adwaita« konnte keine Themen-Engine gefunden werden, {{No theme engine found in module path »adwaita«}} /usr/share/themes/Matcha-dark-sea/gtk-2.0/main.rc:1102: error: unexpected identifier 'direction', expected character '}' /usr/share/themes/Matcha-dark-sea/gtk-2.0/apps.rc:91: error: unexpected identifier 'direction', expected character '}' libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast crash_20180422113758_1.dmp[1611]: Uploading dump (out-of-process) /tmp/dumps/crash_20180422113758_1.dmp /home/USER/.local/share/Steam/steam.sh: Zeile 927: 1581 Speicherzugriffsfehler (Speicherabzug geschrieben) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@" {{1581 memory access error (wrote dump) …}} crash_20180422113758_1.dmp[1611]: Finished uploading minidump (out-of-process): success = yes crash_20180422113758_1.dmp[1611]: response: CrashID=bp-096dbe58-03c4-4dbb-8045-fcefa2180422 crash_20180422113758_1.dmp[1611]: file ''/tmp/dumps/crash_20180422113758_1.dmp'', upload yes: ''CrashID=bp-096dbe58-03c4-4dbb-8045-fcefa2180422''
執行 find /usr -iname " libGL.so " -exec ls -l – {} + 給我這個輸出:
lrwxrwxrwx 1 root root 14 9. Nov 10:02 /usr/lib32/libGL.so -> libGL.so.1.0.0 lrwxrwxrwx 1 root root 14 9. Nov 10:02 /usr/lib32/libGL.so.1 -> libGL.so.1.0.0 -rwxr-xr-x 1 root root 386364 9. Nov 10:02 /usr/lib32/libGL.so.1.0.0 lrwxrwxrwx 1 root root 14 9. Nov 09:44 /usr/lib/libGL.so -> libGL.so.1.0.0 lrwxrwxrwx 1 root root 14 9. Nov 09:44 /usr/lib/libGL.so.1 -> libGL.so.1.0.0 -rwxr-xr-x 1 root root 562944 9. Nov 09:44 /usr/lib/libGL.so.1.0.0 lrwxrwxrwx 1 root root 14 9. Nov 10:02 /usr/lib32/libGL.so -> libGL.so.1.0
關於我的顯卡的 lspci 輸出:
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1)
我通過安裝 lib32-nvidia-utils 包解決了這個問題。