Solved FreeBSD 15: issue with Xorg and Intel Alder-Lake GPU

Hi guys,

Not sure why I can't run X, I think I did everything properly... 🤔

Integrated GPU:
Code:
pciconf -lv | grep -B3 display
vgapci0@pci0:0:2:0:    class=0x030000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x46d1 subvendor=0x0301 subdevice=0x02f3
    vendor     = 'Intel Corporation'
    device     = 'Alder Lake-N [UHD Graphics]'
    class      = display

Kernel modules are installed:
Code:
Needed firmware packages: 'gpu-firmware-intel-kmod-alderlake gpu-firmware-intel-kmod-tigerlake wifi-firmware-rtw88-kmod-rtw8821c'
The most recent versions of packages are already installed

drm-kmod is installed:
Code:
pkg info drm-kmod
drm-kmod-20250428
Name           : drm-kmod
Version        : 20250428
Installed on   : Thu Dec  4 11:37:35 2025 EST
Origin         : graphics/drm-kmod
Architecture   : FreeBSD:15:*
Prefix         : /usr/local
Categories     : graphics

The Intel module is up and running:
Code:
kldstat | grep i915
 8    1 0xffffffff84a00000   210318 i915kms.ko

Xorg is configured:
Code:
cat /usr/local/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
    Identifier "Card0"
    Driver     "intel"
EndSection

I belong to video group:
Code:
groups
wheel operator video freezr

However it fails:
Code:
[    59.735]
X.Org X Server 1.21.1.20
X Protocol Version 11, Revision 0
[    59.735] Current Operating System: FreeBSD gpc 15.0-RELEASE FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC amd64
[    59.735] 
[    59.735] Current version of pixman: 0.46.2
[    59.735]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    59.735] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    59.736] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  4 16:43:05 2025
[    59.736] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    59.736] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    59.736] (==) No Layout section.  Using the first Screen section.
[    59.736] (==) No screen section available. Using defaults.
[    59.736] (**) |-->Screen "Default Screen Section" (0)
[    59.736] (**) |   |-->Monitor "<default monitor>"
[    59.736] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[    59.736] (**) |   |-->Device "Card0"
[    59.736] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    59.736] (**) Allowing byte-swapped clients
[    59.736] (==) Automatically adding devices
[    59.736] (==) Automatically enabling devices
[    59.736] (==) Automatically adding GPU devices
[    59.736] (==) Automatically binding GPU devices
[    59.736] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    59.736] (==) FontPath set to:
    /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
[    59.736] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    59.736] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    59.736] (II) Module ABI versions:
[    59.736]     X.Org ANSI C Emulation: 0.4
[    59.736]     X.Org Video Driver: 25.2
[    59.736]     X.Org XInput driver : 24.4
[    59.736]     X.Org Server Extension : 10.0
[    59.743] (II) xfree86: Adding drm device (/dev/dri/card0)
[    59.743] (II) Platform probe for /dev/dri/card0
[    59.743] (--) PCI:*(0@0:2:0) 8086:46d1:0301:02f3 rev 0, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/65536
[    59.743] (II) LoadModule: "glx"
[    59.743] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    59.744] (II) Module glx: vendor="X.Org Foundation"
[    59.744]     compiled for 1.21.1.20, module version = 1.0.0
[    59.744]     ABI class: X.Org Server Extension, version 10.0
[    59.744] (II) LoadModule: "intel"
[    59.744] (WW) Warning, couldn't open module intel
[    59.744] (EE) Failed to load module "intel" (module does not exist, 0)
[    59.745] (EE) No drivers available.
[    59.745] (EE)
Fatal server error:
[    59.745] (EE) no screens found(EE)
[    59.745] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[    59.745] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    59.745] (EE)
[    59.745] (EE) Server terminated with error (1). Closing log file.

Which Intel module does it fail to load?
I don't understand... 🤷‍♂️
 
Hi guys,

