Jump to content

So im attempting to setup a VM on my debian(buster) linux distro currently when attempting to isolate my nvidia gtx 760

so ive currently followed these steps

i ran "lspci -nnk" anf got my gpus device ids being

video: 10de:1187

audio: 10de:0e0a

i then went to the file

"/etc/initramfs-tools/modules"

and appended this to the end of it

"vfio_pci ids=10de:1187,10de:0e0a" ( i later appended it to /etc/default/grub resulting in it looking like this "GRUB_CMDLINE_LINUX_DEFAULT="quiet nouvea.modeset=0 iommu=pt intel_iommu=on vfio-pci.ids=10de:1187,10de:0e0a""

then i ran

"update-initramfs -u"

after all this the gpu is still being taken control of by "nouveau" and i cant figure out how to resolve it

 

 

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-sbp2


 

IOMMU Groups

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)

 

 

 

Link to comment
https://linustechtips.com/topic/1179114-gpu-passthrough-using-iommu/
Share on other sites

Link to post
Share on other sites

6 hours ago, CisntSharp said:

i dont understand but im not going to complain

I'm not sure what order you ran what commands in but it's likely that for some reason GRUB's configuration didn't get updated earlier.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×