HELP! GDM Issue Stumped Google & AI - Anyone Fixed This?

I installed Xorg, GNOME, and GDM on FreeBSD 14.3 AMD64. I used nano to configure /etc/rc.conf with the following settings:

dbus_enable="YES" gdm_enable="YES" gnome_enable="YES" snd_hda="YES"
I also installed the graphics driver via pkg install drm-64-kmod and configured them properly.

When attempting to install GNOME using the quarterly package repository, I found that the GNOME package did not exist. After searching for tutorials on YouTube, I switched to the latest repository to successfully install GNOME.

However, after rebooting, GDM failed to start, displaying the error:


GLib-GIO: g_dbus_proxy_new_for_bus_sync: assertion g_variant_is_object_path failed
I tried searching for solutions but found no resolution. Could someone please help me resolve this tricky issue? Thank you very much!
1750476228867.png
 
dbus_enable="YES" gdm_enable="YES" gnome_enable="YES" snd_hda="YES"
I never seen someone use snd_hda="YES" in /etc/rc.conf and I think that it's wrong.

I also installed the graphics driver via pkg install drm-64-kmod and configured them properly.
There isn't a port called graphics/drm-64-kmod, probably there is a typo. However, can you confirm that you load the DRM driver in kld_list in /etc/rc.conf?

# sysrc kld_list+=<driver name>

Are you running FreeBSD in a VM? It looks like it's Hyper-V. If so, DRM drivers may not work but IIRC, if you boot via UEFI, you can try using scfb(4) Xorg driver.
 
Remove GDM (I hate GDM). Download and install the correct drm (drm-61-kmod) via package or port. You don't have a video card module in your rс.conf.
Download the module (amdgpu.ko) manually via kldload. If the screen is black - just reboot. If not, run gnome via startx (.xinitrc).
 
OK, please post outputs of the following commands:

  • dmesg | grep CPU
  • uname -a
  • pciconf -lv | grep -B4 VGA
This info will help with further troubleshooting.
 
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
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
 
Remove GDM (I hate GDM). Download and install the correct drm (drm-61-kmod) via package or port. You don't have a video card module in your rс.conf.
Download the module (amdgpu.ko) manually via kldload. If the screen is black - just reboot. If not, run gnome via startx (.xinitrc).
It seems like a good plan, but I have given up using Gnome and chosen to use Mate instead.
 
Back
Top