Intel 945G (Gen3) on FreeBSD 15.x: does i915kms / hardware acceleration work?

Hi everyone,

I have been using Linux for about a year and I am curious about trying FreeBSD on an old PC (2007/2008). I would like to know if my integrated graphics is supported before I try it.

Hardware:
- CPU: Intel Pentium E5300 (64-bit)
- RAM: 3 GB
- Board: Intel P5GC-MX/1333
- GPU: Intel 82945G/GZ integrated graphics (Gen3)
- Monitor: 1600x900

On Linux (Mesa 24.0.5) this GPU gives me OpenGL 2.1 with the i915 driver. On some distros it falls back to llvmpipe, which is why I am looking at other systems.

My questions:
1. Does graphics/drm-latest-kmod (or drm-66-kmod) still support Gen3 chips like the 945G on FreeBSD 15.x?
2. If not, can I still get 3D acceleration through Mesa's i915 driver with scfb or modesetting, or will it be software rendering only?
3. I found recent reports of i915kms kernel panics on FreeBSD 15.1 (drm-kmod issue #526). Is it safe to try kldload i915kms on this old chip, or should I avoid it?

I plan to test with a live USB (NomadBSD or GhostBSD). I know GhostBSD recommends 4 GB of RAM, so NomadBSD seems the better choice for 3 GB. Any advice on which one to use is welcome.

I can post the output of pciconf -lv and dmesg if it helps.

Thank you!
 
On Linux (Mesa 24.0.5) this GPU gives me OpenGL 2.1 with the i915 driver
What version of the kernel does it have? The version directly correlates to the version of the DRM driver. DRM 6.6 is from kernel 6.6, 612 is from kernel 6.12 and so on.
 
lite_tinkerer the drm driver does support your igpu but you may have issues with a current mesa version.
If you see that DRM works but then you do not have hardware acceleration (i.e. only llvmpipe or other software device) you may have to use the amber branch of mesa (if this is the case you will have to build it manually as there is no amber port/package available, search the forums as some users had success building it).
Also, X11 and the intel ddx driver (as opposed to modesetting) may also be your best options.

So to answer your questions:
1. Use drm-kmod or a specific version (i.e drm-66-kmod), drm-latest-kmod is not up to date now (will be used soon to validate newer versions)
2. If you have UEFI scfb should work (non composited desktop environments only), vesa for BIOS boot. Modesetting will only work if DRM also works, software rendering may depend on the mesa version (see above)
3. Better to test, but you should be fine I think

Feel free to try GhostBSD/Nomad if it gets to the desktop with the livecd you will know right away what is your level of support. As for an actual installation I would go with FreeBSD proper.
 
What version of the kernel does it have? The version directly correlates to the version of the DRM driver. DRM 6.6 is from kernel 6.6, 612 is from kernel 6.12 and so on.
Thanks for the answers!

The Linux kernel on that system is 6.8.0-31-generic (Linux Lite 7.0, based on Ubuntu 24.04). On it, the i915 kernel driver loads and Mesa 24.0.5 reports OpenGL 2.1 on the 945G, so the hardware acceleration works there.

So drm-66-kmod looks like the closest match. I will test with a live USB (GhostBSD/NomadBSD) when I can and report back here.

One more question: if only llvmpipe shows up, is the Mesa Amber branch the right way to go, or is there a simpler fix?
 
Thanks for the answers!

The Linux kernel on that system is 6.8.0-31-generic (Linux Lite 7.0, based on Ubuntu 24.04). On it, the i915 kernel driver loads and Mesa 24.0.5 reports OpenGL 2.1 on the 945G, so the hardware acceleration works there.

So drm-66-kmod looks like the closest match. I will test with a live USB (GhostBSD/NomadBSD) when I can and report back here.

One more question: if only llvmpipe shows up, is the Mesa Amber branch the right way to go, or is there a simpler fix?
If only llvmpipe shows up, check the Xorg logs for warning/errors and dmesg for "drm" / "i915" entries.
 
For older igpu, I remember that the latest working driver was the drm-54-kmod from my testing. I haven't tested for newer version than drm-515-kmod.
 
Back
Top