显然我是一个菜鸟 ubuntu 用户,所以请原谅我可能犯的任何严重错误或我可能没有的所需知识:D
预期的行为
我有一台Dell XPS13
运行最近安装的笔记本电脑Ubuntu 20.04 focal
,我想通过Nvidia GTX 1660 SUPER
eGPU改善视频体验,Razor Core X
理想情况下使用外部显示器上的输出。
实际行为
除了外部显示器上的黑屏外,我从未成功获得任何东西。
我试过的
我在 BIOS 中启用了 Thunderbolt 支持,并将其设置为不需要安全性,因此我一插入它就会被识别。我已经安装了列出的驱动程序ubuntu-driver devices
,主要是 nvidia-driver 的 440 版本:
ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/0000:04:01.0/0000:06:00.0/0000:07:01.0/0000:08:00.0 ==
modalias : pci:v000010DEd000021C4sv00001462sd0000C758bc03sc00i00
vendor : NVIDIA Corporation
model : TU116 [GeForce GTX 1660 SUPER]
manual_install: True
driver : nvidia-driver-440 - distro non-free recommended
driver : nvidia-driver-440-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
尽管我正确输入了密码,但我已经运行sudo ubuntu-driver autoinstall
并且登录屏幕不断出现。reboot
如果我拔下 eGPU,我可以通过登录屏幕。
如果我重新连接并运行,nvidia-smi
我会得到:
sudo nvidia-smi
[sudo] password for andrei:
Tue Sep 8 17:55:42 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100 Driver Version: 440.100 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 GTX 166... Off | 00000000:3C:00.0 Off | N/A |
| 0% 40C P0 12W / 130W | 0MiB / 5944MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
其他注意事项:
- 我没有
/etc/X11/xorg.conf
/usr/lib/modprobe.d/nvidia-graphics-drivers.conf
看起来像这样:
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
我也跑步nvidia-settings
,我得到了这个:
ERROR: Unable to load info from any available system
(nvidia-settings:4382): GLib-GObject-CRITICAL **: 18:09:30.505: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 18:09:30.507: PRIME: Requires offloading
** Message: 18:09:30.507: PRIME: is it supported? yes
** Message: 18:09:30.534: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
** Message: 18:09:30.534: PRIME: on-demand mode: "1"
** Message: 18:09:30.534: PRIME: is "on-demand" mode supported? yes
外接显示器上没有输出。
我还添加了尝试使用 ubuntu 图形驱动程序库sudo apt-add-repository ppa:graphics-drivers/ppa
并使用新推荐的驱动程序重复了上面介绍的过程,nvidia-driver-450
但结果相似,主要是无法登录或闪烁的登录屏幕,遗憾的是没有通过外部视频卡输出。
我也尝试过使用egpu-switcher
“nvidia-config which , I guess mainly tried to create/modify the
/etc/X11/xorg.conf”,但是我的外部显示器上从来没有输出(这是功能性的:),因为当同一根电缆直接连接到我的笔记本电脑时可以工作)。
如果有人可以提出一些建议,以对我和所有提到的硬件和软件来说,以一种幸福的方式结束这种痛苦,我们将不胜感激:)
谢谢!
更新
运行nvidia-settings
正在记录这个:
ERROR: Unable to load info from any available system
(nvidia-settings:20812): GLib-GObject-CRITICAL **: 01:58:56.002: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 01:58:56.005: PRIME: Requires offloading
** Message: 01:58:56.005: PRIME: is it supported? yes
** Message: 01:58:56.039: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
** Message: 01:58:56.039: PRIME: on-demand mode: "1"
** Message: 01:58:56.039: PRIME: is "on-demand" mode supported? yes