Nvidia Driver with KVM passthrough

Luca Boccassi luca.boccassi at gmail.com
Tue Nov 22 00:29:03 UTC 2016


On Sun, 2016-11-20 at 11:23 -0600, T.J. Duchene wrote:
> I'm sorry to bother all of you. Pardon me if this is not the proper 
> place to discuss such matters. I am not certain if this should qualify 
> as a bug report against the nvidia-driver package because it is probably 
> a low instance scenario - but it is consistent and appears to be able to 
> be replicated.
> 
> I can't file it against Debian Jessie because I am not using the 
> packaged driver.
> 
> 
> I have two nvidia cards: a 960 and a 1060.  When I install the nvidia 
> driver from Jessie backports,  Qemu freezes when I try to passthrough 
> the 1060 without logging an error.  The only way to stop it is to force 
> kill it or reset at that point.
> 
> When I do the same on Ubuntu 16.04's installer, the same thing happens - 
> no logged error that I can find and the VM is frozen.
> 
> However, when I take the exact same version of the driver that Ubuntu 
> uses and manually install it on 16.04 everything functions normally 
> using Nvidia's installer.
> 
> I have attempted to replicate the same results on Debian Jessie 
> unsuccessfully.
> 
> I've looked at some of the installed files and the VFIO device nodes and 
> I have not detected any significant differences.  Because the manual 
> install of the exact same driver works on Ubuntu 16.04, so I do not 
> believe it is a kernel patch of some kind as to why it works on one but 
> not the other.
> 
> I have tested this and replicated the exact same results several times. 
> I'm starting to wonder if it is an issue with the package installer.
> 
> If you would like more information, such as configuration data, I'll be 
> happy to provide it.  At this point I need some advice on how to proceed.
> 
> Should I file a regular bug report, and if so - where?
> 
> Thanks,
> T.J.

Hi,

This is a very corner case, and I'm not sure I'd be able to reproduce
this with only one Nvidia card (and an Intel integrated). Do you have an
Intel card, and if so, do you see the same problem if you use it to
drive your host display?

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20161122/8578d6de/attachment.sig>


More information about the pkg-nvidia-devel mailing list