Jeff Geerling
Jeff Geerling
``` pi@cm4:~ $ dmesg | grep pci [ 1.261278] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [ 1.261305] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] [ 1.261373]...
While compiling on kernel version 5.10 from the raspberrypi/linux tree, I noticed an error: ``` AR drivers/ptp/built-in.a CC [M] drivers/i2c/busses/i2c-brcmstb.o drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_atomic_commit_tail': drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7757:4: error: implicit declaration of function...
2nd Attempt: 1. Recompiled kernel on `rpi-5.14.y` branch with AMDGPU selected. Seemed to work. 2. Copied over to Pi. 3. Installed `sudo apt install -y firmware-amd-graphics` 4. Blacklisted `amdgpu` via...
Without the card plugged in, a `sudo modprobe amdgpu` gets me: ``` [ 431.751110] [drm] amdgpu kernel modesetting enabled. ``` Now trying with the card plugged in...
Good news! The Pi doesn't completely lock up and halt now... it errors out then goes back to letting me debug. Makes test cycles oh-so-much-simpler: In one terminal: ``` pi@cm4:~...
Hmm... `firmware-amd-graphics` might not include firmware for the RX 6700 XT (see https://github.com/NixOS/nixpkgs/issues/122776), since the card is new enough to not have been packaged in whatever build that package is...
First time doing this (grabbing newer firmware from the `linux-firmware` repo): 1. `git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git` 2. `sudo cp linux-firmware/amdgpu/navy_flounder* /lib/firmware/amdgpu` 3. `sudo reboot` And now trying again...
Okay, earlier firmware bug gave me false hope. We're still crashing and burning: ``` [ 85.221462] [drm] amdgpu kernel modesetting enabled. [ 85.221843] pci 0000:00:00.0: enabling device (0000 -> 0002)...
It does seem like it's running out of address space for a large BAR: ``` [ 85.258747] [drm] Not enough PCI address space for a large BAR. [ 85.258828] [drm]...
Added a few debug lines, and things were a little different! ``` [ 115.560635] [drm] amdgpu: 12272M of VRAM memory ready [ 115.560677] [drm] amdgpu: 2845M of GTT memory ready....