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
pciconf -lv|grep -B4 VGA
pkg info drm-kmod
fwget
kldstat
dmesg
Xorg.0.log
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