[vfio-users] Bluescreen on Guest OS graphics driver installation

christopher at padarom.io christopher at padarom.io
Fri May 13 20:32:29 UTC 2016


Hello guys,
 
I'm pretty new to  VFIO and GPU passthrough. I have set everything up
now according to the "PCI Passthrough via OVMF" guide on the
ArchLinux wiki, but have run into some issues that I couldn't get a
solution for anywhere.
 
The relevant part of my setup is as follows:
Intel i5 4690K
WindForce GTX 660 Ti
AsRock Z97M Anniversary Mainboard
 
Host OS: Arch Linux (Linux 4.5.4-1-ARCH)
Guest OS: Windows 10 64-Bit Home
 
I have set up the VM via virt-manager and installed it onto a RAW image
that's on one of my SSDs (50GB).
 
The IOMMU group that's relevant for VFIO is this one:
IOMMU group 1
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] [10de:1183] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)
 
I set up my vfio.conf accordingly:
# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1183,10de:0e0a,8086:0c01
 
And it initialized correctly:
# dmesg | grep -i vfio
[    0.309866] VFIO - User Level meta-driver version: 0.3
[    0.323490] vfio_pci: add [10de:1183[ffff:ffff]] class
0x000000/00000000
[    0.336838] vfio_pci: add [10de:0e0a[ffff:ffff]] class
0x000000/00000000
[    0.336845] vfio_pci: add [8086:0c01[ffff:ffff]] class
0x000000/00000000
 
I passed both 01:00.0 and 01:00.1 to my VM and when booting it up it
shows up on my secondary monitor that's connected to my graphics card.
As a CPU I used the "core2duo" model.
 
Side question: I can't start my VM with 00:01.0 attached, but thought I
had to as it's in the same IOMMU group. Do I even have to add it to my
vfio.conf then?
 
The problem I'm having is installing the driver for the graphics card.
My display resolution is stuck at something like 640x480. I have tried
installing 365.19 and 364.72, after about 5% progress my windows crashes
into a bluescreen with the error "SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
(nvlddmkm.sys)", no matter whether I install it in GeForce Experience,
directly through the installer or the device manager.
I have also tried uninstalling the original driver with DDU, which
didn't help either.
 
GPU-Z correctly identifies my GPU as a GK104, but it (and my device
manager) both only show "Device" as it's name. I don't know whether that
is problematic or not.
 
Does anyone have any ideas how to fix this?
 
Sorry for the lengthy post, but looking forward to any and all
answers, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160513/f1e45794/attachment.htm>


More information about the vfio-users mailing list