From nobody Wed Jan 17 20:59:57 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TFdYk6PwMz56jM0 for ; Wed, 17 Jan 2024 21:00:10 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TFdYk3QyXz4t42; Wed, 17 Jan 2024 21:00:10 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 40HKxwYA012211; Wed, 17 Jan 2024 13:00:04 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Wed, 17 Jan 2024 12:59:57 -0800 From: Chris To: Jan Beich Cc: freebsd-current Subject: Re: Alder lake supported? (graphics) In-Reply-To: References: User-Agent: UDNSMS/17.0 Message-ID: <666f1d1b09c1e23a36a90a125546f0f3@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4TFdYk3QyXz4t42 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US] On 2024-01-16 19:02, Jan Beich wrote: > Chris 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