No passthrough on GEM12 8845HS with Ubuntu 24.04 VM
Closed this issue · 1 comments
roger- commented
Followed the guide (skipping the Windows stuff) and set up an Ubuntu VM. It sees the iGPU and boots up okay, but dmesg
gives:
[ 9.032079] amdgpu 0000:01:00.0: amdgpu: psp gfx command UNKNOWN CMD(0x0) failed and response status is (0x0)
[ 9.032084] amdgpu 0000:01:00.0: amdgpu: Failed to load toc
[ 9.032089] amdgpu 0000:01:00.0: amdgpu: PSP tmr init failed!
[ 9.052130] amdgpu 0000:01:00.0: amdgpu: PSP firmware loading failed
[ 9.052134] [drm:amdgpu_device_fw_loading [amdgpu]] *ERROR* hw_init of IP block <psp> failed -22
[ 9.052342] amdgpu 0000:01:00.0: amdgpu: amdgpu_device_ip_init failed
[ 9.052346] amdgpu 0000:01:00.0: amdgpu: Fatal error during GPU init
[ 9.052350] amdgpu 0000:01:00.0: amdgpu: amdgpu: finishing device.
...
<register dump>
It does load the AMD drivers (in the VM) too, but /dev/dri/
is missing:
~$ lsmod
amdgpu 20004864 0
amdxcp 12288 1 amdgpu
drm_exec 12288 1 amdgpu
gpu_sched 61440 1 amdgpu
drm_buddy 24576 1 amdgpu
drm_suballoc_helper 16384 1 amdgpu
kvm_amd 245760 0
drm_ttm_helper 16384 1 amdgpu
ttm 110592 2 amdgpu,drm_ttm_helper
ccp 159744 1 kvm_amd
drm_display_helper 278528 1 amdgpu
kvm 1425408 1 kvm_amd
i2c_algo_bit 16384 1 amdgpu
video 77824 1 amdgpu
Also tried extracting my own AMDGopDriver.rom
from the latest BIOS (which differed from the one here) but that didn't change anything. Any ideas?
Here is my proxmox config:
And lspci
on the host gives:
...
c6:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix3 [1002:1900] (rev c5)
c6:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
...
roger- commented
As per #49 i tried Debian 12 with my configuration and the errors went away. Here are the steps:
- Configure a VM as above / this repo
- Install Debian 12.7
- Install the AMD GPU driver:
apt install firmware-amd-graphics
- Reboot and check
dmesg
for errors. I had a missing firmware file error and downloaded it from here and put in/lib/firmware
(not sure if this was necessary)
Was able to get Ollama running with ROCm support, so seems to work (usual AMD iGPU Ollama issues not withstanding).