Im trying to pass an AMD Radeon card to my lmde7 vm but Im running into alot of issues.
On lmde6 I was using VirtIO for my vIOMMU and passthrough seemed to work, however, since updating if I use the virtIO drivers I get dropped onto an initramfs prompt so I switched my configuration to use Intel (AMD Compatible)
Unfortunately, this change is forcing me to disable PCIExpress due to this error when booking with it on:
I have tried passing the audio device associated with the card as another PCI device but that results in an error complaining that Im passing the same PCI device twice on the same system.
Im pretty certain I have all the basics set like blacklisting drivers and the necessary cmdline flags set.
I think I need the PCIexpress toggle on to get the card to pass correctly though.
On lmde6 I was using VirtIO for my vIOMMU and passthrough seemed to work, however, since updating if I use the virtIO drivers I get dropped onto an initramfs prompt so I switched my configuration to use Intel (AMD Compatible)
Unfortunately, this change is forcing me to disable PCIExpress due to this error when booking with it on:
Code:
error writing '1' to '/sys/bus/pci/devices/0000:03:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:03:00.0', but trying to continue as not all devices need a reset
kvm: -device vfio-pci,host=0000:03:00.1,id=hostpci0.1,bus=ich9-pcie-port-1,addr=0x0.1: vfio 0000:03:00.1: group 27 used in multiple address spaces
TASK ERROR: start failed: QEMU exited with code 1
I have tried passing the audio device associated with the card as another PCI device but that results in an error complaining that Im passing the same PCI device twice on the same system.
Im pretty certain I have all the basics set like blacklisting drivers and the necessary cmdline flags set.
I think I need the PCIexpress toggle on to get the card to pass correctly though.
Code:
ls -l /dev/dri/
total 0
drwxr-xr-x 2 root root 80 Oct 16 01:14 by-path
crw-rw----+ 1 root video 226, 0 Oct 16 01:14 card0
crw-rw----+ 1 root render 226, 128 Oct 16 01:14 renderD128
Code:
vainfo
Trying display: wayland
Trying display: x11
error: can't connect to X server!
Trying display: drm
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'virtio'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/virtio_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Code:
lspci | grep VGA
00:01.0 VGA compatible controller: Red Hat, Inc. Virtio 1.0 GPU (rev 01)
06:10.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT [Radeon PRO WX 3100]