所以,当我试图隔离我的nvidia gtx 760时,我正在尝试在我的debian(buster) linux发行版上安装一个虚拟机
因此,我目前遵循以下步骤
我运行了"lspci -nnk“,得到了我的gpus设备i
视频: 10de:1187
音频: 10de:0e0a
然后我去看了那个文件
“/etc/initramfs-工具/模块”
并将这个附加到它的末尾
"vfio_pci ids=10de:1187,10de:0e0a“(后来我将其附加到/etc/default/grub后,导致它看起来像这样:”GRUB_CMDLINE_LINUX_DEFAULT=“vfio_pci iommu=pt intel_iommu=on vfio-pci.ids=10de:1187,10de:0e0a"”
然后我跑了
"update-initramfs -u“
在这一切之后,gpu仍然被“新潮流”控制着,我想不出如何解决这个问题
lspci -nnk
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 760] [10de:1187] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GK104 [GeForce GTX 760] [1458:360b]
Kernel driver in use: nouveau
Kernel modules: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GK104 HDMI Audio Controller [1458:360b]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel/etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet nouvea.modeset=0 iommu=pt intel_iommu=on vfio-pci.ids=10de:1187,10de:0e0a"
GRUB_CMDLINE_LINUX=""/etc/modules
vfio
vfio_pci
vfio_iommu_type1
vfio_virqfd
firewire-sbp2IOMMU组
IOMMU Group 1:
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 760] [10de:1187] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)发布于 2020-04-17 07:55:08
运行grub-install之后
然后重新开始它完美地工作着。
我不明白,但我不会抱怨
https://stackoverflow.com/questions/61261486
复制相似问题