** VIDEO GUIDE How to Start & Stop VMs (that use passthrough) on Unraid Servers with only 1 GPU **


SpaceInvaderOne

Recommended Posts

Swapping from one VM (with GPU passthrough) to another on a server with only 1 gpu, we normally shutdown the vm and use another computer to loginto the webUI and start up another VM.

If you dont have another computer or just dont want to have to grab your laptop etc each time you want to jump onto another VM. We can use a script to do it all from the VM you are using.

 

Link to comment

Awesome video as always. There's been some thoughtful contributions added to the script in your Reddit post, allowing the running VM to automatically shut down (gracefully) and reboot to the targeted VM.

 

My main question doesn't pertain to the actual video topic, but I was curious how you're able to passthrough a Nvidia Pascal card (gtx 1080ti) successfully to Catalina? I've been stuck on High Sierra for far too long while waiting for the release of "big Navi".

 

EDIT: For those that come across this post in the future- Spaceinvaderone replied to someone asking the same question on his Patreon page. 

 

Quote

Unfortunately still no drivers for Nvidia GPUs from Mojave onwards. When making the video I removed my RX570 so i only had one GPU in the system. My Catalina uses the RX570. After removing the 570 I just temporarily pointed the macOS vdisk to a high sierra vdisk and used the 1080ti but didnt change the title of the vm. After making the video I put back the rx570 and repointed the vm back to the Catalina vdisk. Sorry that this has caused you to wonder if Nvidia would work in Catalina.

 

Edited by Kudagra
Link to comment
  • 1 month later...
  • 1 year later...

I've written a script that improves on this idea by automating shutdown and iterating over a given list of VMs. If anyone wants it, it's free to use at will: https://github.com/rcortese/unraid-scripts-collection (it's the only script on this repo as of now "scripts/alternate_vms.sh". Maybe later there will be more.)

Right now I've created a tab that executes it as instructed by @SpaceInvaderOne, and it works great from within or without the VM. No need to manually do anything other than start it.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.