Re: CURRENT: working alternative nVidia GPU driver for x11/nvidia-kmod?

FreeBSD User <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11,gmane.os.freebsd.current
Message-ID <20251129142412.1746f00c@hermann>
On Sat, 29 Nov 2025 13:18:12 +0100
Tomek CEDRO <[email protected]> wrote:

> On Sat, Nov 29, 2025 at 1:15 PM FreeBSD User <[email protected]> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.