Nvidia 595.99.02 is better !

Status-Report : Nvidia driver 595:99.02.150102 appears to be more stable than its predessesor 595.91 . With 595.91 I had kernel panics when trying to use DRM-612. With 595.99 DRM-612 starts and works again. ( using a desktop based on i7-11700K with freebsd 15.1-Stable , FreeBSD 15.1-STABLE stable/15-n285404-d8c4785e1e41 )

now having these versions installed.

# pkg info |egrep "nvidia|drm"
drm-612-kmod-6.12.85.1501502_1 Direct Rendering Manager (DRM) GPU drivers
drm-kmod-20260508 Direct Rendering Manager (DRM) GPU drivers metaport
gpu-firmware-kmod-20260519,1 Firmware modules for the drm-kmod drivers
libdrm-2.4.131,1 Direct Rendering Manager library and headers
linux-nvidia-libs-595.99.02 NVIDIA graphics libraries and programs (Linux)
linux-rl9-libdrm-2.4.128 Rocky Linux Direct Rendering Manager runtime
nvidia-driver-595.99.02 NVIDIA graphics driver userland
nvidia-drm-612-kmod-595.99.02.1501502 NVIDIA DRM Kernel Module
nvidia-drm-kmod-595.99.02 NVIDIA DRM kernel module
nvidia-kmod-595.99.02.1501502 NVIDIA graphics driver kernel module
nvidia-settings-595.99.02 Display Control Panel for NVIDIA graphics
 
For me,
x@myfreebsd:/SSD/home/x $ pkg info |egrep "nvidia|drm"
drm-612-kmod-6.12.85.1501000_1 Direct Rendering Manager (DRM) GPU drivers
libdrm-2.4.133,1 Direct Rendering Manager library and headers
nvidia-driver-595.84 NVIDIA graphics driver userland
nvidia-drm-612-kmod-595.84.1501000_1 NVIDIA DRM Kernel Module
nvidia-drm-kmod-595.84 NVIDIA DRM kernel module
nvidia-kmod-595.84.1501000 NVIDIA graphics driver kernel module
nvidia-settings-595.84 Display Control Panel for NVIDIA graphics
nvidia_gpu_prometheus_exporter-g20181028_44 NVIDIA GPU Prometheus exporter
x@myfreebsd:/SSD/home/x $

ok ?
 
595.84 set of drivers worked for me as well. 595.91 driver only worked without DRM.
but no use of investigating why, now that 595.99 is usable.
 
Thank you Alain for showing that I had older libdrm installed ,
now updated to version 2.4.134.1

-------------------

pkg info | egrep "nvidia|drm"
drm-612-kmod-6.12.85.1501502_1 Direct Rendering Manager (DRM) GPU drivers
drm-kmod-20260508 Direct Rendering Manager (DRM) GPU drivers metaport
gpu-firmware-kmod-20260519,1 Firmware modules for the drm-kmod drivers
libdrm-2.4.134,1 Direct Rendering Manager library and headers
linux-nvidia-libs-595.99.02 NVIDIA graphics libraries and programs (Linux)
linux-rl9-libdrm-2.4.128 Rocky Linux Direct Rendering Manager runtime
nvidia-driver-595.99.02 NVIDIA graphics driver userland
nvidia-drm-612-kmod-595.99.02.1501502 NVIDIA DRM Kernel Module
nvidia-drm-kmod-595.99.02 NVIDIA DRM kernel module
nvidia-kmod-595.99.02.1501502 NVIDIA graphics driver kernel module
nvidia-settings-595.99.02 Display Control Panel for NVIDIA graphics
 
Status-Report : Nvidia driver 595:99.02.150102 appears to be more stable than its predessesor 595.91 . With 595.91 I had kernel panics when trying to use DRM-612. With 595.99 DRM-612 starts and works again. ( using a desktop based on i7-11700K with freebsd 15.1-Stable , FreeBSD 15.1-STABLE stable/15-n285404-d8c4785e1e41 )

now having these versions installed.

# pkg info |egrep "nvidia|drm"
drm-612-kmod-6.12.85.1501502_1 Direct Rendering Manager (DRM) GPU drivers
drm-kmod-20260508 Direct Rendering Manager (DRM) GPU drivers metaport
gpu-firmware-kmod-20260519,1 Firmware modules for the drm-kmod drivers
libdrm-2.4.131,1 Direct Rendering Manager library and headers
linux-nvidia-libs-595.99.02 NVIDIA graphics libraries and programs (Linux)
linux-rl9-libdrm-2.4.128 Rocky Linux Direct Rendering Manager runtime
nvidia-driver-595.99.02 NVIDIA graphics driver userland
nvidia-drm-612-kmod-595.99.02.1501502 NVIDIA DRM Kernel Module
nvidia-drm-kmod-595.99.02 NVIDIA DRM kernel module
nvidia-kmod-595.99.02.1501502 NVIDIA graphics driver kernel module
nvidia-settings-595.99.02 Display Control Panel for NVIDIA graphics
Glad to hear it!
 
