Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 12:59:57 -0800
From:      Chris <bsd-lists@bsdforge.com>
To:        Jan Beich <jbeich@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Alder lake supported? (graphics)
Message-ID:  <666f1d1b09c1e23a36a90a125546f0f3@bsdforge.com>
In-Reply-To: <jzo8-mzlu-wny@FreeBSD.org>
References:  <adf36dd82476a266ec2152a0b38ce5bf@bsdforge.com> <jzo8-mzlu-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2024-01-16 19:02, Jan Beich wrote:
> 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
Thank you for the informative report, Jan.
Unfortunately I don't pass the conditional in Makefile for FreeBSD 15 or 
greater.
I'm on 14. Commenting that conditional indicates I don't have a necessary
file (linux/iosys-map.h). So looks like I'll we'll have to wait. Or I'll
need to track 15. :(

Thanks again! :-)

--Chris



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