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.

[SOLVED] VM+gpu stutters when 2nd GPU assigned to Plex begins transcoding

Featured Replies

Tried searching for this but didn't even know how to phrase it right.

 

So this is what's happening.

 

Got a VM with GPU passed in - VM is a nvme passthrough.  << This part's working, cool.

 

Got a second GPU intended to handle Plex transcodes.  NVIDIA plugin installed, drivers installed, GPU passed into Plex container, Plex setting to enable HW transcoding done.  Plex is running, cool.

 

Now, when I play something through Plex and force a transcode, the VM freaks out and start freezing and just being generally unusable.  In fact, without even playing anything on Plex, if I run nvidia-smi through terminal, the VM also starts to lock up and freaks out.

 

So it appears the two GPUs in my system are linked and putting one under load is affecting the other?

 

Attached diagnostics.

jfs-diagnostics-20200629-1643.zip

Edited by thisguyhere

What is your setup? 

In what slot are the two gpu:s connected? 

 

  • Author

  

11 hours ago, TIE Fighter said:

What is your setup? 

Ryzen 3900x

Gigabyte B550 Aorus Pro

  

12 hours ago, TIE Fighter said:

In what slot are the two gpu:s connected? 

 

Hope this isn't too messy.

 

Actually I just tried running Plex with HW transcoding while the VM is shut down, and it definitely isn't working normally.

 

On the previous server, using the same GPU (1050), streams with HW transcode would play almost immediately.  Right now, it hangs for a while.  And then if I play another stream, nvidia-smi reports only one process despite two streams.  Previously all streams would be reported in nvidia-smi.

 

There's definitely something funky going on, will need more troubleshooting.

 

01.thumb.png.017636d6dd36de33675b3f7b25478ba3.png

Edited by thisguyhere

  • Author

Hm...all I did was swap the gpus in each other's pcie slots and it's resolved this issue.  Not sure why that would have an impact, but...there you go.

 

image.thumb.png.b975849ca4f62bc838b52fb82507e3a8.png

Is there a reason you have all the acs override options on? I'm mostly asking because I don't know if its required for this chipset or not since its so new!

  • Author
10 hours ago, scorcho99 said:

Is there a reason you have all the acs override options on? I'm mostly asking because I don't know if its required for this chipset or not since its so new!

everything was bunched up and nvme vm passthrough would not work without it enabled.

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.