Good day, I have some really hard time getting my GPU passed through to a VM, my current host is Linux Mint 21.1. The bios setting is fine, but for some reason I get a black screen every time the VM starts. I have narrowed it down to the startup hook script, where it is stuck (meaning it wont do the following) when it is doing the ‘virsh nodedev-detach’ instruction.

virsh nodedev-detach pci_0000_09_00_0 virsh nodedev-detach pci_0000_09_00_1

Following the instructions of the following link: https://www.reddit.com/r/VFIO/comments/n35k69/successful_6800_xt_passthrough_are_such_posts/

I’m not sure if the card itself have limitations, or is it LM. Just want to confirm whether I am wasting my time on this card? Or if it is the combination of both Linux and my GPU I’m basically try to do a single GPU pass-through with scripts that will release GPU from host and pass through to VM, till the VM is shut down, then the host have control over the GPU again.

  • nitrolife@rekabu.ru
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    You have one GPU card? If yes you need some additional hooks (kill DE sessions, stop X, etc). Look here: https://github.com/joeknock90/Single-GPU-Passthrough .

    UPD: Sorry. I read the reddit post. So you pass through single GPU. You load GPU bios when Windows load?

    In general, such a configuration will be quite complicated, but if you want to try, show the VM configuration and the start hook. Without this not easy to say.