I passedthrough GPU pci to win7 but can't install driver on windows

80 views
Skip to first unread message

xyzo

unread,
Jan 10, 2020, 12:10:57 AM1/10/20
to qubes-users

Qubes OS version:

R4.0

================


lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)
00:1d.3 PCI bridge: Intel Corporation Device 9d1b (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
03:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0115 (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
05:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)

/proc/cmdline

placeholder root=/dev/mapper/qubes_dom0-root ro rd.luks.uuid=luks-27e8b2ee-cbef-4981-ab4b-4e667fd4d629 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.alpha_support=1 rhgb quiet rd.qubes.hide_pci=01:00.0,00:1f.3 modprobe=xen-pciback.passthrough=1 xen-pciback.permissive rd.qubes.hide_all_usb plymouth.ignore-serial-consoles


/etc/default/grub


GRUB_TIMEOUT
=5
GRUB_DISTRIBUTOR
="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT
=saved
GRUB_DISABLE_SUBMENU
=true
GRUB_TERMINAL_OUTPUT
="gfxterm"
GRUB_CMDLINE_LINUX
="rd.luks.uuid=luks-27e8b2ee-cbef-4981-ab4b-4e667fd4d629 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.alpha_support=1 rhgb quiet rd.qubes.hide_pci=01:00.0,00:1f.3 modprobe=xen-pciback.passthrough=1 xen-pciback.permissive"
GRUB_CMDLINE_XEN_DEFAULT
="console=none dom0_mem=min:1024M dom0_mem=max:4096M iommu=no-igfx ucode=scan smt=off apic_verbosity=debug loglvl=all guest_loglvl=all iommu=verbose"
GRUB_DISABLE_RECOVERY
="true"
GRUB_THEME
="/boot/grub2/themes/system/theme.txt"
GRUB_DISABLE_OS_PROBER
="true"
GRUB_CMDLINE_LINUX
="$GRUB_CMDLINE_LINUX rd.qubes.hide_all_usb"
GRUB_CMDLINE_LINUX
="$GRUB_CMDLINE_LINUX plymouth.ignore-serial-consoles"




Affected TemplateVMs:

Own created custom win 7 x64


Steps to reproduce the behavior:

I have an optimus/hybrid notebook with an Intel and Nvidia GTX 950M cards. I have created  a win7 hvm and installed QWT successfully. I followed the guide below to passthrough 3D video controller pci ID and audio to win 7.

I followed this guide to passthrough the NVIDIA card https://paste.debian.net/1043341/ up to the part where you attach the pci IDs to the win hvm.

In windows,


win7.png















The win hvm was successfully started after I've changed the memory to 3.5G affter I had it set to 5G in qubes settings as was mentioned in the reddit post. In device manager, it can see the 3D controller but as an unknown so it needs a driver.  I downloaded the offiicial nvidia installer in attempt to install the driver but it said an error "windows incompatiable version". I am not sure if there's a way to do this. I just need the nvidia on windows to use some CAD applications. Any tips on how this can be done, if possible.


Message has been deleted

xyzo

unread,
Jan 10, 2020, 12:15:48 AM1/10/20
to qubes-users
win7.png

Matthias Horn

unread,
Jan 10, 2020, 4:20:28 AM1/10/20
to xyzo, qubes-users
I think Nvidia have logic in the (consumer) driver to detect when it’s running under XEN (and other hypervisors) and will refuse to load/install in that environment.

Sent from my iPhone

On 10 Jan 2020, at 05:15, xyzo <eduz...@gmail.com> wrote:



--
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 qubes-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/fe3f992a-4749-4090-baaf-b3de26a55fb7%40googlegroups.com.
<win7.png>

John Mitchell

unread,
Jan 13, 2020, 5:43:31 AM1/13/20
to qubes-users
With QEMU/KVM you can hide the VM from the driver.  I don't know how to do this with qubes maybe someone else can step in.  I didn't want Nvidia breaking my setup in a future driver update so I am using an AMD RX590 avoiding Nvidia's shortsightedness.  And they lost a sale.


On Friday, January 10, 2020 at 10:20:28 AM UTC+1, Matthias Horn wrote:
I think Nvidia have logic in the (consumer) driver to detect when it’s running under XEN (and other hypervisors) and will refuse to load/install in that environment.

Sent from my iPhone

On 10 Jan 2020, at 05:15, xyzo <eduz...@gmail.com> wrote:



--
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 qubes...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages