From nobody Sat Nov 29 13:25:00 2025 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 4dJW9t2tb1z6Hr7b; Sat, 29 Nov 2025 13:25:06 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp052.goneo.de [85.220.129.60]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dJW9t0dgLz3RZ4; Sat, 29 Nov 2025 13:25:05 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 9D2AA240939; Sat, 29 Nov 2025 14:25:03 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id C617124021E; Sat, 29 Nov 2025 14:25:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1764422701; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lueMMe+hmO4GkBuF8O2pAqTosrhR5YoQS6ITbQMeU+Q=; b=eQZCM1v8FQ8kNeO7burcAGzxcEh6l1cXUn6robLDPd5eCr4D81vFPckRm8KLOyK+WMkYCo 746bviDk16KQ99WlG/3Wr4x1bgxY8PXWg7GgGX7QU4V0VHrKZLOZsvtum+IW0Onepv/WVu gsVaDhd5CW3dvNKVxoVvJ1Ctv+t7smaTTxwQnLioIhFrYyhj5ltdjgZLGu9cF4weKshdAT sjvtxbnB0pprSnSV3Foycibthndr4iESADG2mIPiC3Ntwm0h/8v7vqHKKOSH7dGVtwo6QF lR3TNLkLD0AB5bcJbbsEyK5wrgNQcnLqNS+5N8wDhIQ+56r7hjxOEGzBOkFOqw== Received: from hermann (dynamic-2a02-3100-23f0-d502-33d6-a71c-2660-5263.310.pool.telefonica.de [IPv6:2a02:3100:23f0:d502:33d6:a71c:2660:5263]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 91713240166; Sat, 29 Nov 2025 14:25:01 +0100 (CET) Date: Sat, 29 Nov 2025 14:25:00 +0100 From: FreeBSD User To: Tomek CEDRO Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: CURRENT: working alternative nVidia GPU driver for x11/nvidia-kmod? Message-ID: <20251129142412.1746f00c@hermann> In-Reply-To: References: <20251129131506.41ceec97@hermann> 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; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-UID: 148e3a X-Rspamd-UID: 7dceab X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dJW9t0dgLz3RZ4 On Sat, 29 Nov 2025 13:18:12 +0100 Tomek CEDRO wrote: > On Sat, Nov 29, 2025 at 1:15=E2=80=AFPM FreeBSD User wrote: > > Since some recent changes to the CURRENT kernel, x11/nividia-kmod/drive= r is > > no longer working. Either kernel module nvidia-modeset.ko/nvidia.ko rej= ect > > to load with a failure when both the following OIDs are set to ZERO: = =20 >=20 > Do you have this set in /boot/loader.conf for the new nvidia gpu? >=20 Loading the GPU driver module via /etc/rc.conf.local saves me from crashes/kernel hung in case of a problem, so setting those OIDs in loader.c= onf is ineffective here because the module isn't already loaded. > hw.nvidiadrm.modeset=3D1 > hw.nvidia.registry.EnableGpuFirmware=3D1 I've set hw.nvidia.registry.EnableGpuFirmware=3D1 in /etc/sysctl.conf.local= , the first one not. Loading "kldload nvidia-modeset" after a successful boot of CURRENT. Issuing sysctl hw.nvidia.registry.EnableGpuFirmware=3D1 hw.nvidia.registry.EnableGpuFirmware: 0 -> 1 but for=20 # sysctl hw.nvidiadrm.modeset=3D1 sysctl: unknown oid 'hw.nvidiadrm.modeset' >=20 > Or this is another problem? >=20 > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >=20