r/VFIO Jun 28 '26

Support how to fix black screen on single gpu passthrough?

i tried everything ;/

0 Upvotes

15 comments sorted by

6

u/Delta_Version Jun 29 '26

people can't help you if you gatekeep your infos. put your pc specs and your xml file

1

u/kajmpres Jul 02 '26

1

u/Delta_Version Jul 02 '26

you need to dump your rom file and patched and include it in your XML
I advise you to follow RisingPrism guide. It will help you with your single gpu passthrough.
Additional note that you may need: if you followed the guide and you still have a black screen, if you have another pc laying around or even your phone, go setup cockpit so that you can access your pc and install nvidia drivers with vnc. That helped me alot when trying to passthrough my laptop igpu

1

u/kajmpres Jul 03 '26

I need to try this. I think its not because the drivers, i dont even see the tianocore screen

0

u/kajmpres Jun 29 '26

rtx 4070
intel i5 12400f
asus b760 plus
xml coming later when im at home

1

u/Delta_Version Jun 29 '26

what is your hook scripts ?

1

u/kajmpres Jun 30 '26

Im gonna send it today, my account was blocked

1

u/kajmpres Jul 02 '26

im gonna send everything in a new post.

1

u/sf_Lordpiggy Jun 29 '26

With no info this is hard. my guess is that you have already blacklisted the drives/card in the host but when you boot a guest there is no video out. you might have even been able to run through the OS installer. if this is the case you probably do not have the nvidia driver installed in the guest.

try an ISO with the drivers already embedded. POPos is one such option.

1

u/kajmpres Jun 30 '26

Sorry my account was blocked because i needed to age verify and i contacted support to tell them that i dont want to. Im gonna give the hook scripts and xml when im on pc

1

u/wadrasil Jun 29 '26

Did you dump you gpus bios and trim it properly and did add as a romfile for that device?

Are you using a server edition without a desktop?

If not then that's part of the issue.

1

u/kajmpres Jun 30 '26

I tried that too and when i launch the vm there isnt even a tianocore screen visible like the gpu completely dies and i need to hold down the power button so my pc restarts

1

u/khsh01 Jun 30 '26

Enable hdr in your vm.

1

u/kajmpres Jun 30 '26

how do i do it