最近我在外置 USB3.0 硬盘上安装了 Linux Ubuntu 18.04。与同一系统上的 Windows 相比,Linux 运行非常流畅、快速。但当我想玩 CS:GO 或 RocketLeague 等 3D 游戏时,我的 FPS 会下降得很低(CSGO:40-60FPS,看到敌人时为 20fps)。我花了一整天安装 NVIDIA 显卡的驱动程序,并尝试了多个版本的驱动程序,但情况并没有真正好转。
我认为图形驱动程序出了问题,因为在 Windows 上游戏运行流畅。当我尝试 nvidia-smi 时也出现错误:
NVIDIA-SMI 失败,因为它无法与 NVIDIA 驱动程序通信。请确保已安装并运行最新的 NVIDIA 驱动程序。
当我尝试 nvidia-settings 时,它会抛出这个错误:
ERROR: NVIDIA driver is not loaded
ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
ERROR: Error querying connected displays on GPU 0 (Missing Extension).
** Message: 16:34:58.333: PRIME: Requires offloading
** Message: 16:34:58.333: PRIME: is it supported? yes
ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to work, but values cannot
be prepopulated or validated, and will not be listed in the help text. Please see the README for possible values and descriptions.
并在 GUI 中仅显示以下内容:
有关我的硬件的一些信息:
我有一台笔记本电脑,通常在内置硬盘上运行 WIN10。它有一块 NVIDIA Geforce 930M 显卡和一块英特尔显卡。
Architektur: x86_64
CPU Operationsmodus: 32-bit, 64-bit
Byte-Reihenfolge: Little Endian
CPU(s): 4
Liste der Online-CPU(s): 0-3
Thread(s) pro Kern: 2
Kern(e) pro Socket: 2
Sockel: 1
NUMA-Knoten: 1
Anbieterkennung: GenuineIntel
Prozessorfamilie: 6
Modell: 61
Modellname: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Stepping: 4
CPU MHz: 2592.794
Maximale Taktfrequenz der CPU: 2700,0000
Minimale Taktfrequenz der CPU: 500,0000
BogoMIPS: 4393.57
Virtualisierung: VT-x
L1d Cache: 32K
L1i Cache: 32K
L2 Cache: 256K
L3 Cache: 3072K
NUMA-Knoten0 CPU(s): 0-3
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. HD Graphics 5500 [1043:1a6d]
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at a1000000 (64-bit, non-prefetchable) [size=16M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
Subsystem: ASUSTeK Computer Inc. Broadwell-U Audio Controller [1043:1a6d]