Re: Xorg fails after update system to 16.0
- Reply: Ronald Klop : "Re: Xorg fails after update system to 16.0"
- In reply to: Matthias Apitz : "Re: Xorg fails after update system to 16.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Oct 2026 07:29:41 UTC
El día lunes, octubre 19, 2026 a las 08:06:14 +0200, Matthias Apitz escribió:
> As I said above, there is also something missind:
>
> > > Oct 18 22:33:16 ASUS-150 kernel: drmn0: could not load firmware image
> > > 'amdgpu/green_sardine_sdma.bin'
>
> ...
>
> What do I miss? Do I need the amdgpu_green_sardine_* files? If not, why
> is amdgpu.ko complaining about is absence.
>
I looked into the ports files and as guess I set the env var
FLAVOR=green_sardine
this made the other package, I installed it and Xorg comes up fine.
Details see below.
Is this the way it should work, setting FLAVOR?
Thanks
matthias
# cd /usr/ports/graphics/gpu-firmware-amd-kmod
# ls -l
total 60
-rw-r--r-- 1 root wheel 2887 Oct 18 13:44 Makefile
-rw-r--r-- 1 root wheel 209 Oct 18 13:44 distinfo
-rw-r--r-- 1 root wheel 104 Oct 18 13:44 pkg-descr
-rw-r--r-- 1 root wheel 35224 Oct 18 13:44 pkg-plist
The files are identically with the files in
https://cgit.freebsd.org/ports/tree/graphics/gpu-firmware-amd-kmod
and Makefile cantains a lot of FLAVORs:
PORTNAME= gpu-firmware-amd-kmod
PORTVERSION= 20260519
CATEGORIES= graphics
MAINTAINER= x11@FreeBSD.org
COMMENT= Firmware modules for ${FLAVOR} AMD GPUs
WWW= https://github.com/freebsd/drm-kmod-firmware
...
FLAVORS= aldebaran \
aldebaran_ip_discovery \
arcturus \
arcturus_ip_discovery \
...
green_sardine \
...
# nohup make clean
# grep green nohup.out
===> Cleaning for gpu-firmware-amd-kmod-green-sardine-20260519.1600028
# nohup make package
appending output to nohup.out
# grep install nohup.out
===> amdgpukmsfw (install)
===> amdgpukmsfw/aldebaran_mec (install)
install -T release -o root -g wheel -m 444 amdgpu_aldebaran_mec_bin.ko /usr/ports/graphics/gpu-firmware-amd-kmod/work-aldebaran/stage/boot/modules/
===> amdgpukmsfw/aldebaran_mec2 (install)
install -T release -o root -g wheel -m 444 amdgpu_aldebaran_mec2_bin.ko /usr/ports/graphics/gpu-firmware-amd-kmod/work-aldebaran/stage/boot/modules/
===> amdgpukmsfw/aldebaran_rlc (install)
install -T release -o root -g wheel -m 444 amdgpu_aldebaran_rlc_bin.ko /usr/ports/graphics/gpu-firmware-amd-kmod/work-aldebaran/stage/boot/modules/
...
(only aldebaran stuff)
# grep Building nohup.out
===> Building for gpu-firmware-amd-kmod-aldebaran-20260519.1600028
===> Building packages for gpu-firmware-amd-kmod-aldebaran-20260519.1600028
===> Building gpu-firmware-amd-kmod-aldebaran-20260519.1600028
# export FLAVOR=green_sardine
# make package
===> Building packages for gpu-firmware-amd-kmod-green-sardine-20260519.1600028
===> Building gpu-firmware-amd-kmod-green-sardine-20260519.1600028
# find work-* -name '*.pkg'
work-aldebaran/pkg/gpu-firmware-amd-kmod-aldebaran-20260519.1600028.pkg
work-green_sardine/pkg/gpu-firmware-amd-kmod-green-sardine-20260519.1600028.pkg
# pkg install work-green_sardine/pkg/gpu-firmware-amd-kmod-green-sardine-20260519.1600028.pkg
# kldload amdgpu
(no PANIC)
# ls -lL /dev/dri
total 0
crw-rw---- 1 root video 0x9e Oct 19 09:19 card0
crw-rw---- 1 root video 0x11e Oct 19 09:19 renderD128
an Xorg comes up fine!
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub