![Steam 无法启动 - 整数参数超出操作范围](https://linux22.com/image/1006673/Steam%20%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%20-%20%E6%95%B4%E6%95%B0%E5%8F%82%E6%95%B0%E8%B6%85%E5%87%BA%E6%93%8D%E4%BD%9C%E8%8C%83%E5%9B%B4.png)
昨天我想打开 Steam,但是打不开。经过一番挖掘,我发现了错误:
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [2018-03-28 08:21:21] Startup - updater built Nov 23 2016 01:05:42 SteamUpdateUI: An X Error occurred X Error of failed request: BadValue (integer parameter out of range for operation)
重新安装 steam 后(从 Ubuntu repos 和 steampowered.com 都安装),我看到几个人建议使用运行时(但我在重新安装时找不到 Steam 运行时),并删除了 libstdc++.so.6。这些都对我不起作用。
奇怪的是,我估计安装nvidia-390
驱动程序后它就停止工作了,但我无法安装对我有用的驱动程序,因为 apt 总是安装nvidia-390
。连接到 Intel HD Graphics 的第三个屏幕也因这个驱动程序而停止工作。那么,我该如何让 Steam 工作呢?
硬件:CPU:Intel Core i5 6400 GPU:NVIDIA GeForce GTX 1060 软件:安装了 KDE 和 SDDM 的 Ubuntu 17.10(但不是 Kubuntu)
答案1
要验证你的 nvidia 驱动程序是否正确安装,请在终端中输入此命令
nvidia-smi
这将给出类似以下的输出
Tue May 23 13:18:34 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66 Driver Version: 375.66 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 940MX Off | 0000:01:00.0 Off | N/A |
| N/A 41C P0 N/A / N/A | 292MiB / 2002MiB | 21% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1583 G /usr/lib/xorg/Xorg 175MiB |
| 0 3445 G /usr/bin/compiz 115MiB |
| 0 6737 G /home/stens/src/firefox/firefox 1MiB |
+-----------------------------------------------------------------------------+
而当 nvidia 驱动程序处于不一致状态时,你会看到这个
nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
这可能是这种情况...我建议你重新安装驱动程序