[Resolved] Primary GPU passthrough


34 posts in this topic Last Reply

Recommended Posts

  • 4 weeks later...
On 4/12/2020 at 12:03 PM, SveDo said:

Hello!

The same problem, the last three days I’ve been trying all the tips, nothing helps.

 

5 hours ago, JamesAdams said:

I follow the tutorial and it's not worked for my 1050Ti...



When you each say you followed the tutorial, does that include the framebuffer unbind as a user-script that runs with each each array start?

Also note that quite a few of us have not been able to get a bios posted from TPU to post our GPUs, but editing the bios dumped form our actual card worked.

 

 

Edited by paperblankets
Link to post
  • 4 months later...

Hey all I’m getting similar problems with my 1050ti my VM seems to work but with no graphics output I don’t even see unraid load up screen now I think my vbios is ok since I’ve been on my VM previously playing games on it when I update to 6.9.0 beta 29 the Vm worked for two days before screen went blank with cpu cores going crazy so I force shutdown VM and haven’t had no hdmi output since pls help.... Vm seem to work in background but can’t see nothing....

Edited by Dava2k7
Link to post
46 minutes ago, Dava2k7 said:

Hey all I’m getting similar problems with my 1050ti my VM seems to work but with no graphics output I don’t even see unraid load up screen now I think my vbios is ok since I’ve been on my VM previously playing games on it when I update to 6.9.0 beat 29 the Vm worked for two days before screen went blank with cpu cores going crazy so I force shutdown VM and haven’t had no hdmi output since pls help.... Vm seem to work in background but can’t see nothing....

I have not been passing through a gpu to a vm in the last few months. Eventually I will be transitioning to a Ryzen build and may be able to help more. I suspect some things have changed but I don't know what they are at this time.

Link to post
43 minutes ago, paperblankets said:

I have not been passing through a gpu to a vm in the last few months. Eventually I will be transitioning to a Ryzen build and may be able to help more. I suspect some things have changed but I don't know what they are at this time.

Yeah thank you I’m not sure what’s happened either I’ve looked around different comments everything points to vbios and I got mine from techpowerup but mine was working for months on 6.8.3 using that vbios I lost Vm completely in 6.9.0 beta 25

Link to post
  • 1 month later...
On 10/5/2020 at 12:22 PM, Dava2k7 said:

Yeah thank you I’m not sure what’s happened either I’ve looked around different comments everything points to vbios and I got mine from techpowerup but mine was working for months on 6.8.3 using that vbios I lost Vm completely in 6.9.0 beta 25

Check to start Unraid without the passthorugh in the vfio (Remove completly the video card and audio), and just try to start the VM, it have to take it away from unraid and boot without problems.

Link to post
  • 2 weeks later...
On 12/4/2019 at 11:44 PM, jazzy192 said:

You sir, are a bloody legend! Spent about five hours trying to get my Nvidia 1980 Ti passed through but just got failed to map rom or code 43. Touch wood it carries on working!

 

Thank you

my GOD this helped me to solve NVME and GPU passthrough...  THANKS TO ALL ! ! ! 

Link to post
  • 2 months later...
On 5/3/2018 at 6:46 AM, bigjme said:

----------- ANSWER --------

 

For easy reading, this was the answer needed. In the event that you get mmap errors on passing through the rom, or you install the nvidia drivers and get errors like the above, try running the following in command line and try again

 

echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

 

I added these to a user script that triggers on first array boot up. I have now successfully remove a gpu i no longer need from my system and am able to reboot unraid and have the vm auto start on the primary gpu

 

Don't mean to Necro, but this solved it for me. Thanks a lot.

 

If you are looking at your VM Logs by clicking on your VM and clicking Logs, and you're seeing:

2021-03-06T06:32:32.186442Z qemu-system-x86_64: vfio_region_write(0000:09:00.0:region1+0x1be6ba, 0x0,1) failed: Device or resource busy

Try the fix above. It worked for me.

 

The Hardware I'm running:

ASUS Prime X570-Pro

Ryzen 7 3700x

ASUS Strix GTX 1060 Gaming

 

Best of luck.

Edited by Celsian
spelling
Link to post

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.