![Dota2 无法加载 16.04](https://linux22.com/image/1058343/Dota2%20%E6%97%A0%E6%B3%95%E5%8A%A0%E8%BD%BD%2016.04.png)
在 Steam 中启动 Dota 2 时,弹出“准备启动”窗口,然后消失,但游戏无法加载。系统进程显示游戏正在运行,但占用的内存很少,也不占用 CPU。通过终端运行游戏时,会出现此错误(靠近底部):
Game update: AppID 570 "Dota 2", ProcID 11725, IP 0.0.0.0:0 ERROR: ld.so: object '/home/roger/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 11725 for game ID 570
ERROR: ld.so: object '/home/roger/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/bin/bash: /home/roger/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
pid 11730 != 11729, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/roger/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 11726 for game ID 570
>>> Adding process 11729 for game ID 570
ERROR: ld.so: object '/home/roger/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 11731 for game ID 570
Using breakpad crash handler
Setting breakpad minidump AppID = 570
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198022088125 [API loaded yes]
Steam_SetMinidumpSteamID: Setting Steam ID: 76561198022088125
Setting breakpad minidump AppID = 373300
>>> Adding process 11732 for game ID 570
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
你好!
答案1
解决了。使用以下命令运行 steam:
LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 steam