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.

GPU Passthrough is EASY - Here's how

Featured Replies

1 hour ago, PUNGGOKERS said:

My RTX 4060 and 5050 doesn't want my GPU to be binded with its sound card

That's why I don't suggest binding VFIOs, it's not necessary in most situations, and can cause issues, especially on newer equipment, like yours.

  • 1 month later...
  • Replies 84
  • Views 105.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Yes the docker needs to use the host based drivers. As soon as you bind to vfio the host cannot no longer use the card and hence the docker does see the card.   You either need to have two c

  • RaidUnnewb
    RaidUnnewb

    Jesus, this took me a couple hours to troubleshoot.... I couldn't figure out what you were talking about by adding a second video card.   Theres a tiny easily missed plus button to add mor

  • First off, @dopeytree , this is a great guide, very concise! Thanks for sharing it with us. I just want to clarify and update few things, since it's been a couple years, and I'm sure folks are still

Posted Images

Hey Everyone. I have a question.

I have only 1 GPU in my Server (Nvidia 1050 ti)

I wanna pass it through to a VM so I can use it to transcode video with DVDfab. Is that possible with this method?

Also: will Plex still be able to use that GPU when the VM is running?

15 minutes ago, psxmicha said:

Is that possible with this method?

Yes, assuming that you're running DVDFab in the VM.

15 minutes ago, psxmicha said:

will Plex still be able to use that GPU when the VM is running?

Not unless Plex is also running within that same VM.

  • Author

As far as I understand - DVDFab doesn't need a GPU (only plex does).


So you have 2x options.

1 - Run the VM and carry on with DVDFab BUT use a software graphics card.
2 - Swap to a docker container method that can make use of GPU if you want to RIP & process the DVD files further

3 - eg = https://github.com/jlesage/docker-makemkv

Edited by dopeytree

thx everyone! I definitely wanna use DVDfab and not MakeMKV. I'll give it a try!

Too bad that my plex docker can't use the GPU then, but I can live with that

  • 2 months later...

This solution is working for me as of version 7.2.3.

  • 2 months later...
On 8/27/2025 at 11:36 AM, Elmojo said:

First off, @dopeytree , this is a great guide, very concise! Thanks for sharing it with us.
I just want to clarify and update few things, since it's been a couple years, and I'm sure folks are still searching for this now and then (I was!).


Here are the original instructions, with a few notes/edits, to make it even easier!

GPU passthough is much easier than made out.

You don't need to do any of the stuff in videos..

 

Set up the VM with software VNC.

Load the VM.

Click to open VNC in web browser.

Install windows etc.

Set up windows user.

Close VM.

 

Then Go to top menu choose unraid -> tool system -> devices (This might say - In top navigation bar: select Tools > System Devices. Under PCI Devices and IOMMU Groups) scroll down and tick the NVIDIA GPU or AMD GPU & its soundcard. (scroll to bottom of section and click [Bind Selected to VFIO at Boot] ONLY if you plan to use your GPU with both VMs and Docker containers. If you are only using it for VMs, this step is not required)

Reboot unraid.

***NOTE: If you don't bind to the VFIO, there's no point in checking the boxes, and you might at as well skip this step, and save yourself a reboot. ;)

 

Edit VM.

Add 2nd graphics card choose your AMD or Nvidia device. (It's the small [+] at the lower left of the Graphics Card section when you're in Edit mode for the VM. Note that the VM must be stopped to make edits. duh.)

Add sound card choose your AMD or Nvidia device. (same as for the GPU)

Apply.

 

Start VM.

It should automatically install basic drivers for the card.

Now go to amd or nvidia websites and download the drivers for your card.

Run the installer for your card.

Reboot VM.

 

Now you have a gaming VM.

Enjoy.

Thanks again to @dopeytree for the awesome write-up! It got me from zero to pass-thru with very little fuss.
Now I just have to figure out how to get decent performance over an RDP connection... ;)

I tried to follow all these steps and none seemed to work. I didn't get the checkboxes when I went to System Devices, and I don't get the choice to add a second GPU to a VM. I tried on an existing VM and a brand new one, but neither one worked. My server is registering the GPU which is highlighted in one of the screenshots.

Could someone please help me? I have taken screenshots and added the diagnostic file for you to review.

Screenshot 2026-03-08 131306.png

Screenshot 2026-03-08 131231.png

tower-diagnostics-20260308-1313.zip

1 minute ago, sneville83 said:

I didn't get the checkboxes when I went to System Devices

Gigabyte Technology Co., Ltd. - X58A-UD3R

Hardware too old to support VT-d passthrough

4 minutes ago, Kilrah said:

Hardware too old to support VT-d passthrough

Oh okay. Thank you very much.

  • 3 weeks later...
  • Community Expert

Hey all, Im having trouble passing through my GPU to a windows 11 VM. its a 5060TI. ive already bound them to vfio at boot. this is the error i am getting. internal error: QEMU unexpectedly closed the monitor (vm='Windows 11'): 2026-02-27T04:39:25.438078Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:01:00.0","id":"hostdev0","bus":"pci.4","addr":"0x0"}: vfio 0000:01:00.0: failed to setup container for group 12: Failed to set group container: Invalid argument

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.