Looking glass/GPU passthrough/baby's first VM

Nope.

does it have an audio component? or are the tesla’s different on that side?

Didn’t see one. It’d be in group 7 with it.

Teslas don’t have outputs, last I checked.

doesn’t have any video outputs, the windows driver only installs Graphics driver, no audio component

I suppose no hdmi or dp would negate the need for audio

that says we need to edit the kernel again afterward or something?

Right, so on the older methods, we need to do this. Let’s give it a try, can’t hurt. :man_shrugging:

so in /etc/default/grub, on that same line you added the amd_iommu=on flag, you need to add vfio-pci.ids=[yourids], then sudo grub-mkconfig -o /boot/grub/grub.cfg again and reboot.

1 Like

HA that did it

01:00.0 3D controller [0302]: NVIDIA Corporation GK110BGL [Tesla K40m] [10de:1023] (rev a1)
	Subsystem: NVIDIA Corporation 12GB Computational Accelerator [10de:097e]
	Kernel driver in use: vfio-pci
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
1 Like

Shit, it’s been a while since I’ve had mixed manufacturer GPUs in my system.


Alright, now that we’re there, next steps: put the GPU in the VM.

For this, we go into virt-manager, open up the VM, hit the info tab (icon is an “i”), hit add hardware, “PCI Host Device” and choose the GPU.

1 Like

okay now that’s done do I need to Remake the Windows VM?

No, you can just add the pci device to the existing vm.

Unless you haven’t built a VM with the virtio storage devices.

Should look something like this:

Screenshot from 2020-05-24 17-13-40

mine says sata

Okay, you’ll need to rebuild the VM then, and edit the vm rather than just continuing on.

you’ll also need UEFI:

Screenshot from 2020-05-24 17-17-20

just the hard drive needs to be virtio, the winISO and the virtio disk can be sata CD

1 Like

Yes.

The hard drive gets virtio to give it much better r/w performance.

Sata is good enough for the installation, plus, there’s no virtio cd drive.

I don’t see any drives, where is the virtio driver on the virtio ISO?

I think I found it
yeah I just had to go one folder deeper

Yeah, the drivers are kinda logically laid out, but you need to go digging. :confused:

How’s it coming along?

had trouble with core count, got it sorted, installing batman arkham knight so I have something to test with

1 Like

Sweet. You won’t get good results until we get Looking Glass set up.

There’s an active PR for a windows installer, so everything’s set up properly for you, but until that’s fully built, it’s gonna be a big thing to get it working just right.

1 Like