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.

Windows VM via VNC doesn't detect GPU

Featured Replies

Hey all,

I'm a super newbie to all of this, so I hope you can explain this like I'm 5.

I've got a GTX 1050Ti in my server, and I've remotely installed a Windows 10 VM on it. I can VNC into it just fine, however it doesn't detect my GPU in Device Manager at all. Under 'Display Adapters', it only shows 'Red Hat QXL Controller'.

It seems this is actively preventing me from logging in via Parsec, because it gives me an error saying something like 'rendering failed on host machine'.

When I try to download and install the Nvidia drivers, it says 'the graphics driver could not find compatible graphics hardware'.

The way I understand it, is that by selecting the GPU in the VM settings, it means I'm choosing to physically pass through the signal through HDMI to a monitor - but I don't want to do this. I only want to access the machine remotely through Parsec or Steam. FYI, I also use the GPU as a transcoder for my Plex docker, so I want both the VM and Unraid to be able to access it.

I've attached my VM config. Any help?

Screenshot 2021-05-20 021344.jpg

Edited by Corvus

Hey,

 

Did you find a solution for this?

I'm trying to run an AMD Vega 64 on a Windows 10 VM, similar to you above.


I don't want to pass the video signal through, only the compute power, as I am only using the GPU to mine while my NAS is on, however whenever I enable VNC AND the GPU I'm unable to connect via VNC or Windows Remote Desktop, an issue I do not have when the GPU isn't set to pass through.

 

I also get a similar issue when trying to install NiceHash OS in a Linux / Ubuntu VM template, so I suspect this is more an unRaid issue than hardware issue.

  • Author

Well I haven't gotten a single reply to this yet, so no. I have no idea. 

Not even sure what the point is of these forums, tbh. 
What am I paying for if I can't get any support?

9 hours ago, Corvus said:

What am I paying for if I can't get any support?

You approach is quite wrong, the forum is run by limetech but it's a free type of support, where mainly other users as you reply to questions.

So if someone has time, can reply, without any obligation.

If you want support contact limetech.

Anyway, for your case, you are not passing through the video gpu so the os cannot see it; strange that it let you to boot with the only audio part passed through.

For the other question from skot4th you cannot use gpu and vnc in the same setup (through libvirt); set a gpu passthrough and install vnc in the guest.

How can a guest os use a gpu if it's not attached to it?

If you don't want to use the gpu with a monitor attached pass through the gpu and use a dummy plug.

Edited by ghost82

  • Author
7 minutes ago, ghost82 said:

You approach is quite wrong, the forum is run by limetech but it's a free type of support, where mainly other users as you reply to questions.

So if someone has time, can reply, without any obligation.

If you want support contact limetech.

Anyway, for your case, you are not passing through the video gpu so the os cannot see it; strange that it let you to boot with the only audio part passed through.

For the other question from skot4th you cannot use gpu and vnc in the same setup (through libvirt); set a gpu passthrough and install vnc in the guest.

How can a guest os use a gpu if it's not attached to it?

If you don't want to use the gpu pass it through and use a dummy plug.


What if I don't want to connect a monitor to it, but I want to allocate the GPU to it and access it through VNC to use it as a remote steam server?

1 minute ago, Corvus said:


What if I don't want to connect a monitor to it, but I want to allocate the GPU to it and access it through VNC to use it as a remote steam server?

 

9 minutes ago, ghost82 said:

use a dummy plug

and install vnc in the guest, not libvirt.

Edited by ghost82

  • Author
9 minutes ago, ghost82 said:

 

and install vnc in the guest, not libvirt.

Sorry, I don't know what you mean by 'guest' and 'libvert'?

Also, what's a dummy plug? 

Please explain like I'm 5. I literally only found out what a VM is a week before I posted this thread.

6 minutes ago, Corvus said:

Sorry, I don't know what you mean by 'guest' and 'libvert'?

Also, what's a dummy plug? 

Please explain like I'm 5. I literally only found out what a VM is a week before I posted this thread.

