QaidVoid/Complete-Single-GPU-Passthrough

Nvidia Code 43

limendoza opened this issue · 6 comments

I followed everything in the guide except I changed the Device Model from virtio to e1000e in NIC since I couldn't get the internet working. I encountered Code 43 any ideas how to resolve this? Thanks

I tried the solution given but I encountered 2 behaviors:

  • video=vesafb:off vga=off

Just stuck in a black screen.

  • video=vesafb:off,efifb:off vga=off

This one works and the GPU passthrough works and code 43 issue is gone, however when I shutdown the machine it will be stuck on black screen.

Add the following to the top of libvirt stop script, replacing username..
This will create the log file at ~/virsh_log..

exec 19>/home/username/virsh_log
BASH_XTRACEFD=19

The log should show if anything is failing.

Yeah I tried it. Below here is the content of the log.

`

  • modprobe -r vfio-pci
  • virsh nodedev-reattach pci_0000_07_00_0
  • virsh nodedev-reattach pci_0000_07_00_1
  • echo efi-framebuffer.0
  • modprobe nvidia_drm
  • modprobe nvidia_modeset
  • modprobe nvidia_uvm
  • modprobe nvidia
  • echo 1
  • echo 1
  • systemctl start display-manager
    `
    Hmm. I'm not sure what am I missing. Is there any other logs that I can check?

Try running the VM without unbinding VTConsoles.

If that doesn't work, SSH into the machine and run the commands from stop script manually after shutdown (remove release script from libvirt before starting VM)..

If nothing works, the best thing you can do is to reboot the machine on stop script instead of restarting display-manager.

stale commented

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.