我在 Ubuntu 22.04 系统上可以毫无问题地玩 Steam 游戏,但从昨天开始,游戏就无法启动了。我怀疑最近的更新可能是原因,但游戏的启动日志没有提供任何明确的见解。
以下是启动日志:
ERROR: ld.so: object '/home/rodrigo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/rodrigo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/rodrigo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/rodrigo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
Setting breakpad minidump AppID = 813780
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198085729073 [API loaded no]
pid 10229 != 10228, skipping destruction (fork without exec?)
我已经禁用了 Steam 的覆盖,但问题仍然存在。我的显卡是 NVIDIA GeForce RTX 3070 Ti。sudo lshw -C display 和 nvidia-smi 的输出如下所示,以供参考:
sudo lshw -C 的输出显示:
*-display
description: VGA compatible controller
product: GA104 [GeForce RTX 3070 Ti]
manufacturer: NVIDIA Corporation
physical id: 0
bus info: pci@0000:2b:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:7c0-7bf iomemory:7e0-7df irq:107 memory:fb000000-fbffffff memory:7c00000000-7dffffffff memory:7e00000000-7e01ffffff ioport:e000(size=128) memory:fc000000-fc07ffff
*-graphics
product: EFI VGA
physical id: 1
logical name: /dev/fb0
capabilities: fb
configuration: depth=32 resolution=1920,1080
nvidia-smi 的输出:
Tue Jun 27 23:00:36 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.30.02 Driver Version: 530.30.02 CUDA Version: 12.1 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3070 Ti On | 00000000:2B:00.0 Off | N/A |
| 0% 37C P5 23W / 310W| 2101MiB / 8192MiB | 11% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 3618 G /usr/lib/xorg/Xorg 1230MiB |
| 0 N/A N/A 3764 G /usr/bin/gnome-shell 88MiB |
| 0 N/A N/A 4645 G ...ures=SpareRendererForSitePerProcess 122MiB |
| 0 N/A N/A 5044 G ...,WinRetrieveSuggestionsOnlyOnDemand 24MiB |
| 0 N/A N/A 5181 G ...local/share/Steam/ubuntu12_32/steam 4MiB |
| 0 N/A N/A 5498 G ...re/Steam/ubuntu12_64/steamwebhelper 27MiB |
| 0 N/A N/A 6672 G ...4136487,11669016428878808676,262144 532MiB |
| 0 N/A N/A 10363 G ...sion,SpareRendererForSitePerProcess 67MiB |
+---------------------------------------------------------------------------------------+
我将非常感激任何关于此问题的建议或指导。提前谢谢您。
答案1
尝试清除本地下载缓存。对我来说,这个方法很有效(在 Ubuntu 22.04 上)
Steam → 设置 → 下载 → 清除缓存。