Updated packages now gnome login freezes and no virtual terminals

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.

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
uname -a
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
I am using a UEFI boot process
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
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
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'
bootloader is

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"
the relevant section of rc.conf are
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"
Any ideas how I debug this and get the desktop working again?
 
An update on my issues I rechecked my poudriere build to make sure it was complete and forced an upgrade of my packages pkg upgrade -f then reviewed my dmesg log. Discovered the following error.
[drm ERROR :amdgpu_bo_init] Unable to set WC memtype for the aperture base
Apparently the drm ERROR :amdgpu_bo_init] Unable to set WC memtype for the aperture base error in FreeBSD indicates an issue with the AMDGPU driver's attempt to configure the memory type for the graphics processing unit (GPU) aperture base. This usually means that the system is having trouble setting up the memory for the graphics card to use, which can lead to instability or failure to initialize the graphics card.
I am now presuming this is why I cannot login to gnome and cannot view the virtual teminals
What I don't understand is why I am now seeing this error after an upgraded of the packages 3 days ago. The question is how do I resolve this?
 
OK that was a red herring. I went back and checked one the messages logs prior to the time of the upgrade and the VT and gnome errors occurred bzcat messages.2.bz2 | grep ERROR and the Unable to set WC memtype for the aperture base has been occurring when the system was working without error - So still stuck trying to find the underlying issue and how to resolve it.
 
Back
Top