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.

Guide to using AMD Radeon RX 6000 Series Cards

Featured Replies

Being an old nvidia you could have error 43 in the vm and no video output.

Nvidia in the past did not allow consumer gpus to be passed through and used in a vm: there could be workaround to add to the xml just to mask that the gpu is running in a vm and make the drivers to work.

Newer drivers don't have this issue, since nvdia is allowing gpu passthrough now.

5 minutes ago, ghost82 said:

Being an old nvidia you could have error 43 in the vm and no video output.

Nvidia in the past did not allow consumer gpus to be passed through and used in a vm: there could be workaround to add to the xml just to mask that the gpu is running in a vm and make the drivers to work.

Newer drivers don't have this issue, since nvdia is allowing gpu passthrough now.

Thank you perfect, last question, if I have the AMD bug, I could try the AMD-Vendor-reset no ?

Unfortunately I think not for your case: unraid should have the patch included, but this patch, the gnif reset vendor patch, does not include the 6000 series :(

Just now, ghost82 said:

Unfortunately I think not for your case: unraid should have the patch included, but this patch, the gnif reset vendor patch, does not include the 6000 series :(

Okay 🥲

I will do some other tests and otherwise I will pass on nvidia ..

Thanks for all your help !

I remember I read that the issue can come for the audio part of the gpu. try to remove this block in the xml:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>

in other words remove the passthrough of the audio with source address:

<address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      

and see if it crashes.

 

Another test, for shoutdown/boot (not for reboots): you can try to manually remove the gpu (video and audio) and rescan for it, and then start the vm.

You can try this and see if it works without crashing.

1. start the vm, it should output video

2. shutdown the vm

3. open a terminal in unraid and give the following commands, press 'enter' after each line:

echo "1" | tee -a /sys/bus/pci/devices/0000\:03\:00.0/remove
echo "1" | tee -a /sys/bus/pci/devices/0000\:03\:00.1/remove
sleep 1
echo -n mem > /sys/power/state
sleep 1
echo "1" | tee -a /sys/bus/pci/rescan

4. start the vm

Edited by ghost82

20 minutes ago, ghost82 said:

I remember I read that the issue can come for the audio part of the gpu. try to remove this block in the xml:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>

in other words remove the passthrough of the audio with source address:

<address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      

and see if it crashes.

 

Another test, for shoutdown/boot (not for reboots): you can try to manually remove the gpu (video and audio) and rescan for it, and then start the vm.

You can try this and see if it works without crashing.

1. start the vm, it should output video

2. shutdown the vm

3. open a terminal in unraid and give the following commands, press 'enter' after each line:

echo "1" | tee -a /sys/bus/pci/devices/0000\:03\:00.0/remove
echo "1" | tee -a /sys/bus/pci/devices/0000\:03\:00.1/remove
sleep 1
echo -n mem > /sys/power/state
sleep 1
echo "1" | tee -a /sys/bus/pci/rescan

4. start the vm

Removing audio didn't worked.

I tried the terminal and it crashed, it crashed with "echo -n mem > /sys/power/state"
Any idea ?

Just wanted to share what helped me - running a 12th gen intel cpu so it might be slightly different:

  • In bios I had to switch to uefi, disable resizeable bar, 4g decoding, SR-IOV support: Yes and for my cpu features I set this:
    image.thumb.png.999ccf5048a217722eded5a989352056.png
  • in vm manager, i had to
    • VFIO allow unsafe interrupts: Yes
    • PCIe ACS override: Disabled
  • The VM looks like this for me:
    image.thumb.png.7e52eac348bfe00de634def947660e7c.png
  • PCI Devices and IOMMU Groups - vfio log
    image.thumb.png.812d93ddd37112f283ec5fc9a9755d81.png
  • image.thumb.png.d093d4bdf4514f5cbddf4cc0284a0b76.png
  • Boot Config
    image.thumb.png.96feb8d89d7604571390b69a00759e3a.png
    But I'm not sure what was needed or not to get the graphics card runnig, in the boot config, just added it in case there is something interesting in it. Added some options to safe some power.

Edited by Blobbonator

51 minutes ago, Blobbonator said:

Just wanted to share what helped me - running a 12th gen intel cpu so it might be slightly different:

  • In bios I had to use uefi, disable resizeable bar, 4g decoding
  • in vm manager, i had to
    • VFIO allow unsafe interrupts: Yes
    • PCIe ACS override: Disabled
  • The VM looks like this for me:
    image.thumb.png.7e52eac348bfe00de634def947660e7c.png
  • PCI Devices and IOMMU Groups - vfio log
    image.thumb.png.601c5def3135de101b72e83ca09bd311.png

I already tried, what is your GPU ?

40 minutes ago, nwicone said:

I already tried, what is your GPU ?

AMD RX 6750XT

Edited by Blobbonator

6 minutes ago, Blobbonator said:

AMD RX 6750XT

Okay thanks 😃

 

On 2/21/2023 at 9:12 AM, ghost82 said:

I remember I read that the issue can come for the audio part of the gpu. try to remove this block in the xml:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>

in other words remove the passthrough of the audio with source address:

<address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      

and see if it crashes.

 

Another test, for shoutdown/boot (not for reboots): you can try to manually remove the gpu (video and audio) and rescan for it, and then start the vm.

You can try this and see if it works without crashing.

1. start the vm, it should output video

2. shutdown the vm

3. open a terminal in unraid and give the following commands, press 'enter' after each line:

echo "1" | tee -a /sys/bus/pci/devices/0000\:03\:00.0/remove
echo "1" | tee -a /sys/bus/pci/devices/0000\:03\:00.1/remove
sleep 1
echo -n mem > /sys/power/state
sleep 1
echo "1" | tee -a /sys/bus/pci/rescan

4. start the vm

Hello all, thanks ghost82 for all your help !

I finally bought a 3060 and sold the 6600.

Now it's working from the first try !

 

The only thing that is not working are the multiplayer games like Fortnite or R6.

I posted a message on this subject here :

thanks again for all your help.

Have a good day

 

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.