Solved No driver issues, but can't StartX - 'can't load module 'intel''

Hi,
I've got a fresh install of 14.1, the intel driver is loading fine, but when I try to 'startx' (exec gnome-session in .xinitrc), it fails with:

Code:
[   195.657] (EE) Failed to load module "intel" (module does not exist, 0)
[   195.657] (EE) No drivers available.
[   195.657] (EE) Fatal server error:
[   195.657] (EE) no screens found(EE)

All the drivers seem to be loading correctly:
Code:
# uname -a
FreeBSD FreeBSDToughbook 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64

# drm_info | grep Device
├───Device: PCI 8086:5916 Intel Corporation HD Graphics 620

# kldload i915kms
kldload: can't load i915kms: module already loaded or in kernel

# dmesg | grep -i drm
[drm] Got Intel graphics stolen memory base 0xa6000000, size 0x2000000
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
lkpi_iic0: <LinuxKPI I2C> on drmn0
lkpi_iic1: <LinuxKPI I2C> on drmn0
lkpi_iic2: <LinuxKPI I2C> on drmn0
drmn0: successfully loaded firmware image 'i915/kbl_dmc_ver1_04.bin'
drmn0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
drmn0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
lkpi_iic3: <LinuxKPI I2C> on drm1
[drm] Initialized i915 1.6.0 20201103 for drmn0 on minor 0
VT: Replacing driver "efifb" with new "drmfb".
name=drmn0 id=i915drmfb flags=0x0 stride=8640

The /usr/local/etc/X11/xorg.conf.d/20-intel.conf file is set up exactly as per the Handbook:
Code:
Section "Device"
    Identifier "Card0"
    Driver     "intel"
EndSection

So I'm not sure what could be set up incorrectly. Any help or advice would be appreciated.

Full Xorg log:
Code:
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[   195.587] Current Operating System: FreeBSD FreeBSDToughbook 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1n267679-10e31f0946d8 GENERIC amd64
[   195.587]  
[   195.587] Current version of pixman: 0.42.2
[   195.587]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   195.587] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   195.587] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 18 02:24:06 2024
[   195.589] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[   195.589] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   195.591] (==) No Layout section.  Using the first Screen section.
[   195.591] (==) No screen section available. Using defaults.
[   195.591] (**) |-->Screen "Default Screen Section" (0)
[   195.591] (**) |   |-->Monitor "<default monitor>"
[   195.592] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   195.592] (**) |   |-->Device "Card0"
[   195.592] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   195.592] (**) Allowing byte-swapped clients
[   195.592] (==) Automatically adding devices
[   195.592] (==) Automatically enabling devices
[   195.592] (==) Automatically adding GPU devices
[   195.592] (==) Automatically binding GPU devices
[   195.593] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   195.594] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/TrueType/".
[   195.594]    Entry deleted from font path.
[   195.594]    (Run 'mkfontdir' on "/usr/local/share/fonts/TrueType/").
[   195.601] (**) FontPath set to:
        /usr/local/share/fonts/urwfonts/,
        /usr/local/share/fonts/misc/,
        /usr/local/share/fonts/TTF/,
        /usr/local/share/fonts/OTF/,
        /usr/local/share/fonts/Type1/,
        /usr/local/share/fonts/100dpi/,
        /usr/local/share/fonts/75dpi/,
        catalogue:/usr/local/etc/X11/fontpath.d
[   195.601] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   195.601] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[   195.601] (II) Module ABI versions:
[   195.601]    X.Org ANSI C Emulation: 0.4
[   195.601]    X.Org Video Driver: 25.2
[   195.601]    X.Org XInput driver : 24.4
[   195.601]    X.Org Server Extension : 10.0
[   195.626] (II) xfree86: Adding drm device (/dev/dri/card0)
[   195.626] (II) Platform probe for /dev/dri/card0
[   195.641] (--) PCI:*(0@0:2:0) 8086:5916:10f7:8338 rev 2, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS  @ 0x????????/65536
[   195.641] (II) "glx" will be loaded by default.
[   195.641] (II) LoadModule: "glx"
[   195.642] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   195.655] (II) Module glx: vendor="X.Org Foundation"
[   195.656]    compiled for 1.21.1.14, module version = 1.0.0
[   195.656]    ABI class: X.Org Server Extension, version 10.0
[   195.656] (II) LoadModule: "intel"
[   195.657] (WW) Warning, couldn't open module intel
[   195.657] (EE) Failed to load module "intel" (module does not exist, 0)
[   195.657] (EE) No drivers available.
[   195.657] (EE) Fatal server error:
[   195.657] (EE) no screens found(EE) 
[   195.657] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. 
[   195.657] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   195.657] (EE) 
[   195.657] (EE) Server terminated with error (1). Closing log file.
 
Back
Top