Offtopic rants (was: Why is nVidia So Problematic?)

As a ‘nix noob I see a lot of chatter about endless problems with Nvidia and CUDA on all ‘nix platforms.

nVidia is not a minor nor 2nd tier player.
I’m surprised at this.

Details?
the top issue right now is not the Nvidia Drivers, the issue is that the Freebsd 15 Kmod repo is for 15.0 and there is no kmod repo fro 15.1.
that renders the graphic drivers in the 15.0 kmod repo unsuitable/unusable for a 15.1 installation.

The solution is to build the graphics card Kernel modules yourself , from a freshly update /usr/ports tree.

this applies to graphics/drm-kmod and graphics/nvidia-drm-kmod and x11/nvida-kmod and x11/nvidia-driver.
 
the issue is that the Freebsd 15 Kmod repo is for 15.0 and there is no kmod repo fro 15.1.
That's not correct. The kmod repo for 15.1 does exist. It's just not kept up to date with the other repositories (or at least not everything in it, some things do appear to get updated). So the versions in the 15.1 kmod repository are older than the ones on the FreeBSD-ports repository.
 
>90% of all those problems are regarding the linux-derived drivers requiring the drm abstaction layer.

Just use the native nvidia driver (x11/nvidia-driver-NNN) - they have been working perfectly fine for a very long time (>15 years for me).
 
switching to FreeBSD-ports-kmods: { url: "pkg+https://pkg.freebsd.org/${ABI}/kmods_latest" }

still does not find
nvidia-drm-612-kmod-595.91.07.150150

but it does find drm-612-kmod-6.12.85.1501502_1

A PC with a Nvidia GPU cant be installed with FreeBSD 15.1 from the repos .
Building with Ports is required.
 
That's not correct. The kmod repo for 15.1 does exist. It's just not kept up to date with the other repositories (or at least not everything in it, some things do appear to get updated). So the versions in the 15.1 kmod repository are older than the ones on the FreeBSD-ports repository.
So, I'm a bit confused now:

$ pkg search -r FreeBSD-ports drm-
drm-515-kmod-5.15.160.1500068_10 Direct Rendering Manager (DRM) GPU drivers
drm-61-kmod-6.1.128.1500068_10 Direct Rendering Manager (DRM) GPU drivers
drm-66-kmod-6.6.25.1500068_10 Direct Rendering Manager (DRM) GPU drivers
drm-kmod-20260508 Direct Rendering Manager (DRM) GPU drivers metaport

vs

$ pkg search -r FreeBSD-ports-kmods drm-
drm-515-kmod-5.15.160.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-61-kmod-6.1.128.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-612-kmod-6.12.85.1501502_1 Direct Rendering Manager (DRM) GPU drivers
drm-66-kmod-6.6.25.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-latest-kmod-6.12.1501502 Direct Rendering Manager (DRM) GPU drivers

Is it supposed for drm-515/61/66-kmod packages to exist in both FreeBSD-ports (latest) and FreeBSD-ports-kmods (latest)?

The good news is that drm 6.12 appeared on kmods_latest (yei) but is still not on kmods_latest_1.
 
switching to FreeBSD-ports-kmods: { url: "pkg+https://pkg.freebsd.org/${ABI}/kmods_latest" }

still does not find
nvidia-drm-612-kmod-595.91.07.150150

but it does find drm-612-kmod-6.12.85.1501502_1

A PC with a Nvidia GPU cant be installed with FreeBSD 15.1 from the repos .
Building with Ports is required.
It may be just because the admins of kmod repo builders cannot take time to dig into the regression causing NVIDIA driver kmods except x11/nvidia-kmod alone aren't built. Maybe because the complexed configurations of builders due to severe resource limits.
What already requested by the admins are already finished, and we (NVIDIA driver ports maintaining team) are all ears with the admins' additional requests to us. But not with others, not to bother the admins to dig into.
And this is why I've rejected PR 296278 as one of the maintainers.
If the reporter was one of the admins of kmod repo builders, I'd be happy to do it.
 
The above is tinkering that I have no desire to do.

At my age now, all I want is an OS to do the work I want to do. If I have to tinker with the OS to get my required drivers and CUDA then I will choose a different OS.

Many years ago the AMD crap drivers and VIA chipsets left a permanent disdain for them, and I will never go back. Never.

For the last 15 years I have a Radeon 4770 in my Intel i7 and full Intel chipset that works properly. Mint, Debian 12 and 13 all choked and crashed at install. I defaulted to MX Linux that installed and runs perfectly. No tinkering.

My replacement workstation is a big Xeon on a SuperMicro chassis and all Intel. It has an nVidia 4060ti that installs correctly under Windows 10.

This machine is dual SSD, dual boot via BIOS to MX Linux as my daily driver. If MX cannot support nVidia I will move to yet another choice. I want to work, not tinker.
 
I use FreeBSD in a X61 ThinkPad that uses a VIA graphics, since in those days it was everywhere.
 
