eGPU Nvidia - 从总线上掉下来并且不响应命令

eGPU Nvidia - 从总线上掉下来并且不响应命令

我在联想 X13 上运行 Ubuntu 20.04,并在 Thunderbolt 机柜华硕 XG Station Pro 中配备 Nvidia GeForce RTX 2060 SUPER。

BIOS 和 Thunderbolt 固件已升级到最新版本,eGPU 在 Windows 中运行完美。

我已成功使用 Nouveau 驱动程序在 Ubuntu 中运行 eGPU。我还安装了 egpu-switcher。除了游戏性能之外,一切都运行良好。

当我安装 nvidia-driver-460(或任何其他旧版本)时,我会在 DMESG 中每秒重复三次以下内容:

[to. feb. 11 19:30:18 2021] nvidia: probe of 0000:0c:00.0 failed with error -1
[to. feb. 11 19:30:18 2021] NVRM: The NVIDIA probe routine failed for 1 device(s).
[to. feb. 11 19:30:18 2021] NVRM: None of the NVIDIA devices were initialized.
[to. feb. 11 19:30:18 2021] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[to. feb. 11 19:30:18 2021] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[to. feb. 11 19:30:18 2021] nvidia 0000:0c:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[to. feb. 11 19:30:18 2021] NVRM: The NVIDIA GPU 0000:0c:00.0
                            NVRM: (PCI ID: 10de:1f06) installed in this system has
                            NVRM: fallen off the bus and is not responding to commands.

结果是我无法登录 Xorg。在 10 次中有 1 次,Linux 能够加载 Nvidia 专有驱动程序。我无法找出它有时能正常工作的规律。

我尝试在 GRUB_CMDLINE_LINUX_DEFAULT 中将以下内容添加到 grub: pcie_ports=native pci=assign-busses,nocrs,realloc iommu=on rcutree.rcu_idle_gp_delay=2

我花了很多时间来解决这个问题,所以如果有人能解决这个问题,我会非常感激。谢谢 :-)。

答案1

我今天又对此进行了一次尝试,并进入 BIOS 设置 > 配置 > Thunderbolt 3 > 预启动环境中的支持 = 已启用。

看来问题解决了!

相关内容