Does anyone have an xorg.conf that might work for a nvidia 5070 and know where to put it?


I have read and attempted numerous posts of xorg.conf fixes, or lack of that file as a fix, , mostly from linux and/or windows threads since that is the majority of uses, as well as many from this forum, and still a black screen with a nonmoving mouse pointer and a blinking left upper corner white square when it does work. [ In those cases the log file shows no errors as it it had worked ] The xorg.conf I have tried are all usable on older cards for the most part, so ...
------------------
I just skimmed the manpage for the
xorg.conf and, while it describes all the parts that are mandatory or optional,
a step-by-step construction of the actual file is not yet written, of if online,
I have yet to find it.
Additionally, I find it vague that the same file(s) [
xorg.conf and other similarly-named files, ]
are to be placed in multiple places without a fully documented, so far, context of
if-in-this-subdirectory a setting, or file, should not be in the others, if that is the case [vs the case that the server just ignores the not pertinent ones ] , given that there are about ten places where the Xorg server checks for startup files.
------------------------------
It also may help me to know which, if any, other places should NOT have configuration files present? I am at a loss as to whether an
xorg.conf is being made unworkable by the other recently mandated
files with numbers as their first part such as "10- and "20- .....
 
Does anyone have an xorg.conf that might work for a nvidia 5070 and know where to put it?


I have read and attempted numerous posts of xorg.conf fixes, or lack of that file as a fix, , mostly from linux and/or windows threads since that is the majority of uses, as well as many from this forum, and still a black screen with a nonmoving mouse pointer and a blinking left upper corner white square when it does work. [ In those cases the log file shows no errors as it it had worked ] The xorg.conf I have tried are all usable on older cards for the most part, so ...
------------------
I just skimmed the manpage for the
xorg.conf and, while it describes all the parts that are mandatory or optional,
a step-by-step construction of the actual file is not yet written, of if online,
I have yet to find it.
Additionally, I find it vague that the same file(s) [
xorg.conf and other similarly-named files,
are to be placed in multiple places without a fully documented, so far, context of
if-in-this-subdirectory a setting, or file, should not be in the others, if that is the case [vs the case that the server just ignores the not pertinent ones ] , given that there are about ten places where the Xorg server checks for startup files.
------------------------------
It also may help me to know which, if any, other places should NOT have configuration files present? I am at a loss as to whether an
xorg.conf is being made unworkable by the other recently mandated
files with numbers as their fist part such as "10- and "20- .....
Its known that you need to load the Nvidia card Firmware for Blackwell generation cards.

Add this line to /boot/loader.conf and then reboot.

hw.nvidia.registry.EnableGpuFirmware=1


Firmware should be present in /boot/modules

nvidia_gsp_ga10x_fw.ko

If installation has been successful.

Its very probable that the X11 will autoconfigure .

if not the fastest way is to install and run :

nvidia-xconfig

which will install a configfile as /etc/X11/xorg.conf.

You can later adapt this to a modern config file in /usr/local/etc/X11/xorg.conf.d

//Regards
 
To make auto-configuration work for X11 (Xorg / XLibre) on NVIDIA GPUs, DRM / KMS interface part (whichever of graphics/nvidia-drm-*-kmod that matches for your base FreeBSD version.

Have you installed it via graphics/nvidia-drm-kmod that is the wrapper to determine OS version to choose one to install?

And graphics/nvidia-drm-*-kmod* installs /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf and it should be picked if there's no corresponding file in /usr/local/etc/X11/xorg.conf.d.

In case this doesn't work, it usually mean that the driver kmod fails to detect GPU in PCI(e) bus. In this specific case, you need to
  1. determine bus ID of NVIDIA GPU with pciconf -lv | grep -B 3 -A 1 display
  2. copy /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf into /usr/local/etc/X11/xorg.conf.d directory, edit /usr/local/etc/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf to add BusID line in between Section "OutputClass" line and EndSection line
to override default.

For example, if the result of pciconf above is like below,
Code:
vgapci0@pci0:1:0:0:    class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x25b2 subvendor=0x10de subdevice=0x1879
    vendor     = 'NVIDIA Corporation'
    device     = 'GA107GL [RTX A400]'
    class      = display
    subclass   = VGA
the bus ID you need to specify for this RTX A400 is "PCI:1:0:0".
(if the GPU doesn't sanely detected, it may be something other than 1:0:0, usually.)
Indentations in /usr/local/etc/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf is important. The line (for the example above, should be like below.
Code:
    BusID "PCI:1:0:0"
 
Back
Top