Jump to content

VIDEO GUIDE***How to pass through an NVIDIA GPU as primary or only gpu in unRAID

134 posts in this topic Last Reply

Recommended Posts

hi guys i having issues i trying to get like 2 windows 10VMs or later  2 win 98 vms to play my old games networked etc

i have a Asus Maxmimus Hero vIII board  and it has onboard video   and i have a 2nd card  in slot one i cant stick in slot too  it doesnt sit with the expansion slots of the case right   and when i did  the card doesnt work  or it will make my computer constantly reboot  never boots up

  move the card  and all i left is vnc and the intel onboard video card  to select from.. so its tempermental...    

and what is a bios dump for?  and cant i just use firmware from the gigabyte site   and i did download the techpowerup  bios for this card  well i picked the first one  there was a bunch of them didnt know which one to choose


but i plan to make the 1VM my dedicated everyday computer  and the 2nd VM  be  if i wanted to play win98 games   

so i been watching videos but stuff not working right    any step by step stuff that works 100% of the time..  i tried to follow linus techs tips video for 2 gamerss 1 cpu but they went toooo fast in the setups etc

Share this post

Link to post
Posted (edited)

small question does anyone know how to remove the acpi qemu0002 device?

it seams it triggers 43 mode on nvidia card... 

only way to get rid of it that I found is to set pc-i440fx-1.4


<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Windows 10</name>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <vcpu placement='static'>4</vcpu>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='3'/>
    <vcpupin vcpu='2' cpuset='6'/>
    <vcpupin vcpu='3' cpuset='7'/>
    <type arch='x86_64' machine='pc-i440fx-1.4'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
      <relaxed state='off'/>
      <vapic state='off'/>
      <spinlocks state='off'/>
      <vendor_id state='on' value='ab1234567890'/>
      <hidden state='on'/>
    <vmport state='off'/>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='1'/>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Windows 10/vdisk1.img'/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    <interface type='bridge'>
      <mac address='52:54:00:41:0e:7c'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      <rom file='/mnt/user/isos/gtx970.me.dump.rom'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    <memballoon model='none'/>


Edited by thor2002ro

Share this post

Link to post
Posted (edited)

Here is the Vbios dump for the Asus GTX 1050 2048 MB BIOS (PH-GTX1050-2G)


Tested briefly and seems to be working fine.


Thanks for the tutorial @SpaceInvaderOne



Edited by jeffreyf
updated to confirm that its working

Share this post

Link to post
Posted (edited)

Thanks for the great tutorials, @SpaceInvaderOne! I have managed to pass through my GTX 1070 to a Windows 10 VM using an edited vbios. However, I have now run into a bizarre problem that I can't seem to fix. The VM starts fine, it boots to login screen where everything works pretty much normally (except the spinner icon). After I log in, the desktop is visible for 2-3 seconds and after that everything goes black. The VM remains responsive, however. The screen does come back momentarily in certain cases:

  • If I type Ctrl-Alt-Del, it briefly (<1sec) flashes the transition screen. The mouse icon changes when I move it over the links even though the screen is black.
  • After Ctrl-Alt-Del and launching the task manager, the desktop is visible for about 1sec with the task manager launched before turning black again.
  • After Ctrl-Alt-Del and clicking the "Switch User" button, the screen comes back showing the login screen and stays visible for as long as I remain on the login screen. All the menus and even sound works on this screen.

VM and Unraid logs don't show any kind of errors.

Does anyone have ideas? I use the recommended Splashtop Streamer.

Edited by sam19

Share this post

Link to post

Hello everyone,


I've bought a Gigabyte 1650 Mini OC 4Gb.

I've dumped the vbios with GPUZ and it gave me a file of 1022kb.

Is this ok to use or do i have to hex it?

Currently the 1650 is the 2nd gpu but i want to have it as the primary so i can free a pcie slot.


I attached the file if anyone wants to use check it or even use it.


Gigabyte GeForce® GTX 1650 Mini ITX OC 4G



Share this post

Link to post

Battling the Code 43 myself using a card in slot 1/unraid's monitor passing a ROM file. In a different slot with no ROM file, no issue with Code 43 and no workarounds in place.


Here's my Quadro ROMs

P2000.rom P620.rom

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.