[Bug 209457] AMDGPU resume fail with RX 580 GPU

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Thu Oct 1 19:36:54 UTC 2020


https://bugzilla.kernel.org/show_bug.cgi?id=209457

--- Comment #4 from Robert M. Muncrief (rmuncrief at humanavance.com) ---
You are correct, the restored 5.8.5 dmesg output doesn't have the full output
either, and it's the only other output I can find in my backups. I apologize
for my error.  

Unfortunately I can't remove my VFIO setup for any extended period of time
because I'm working on a project with other musicians that demands I use my
Windows 10 VM daily for software that has no Linux alternative. There is other
almost-equivalent software that could have been used (which I actually prefer)
but the other musicians aren't willing to switch to Linux. In their defense
they did all try quite awhile ago, but it was just to difficult for them, and
their frustration ended up causing anger and contention among our group.  

In any case here's my VFIO passthrough setup:  

/etc/default/grub boot command line:  

GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 video=efifb:off audit=0
acpi_enforce_resources=lax rd.modules-load=vfio-pci amd_iommu=on iommu=
pt"  


/etc/modprobe.d/kvm.conf:  

options kvm_amd avic=1  


/etc/modprobe.d/vfio.conf:  

options vfio-pci disable_vga=1  
softdep amdgpu pre: vfio-pci  
softdep radeon pre: vfio-pci  
softdep ahci pre: vfio-pci  
softdep xhci_pci pre: vfio-pci  
install vfio-pci /usr/local/bin/vfio-pci-override.sh  


/usr/local/bin/vfio-pci-override.sh  

```
#!/bin/sh

DEVS="0000:0b:00.0 0000:0b:00.1"

if [ ! -z "$(ls -A /sys/class/iommu)" ]; then
    for DEV in $DEVS; do
        echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
    done
fi

modprobe -i vfio-pci
```

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list