Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot start VM with Nvida gtx 1050

Featured Replies

Hello,

Trying to passthough a gtx 1050 loaded the nvida driver app for unraid used spaceinvaderone vbios dump to get the vbios have the card and vbios in the VM getting this error also getting error? The GTX is in grp 15 but don't understand the rest? The box to bind VFIO to boot is greyed out if that matters.

ASUS TUF Gamining B550-PLUS MB

Ryzen 7-3700x

 

image.thumb.png.f9d419338164c96b68f439979dd20165.png

 

image.thumb.png.5f191c9f856636f3907c6b8106a86367.png

deathstar-diagnostics-20210707-2134.zip

Edited by Kodiak51103

8 hours ago, Kodiak51103 said:

Trying to passthough a gtx 1050 loaded the nvida driver app for unraid used spaceinvaderone vbios dump to get the vbios have the card and vbios in the VM getting this error also getting error?

Your gpu is in a iommu group with other devices: use acs override, you need to split the iommu group to have the gpu (audio and video) in its group (or have the audio part of the gpu in its iommu group and the video part in its iommu group).

You need also to put audio and video in the same multifunction device, so you need to change from:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/vbios/GTX 1050.rom'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>

To:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/vbios/GTX 1050.rom'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
    </hostdev>

 

Edited by ghost82

  • Author

Made the changes but still not working same error msg. Did I miss something?

 

 <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/vbios/GTX 1050.rom'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
    </hostdev>

20 minutes ago, Kodiak51103 said:

Did I miss something?

yes, as I wrote you need to apply acs override (downstream, multifunction), then check again iommu groups.

  • Author

Sorry about that. Now it's enabled I reran the vbios dump said to bind gpu to vfio did that (rebooted) but getiing new error when running it? Also VM will start but cannot open it?

 

image.thumb.png.8e1cd4410bcc82846f55910dab0c4b2e.png

 

image.thumb.png.0bd532baf42e59fd8354ddd244134bd8.png


Okay dumping vbios file named to the location /mnt/user/isos/vbios/
/tmp/user.scripts/tmpScripts/VBIOS Dump/script: line 301: /mnt/user/isos/vbios/: Is a directory

Um.... somethings gone wrong and I couldn't dump the vbios for some reason
Sometimes when this happens all we need to do to fix this is 'stub' or 'bind to the vfio' the gpu and reboot the server

This can be done in Unraid 6.8.3 with the use of the vfio config plugin or if you are on Unraid 6.9 or above it can be done
directly from the gui in Tools/System Devices .....So please do this and run the script again

 

image.thumb.png.91422ea6709382aeecfaec0f534fb247.png

Edited by Kodiak51103

36 minutes ago, Kodiak51103 said:

Also VM will start but cannot open it?

what do you mean by "cannot open"?if you want to connect with vnc you need to install a vnc server app into the operating system of the vm. It is not possible to have both gpu passthrough and built in vnc. Attach a monitor to the gpu you are passing through and you should see the vm booting.

I didn't understand the other part of your message.

Edited by ghost82

  • Author

Sorry lol forgot monitor installing windows now. Thanks again

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.