Xorg: Warning, couldn't open module intel

Hello,

recently i installed Xorg and a Desktop Environment having had drm-kmod problems. I thought i fixed this by installing drm-515-kmod.
Now that 14.1 is EOL and packages for 14.2 are available i assumed problems were fixed but videos kept running on very low framerates
so i checked out the logs and found that Xorg doesn't load the "intel module" properly.

The /boot/firmware folder is empty.

freebsd-version
Code:
14.2-RELEASE-p3

pciconf -lv|grep -B4 VGA
Code:
vgapci0@pci0:0:2:0:     class=0x030000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x3185 subvendor=0x1028 subdevice=0x080c
    vendor     = 'Intel Corporation'
    device     = 'GeminiLake [UHD Graphics 600]'
    class      = display
    subclass   = VGA

pkg info drm-kmod
Code:
drm-kmod-20220907_3
Name           : drm-kmod
Version        : 20220907_3
Installed on   : Tue Apr  8 15:34:23 2025 CEST
Origin         : graphics/drm-kmod
Architecture   : FreeBSD:14:*
Prefix         : /usr/local
Categories     : graphics
Licenses       : NA
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod
Comment        : Metaport of DRM modules for the linuxkpi-based KMS components
Annotations    :
        build_timestamp: 2025-04-05T08:37:45+0000
        built_by       : poudriere-git-3.4.2-7-gf78625a5
        port_checkout_unclean: no
        port_git_hash  : 359bbf7fc
        ports_top_checkout_unclean: no
        ports_top_git_hash: 359bbf7fc
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 243B

fwget
Code:
Needed firmware packages: 'gpu-firmware-intel-kmod-geminilake'
The most recent versions of packages are already installed

kldstat
Code:
Id Refs Address                Size Name
 1   63 0xffffffff80200000  1f3c6c0 kernel
 2    1 0xffffffff82ff9000   1e2228 i915kms.ko
 3    2 0xffffffff831dc000    87090 drm.ko
 4    1 0xffffffff83264000     22b8 iic.ko
 5    2 0xffffffff83267000     4120 linuxkpi_video.ko
 6    3 0xffffffff8326c000     7350 dmabuf.ko
 7    3 0xffffffff83274000     3378 lindebugfs.ko
 8    1 0xffffffff83278000     c338 ttm.ko
 9    1 0xffffffff83285000     3390 acpi_wmi.ko
10    1 0xffffffff83289000     4250 ichsmb.ko
11    1 0xffffffff8328e000     2178 smbus.ko
12    1 0xffffffff83291000     6020 ig4.ko
13    1 0xffffffff83298000     3360 uhid.ko
14    1 0xffffffff8329c000     3360 wmt.ko
15    1 0xffffffff832a0000     e5b0 snd_uaudio.ko
16    1 0xffffffff832af000     2a68 mac_ntpd.ko

dmesg
Code:
[drm] Got Intel graphics stolen memory base 0x7c000000, size 0x4000000
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn0: [drm] couldn't get memory information
glk_dmc_ver1_04.bin: could not load binary firmware /boot/firmware/glk_dmc_ver1_04.bin either
i915/glk_dmc_ver1_04.bin: could not load binary firmware /boot/firmware/i915/glk_dmc_ver1_04.bin either
i915_glk_dmc_ver1_04.bin: could not load binary firmware /boot/firmware/i915_glk_dmc_ver1_04.bin either
drmn0: successfully loaded firmware image 'i915/glk_dmc_ver1_04.bin'
drmn0: [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)

Xorg.0.log
Code:
[    62.649] (==) Matched intel as autoconfigured driver 0
[    62.649] (==) Matched modesetting as autoconfigured driver 1
[    62.649] (==) Matched scfb as autoconfigured driver 2
[    62.649] (==) Matched vesa as autoconfigured driver 3
[    62.649] (==) Assigned the driver to the xf86ConfigLayout
[    62.649] (II) LoadModule: "intel"
[    62.650] (WW) Warning, couldn't open module intel
[    62.651] (EE) Failed to load module "intel" (module does not exist, 0)
[    62.651] (II) LoadModule: "modesetting"
[    62.651] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    62.656] (II) Module modesetting: vendor="X.Org Foundation"
[    62.656]    compiled for 1.21.1.16, module version = 1.21.1
[    62.656]    Module class: X.Org Video Driver
[    62.656]    ABI class: X.Org Video Driver, version 25.2
[    62.656] (II) LoadModule: "scfb"
[    62.656] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    62.657] (II) Module scfb: vendor="X.Org Foundation"
[    62.657]    compiled for 1.21.1.16, module version = 0.0.5
[    62.657]    ABI class: X.Org Video Driver, version 25.2
[    62.657] (II) LoadModule: "vesa"
[    62.657] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    62.658] (II) Module vesa: vendor="X.Org Foundation"
[    62.658]    compiled for 1.21.1.16, module version = 2.5.0
[    62.658]    Module class: X.Org Video Driver
[    62.658]    ABI class: X.Org Video Driver, version 25.2
[    62.658] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    62.658] (II) scfb: driver for wsdisplay framebuffer: scfb
[    62.658] (II) VESA: driver for VESA chipsets: vesa
[    62.672] (--) Using syscons driver with X support (version 2.0)
[    62.672] (--) using VT number 9
[    62.700] (II) modeset(0): using drv /dev/dri/card0
[    62.700] (WW) Falling back to old probe method for scfb
 
You can install x11-drivers/xf86-video-intel or change your xorg video configuration file. As your xorg log is not complete, it's not clear what is the xorg driver finally used. Anyway, I'm not sure this is the cause of the low framerate.

Is your user belongs to the video group?
 
Installed xf86-video-intel and should be working:

Xorg.0.log
Code:
[    90.322] (II) LoadModule: "intel"
[    90.322] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[    90.326] (II) Module intel: vendor="X.Org Foundation"
[    90.326]    compiled for 1.21.1.16, module version = 2.99.917
[    90.326]    Module class: X.Org Video Driver
[    90.326]    ABI class: X.Org Video Driver, version 25.2
[    90.326] (II) LoadModule: "modesetting"
[    90.326] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    90.332] (II) Module modesetting: vendor="X.Org Foundation"
[    90.332]    compiled for 1.21.1.16, module version = 1.21.1
[    90.332]    Module class: X.Org Video Driver
[    90.332]    ABI class: X.Org Video Driver, version 25.2
[    90.332] (II) LoadModule: "scfb"
[    90.332] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    90.333] (II) Module scfb: vendor="X.Org Foundation"
[    90.333]    compiled for 1.21.1.16, module version = 0.0.5
[    90.333]    ABI class: X.Org Video Driver, version 25.2
[    90.333] (II) LoadModule: "vesa"
[    90.333] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    90.334] (II) Module vesa: vendor="X.Org Foundation"
[    90.334]    compiled for 1.21.1.16, module version = 2.5.0
[    90.334]    Module class: X.Org Video Driver
[    90.334]    ABI class: X.Org Video Driver, version 25.2
[    90.334] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    90.335] (II) intel: Driver for Intel(R) HD Graphics
[    90.335] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    90.335] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics

But that's a legacy driver and i would like to use a fully featured Desktop Environment.

Yes, the user is part of the videogroup.
 
I finally compiled the firmware port using KMODDIR=/boot/firmware.
This time the modules were installed in the correct directory but the filename ending is .ko and should be .bin
which results again in dmesg errors. Renaming doesn't help so i assume the file formats are different.

I'm out of ideas.
 
Back
Top