From nobody Wed Jan 17 03:02:21 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 4TF9f92T4tz56hkJ for ; Wed, 17 Jan 2024 03:02:25 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TF9f91w5tz4lQZ; Wed, 17 Jan 2024 03:02:25 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705460545; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zALtXquubVf12GVK42wBAzGrzjHbniBVzHS0w0Uo31Q=; b=e8ldXY3mvoHVeIBeVP86aGctF+2WKQ9SYXoP+t/1exOa5zWgEk+Q0lCM8WbCOHb68lmjqf a9p98O1zoy3LFmMf43CAhl71MmUntXx6X0KG4MEswLnKlgctPUtwD2Ih0n0+N69EBzgGhu Jb2eeZI4kmb+0OManVfg+OTrQiCAwi2ZorSUv1BVJqv8GeeumMnjsP6ErMsoVCgkwRSU15 NWfisbQM33O8k8kJAyl7pgl3L4cssCYFWr1ITGj47x6JFvm1cP8I7FDMQcx7UD0+9bEdox uckGDz2XFi2Lm3kJFhAvLpsddW94bjkINAKJ+xMFPPytKuJ5V1RMGnOA4bEGvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705460545; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zALtXquubVf12GVK42wBAzGrzjHbniBVzHS0w0Uo31Q=; b=tz2MVc2HSgB4gosNfUp4V2Om2BTy1jkoBkJ3xdMAnSi4lf6via1rkAU9Z8c6eRMTR59m/Y SuIzGGFXQfNB3kEoFaEOhkuqT111JwqyxUAOXQjGP5Br8dM5MkVORDeUPW+313esvmBY9K U5J6+UGUeWc4nOXP7KLPD9b/rrzTJ5R/mwCNNXUwpEpTiqVcP1dAIiK7Ld0/TT6eh7KEi6 9uaDeycPJgww3BJslRmB0VYdbBoNa4MhZWJ1h65fRl0uaVe2NW8680iHRU2kaxEw0fhFKD sa2G69TmpewvlAIQDRcxrp87dYZZc5UPYYFI8CJ6zzxvdzYqZPjrY5kRd3//+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705460545; a=rsa-sha256; cv=none; b=VL3xH/UuQn4oHmH9fIUiU8ZfbNaTREEoxtNpyCtZHrMJV9mnMQ174kGQVMdvCoWp9DLGEP pM7uqZrEpybbrCi085Fq5qcowyvgHhakfkwIv0ga03WYZhaJiD4Dq8WUJnOXTFezkhuJsK B+L5WMMgc3N9oRBTjNK01U+ZUGQsMSGuPzXouy/yjTtnRChUsOK4t/CZld6u3Y6zNd9FwH EXzKQ0nL1VCP/v3Q2xEQ9Cjoy9LDTIRNdD66Rw17xaDwW14lWCToIDx8EMxsYOMx9CcTUB jjki31lf8DNkk59eJBRhB02u6/GxXFZxVBaJxpq2j0DtpgmC4QAvHgSrxyQVHQ== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 1FD145F02; Wed, 17 Jan 2024 03:02:25 +0000 (UTC) From: Jan Beich To: Chris Cc: freebsd-current Subject: Re: Alder lake supported? (graphics) In-Reply-To: (Chris's message of "Tue, 16 Jan 2024 16:48:00 -0800") References: Date: Wed, 17 Jan 2024 04:02:21 +0100 Message-ID: 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 Content-Type: text/plain 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