My goal is to get my nvidia card passing into my win7new i have create from the tutorial on the qubes website.
When i'm adding the nvidia card on the VM and start it...
Bang! Black screen and reboot.
The devices in Qubes Manager is VGA
compatible controller: NVIDIA Corporation GP102 [TITAN X] (rev a1)
ps : i got the same issue if my main screen come from the gpu of the cpu or the gpu nvidia.
Thank you in advance for your time.
Best regards
I get this following code for the windows 10 nothin (bluescreen)
And same with the windows 7 with bluescreen (memory_management)
You can find the file attach.
https://groups.google.com/d/msg/qubes-devel/J0rWz3Pnmtc/jJGbBGHgAgAJ
Basically, it sounds like Nvidia's windows drivers are deliberately designed NOT to work in a VM. It used to be a result of weird mappings of PCI config space into MMIO space (there were one to one memory mapping tricks that once would work around that), but it sounds like drivers now simply detect if you are in a VM (there are a number of VM detection techniques that, as I understand it, cannot be defeated).
The exception to this seems to be explicit support for VM passthrough for certain Quadro and Tesla cards (which I have seen first hand work under Xen; it just worked, and was probably the easiest way to do passthrough at one point -- never tried it under Qubes though).
https://www.nvidia.com/en-us/design-visualization/technologies/virtual-gpu/
If you value your time, you are likely much better off using an AMD card over a consumer Nvidia card - preferably one already demonstrated to work with Xen PCI passthrough. At one point, you had to be careful about how AMD drivers got installed and updated, but I believe it works much better these days.
If you still want to work through it, KVM has put a LOT more effort into GPU passthrough than Xen. It might help to see what the state of things is over in KVM to give you an idea of what has to be addressed for Nvidia passthrough to work under Xen.
Finally, if you are really enterprising, you might try recoding qemu to report a Quadro or Tesla PCI device ID for a consumer Nvidia GPU. At one point, people were resoldering surface mount resistors on GTX cards to report the PCI device IDs for their Quadro/Tesla counterparts.
https://news.ycombinator.com/item?id=5398555
The stock Nvidia drivers would work just fine. _Maybe_ you can accomplish the same trick in software instead.
Eric
KVM is much more pass through friendly and has workarounds for some of the problems.
A KVM VM can currently hide itself from the Nvidia drivers. This may not work in future Nvidia products.
AMD consumer based GPU cards have a reset problem in a VM. After using the VM when you shutdown the VM the card doesn't reset properly. It is reported that this problem does not exist in the RX 5xx cards and older.
I am currently building a system for GPU pass through using Nvidia for the default GPU and AMD RX 590 for the pass through GPU.
Also note the two cards should not be identical or KVM may have trouble telling which card is which.
Let me know if anyone needs links to get started. Plan on reading a lot and watching many videos. This has only been working for about a year or so.
Performance is about 95% compared to bare metal.