From nobody Sat Nov 29 16:45:30 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 4dJbdH32lxz6JDBr; Sat, 29 Nov 2025 16:45:39 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4dJbdG4NBGz3sLl; Sat, 29 Nov 2025 16:45:38 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (124-18-6-240.area1c.commufa.jp [124.18.6.240]) (authenticated bits=0) by www121.sakura.ne.jp (8.18.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 5ATGjULf059589; Sun, 30 Nov 2025 01:45:32 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1764434732; bh=nehnhjnfcA8OdJIimfEZVP0rap4wprqi8CY2gviXLEQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=lQH3EC3lrD/DqrZmeHnFzvzq98NRIH4HTBADAWC7ELnL4JkR6n+8hi1Y4NRrPJEhw cyq3lEyOkvJ+ahtvZ/Lq+bY1/xpFjfYDhf8T5LGq8a5Kigs1bI+NFX1Tm2dzAU0Se4 f5MnDWk40EIgfVsc61w5S2TKyJcMo5LJoaQ+MZhM= Date: Sun, 30 Nov 2025 01:45:30 +0900 From: Tomoaki AOKI To: FreeBSD User Cc: Tomek CEDRO , freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: CURRENT: working alternative nVidia GPU driver for x11/nvidia-kmod? Message-Id: <20251130014530.3f8d7fa8efeca2ce99f6a434@dec.sakura.ne.jp> In-Reply-To: <20251129142412.1746f00c@hermann> References: <20251129131506.41ceec97@hermann> <20251129142412.1746f00c@hermann> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) 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: 8bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dJbdG4NBGz3sLl On Sat, 29 Nov 2025 14:25:00 +0100 FreeBSD User wrote: > On Sat, 29 Nov 2025 13:18:12 +0100 > Tomek CEDRO wrote: > > > On Sat, Nov 29, 2025 at 1:15 PM FreeBSD User wrote: > > > Since some recent changes to the CURRENT kernel, x11/nividia-kmod/driver is > > > no longer working. Either kernel module nvidia-modeset.ko/nvidia.ko reject > > > to load with a failure when both the following OIDs are set to ZERO: > > > > Do you have this set in /boot/loader.conf for the new nvidia gpu? > > > > 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.conf > is ineffective here because the module isn't already loaded. > > > hw.nvidiadrm.modeset=1 > > hw.nvidia.registry.EnableGpuFirmware=1 > > I've set hw.nvidia.registry.EnableGpuFirmware=1 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=1 > hw.nvidia.registry.EnableGpuFirmware: 0 -> 1 > > but for > # sysctl hw.nvidiadrm.modeset=1 > sysctl: unknown oid 'hw.nvidiadrm.modeset' > > > > > Or this is another problem? > > > > -- > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info Please try patch at Bug291212 [1] or review D53987 [2]. Both are actually the same patch. But if this is the case, the offending commit is temporarily reverted now at commit fad4c92b78a123f87195173ac118655fa8e325cd as of "Stabilization Week". So upgrading to it would help, but once the offending commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef is reapplied, the issue would be surely revive without actual fix. And maybe commit e00a781c216cb12603a0a71c9ca293dde3e06250 or later would be wanted if you don't explicitly disabled LINUX option for x11/nvidia-kmod[-devel]. (This is just my prediction, as my main branch environment is too outdated to test. stable/15 and main are installed in different SSDs of exactly the same computer, thus, hard to take time to switch to main and upgrade to test.) [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212 [2] https://reviews.freebsd.org/D53987 -- Tomoaki AOKI