Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 04:02:21 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Chris <bsd-lists@bsdforge.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Alder lake supported? (graphics)
Message-ID:  <jzo8-mzlu-wny@FreeBSD.org>
In-Reply-To: <adf36dd82476a266ec2152a0b38ce5bf@bsdforge.com> (Chris's message of "Tue, 16 Jan 2024 16:48:00 -0800")
References:  <adf36dd82476a266ec2152a0b38ce5bf@bsdforge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris <bsd-lists@bsdforge.com> writes:

> I upgraded to an alder lake based machine and installed 14.
> But I can't seem to get the intel graphics loaded (drm-515-kmod).
> It simply freezes at load.
> Are Alder lake graphics supported?

Try drm-61-kmod instead (with gpu-firmware-intel-kmod-alderlake >= 20230625).
Reported success in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270888#c8

> releng/14.0-n265380-f9716eee8ab4
> 12th Gen Intel(R) Core(TM) i3-1215U
> vgapci0@pci0:0:2:0:	class=0x030000 rev=0x0c hdr=0x00 vendor=0x8086
> device=0x46b3 subvendor=0x17aa subdevice=0x3b3a
>     vendor     = 'Intel Corporation'
>     device     = 'Alder Lake-UP3 GT1 [UHD Graphics]'
>     class      = display
>     subclass   = VGA

0x46b3 aka ADL-P is unstable with Linux < 5.17 or in drm-515-kmod.
https://github.com/torvalds/linux/commit/dfb924e33927
https://github.com/freebsd/drm-kmod/commit/3403defd86e5

include/drm/i915_pciids.h contains a list of supported Intel GPUs.
drivers/gpu/drm/i915/i915_pci.c with .require_force_probe contain
a list of unstable GPU generations. Previously, Linux < 5.5 used
.alpha_support and Linux < 4.9 used .preliminary_hw_support.

drm-kmod doesn't support hw.i915kms.force_probe (via loader.conf or kenv)
tunable yet thus cannot override .require_force_probe for specific GPUs.
Instead it sets DRM_I915_FORCE_PROBE="*" to enable all unstable support.
https://github.com/freebsd/drm-kmod/commit/054cb0598cab



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jzo8-mzlu-wny>