Hello! I've been trying to get my RX570 working on an Asrock H97 Pro 4 motherboard, I've passed the GPU successfully (with vm-bhyve) to an archlinux vm, but it seems like the amdgpu is not working correctly, I can only get stable graphics with acceleration disabled, and everything is extremely slugish.
In dmesg I get the following messages: (partial)
it doesn't matter what I do, after a while the driver crashes and resets itself, meanwhile the screen is a glitched color noise mess, it is impossible to make out anything. That is the case on xorg and on wayland.
Is it more likely for this to be a bhyve issue or a driver inside the vm issue?
In dmesg I get the following messages: (partial)
Code:
[ 473.038005] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 475.444739] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=17, emitted seq=20
[ 475.444981] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process WebKitWebProces pid 1568 thread WebKitWebP:cs0 pid 1581
[ 475.445197] amdgpu 0000:00:06.0: amdgpu: GPU reset begin!
[ 476.042614] amdgpu: cp is busy, skip halt cp
[ 476.227217] amdgpu: rlc is busy, skip halt rlc
[ 476.228234] amdgpu 0000:00:06.0: amdgpu: BACO reset
[ 476.845294] amdgpu 0000:00:06.0: amdgpu: GPU reset succeeded, trying to resume
[ 476.845807] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[ 476.845829] [drm] VRAM is lost due to GPU reset!
[ 477.072011] [drm] UVD and UVD ENC initialized successfully.
[ 477.174992] [drm] VCE initialized successfully.
[ 477.179435] amdgpu 0000:00:06.0: amdgpu: recover vram bo from shadow start
[ 477.179451] amdgpu 0000:00:06.0: amdgpu: recover vram bo from shadow done
[ 477.179453] [drm] Skip scheduling IBs!
it doesn't matter what I do, after a while the driver crashes and resets itself, meanwhile the screen is a glitched color noise mess, it is impossible to make out anything. That is the case on xorg and on wayland.
Is it more likely for this to be a bhyve issue or a driver inside the vm issue?