ilayna/Single-GPU-passthrough-amd-nvidia

Can not return to ubantu when shutdown vm,get black screen

Jotalz opened this issue · 1 comments

Jotalz commented

CPU: Ryzen 5 5600X
GPU: RTX 4060ti
Kernel Version:5.15.0-91-generic
OS: Ubuntu 20.04
driver in ubantu:535 server
The following is the most recent shutdown script execution log:
`+ sleep 10

  • modprobe -r vfio_pci
    modprobe: FATAL: Module vfio_pci is builtin.

  • modprobe -r vfio
    modprobe: FATAL: Module vfio is builtin.

  • modprobe -r vfio_iommu_type1
    modprobe: FATAL: Module vfio_iommu_type1 is builtin.

  • modprobe -r vfio_virqfd
    modprobe: FATAL: Module vfio_virqfd is builtin.

  • virsh nodedev-reattach pci_0000_08_00_0
    Device pci_0000_08_00_0 re-attached

  • virsh nodedev-reattach pci_0000_08_00_1
    Device pci_0000_08_00_1 re-attached

  • echo 1

  • echo 1
    /bin/vfio-teardown.sh: line 15: /sys/class/vtconsole/vtcon1/bind: No such file or directory

  • echo efi-framebuffer.0

  • modprobe nvidia
    modprobe: ERROR: could not insert 'nvidia': No such device

  • modprobe nvidia_modeset
    modprobe: ERROR: could not insert 'nvidia_modeset': No such device

  • modprobe nvidia_uvm
    modprobe: ERROR: could not insert 'nvidia_uvm': No such device

  • modprobe nvidia_drm
    modprobe: ERROR: could not insert 'nvidia_drm': No such device

  • modprobe drm_kms_helper

  • modprobe i2c_nvidia_gpu

  • modprobe drm

  • sleep 10

  • systemctl start gdm3`
    When the vm is shut down, the screen remains black and and displays the words No Signal,but I can still connect to ubantu with ssh.I've tried starting the display manager again using the ssh command but that didn't work.
    in addition. I uploaded win10.log and libvirtd.log, I wonder if it will help?