You are not logged in.

#1 2021-06-28 20:28:00

Wojnstup
Member
Registered: 2021-06-28
Posts: 1

Single GPU passthrough blackscreen

I'm trying to virtulize a Windows 10 system using single GPU passthrough. I configured everything like the guides told me to, everything seems to work, but I get a black screen after starting the VM. I'm on Arch Linux using Nvidia GeForce GTX 1060 6GB GPU and Intel i3-8100 CPU. I've enabled both virtualization technology and iommu in UEFI and I'm using an Xmonad window manager setup. Just to clarify, I get no errors and after ssh-ing into my system I can see the VM consuming RAM but the graphics card seems to not give any output.

The guide I followed: https://www.youtube.com/watch?v=BUSrdUoedTo&t=657s

This is the output I got from running start.sh script with ssh:

    source /etc/libvirt/hooks/kvm.conf ++ VIRSH_GPU_VIDEO=pci_0000_01_00_0 ++ VIRSH_GPU_AUDIO=pci_0000_01_00_1

    pkill xmonad

    pkill xorg

    echo 0

    echo 0

    echo efi-framebuffer.0 ./start.sh: line 16: echo: write error: No such device

    sleep 10

    modprobe -r nvidia_drm

    modprobe -r nvidia_modeset

    modprobe -r nvidia

    modprobe -r drm_kms_helper

    modprobe -r drm

    virsh nodedev-detach pci_0000_01_00_0 Device pci_0000_01_00_0 detached

    virsh nodedev-detach pci_0000_01_00_1 Device pci_0000_01_00_1 detached

    modprobe vfio

    modprobe vfio_pci

    modprobe vfio_iommu_type1

Offline

#2 2021-06-29 07:55:54

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: Single GPU passthrough blackscreen

Does this help?

Offline

Board footer

Powered by FluxBB