Thread View: muc.lists.freebsd.current
1 messages
1 total messages
Started by Ronald Klop
Mon, 19 Oct 2026 09:21
Re: Xorg fails after update system to 16.0
Author: Ronald Klop
Date: Mon, 19 Oct 2026 09:21
Date: Mon, 19 Oct 2026 09:21
326 lines
14921 bytes
14921 bytes
------=_Part_2658_715409517.1792401687907
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Van: Matthias Apitz <guru@unixarea.de>
Datum: maandag, 19 oktober 2026 09:29
Aan: Ruslan Zalata <rz@fabmicro.ru>, FreeBSD CURRENT <freebsd-current@freeb=
sd.org>
Onderwerp: Re: Xorg fails after update system to 16.0
>=20
> El d=C3=ADa lunes, octubre 19, 2026 a las 08:06:14 +0200, Matthias Apitz =
escribi=C3=B3:
>=20
> > As I said above, there is also something missind:
> >
> > > > Oct 18 22:33:16 ASUS-150 kernel: drmn0: could not load firmware ima=
ge
> > > > '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.
> >
>=20
> I looked into the ports files and as guess I set the env var
>=20
> FLAVOR=3Dgreen_sardine
>=20
> this made the other package, I installed it and Xorg comes up fine.
> Details see below.
>=20
> Is this the way it should work, setting FLAVOR?
>=20
> Thanks
>=20
> matthias
>=20
>=20
> # cd /usr/ports/graphics/gpu-firmware-amd-kmod
>=20
> # 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
>=20
> 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:
>=20
> PORTNAME=3D gpu-firmware-amd-kmod
> PORTVERSION=3D 20260519
> CATEGORIES=3D graphics
>=20
> MAINTAINER=3D x11@FreeBSD.org
> COMMENT=3D Firmware modules for ${FLAVOR} AMD GPUs
> WWW=3D https://github.com/freebsd/drm-kmod-firmware
>=20
>=20
> ...
> FLAVORS=3D aldebaran \
> aldebaran_ip_discovery \
> arcturus \
> arcturus_ip_discovery \
> ...
> green_sardine \
> ...
>=20
> # nohup make clean
> # grep green nohup.out
> =3D=3D=3D> Cleaning for gpu-firmware-amd-kmod-green-sardine-20260519.160=
0028
> # nohup make package
> appending output to nohup.out
>=20
> # grep install nohup.out
> =3D=3D=3D> amdgpukmsfw (install)
> =3D=3D=3D> 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=
/
> =3D=3D=3D> 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/module=
s/
> =3D=3D=3D> 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)
>=20
>=20
> # grep Building nohup.out
> =3D=3D=3D> Building for gpu-firmware-amd-kmod-aldebaran-20260519.1600028
> =3D=3D=3D> Building packages for gpu-firmware-amd-kmod-aldebaran-2026051=
9.1600028
> =3D=3D=3D> Building gpu-firmware-amd-kmod-aldebaran-20260519.1600028
>=20
> # export FLAVOR=3Dgreen_sardine
> # make package
> =3D=3D=3D> Building packages for gpu-firmware-amd-kmod-green-sardine-202=
60519.1600028
> =3D=3D=3D> Building gpu-firmware-amd-kmod-green-sardine-20260519.160002=
8
>=20
> # 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.16000=
28.pkg
>=20
>=20
>=20
>=20
>=20
> # pkg install work-green_sardine/pkg/gpu-firmware-amd-kmod-green-sardine-=
20260519.1600028.pkg
>=20
> # kldload amdgpu
> (no PANIC)
>=20
>=20
> # 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
>=20
> an Xorg comes up fine!
>=20
>=20
> --=20
> Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-176-3890204=
5
> Public GnuPG key: http://www.unixarea.de/key.pub
> =20
>=20
>=20
>=20
If you install graphics/gpu-firmware-kmod, you will install all firmwares a=
utomatically. But that is also does a lot more compilation for modules you =
don't use.
Hope this helps.
Ronald.
=20
------=_Part_2658_715409517.1792401687907
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<br />
<p><strong>Van:</strong> Matthias Apitz &lt;guru@unixarea.de&gt;<br=
/>
<strong>Datum:</strong> maandag, 19 oktober 2026 09:29<br />
<strong>Aan:</strong> Ruslan Zalata <rz@fabmicro.ru>, FreeBSD CURRENT=
<freebsd-current@freebsd.org><br />
<strong>Onderwerp:</strong> Re: Xorg fails after update system to 16.0</p>
<blockquote style=3D"padding-right: 0px; padding-left: 5px; margin-left: 5p=
x; border-left: #000000 2px solid; margin-right: 0px">
<div class=3D"MessageRFC822Viewer" id=3D"P">
<div class=3D"TextPlainViewer" id=3D"P.P">El d=C3=ADa lunes, octubre 19, 20=
26 a las 08:06:14 +0200, Matthias Apitz escribi=C3=B3:<br />
<br />
> As I said above, there is also something missind:<br />
><br />
> > > Oct 18 22:33:16 ASUS-150 kernel: drmn0: could not load firmw=
are image<br />
> > > 'amdgpu/green_sardine_sdma.bin'<br />
><br />
> ...<br />
><br />
> What do I miss? Do I need the amdgpu_green_sardine_* files? If not, wh=
y<br />
> is amdgpu.ko complaining about is absence.<br />
><br />
<br />
I looked into the ports files and as guess I set the env var<br />
<br />
FLAVOR=3Dgreen_sardine<br />
<br />
this made the other package, I installed it and Xorg comes up fine.<br />
Details see below.<br />
<br />
Is this the way it should work, setting FLAVOR?<br />
<br />
Thanks<br />
<br />
matthias<br />
<br />
<br />
# cd /usr/ports/graphics/gpu-firmware-amd-kmod<br />
<br />
# ls -l<br />
total 60<br />
-rw-r--r-- 1 root wheel 2887 Oct 18 13:44 Makefile<br />
-rw-r--r-- 1 root wheel 209 Oct 18 13:44 distinfo<br />
-rw-r--r-- 1 root wheel 104 Oct 18 13:44 pkg-descr<br />
-rw-r--r-- 1 root wheel 35224 Oct 18 13:44 pkg-plist<br />
<br />
The files are identically with the files in<br />
<a href=3D"https://cgit.freebsd.org/ports/tree/graphics/gpu-firmware-amd-km=
od">https://cgit.freebsd.org/ports/tree/graphics/gpu-firmware-amd-kmod</a><=
br />
and Makefile cantains a lot of FLAVORs:<br />
<br />
PORTNAME=3D gpu-firmware-amd-kmod<br />
PORTVERSION=3D 20260519<br />
CATEGORIES=3D graphics<br />
<br />
MAINTAINER=3D x11@FreeBSD.org<br />
COMMENT=3D Firmware modules for $=
{FLAVOR} AMD GPUs<br />
WWW=3D <a=
href=3D"https://github.com/freebsd/drm-kmod-firmware">https://github.com/f=
reebsd/drm-kmod-firmware</a><br />
<br />
<br />
...<br />
FLAVORS=3D aldebaran \<br />
&nb=
sp; aldebaran_ip_discovery \<br />
&nb=
sp; arcturus \<br />
&nb=
sp; arcturus_ip_discovery \<br />
...<br />
green_sardine \<br />
...<br />
<br />
# nohup make clean<br />
# grep green nohup.out<br />
=3D=3D=3D> Cleaning for gpu-firmware-amd-kmod-green-sardine-202605=
19.1600028<br />
# nohup make package<br />
appending output to nohup.out<br />
<br />
# grep install nohup.out<br />
=3D=3D=3D> amdgpukmsfw (install)<br />
=3D=3D=3D> amdgpukmsfw/aldebaran_mec (install)<br />
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/<br />
=3D=3D=3D> amdgpukmsfw/aldebaran_mec2 (install)<br />
install -T release -o root -g wheel -m 444 amdgpu_aldebaran_mec=
2_bin.ko /usr/ports/graphics/gpu-firmware-amd-kmod/work-aldebaran/stage/boo=
t/modules/<br />
=3D=3D=3D> amdgpukmsfw/aldebaran_rlc (install)<br />
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/<br />
...<br />
(only aldebaran stuff)<br />
<br />
<br />
# grep Building nohup.out<br />
=3D=3D=3D> Building for gpu-firmware-amd-kmod-aldebaran-20260519.1=
600028<br />
=3D=3D=3D> Building packages for gpu-firmware-amd-kmod-aldebaran-2=
0260519.1600028<br />
=3D=3D=3D> Building gpu-firmware-amd-kmod-aldebaran-20260519=
.1600028<br />
<br />
# export FLAVOR=3Dgreen_sardine<br />
# make package<br />
=3D=3D=3D> Building packages for gpu-firmware-amd-kmod-green-sardi=
ne-20260519.1600028<br />
=3D=3D=3D> Building gpu-firmware-amd-kmod-green-sardine-2026=
0519.1600028<br />
<br />
# find work-* -name '*.pkg'<br />
work-aldebaran/pkg/gpu-firmware-amd-kmod-aldebaran-20260519.1600028.pkg<br =
/>
work-green_sardine/pkg/gpu-firmware-amd-kmod-green-sardine-20260519.1600028=
.pkg<br />
<br />
<br />
<br />
<br />
<br />
# pkg install work-green_sardine/pkg/gpu-firmware-amd-kmod-green-sardine-20=
260519.1600028.pkg<br />
<br />
# kldload amdgpu<br />
(no PANIC)<br />
<br />
<br />
# ls -lL /dev/dri<br />
total 0<br />
crw-rw---- 1 root video 0x9e Oct 19 09:19 card0<br />
crw-rw---- 1 root video 0x11e Oct 19 09:19 renderD128<br />
<br />
an Xorg comes up fine!<br />
<br />
<br />
-- <br />
Matthias Apitz, guru@unixarea.de, <a href=3D"http://www.unixarea.de/">http:=
//www.unixarea.de/</a> +49-176-38902045<br />
Public GnuPG key: <a href=3D"http://www.unixarea.de/key.pub">http://www.uni=
xarea.de/key.pub</a><br />
=C2=A0</div>
<hr /></div>
</blockquote>
<br />
<br />
<br />
If you install graphics/gpu-firmware-kmod, you will install all firmwares a=
utomatically. But that is also does a lot more compilation for modules you =
don't use.<br />
Hope this helps.<br />
<br />
Ronald.<br />
<br />
=C2=A0
------=_Part_2658_715409517.1792401687907--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads