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 randomly stops working, no apparent error, 3060 might be to blame...

Featured Replies

Evening,

 

I am banging my head against a brick wall with this problem and so I'm hoping someone can point me in the right direction.

 

I'm trying to set up a Windows 11 VM. Everything goes fine, I pass through the 3060 graphics card with the relevant bios and I'm set. Then after varying periods of time, it will simply fail to start. It no longer registers on the network, no image on the monitor, can't RDP in, no errors (that I can see) in the log, nothing.

 

I've deleted and started over 9 times over the past few days, even tried with Windows 10, but each time the same thing happens. Other than the server being on and the VM being off, nothing is happening to the server. I have started the VM several times over the last few hours and on this occasion everything seemed to be fine, but I've just come to start it up again and nothing.

 

I have attached screenshots of the VM template and the VM log. I can provide the system logs if they are needed.

 

Any suggestions would be greatly appreciated. If any further information is required, please let me know.

 

Many thanks.

 

***UPDATE***

After endless reboots, I read on another topic that the on board Nvidia audio also needs to be bound in the VM template otherwise that can cause issues, so I have done that and rebooted the server. On a side note, I initially stopped binding the audio as I thought that was causing the issue in the first place. Anyway, the VM now boots, but I can only access via RDP as the 3060 is not showing up in the Device Manager.

 

Screenshot_20230101_200211_Firefox.thumb.jpg.6f824a2f9be0421eeb7937b46e236425.jpg

Screenshot_20230101_200234_Firefox.thumb.jpg.e6a65f0e63912f5e03f90f76714efc98.jpg

 

 

Screenshot_20230101_200315_Firefox.thumb.jpg.846a6c687f362be3d8b4ac2207b7140f.jpg

Screenshot_20230101_200335_Firefox.thumb.jpg.b8bb55fb26cdb9bf0c94f6112dda3563.jpg

Screenshot_20230101_200349_Firefox.thumb.jpg.3a0ff0efa719f3271b4d8612a82e9c26.jpg

 

Screenshot_20230101_202351_Firefox.thumb.jpg.0b7d5e26b405becf9b7668283dca7859.jpg

 

1748557717_Screenshot_20230101_204127_MicrosoftRemoteDesktop.thumb.jpg.7b335c6d1f1b705e67c25a6b68fefce8.jpg

Edited by BeardedNoir

  • unraid888 changed the title to VM randomly stops working, no apparent error, 3060 might be to blame...

Can you post the VM's xml?

 

I always edit the xml directly as the UI is making changes that aren't proper, I only use the UI for the initial VM setup.

 

There is an issue in 6.9.2, not sure in newer versions of Unraid, that the video and audio parts are not passed properly via the UI, you need to manually edit the xml.

 

Here's mine:

 <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x85' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/vbios/HP.RTX3090.24576.210310.rom'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x85' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>
    </hostdev>

You will need to edit the xml, add "multifunction='on'/>" on the 1st device, which is the video portion of the card, and note the slot and function.

You then modify the 2nd device, which is the audio portion of the card, to the same slot but with function '0x1'.

So "bus='0x85' slot='0x00' function='0x0'" translates to 85:00.0.

And "bus='0x85' slot='0x00' function='0x1'" translates to 85:00.1.

image.thumb.png.e60a6d4935b7701d4cfd122856c33041.png

 

Is the VM stable when you don't pass the GPU?

  • Author

Hi,

 

Thanks for the suggestion.

 

After many hours I finally tried i440fx-7.1, that finally did the trick and the VM seems stable so far. Fingers crossed it remains.

  • unraid888 changed the title to [SOLVED] VM randomly stops working, no apparent error, 3060 might be to blame...

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.