Last edited:
The lack of an open hardware specification and proprierary drivers because of that?
Microsoft, Steam and game producers know more than the public...
 
I don't think this problem is unique to Nvidia stuff.
We have ports, which are always built for the lowest common denominator in a release. That means right now, since 15.0 is not yet EoL, all ports are built against 15.0, even ports that are kmods (like nvidia).
Then we have "ports-kmods", which are built for everything supported so we have kmods for 15.0 and 15.1
Build environments:
ports and ports-kmod are separate, distinct, maybe even have different git repos and commit stuff. Given that, you can/will wind up with different versions between ports and ports-kmod, as shown in post #12.
T-Aoki points out in post #13 there are build issues for nvidia in the ports-kmod repo which is why you see different versions in ports and ports-kmod

That is the root cause of why if you are running on 15.1, you need to build nvidia stuff locally from a ports tree.

I don't think it's that hard to understand, the problem has always existed for third party kmods. The ports-kmod repo helps, but if it doesn't build, we get confusion.

If the commands used to check "is there a newer version" added version/ABI awareness, we may have less confusion. Or maybe more. I don't know.
But sometimes the answer is "don't follow latest, follow quarterly and don't blindly pkg upgrade"
 
The above is tinkering that I have no desire to do.

At my age now, all I want is an OS to do the work I want to do.
see my posts #20 and #27
Second.
That's exactly why I'm using FreeBSD.
FreeBSD once set up right just runs. No tinkering.
Stick to RELEASE and pkg OR ports, and it's undramatic rock solid. No tinkering at all. Just doing the job. Everything anybody needs who's looking for only doing the work and least tinkering as possible.
many of those problems not seldom can be tracked back to being newbies to FreeBSD not reading The Handbook, not reading the FAQs, not reading the documentation, not reading the manpages, not reading the Wiki, not reading the official announcements, not reading the forums first, but already experimenting, e.g. fumbling with CURRENT not knowing this ain't not the most recent RELEASE, tinkering things unconsidered their own way, getting stuff from github instead using ports/packages, or do naive what some AI chatbot said while still lacking enough expertise to rate those things, so fumbling and tinkering not knowing what they are doing.
Just stick to REALEASE and the Handbook, and FreeBSD runs fine.
My tip was:
Do a clean, new installation of a RELEASE, then just do what's in the Handbook, only:
pkg install nvidia-drm-kmod for NVIDIA
pkg install xorg
add your user to the video group, so not only root is allowed to have access to that resource
pkg install xfce xfce-4.20_2 Meta-port for the Xfce Desktop Environment

I bet you have an up and running XFCE on FreeBSD within less than 2 hours, and no tinkering.
 
