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.

Using A Passthru GPU But Still Would Like To Access Via VNC From Unraid - How ?

Featured Replies

Hi all,

 

I have a working PC with a nvidia card - works fine.

 

RDP works fine too but Windows 11 been Windows 11 some features get locked out (such a changes to the PIN services).

 

I've worked around using Teamviewer but it can be a bit iffy some times.

 

This came about as I am building a gaming vPC (no screen or KB attached to the server) and needed to change things so it would autolog on...

 

Does any one have a suggestion on how to keep the pass through GPU in place but still enable the VNC menu option in Unraid once a VNC server is installed on the VM ?

 

I have a feeling this is a no but thought if would be worth asking.

 

Thanks


T

Edited by ccsnet

Solved by ghost82

  • Solution

It should be possible if you add an emulated gpu as primary in the xml.

vmvga should be preferred as model for compatibility (it's like 'vmware compatible').

This will result in something like this:

    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vmvga' vram='9216' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>

vram can be tweaked if necessary.

address 00:02.0 should be used for the emulated primary gpu.

 

Note that this will set the primary gpu to the emulated one, so the os will use it by default, defeating the purpose of the discrete gpu passthrough..but this depends on the user case.

 

I would try to avoid this and solve the issues with a vnc server/teamviewer or whatever you want installed inside the vm.

  • Author

Thanks for answering. 

 

Terran

I've used ghost82s method before and it does work. You can also set most newer versions of Windows 10 to mirror between the basic display adapter and the real video card. The nice part of this setup is you can get video out from the VM even if it doesn't boot successfully, unlike with vnc or RDP running in the guest.

 

However, some 3D software does play nice in this configuration because it gets confused by the primary adapter not supporting features it needs.

  • Author
55 minutes ago, scorcho99 said:

I've used ghost82s method before and it does work. You can also set most newer versions of Windows 10 to mirror between the basic display adapter and the real video card. The nice part of this setup is you can get video out from the VM even if it doesn't boot successfully, unlike with vnc or RDP running in the guest.

 

However, some 3D software does play nice in this configuration because it gets confused by the primary adapter not supporting features it needs.

Good call on the mirroring...

 

T

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.