I updated my working system using a fresh poudriere build of the packages. I noticed as the system booted the console occasionally flashed between text and a blank screen. When I attempted to login into gnome once I put in the password the screen froze tbut he mouse pointer still works. I tried to go to one of the VT but these were all blank.
uname -a
FreeBSD ruru.local 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
I am using a UEFI boot process
On doing a google search I suspect that the it is the something to do with either and kmod or drm packages. This is what i have built using poudriere and installed
plus all the gpu-firmware-amd-kmod
I couldn't find any errors in the logs and is seems it is loading the firmware images sucessfully
bootloader is
the relevant section of rc.conf are
Any ideas how I debug this and get the desktop working again?
Code:
dmesg | grep CPU
CPU: AMD Ryzen 5 5600GT with Radeon Graphics (3593.37-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb0
cpu0: <ACPI CPU> on acpi0
FreeBSD ruru.local 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
Code:
pciconf -lv | grep -B4 VGA
vgapci0@pci0:48:0:0: class=0x030000 rev=0xc9 hdr=0x00 vendor=0x1002 device=0x1638 subvendor=0x1002 subdevice=0x1636
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]'
class = display
subclass = VGA
Code:
sysctl machdep.bootmethod
machdep.bootmethod: UEFI
On doing a google search I suspect that the it is the something to do with either and kmod or drm packages. This is what i have built using poudriere and installed
Code:
drm-61-kmod-6.1.128.1402000_5 DRM drivers modules
drm-kmod-20250428 Metaport of DRM modules for the linuxkpi-based KMS components
I couldn't find any errors in the logs and is seems it is loading the firmware images sucessfully
Code:
dmesg | grep green
green_sardine_sdma.bin: could not load binary firmware /boot/firmware/green_sardine_sdma.bin either
amdgpu/green_sardine_sdma.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_sdma.bin either
amdgpu_green_sardine_sdma.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_sdma.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_sdma.bin'
green_sardine_asd.bin: could not load binary firmware /boot/firmware/green_sardine_asd.bin either
amdgpu/green_sardine_asd.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_asd.bin either
amdgpu_green_sardine_asd.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_asd.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_asd.bin'
green_sardine_ta.bin: could not load binary firmware /boot/firmware/green_sardine_ta.bin either
amdgpu/green_sardine_ta.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_ta.bin either
amdgpu_green_sardine_ta.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_ta.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_ta.bin'
green_sardine_dmcub.bin: could not load binary firmware /boot/firmware/green_sardine_dmcub.bin either
amdgpu/green_sardine_dmcub.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_dmcub.bin either
amdgpu_green_sardine_dmcub.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_dmcub.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_dmcub.bin'
green_sardine_pfp.bin: could not load binary firmware /boot/firmware/green_sardine_pfp.bin either
amdgpu/green_sardine_pfp.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_pfp.bin either
amdgpu_green_sardine_pfp.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_pfp.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_pfp.bin'
green_sardine_me.bin: could not load binary firmware /boot/firmware/green_sardine_me.bin either
amdgpu/green_sardine_me.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_me.bin either
amdgpu_green_sardine_me.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_me.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_me.bin'
green_sardine_ce.bin: could not load binary firmware /boot/firmware/green_sardine_ce.bin either
amdgpu/green_sardine_ce.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_ce.bin either
amdgpu_green_sardine_ce.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_ce.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_ce.bin'
green_sardine_rlc.bin: could not load binary firmware /boot/firmware/green_sardine_rlc.bin either
amdgpu/green_sardine_rlc.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_rlc.bin either
amdgpu_green_sardine_rlc.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_rlc.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_rlc.bin'
green_sardine_mec.bin: could not load binary firmware /boot/firmware/green_sardine_mec.bin either
amdgpu/green_sardine_mec.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_mec.bin either
amdgpu_green_sardine_mec.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_mec.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_mec.bin'
green_sardine_vcn.bin: could not load binary firmware /boot/firmware/green_sardine_vcn.bin either
amdgpu/green_sardine_vcn.bin: could not load binary firmware /boot/firmware/amdgpu/green_sardine_vcn.bin either
amdgpu_green_sardine_vcn.bin: could not load binary firmware /boot/firmware/amdgpu_green_sardine_vcn.bin either
drmn0: successfully loaded firmware image 'amdgpu/green_sardine_vcn.bin'
Code:
cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
amdtemp_load="YES"
snd_driver_load="YES"
fusefs_load="YES"
kern.vty="vt"
hw.vga.textmode = 1
kern.vt.fb.default_mode="1920x1080"
cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
amdtemp_load="YES"
snd_driver_load="YES"
fusefs_load="YES"
kern.vty="vt"
hw.vga.textmode = 1
kern.vt.fb.default_mode="1920x1080"
Code:
cat /etc/rc.conf
autoboot_delay="3"
hostname="ruru.local"
# ifconfig_DEFAULT="DHCP"
ifconfig_re0="inet 192.168.1.10 netmask 255.255.255.0"
defaultrouter="192.168.1.254"
gateway_enable="YES"
console="comconsole,efi"
allscreens_flags="NO BLANK"