Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

Graphical Environments & Desktops • [Solved] Adding firmware for amdgpu?

$
0
0
I recently made the switch over and wanted to setup everything up the way I had it before. Everything has gone very well except for the GPU Passthrough.

The problem is that it hangs on boot after adding the VGA controller id to the vfio.conf. When I add just the audio device (and not the VGA) of the same GPU, the system boots, kernel driver is vfio-pci, happy days.
When the VGA controller is added, the system hangs on boot with no obvious error messages, the last line reading "VFIO - User Level meta-driver version: 0.3"

Im running an intel CPU with an AMD 5700XT GPU

lspci -vnn

Code:

03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c1) (prog-if 00 [VGA controller])Subsystem: ASRock Incorporation Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1849:5103]Flags: bus master, fast devsel, latency 0, IRQ 131, IOMMU group 2Memory at 4200000000 (64-bit, prefetchable) [size=8G]Memory at 4100000000 (64-bit, prefetchable) [size=2M]I/O ports at 4000 [size=256]Memory at 9f800000 (32-bit, non-prefetchable) [size=512K]Expansion ROM at 9f880000 [disabled] [size=128K]Capabilities: <access denied>Kernel driver in use: amdgpuKernel modules: amdgpu03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]Flags: fast devsel, IRQ 255, IOMMU group 2Memory at 9f8a0000 (32-bit, non-prefetchable) [disabled] [size=16K]Capabilities: <access denied>Kernel driver in use: vfio-pciKernel modules: snd_hda_intel
Groups:

Code:

Group 0:[8086:9bc5] [R] 00:02.0  VGA compatible controller                CometLake-S GT2 [UHD Graphics 630]Group 1:[8086:9b43]     00:00.0  Host bridge                              10th Gen Core Processor Host Bridge/DRAM RegistersGroup 2:[8086:1901]     00:01.0  PCI bridge                               6th-10th Gen Core Processor PCIe Controller (x16)[1002:1478] [R] 01:00.0  PCI bridge                               Navi 10 XL Upstream Port of PCI Express Switch[1002:1479] [R] 02:00.0  PCI bridge                               Navi 10 XL Downstream Port of PCI Express Switch[1002:731f] [R] 03:00.0  VGA compatible controller                Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT][1002:ab38]     03:00.1  Audio device                             Navi 10 HDMI AudioGroup 3:[8086:43ed]     00:14.0  USB controller                           Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host ControllerUSB:[041e:3255]Bus 001 Device 007                       Creative Technology, Ltd Sound BlasterX H6 USB:[174c:2074]Bus 001 Device 004                       ASMedia Technology Inc. ASM1074 High-Speed hub USB:[320f:5000]Bus 001 Device 008                       Evision RGB Keyboard USB:[046d:c547]Bus 001 Device 006                       Logitech, Inc. USB Receiver USB:[2109:2817]Bus 001 Device 003                       VIA Labs, Inc. USB2.0 Hub USB:[8087:0029]Bus 001 Device 002                       Intel Corp. AX200 Bluetooth USB:[26ce:01a2]Bus 001 Device 005                       ASRock LED Controller USB:[1d6b:0002]Bus 001 Device 001                       Linux Foundation 2.0 root hub USB:[174c:3074]Bus 002 Device 003                       ASMedia Technology Inc. ASM1074 SuperSpeed hub USB:[2109:0817]Bus 002 Device 002                       VIA Labs, Inc. USB3.0 Hub USB:[1d6b:0003]Bus 002 Device 001                       Linux Foundation 3.0 root hub [8086:43ef]     00:14.2  RAM memory                               Tiger Lake-H Shared SRAMGroup 4:[8086:43e0]     00:16.0  Communication controller                 Tiger Lake-H Management Engine InterfaceGroup 5:[8086:43d2]     00:17.0  SATA controller                          Device 43d2Group 6:[8086:43c2] [R] 00:1b.0  PCI bridge                               Device 43c2Group 7:[8086:43ba] [R] 00:1c.0  PCI bridge                               Tiger Lake-H PCIe Root PortGroup 8:[8086:4385]     00:1f.0  ISA bridge                               Z590 LPC/eSPI Controller[8086:f0c8]     00:1f.3  Audio device                             Device f0c8[8086:43a3]     00:1f.4  SMBus                                    Tiger Lake-H SMBus Controller[8086:43a4]     00:1f.5  Serial bus controller                    Tiger Lake-H SPI ControllerGroup 9:[10ec:8125] [R] 04:00.0  Ethernet controller                      RTL8125 2.5GbE ControllerGroup 10:[8086:2723] [R] 05:00.0  Network controller                       Wi-Fi 6 AX200
grub

Code:

GRUB_DEFAULT=0GRUB_TIMEOUT=5GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"GRUB_CMDLINE_LINUX=""
modprobe.d/vfio.conf

Code:

softdep amdgpu pre: vfio vfio-pcisoftdep snd_hda_intel pre: vfio vfio-pcioptions vfio-pci ids=1002:ab38
There are no modules in /etc/initramfs-tools/modules

When updating initramfs I do get lots of warning messages of missing firmware and this would be my next step but I want to get your opinion before I start installing things Im not sure about

Code:

update-initramfs: Generating /boot/initrd.img-6.1.0-21-amd64W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_11_ta.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_11_toc.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_10_ta.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_10_sos.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_imu.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_rlc.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mec.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_me.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_pfp.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_rlc.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mec.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_me.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_pfp.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/sdma_6_0_3.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mes1.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mes_2.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mes.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes1.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes_2.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_mes_2.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_1_mes_2.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_mes_2.bin for module amdgpuW: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_10.bin for module amdgpu
Thanks for your time and expertise.

Statistics: Posted by ryedunn — 2024-06-24 22:14 — Replies 3 — Views 71



Viewing all articles
Browse latest Browse all 3200

Trending Articles