Nvidia

All of a sudden, my nvidia card settings failed after I carried out a pkg upgrade. I have spent the whole day reading a researching for solving the issue. The issue is that my /usr/local/etc/X11/xorg.conf.d/nvidia-driver.conf no longer is correct. That file is:

Section "Device"
Identifier "Nvidia"
Driver "nvidia"
EndSection

It was working fine Until I carried out the pkg upgrade command

The cat /var/log/Xorg.0.log is telling me that the "Device" and Identifier are no longer recognized.

If any other fellow BSD'rs have experienced this issue, and found a fix, I will be very appreciative of our hard fought resolution.
 
For me it was missing a piece of software after upgade
pkg info | egrep "drm|nvidia|kmod"
Code:
drm-66-kmod-6.6.25.1500068_8   Direct Rendering Manager GPU drivers
libdrm-2.4.131,1               Direct Rendering Manager library and headers
nvidia-driver-580.119.02_1     NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-drm-66-kmod-580.119.02.1500068_2 NVIDIA DRM Kernel Module
nvidia-drm-kmod-580.119.02     NVIDIA DRM Kernel Module
nvidia-kmod-580.119.02.1500068_1 kmod part of NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-settings-580.119.02     Display Control Panel for X NVidia driver
 
For me it was missing a piece of software after upgade
pkg info | egrep "drm|nvidia|kmod"
Code:
drm-66-kmod-6.6.25.1500068_8   Direct Rendering Manager GPU drivers
libdrm-2.4.131,1               Direct Rendering Manager library and headers
nvidia-driver-580.119.02_1     NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-drm-66-kmod-580.119.02.1500068_2 NVIDIA DRM Kernel Module
nvidia-drm-kmod-580.119.02     NVIDIA DRM Kernel Module
nvidia-kmod-580.119.02.1500068_1 kmod part of NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-settings-580.119.02     Display Control Panel for X NVidia driver
The official pkg builds seems to be ongoing.
 
Have you read UPDATING entry dated 20260327?

As described, If your GPU is pre-Turing generation of architectures, it's no longer supported by x11/nvidia-kmod and need switching to -580 variant. Read the above-mentioned UPDATED entry for details.
Thanks, I did read the UPDATING post. After dealing with Nvidia G-Force 1030 card issues for over 4yrs, I will appreciate any other thoughts about simply moving to another graphics card such as Intel. Or simply wait for pkg's to catch up with the aforementioned issues.
 
Have you read UPDATING entry dated 20260327?

As described, If your GPU is pre-Turing generation of architectures, it's no longer supported by x11/nvidia-kmod and need switching to -580 variant. Read the above-mentioned UPDATED entry for details.
This is what I did given my 1030 card. Installed x11/nvidia-driver-580 & x11/nvidia-kmod-driver-580.
[Edit:] I didn't read the UPDATING entry but saw this in /var/log/messages:
Apr 7 23:57:33 xxx kernel: NVRM: The NVIDIA NVIDIA GeForce GT 1030 GPU installed in this system is
Apr 7 23:57:33 xxx kernel: NVRM: supported through the NVIDIA 580.xx Legacy drivers. Please
Apr 7 23:57:33 xxx kernel: NVRM: visit http://www.nvidia.com/object/unix.html for more
Apr 7 23:57:33 xxx kernel: NVRM: information. The 595.58.03 NVIDIA driver will ignore
Apr 7 23:57:33 xxx kernel: NVRM: this GPU. Continuing probe...
 
bakul I only read the entry when my Nvidia's resolution was messed up. It confused me as the list giving in the UPDATING link seems to include the 1030 card as supported, but I too had to use the 580 driver and kmod.

UPDATING gives the link of https://us.download.nvidia.com/XFree86/FreeBSD-x86_64/595.58.03/README/supportedchips.html but the GT 1030 is mentioned there, so I expected (incorrectly) that it'd work with the 595 drivers and kmod.
In which part the GPU is listed is quite important.
GT 1030 is listed for 580 series.

Code:
  (Snip)

NVIDIA B300 SXM6 AC     3182 10DE 20E6     K
NVIDIA GB300     31C2 10DE 21F1     K
NVIDIA GB300     31C3 10DE 22F8     K

Below are the legacy GPUs that are no longer supported in the unified driver. These GPUs will continue to be maintained through the special legacy NVIDIA GPU driver releases.

The 580.xx driver supports the following set of GPUs:
NVIDIA GPU product     Device PCI ID*
NVIDIA GeForce 830M     1340
NVIDIA GeForce 830A     1340 103C 2B2B

  (Snip)

Quadro P1000     1CFB
Matrox D-Series D1480     1CFB 102B 2600
Matrox D-Series D1450     1CFB 102B 2700
NVIDIA GeForce GT 1030     1D01
NVIDIA GeForce GT 1010     1D02
NVIDIA GeForce MX150     1D10
NVIDIA GeForce MX230     1D11

  (Snip)

Tesla PG503-216     1DF2
Tesla V100-SXM2-16GB     1DF5
Tesla V100S-PCIE-32GB     1DF6

The 470.xx driver supports the following set of GPUs:
NVIDIA GPU product     Device PCI ID*     VDPAU features
GeForce GTX 650     0FC6     D
GeForce GT 740     0FC8     D
GeForce GT 730     0FC9     C

  (Snip to EOF)
 
And I've described below in the relevant UPDATING entry.

Code:
  So anyone using related ports
    x11/nvidia-kmod
    x11/nvidia-driver
    graphics/nvidia-drm-{510|515|61|66|latest}-kmod
    x11/linux-nvidia-libs
  with dropped GPUs needs to switch to newly added legacy 580 ports.
    x11/nvidia-kmod-580
    x11/nvidia-driver-580
    graphics/nvidia-drm-{510|515|61|66|latest}-kmod-580
    x11/linux-nvidia-libs-580

  Deinstalling master ports above and reinstalling -580 variant of
  ports above would do the right things.

  If any of above hesitates to upgrade with version conflicts
  of graphics/eglexternalplatform, upgrade it first and retrying
  failed ones should help.
 
In which part the GPU is listed is quite important.
GT 1030 is listed for 580 series.
Yup, I just blissfully searched the page for GT1080 and when I found it, I didn't bother to check what it was under. Fortunately, I thought, Well, it's not working right, let me try what UPDATING says and Lo! and Behold! that fixed it.
I mentioned in another nvidia thread, that as this system is on ZFS, I try to remember to make a Boot Environment before updating. In this case I did, which was a good thing as I use the machine for my main workstation at work, used the BE, and then was able to track down the problem after work. In my case, I got X, but its usual resolution (32" monitor) is 2560x1440. I think when I rebooted after the first upgrade, it was 1280x1024, or at best, 1920x1080. Anyway, it's working now so I'm happy. :)
 
Back
Top