Fahrenheit, do you have any tip on how to build the port to the 20250808_2 tag? Where do I start? I can see those dc, dcn, vcn, sdma subdirectories in /usr/ports/graphics/gpu-firmware-amd-kmod/. There are not yet any '*dcn_4*' for example, but I guess they'll appear as the new drm-612-kmod gets pulled whenever that happens.As the current gpu-firmware-amd-kmod does not provide all of these binaries you will have to manually build the port point to at least the 20250808_2 github tag.
# cd /usr/ports/graphics/gpu-firmware-amd-kmod/# for FLV in $(make -V FLAVORS); do make package FLAVOR=${FLV}; done# for dir in work-*; do pkg install -y -f $dir/pkg/*.pkg; doneI may be too stupid to do what is required. I am trackingThe firmware package has no issues compiling in 15.0 or later (probably 14.x also).
Drm 6.12 needs that /usr/src branch be main, stable/15 or releng/15.1 (and up to date, i.e. do a git pull after branch checkout).
After compilation it should run with the stable 15 kernel (i.e. the latest or weekly branch for base) or at least 15.1 beta 2.
So if you are planning on:
* running 15.1 use releng/15.1
* latest stable of 15, use stablr/15
* 16, use main
root:/usr/ports # git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: graphics/gpu-firmware-amd-kmod/Makefile
modified: graphics/gpu-firmware-amd-kmod/distinfo
modified: graphics/gpu-firmware-amd-kmod/pkg-plist
no changes added to commit (use "git add" and/or "git commit -a")
[I] ~ $ git clone -b update-to-linux-6.12 https://github.com/dumbbell/drm-kmod.git
Cloning into 'drm-kmod'...
fatal: Remote branch update-to-linux-6.12 not found in upstream origin
Sorry, which zip file? The prior links were pointers to a GitHub branch, a diff, etc. I didn’t spot an obvious zip file as a reference?
I am preparing and taking notes to install once 15.1 is released (so no -CURRENT).Angband are you running -CURRENT? I guess it is only possible to try this with -CURRENT or wait for -15.1-RELEASE.
# make package# pkg install work/pkg/*.pkg# kldload amdgpu# cd /usr/ports/graphics/gpu-firmware-amd-kmod/# for FLV in $(make -V FLAVORS); do make package FLAVOR=${FLV}; done# for dir in work-*; do pkg install -y -f $dir/pkg/*.pkg; done make clean before running make package===> Building packages for gpu-firmware-amd-kmod-yellow-carp-20260309.1501000_2
===> Building gpu-firmware-amd-kmod-yellow-carp-20260309.1501000_2
pkg-static: Unable to access file /usr/ports/graphics/gpu-firmware-amd-kmod/work-yellow_carp/stage/usr/local/%%SDMA_4_4_4%%/boot/modules/amdgpu_sdma_4_4_4_bin.ko:No such file or directory
*** Error code 1
yes, I did that. I just did not write it in my previous post. It builds like 127 packages and then stops at aforementioned yellow_carp.matt_k did you do:
# for FLV in $(make -V FLAVORS); do make package FLAVOR=${FLV}; done
Just make package won't work.
[I] /u/p/g/gpu-firmware-amd-kmod $ ls -la | grep work | wc -l
127
[I] /u/p/g/gpu-firmware-amd-kmod $
[I] /u/p/g/gpu-firmware-amd-kmod $ ls -laR | grep SDMA
[I] /u/p/g/gpu-firmware-amd-kmod [0|1]$
[I] /u/p/g/gpu-firmware-amd-kmod $ find . -type f -iname "*sdma_4_4_4_bin.ko"
./work-sdma_4_4_4/stage/boot/modules/amdgpu_sdma_4_4_4_bin.ko
./work-sdma_4_4_4/drm-kmod-firmware-20250808_2/amdgpukmsfw/sdma_4_4_4/amdgpu_sdma_4_4_4_bin.ko
[I] /u/p/g/gpu-firmware-amd-kmod $
make clean and then rm -rf work*, because some work-* directories remain even after make clean. Now I'm building it again.===> Building packages for gpu-firmware-amd-kmod-yellow-carp-20260309.1501000_2
===> Building gpu-firmware-amd-kmod-yellow-carp-20260309.1501000_2
pkg-static: Unable to access file /usr/ports/graphics/gpu-firmware-amd-kmod/work-yellow_carp/stage/usr/local/%%SDMA_4_4_4%%/boot/modules/amdgpu_sdma_4_4_4_bin.ko:No such file or directory
*** Error code 1
Stop.
make: stopped making "package" in /usr/ports/graphics/gpu-firmware-amd-kmod
# rm /var/cache/pkg/gpu-firmware-amd-kmod* )# make package FLAVOR=dcn_4_0_1# make package FLAVOR=gc_12_0_0# make package FLAVOR=psp_14_0_2# make package FLAVOR=sdma_7_0_0# make package FLAVOR=vcn_5_0_0# echo "Removing existing firmware packages"# pkg remove -g gpu-firmware-amd-kmod*# echo "Installing new packages"# pkg install -y work-dcn_4_0_1/pkg/*.pkg# pkg install -y work-gc_12_0_0/pkg/*.pkg# pkg install -y work-psp_14_0_2/pkg/*.pkg# pkg install -y work-sdma_7_0_0/pkg/*.pkg# pkg install -y work-vcn_5_0_0/pkg/*.pkg kldload amdgpu and the result is blank screen after loading the amdgpu driver.May 25 20:22:00 slaanesh kernel: [drm] Found VCN firmware Version ENC: 1.12 DEC: 9 VEP: 0 Revision: 15
May 25 20:22:00 slaanesh kernel: drmn0: [mmhub] page fault (src_id:0 ring:158 vmid:0 pasid:0)