I have not had trouble with NVIDIA GPUs for normal stuff. My only problem is that CUDA is not completely supported yet. I wanted to use PGI Fortran to play with parallel processing on the GPU. (That's not currently a problem, though, because I lost my machines with NVIDIA GPUs in the last move. Maybe by the time I get the right hardware again....)
 
Well today 8/24/26 all the nvidia-drm-xxx-kmod & nvidia_kmod binariry blobs in the latest repo are for 15.0-release.
indicated by the 1500068 tag below.

nvidia-drm-515-kmod-595.91.07.1500068 NVIDIA DRM Kernel Module
nvidia-drm-515-kmod-580-580.178.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-515-kmod-devel-610.57.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-61-kmod-595.91.07.1500068 NVIDIA DRM Kernel Module
nvidia-drm-61-kmod-580-580.178.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-61-kmod-devel-610.57.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-66-kmod-595.91.07.1500068 NVIDIA DRM Kernel Module
nvidia-drm-66-kmod-580-580.178.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-66-kmod-devel-610.57.04.1500068 NVIDIA DRM Kernel Module
nvidia-kmod-595.91.07.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-304-304.137.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-340-340.108.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-390-390.157.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-470-470.256.02.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-580-580.178.04.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-devel-610.57.04.1500068 NVIDIA graphics driver kernel module

while the drm-kmod binary blobs for Intel and AMD Gpus are available for both 15.0 and 15.1


15.0
drm-515-kmod-5.15.160.1500068_10 Direct Rendering Manager (DRM) GPU drivers
drm-61-kmod-6.1.128.1500068_10 Direct Rendering Manager (DRM) GPU drivers
drm-66-kmod-6.6.25.1500068_10 Direct Rendering Manager (DRM) GPU drivers


and for 15.1 tagged with 1501502_10

drm-515-kmod-5.15.160.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-61-kmod-6.1.128.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-612-kmod-6.12.85.1501502_1 Direct Rendering Manager (DRM) GPU drivers ( preffered for 15.1 )
drm-66-kmod-6.6.25.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-latest-kmod-6.12.1501502 Direct Rendering Manager (DRM) GPU drivers


This is why its not possible to Install the Nvidia DRM nor Nvidia_kmod from the latest repo nor from the quarterly repo
where no 15.1 binary blobs exist.


So local build from Ports-tree is required.

Correction:

pkg search -r FreeBSD-ports-kmods nvidia- yields

nvidia-kmod-595.91.07.1501502 NVIDIA graphics driver kernel module

but nvidia-drm-612-kmod is still missing.
 
Well today 8/24/26 all the nvidia-drm-xxx-kmod & nvidia_kmod binariry blobs in the latest repo are for 15.0-release.
indicated by the 1500068 tag below.

nvidia-drm-515-kmod-595.91.07.1500068 NVIDIA DRM Kernel Module
nvidia-drm-515-kmod-580-580.178.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-515-kmod-devel-610.57.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-61-kmod-595.91.07.1500068 NVIDIA DRM Kernel Module
nvidia-drm-61-kmod-580-580.178.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-61-kmod-devel-610.57.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-66-kmod-595.91.07.1500068 NVIDIA DRM Kernel Module
nvidia-drm-66-kmod-580-580.178.04.1500068 NVIDIA DRM Kernel Module
nvidia-drm-66-kmod-devel-610.57.04.1500068 NVIDIA DRM Kernel Module
nvidia-kmod-595.91.07.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-304-304.137.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-340-340.108.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-390-390.157.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-470-470.256.02.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-580-580.178.04.1500068 NVIDIA graphics driver kernel module
nvidia-kmod-devel-610.57.04.1500068 NVIDIA graphics driver kernel module

while the drm-kmod binary blobs for Intel and AMD Gpus are available for both 15.0 and 15.1


15.0
drm-515-kmod-5.15.160.1500068_10 Direct Rendering Manager (DRM) GPU drivers
drm-61-kmod-6.1.128.1500068_10 Direct Rendering Manager (DRM) GPU drivers
drm-66-kmod-6.6.25.1500068_10 Direct Rendering Manager (DRM) GPU drivers


and for 15.1 tagged with 1501502_10

drm-515-kmod-5.15.160.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-61-kmod-6.1.128.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-612-kmod-6.12.85.1501502_1 Direct Rendering Manager (DRM) GPU drivers ( preffered for 15.1 )
drm-66-kmod-6.6.25.1501502_10 Direct Rendering Manager (DRM) GPU drivers
drm-latest-kmod-6.12.1501502 Direct Rendering Manager (DRM) GPU drivers


This is why its not possible to Install the Nvidia DRM nor Nvidia_kmod from the latest repo nor from the quarterly repo
where no 15.1 binary blobs exist.


So local build from Ports-tree is required.
And I think that feeds into what T-Aoki has been saying about builds in ports-kmod failing on build. Honestly to me the biggest thing is "kmod built for 15.0 is a newer version than kmod built for 15.1" Beyond that, I really don't know how to convince/tell people what is happening.

Again, it's not something unique to Nvidia kmods.
 
And I think that feeds into what T-Aoki has been saying about builds in ports-kmod failing on build. Honestly to me the biggest thing is "kmod built for 15.0 is a newer version than kmod built for 15.1" Beyond that, I really don't know how to convince/tell people what is happening.

Again, it's not something unique to Nvidia kmods.

It shows that every minor release needs a separate ports-kmod repo that is built to the curent kernel.
 
It shows that every minor release needs a separate ports-kmod repo that is built to the curent kernel.
Agreed, and that is what is happening. The problem is the "ports-kmod" build is failing so ports-kmods lags ports for version if you ignore ABI.
So again.the problem seems to be well defined which mean I fail to see the problem.
 
pkg info | egrep "drm|nvidia|kmod"
Code:
drm-66-kmod-6.6.25.1501000_8   Direct Rendering Manager GPU drivers
libdrm-2.4.133,1               Direct Rendering Manager library and headers
libmikmod-3.3.13               MikMod Sound Library
nvidia-driver-595.84           NVIDIA graphics driver userland
nvidia-drm-66-kmod-595.84.1500068_1 NVIDIA DRM Kernel Module
nvidia-drm-kmod-595.84         NVIDIA DRM kernel module
nvidia-kmod-595.84.1500068     NVIDIA graphics driver kernel module
nvidia-settings-595.84         Display Control Panel for NVIDIA graphics
 
pkg info | egrep "drm|nvidia|kmod"
Code:
drm-66-kmod-6.6.25.1501000_8   Direct Rendering Manager GPU drivers
libdrm-2.4.133,1               Direct Rendering Manager library and headers
libmikmod-3.3.13               MikMod Sound Library
nvidia-driver-595.84           NVIDIA graphics driver userland
nvidia-drm-66-kmod-595.84.1500068_1 NVIDIA DRM Kernel Module
nvidia-drm-kmod-595.84         NVIDIA DRM kernel module
nvidia-kmod-595.84.1500068     NVIDIA graphics driver kernel module
nvidia-settings-595.84         Display Control Panel for NVIDIA graphics
interesting,,,, drm-66-kmod for 15.1 and Nvidia kmods for 15.0 which freebsd version are you actually running ?
 
Back
Top