我搜索了几个小时并尝试了几种解决方案,但仍然陷入困境,而且我不确定一切是否都能正常运行。
情况如下:
输出uname -a
:
Linux rocco 5.4.0-28-generic #32-Ubuntu SMP Wed Apr 22 17:40:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04
驱动程序似乎安装正确
输出lsmod | grep nvidia
:
nvidia_uvm 966656 0
nvidia_drm 45056 0
nvidia_modeset 1114112 1 nvidia_drm
nvidia 20430848 2 nvidia_uvm,nvidia_modeset
drm_kms_helper 184320 2 nvidia_drm,i915
ipmi_msghandler 106496 2 ipmi_devintf,nvidia
drm 491520 13 drm_kms_helper,nvidia_drm,i915
输出prime-select query
:
nvidia
输出sudo lshw -c display
:
*-display
description: VGA compatible controller
product: UHD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:127 memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GP108M [GeForce MX150]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff
输出inxi -Fxx
:
Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917
Device-2: NVIDIA GP108M [GeForce MX150] vendor: ASUSTeK driver: nvidia v: 440.64 bus ID: 01:00.0 chip ID: 10de:1d10
Display: x11 server: X.Org 1.20.8 driver: none compositor: gnome-shell resolution: 1920x1080~60Hz, 1680x1050~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.0.4 direct render: Yes
输出lspci -v | grep 3D
:
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=32M]
输出nvidia-smi
:
Thu May 7 23:18:08 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64 Driver Version: 440.64 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| 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 MX150 Off | 00000000:01:00.0 Off | N/A |
| N/A 45C P0 N/A / N/A | 0MiB / 2002MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
但:
输出more /usr/share/X11/xorg.conf.d/10-amdgpu.conf
:
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection
输出nvidia-settings
:
ERROR: Unable to load info from any available system
(nvidia-settings:5784): GLib-GObject-CRITICAL **: 23:19:26.837: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
我想我应该看到这个面板中的选项列表。
optirun --status什么也没说
chrome://gpu仅报告我的 Intel UHD Graphics 620
如果我发射韓國我在 nvidia-smi 上看不到任何进程
最后我不确定我是否正在使用 nvidia 驱动程序。
任何建议都将受到赞赏。