Sorry to necro this, but has this process changed any to support Nvidia cards? 
If so are there any additional steps as there have been in the past to make 
this work? I'd be keenly interested in moving to Qubes as I do gaming on 
Windows and I have a Linux VM for most everything else. I'd prefer to do the 
reverse. 

On Wednesday, August 12, 2015 at 5:55:10 AM UTC-4, [email protected] wrote:
> After several weeks of research and dedicated work, I am happy to
>     report that I successfully have (secondary) GPU-passthrough working
>     on Qubes R3-rc2 x86_64 with a Windows 7 x64 HVM. To try and keep
>     this post short, I have attached a copy of my setup for those
>     interested in the configs I am using. I've only just got it up and
>     running here recently, so far my testing has consisted of playing a
>     few video games =  'Her Story' (not very demanding), 'Borderlands
>     2', and 'Metal Gear Rising Revengeance'. I am a VERY HAPPY Qubes
>       user on this day. I want to thank the Qubes devs for all the
>     work you guy/gals do!
> 
>     ATTACHED FILES:
> 
>       grub = /etc/default/grub
> 
>       
>         win7.hvm = /etc/xen/win7.hvm
> 
>       rc.local = /etc/rc.local
> 
>     
>     If the person(s) in charge wouldn't mind updating the Qubes HCL, this 
> here is
>     my hardware setup:
> 
>     MOTHERBOARD: MSI 890FXA-GD70, currently running V1.8
>       BIOS (A7640AMS.180
> 
>         - 2011-02-24)
> 
>       CPU: AMD Athlon II X2 270 Regor Dual-Core 3.4GHz Socket AM3
> 
>       POWER SUPPLY: CORSAIR Professional Series Gold AX1200 -
>       1200W
> 
>       MEMORY: 16GB total (4x 4GB sticks), G.SKILL Sniper 4GB DDR3
>       SDRAM DDR3 1600 (PC3 12800)
> 
>       HARD DRIVE(s): 2x Seagate Barracuda Green
>       ST1500DL003 1.5TB 5900 RPM
> 
>       VIDEO CARD(s): 2x XFX Radeon HD 6970 2GB 256-Bit
>       GDDR5 PCI Express 2.1 x16
>     The truth be told, the "type" of GPU passthrough I
>     have working in Qubes R3-rc2 is using libxl,
>     NOT libvirt << this being key to GPU
>     passthrough functionality at this point in Qubes development (for
>       my hardware). I have extensively tried to get GPU-passthrough
>     working with native libvirt tools and processes using standard Qubes HVM 
> creation
>       procedures with no luck. Namely:
> 
>     
>       'qvm-create win7hvm --hvm --label green' to build the
>         Win7 HVM
>       install the QTW 'qubes-windows-tools' (I've tried
>         both QTW versions for R3-rc# using 'sudo qubes-dom0-update
>           --enablerepo=qubes-dom0-unstable qubes-windows-tools' OR
>         'sudo qubes-dom-update
>           --enablerepo=qubes-dom0-current-testing qubes-windows-tools')
>       
>         starting the Win7 HVM with 'qvm-start win7
>             --cdrom=/dev/cdrom' which does fully install the QTW
>           properly 
>       
>       setup pci-passthrough
> 
>           of the (secondary) GPU using 'qvm-pci'
> 
>       
>       futzing around extensively with every option known to (wo)man
>         within 'virsh edit win7hvm' and 'qvm-prefs'
> 
>       
>     
>     In my experience the ultimate issue with GPU Passthrough using
>     libvirt tools manifests itself once I try to install the official
> 
>       AMD GPU drivers in the Win7 x64 HVM; it always ends with the same
>     BSOD during installation of the driver:
> 
>     
> 
>     SYSTEM_SERVICE_EXCEPTION
> 
>           <<--- SNIP --->>
> 
>       *** STOP: 0x00000003B (0x00000000c0000005,
>       0xFFFFF880051C49A8,0xFFFFF8800210FB10,0x0000000000000)
> 
>       *** atdcm64a.sys - Address FFFFF880051C49A8 base at
>       FFFFF880051C2000, Datestamp 55a7048b
> 
>     
>     I have tried omitting the QTW install steps from above, but continue
>     to get a BSOD during installation of the official AMD GPU driver.
>     I've also tried installing older
> 
>       versions of the official AMD GPU drivers to no avail.
> 
>     
> 
>     I have seen reports around the Internet that report in order to
>     install the AMD GPU drivers properly in an Xen-based Win7 x64 HVM,
>     you should extract the drivers to a temp folder (using 7zip), then
>     install JUST the GPU driver itself, making sure NOT install CCC
>     (Catalyst Control Center) as I understand it, CCC is the cause of
>     the BSOD. I would love to find a solution, and get Qubes with
>     libvirt working properly with Win7 HVM + GPU Passthrough.
> 
>     
> 
>     My hope is that by posting to the qubes-users ML regarding my
>     libvirt GPU-passthrough dilemma, someone may be able to help out
>     with this? I am all ears, and will happily try things out, as I
>     would LOVE to get all the Qubes-related functionality from QTW
>     (Qubes Tools for Windows) up and running in my Win7 GPU
>     Passthrough-enabled HVM! Feel free to post ideas on that topic, and
>     I would happily try and report back results...
> 
>     
> 
>     Also, feel free to ask questions if anyone wants further details on
>     my Qubes libxl GPU-passthrough setup. Getting IOMMU up and running
>     was the biggest hurdle, but once that was accomplished everything
>     else pretty much fell into place.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/96e48eb4-4c84-45bd-b059-65c3191c7ddc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to