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.

Error when passing gpu to vm

Featured Replies

Hi guys. I am trying to pass my gpu into my vm.

 

IOMMU Info:

 

IOMMU Group 16:
        26:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] [10de:1e81] (rev a1)
        26:00.1 Audio device [0403]: NVIDIA Corporation TU104 HD Audio Controller [10de:10f8] (rev a1)
        26:00.2 USB controller [0c03]: NVIDIA Corporation TU104 USB 3.1 Host Controller [10de:1ad8] (rev a1)
        26:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU104 USB Type-C UCSI Controller [10de:1ad9] (rev a1)

 

Error:

 

internal error: qemu unexpectedly closed the monitor: 2022-02-14T05:55:54.470356Z qemu-system-x86_64: -device vfio-pci,host=0000:26:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio 0000:26:00.0: group 16 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver.

 

image.thumb.png.3c6117a4c0499409a156c0be82f062d9.png

You probably passed to the vm only video and audio (26:00.0 and 26:00.1).

These components are attached to vfio when you start the vm, but 26:00.2 and 26:00.3 are not, they are bound to their drivers in the host (different from vfio-pci).

Since the gpu is a single device, this cannot operate correctly.

 

Attach to vfio at boot the whole iommu group 16: all the devices should be attached to vfio at boot.

Add to the vm xml also 26:00.2 and 26:00.3 for passthrough.

Setup all these components in a multifunction device.

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.