For the complete documentation index, see llms.txt. This page is also available as Markdown.

9.2 Intel Graphics Drivers

This section covers the driver installation and configuration for Intel integrated graphics (i915 DRM module). Please read the Graphics Driver Overview first.

Installing Intel Integrated Graphics

FreeBSD 14.x

Tip

To install using pkg, refer to the kernel modules (kmods) source configured in other chapters of this book.

# cd /usr/ports/graphics/drm-61-kmod
# make BATCH=yes install clean

Or install using pkg (use this method if Ports installation has issues):

# pkg install drm-61-kmod

FreeBSD 15.0

Install using Ports:

# cd /usr/ports/graphics/drm-66-kmod
# make BATCH=yes install clean

Note

Early Intel integrated graphics such as HD 4000 from the 3rd generation processors, when no DRM driver is installed, can only use VESA framebuffer (without GPU acceleration) as a fallback display in legacy BIOS mode, and may exhibit screen corruption in UEFI mode. Only after installing the corresponding version of the DRM graphics driver can normal GPU hardware acceleration be obtained.

Configuring Intel Integrated Graphics

Add the i915kms kernel module to kld_list in the /etc/rc.conf file so that it loads at system startup:

Video Hardware Decoding

Warning

If you skip this section, software that depends on GPU acceleration such as Blender may not run properly or may produce "segmentation faults".

Installing the Intel VA-API Media Driver

  • Install using pkg:

  • Or install using Ports:

Installing Mesa's Gallium VA-API and VDPAU Support Packages

  • Install using pkg:

  • Or install using Ports:

Appendix: Intel Graphics Power Management

Some graphics cards may consume too much power. FreeBSD can reduce power consumption through specific configurations.

If using Intel graphics with the graphics/drm-kmod driver, you can add the following options to the /boot/loader.conf file:

Feature descriptions:

Configuration Item
Value
Description

compat.linuxkpi.i915_fastboot

1

Attempt to skip unnecessary mode setting at boot

compat.linuxkpi.i915_enable_dc

2

Enable power-saving display C-states

compat.linuxkpi.i915_enable_fbc

1

Enable frame buffer compression to save power

References

  • FreeBSD Project. Graphics[EB/OL]. [2026-03-25]. https://wiki.freebsd.org/Graphics. The official FreeBSD wiki, providing detailed lists of graphics hardware compatibility and configuration guides.

Exercises

  1. Try to automate the DRM porting process on FreeBSD.

  2. Try to re-port the DRM implementation from OpenBSD.

Last updated