Jump to content

Cannot get new gpu to passthrough to Linux Mint VM...


Recommended Posts

I have been at this for a while.

 

I have never been able to figure out gpu passthrough to vm. I recently purchased a new amd gpu with hopes this would finally make things a little easier.

 

I did see this work 1 time. There was 1 instance that I started the vm with gpu assigned and in the vm, i saw the gpu in the settings menu. never have seen it since.

 

the goal here is to use 2 gpus. i have 1 nvidia gpu in unit and this gpu is set up with nvidia unraid driver plugin and used by jellyfin for transcodes. I have another gpu (amd) that i want to use for vms.

 

I am using no machine to remote into vm from laptop.

 

Here is my xml for the vmVM XML. I have had many variations of this, with changes suggested by spaceinvader vids. I wanted my submission here to be pretty vanilla with only what would be set up by noob template config.

 

Below are my IOMMU groups. From what I remember in all the vids I have watched, these should be fine. I have both gpus seperate enough to not be an issue. please let me know if I have that incorrect. IOMMU info also here in text IOMMUsince screen cap didnt get all relevant info.

IOMMU.thumb.png.5c35706b2f529c4b06755a00c471c32d.png

 

I have had several different configs in vm manager settings for acs override. as i said above, i dont think my iommu are a problem, so I currently have acs override disabled.

1954070081_VMManager.thumb.png.2e149eafdc574d90aa9669986a624b43.png

 

When i open vm and check system settings, it does not look to see any gpu. see "upload system information" export here.Upload System Information

 

Finally, I the vm logs are shown here, VM Logs.. Not sure what I am even looking for here. but I am sure this will be needed to determine why it is not working.

 

Thank you for any help that can be offered. Really want to make this happen.

Link to comment

I'm no expert but from your IOMM groupings it looks like you dont have the Radeon GPU binded to the VFIO. Select the two boxes next to the Green dots and reboot your server. Select the GPU in your Linux Mint template and attempt to boot.

 

I too have two GPUs in my setup, one 3080 and one 1080. I have the 3080 not binded to the VFIO i use it with the steam headless docker I have the NVidia plugin installed so it sees only the 3080 to use with docker. I have the other GPU 1080 binded to the VFIO to use with VM's, this does not show in the nvidia plugin.

 

Make sure you can boot the VM without selecting the GPU for sound and video, to make sure you have the VM set up correctly. ( using the virtural display)

 

Also, I am currently using Linux mint as well. But when I set up the VM I ran into multiple issues with getting the VM to run properly. I had to use the Ubuntu VM template but use the iso for Linux Mint to get my install to work properly.

 

Hope this helps good luck!

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.

×
×
  • Create New...