Not sure why I can't run X, I think I did everything properly... 🤔

Integrated GPU:
Code:
pciconf -lv | grep -B3 display
vgapci0@pci0:0:2:0:    class=0x030000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x46d1 subvendor=0x0301 subdevice=0x02f3
    vendor     = 'Intel Corporation'
    device     = 'Alder Lake-N [UHD Graphics]'
    class      = display

Kernel modules are installed:
Code:
Needed firmware packages: 'gpu-firmware-intel-kmod-alderlake gpu-firmware-intel-kmod-tigerlake wifi-firmware-rtw88-kmod-rtw8821c'
The most recent versions of packages are already installed

drm-kmod is installed:
Code:
pkg info drm-kmod
drm-kmod-20250428
Name           : drm-kmod
Version        : 20250428
Installed on   : Thu Dec  4 11:37:35 2025 EST
Origin         : graphics/drm-kmod
Architecture   : FreeBSD:15:*
Prefix         : /usr/local
Categories     : graphics

The Intel module is up and running:
Code:
kldstat | grep i915
 8    1 0xffffffff84a00000   210318 i915kms.ko

Xorg is configured:
Code:
cat /usr/local/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
    Identifier "Card0"
    Driver     "intel"
EndSection

I belong to video group:
Code:
groups
wheel operator video freezr

However it fails:
Code:
[    59.735]
X.Org X Server 1.21.1.20
X Protocol Version 11, Revision 0
[    59.735] Current Operating System: FreeBSD gpc 15.0-RELEASE FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC amd64
[    59.735]
[    59.735] Current version of pixman: 0.46.2
[    59.735]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    59.735] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    59.736] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  4 16:43:05 2025
[    59.736] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    59.736] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    59.736] (==) No Layout section.  Using the first Screen section.
[    59.736] (==) No screen section available. Using defaults.
[    59.736] (**) |-->Screen "Default Screen Section" (0)
[    59.736] (**) |   |-->Monitor "<default monitor>"
[    59.736] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[    59.736] (**) |   |-->Device "Card0"
[    59.736] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    59.736] (**) Allowing byte-swapped clients
[    59.736] (==) Automatically adding devices
[    59.736] (==) Automatically enabling devices
[    59.736] (==) Automatically adding GPU devices
[    59.736] (==) Automatically binding GPU devices
[    59.736] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    59.736] (==) FontPath set to:
    /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
[    59.736] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    59.736] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    59.736] (II) Module ABI versions:
[    59.736]     X.Org ANSI C Emulation: 0.4
[    59.736]     X.Org Video Driver: 25.2
[    59.736]     X.Org XInput driver : 24.4
[    59.736]     X.Org Server Extension : 10.0
[    59.743] (II) xfree86: Adding drm device (/dev/dri/card0)
[    59.743] (II) Platform probe for /dev/dri/card0
[    59.743] (--) PCI:*(0@0:2:0) 8086:46d1:0301:02f3 rev 0, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/65536
[    59.743] (II) LoadModule: "glx"
[    59.743] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    59.744] (II) Module glx: vendor="X.Org Foundation"
[    59.744]     compiled for 1.21.1.20, module version = 1.0.0
[    59.744]     ABI class: X.Org Server Extension, version 10.0
[    59.744] (II) LoadModule: "intel"
[    59.744] (WW) Warning, couldn't open module intel
[    59.744] (EE) Failed to load module "intel" (module does not exist, 0)
[    59.745] (EE) No drivers available.
[    59.745] (EE)
Fatal server error:
[    59.745] (EE) no screens found(EE)
[    59.745] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[    59.745] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    59.745] (EE)
[    59.745] (EE) Server terminated with error (1). Closing log file.

Which Intel module does it fail to load?
I don't understand... 🤷‍♂️
Because it's not needed. Delete that 20-intel.conf file and reboot.

Edit: ok I was overtaken :D
 
Back
Top