Consider libvirt the same as unraid, when you create a vm do not set vnc, but do a gpu passthrough (to passthrough the gpu you need to set both the video part and the hdmi audio part (which you are already passing through) ; once you boot with a monitor attached to it, download the vnc server installer and install it into the guest (the guest is your virtual machine, windows 10 or any other os).

A dummi plug is something like a usb pendrive, but instead of having a usb connector it has an hdmi connector, or dp, or vga: search "hdmi dummy plug" on google to find some images.

This device will allow your os to detect the gpu even if there is no real monitor attached: the device is in fact a monitor emulator, so you can have all the benefits of the gpu without attaching a monitor.

 

Once you have your dummi plug attached to the gpu and the vnc server installed, you can detach your monitor, and vnc to that virtual machine, which will have video acceleration now, because the os can now see the gpu.

Edited by ghost82

  • Author
2 minutes ago, ghost82 said:

Consider libvirt the same as unraid, when you create a vm do not set vnc, but do a gpu passthrough: once you boot with a monitor attached to it, download the vnc server installer and install it into the guest (the guest is your virtual machine, windows 10 or any other os).

A dummi plug is something like a usb pendrive, but instead of having a usb connector it has an hdmi connector, or dp, or vga: search "hdmi dummy plug" on google to find some images.

This device will allow your os to detect the gpu even if there is no real monitor attached: the device is in fact a monitor emulator, so you can have all the benefits of the gpu without attaching a monitor.

 

Once you have your dummi plug attached to the gpu and the vnc server installed, you can detach your monitor, and vnc to that virtual machine, which will have video acceleration now, because the os can now see the gpu.

OHH! So you mean to install the VNC server in Windows, not Unraid?
And to pass through the GPU to the dummy plug, I'll need to have a real monitor connected first?

4 minutes ago, Corvus said:

OHH! So you mean to install the VNC server in Windows, not Unraid?

yes

4 minutes ago, Corvus said:

And to pass through the GPU to the dummy plug, I'll need to have a real monitor connected first?

Yes let's say it is, in real you are passing through the gpu to your virtual machine, not the dummy plug, anyway I think you understood.

Yes, you need a monitor only for the setup, or maybe you can install with vnc server set in unraid, download and install the vnc server in windows, shutdown the virtual machine, modify the video of the virtual machine from vnc to gpu (video and audio) passthrough, attach the hdmi (or whatever plug you need) dummy plug, and connect via vnc and install the video drivers.

Anyway, I would consider to have a monitor in case of troubles during setup.

Edited by ghost82

  • Author
46 minutes ago, ghost82 said:

yes

Yes let's say it is, in real you are passing through the gpu to your virtual machine, not the dummy plug, anyway I think you understood.

Yes, you need a monitor only for the setup, or maybe you can install with vnc server set in unraid, download and install the vnc server in windows, shutdown the virtual machine, modify the video of the virtual machine from vnc to gpu (video and audio) passthrough, attach the hdmi (or whatever plug you need) dummy plug, and connect via vnc and install the video drivers.

Anyway, I would consider to have a monitor in case of troubles during setup.

Thank you so much for your patience and helpful explanation!

On 5/19/2021 at 6:15 PM, Corvus said:

FYI, I also use the GPU as a transcoder for my Plex docker, so I want both the VM and Unraid to be able to access it

One more thing, I don't think this can be done, at least use the same gpu at the same time by unraid and the vm: once the gpu is passed through to a vm, it's like the host (unraid) doesn't see it anymore.

Moreover, I would not assign all the 4 cores to the vm: your cpu has 4 cores, but unraid needs some power to run the vm, in this case I would assign 2 cores for the vm.

Edited by ghost82

  • Author
45 minutes ago, ghost82 said:

One more thing, I don't think this can be done, at least use the same gpu at the same time by unraid and the vm: once the gpu is passed through to a vm, it's like the host (unraid) doesn't see it anymore.

Moreover, I would not assign all the 4 cores to the vm: your cpu has 4 cores, but unraid needs some power to run the vm, in this case I would assign 2 cores for the vm.

Can I run a separate GPU for Plex?

46 minutes ago, Corvus said:

Can I run a separate GPU for Plex?

Sure

Archived

This topic is now archived and is closed to further replies.

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.