Can somebody explain what the different components for drm/xorg etc are (in this case for NVidia)?

cracauer@

Developer
Code:
| grep -iE 'nvidia|kmod|drm'
drm-66-kmod
libdrm
linux-nvidia-libs
nvidia-driver
nvidia-drm-66-kmod
nvidia-drm-kmod
nvidia-kmod

I am getting very frustrated with DRM/Vulkan/whole-X11 breaking on upgrades (that's OK, I use -current) but then being unable to find out the right incantation to rebuild just the right port to make things work again. Currently I am stuck with
Code:
NVRM: API mismatch: the client 'Xorg' (pid 9534)
NVRM: has the version 595.71.05, but this kernel module has
NVRM: the version 595.58.03.  Please make sure that this
NVRM: kernel module and all NVIDIA driver components
NVRM: have the same version.

I think by now I have rebuilt all of the above (and I'm obviously wrong about that) and no go.

What are all those different ports for? What provides what?
 
At this moment (May 24, 2026 19:40 JST+9) for Production branch of ports:

NFB (New Feature Branch) port:

Legacy (580.*) port:

Legacy (470.*) port: (No DRM support)

Legacy (390.*) port: (No DRM support)

Legacy (340.*) port: (No DRM support)

Legacy (304.*) port: (No DRM support)

Note that addition corresponding with DRM/KMS 6.12 and bump corresponding with DRM/KMS latest to 6.12 is under review as D57206 (with PR 295519) now.
Once this lands, default DRM/KMS ports would switch to 6.12 for stable/15 and 15.1-RELEASE (that have OSVERSION >= 1500509) just as graphics/drm-kmod does.
 
Tree:
Code:
Nvidia-drm-kmod pulls-in  :
       - Nvidia-driver
       - Nvidia-drm-66-kmod
       - Nvidia-kmod
Nvidia-driver pulls-in
        - Libdrm
Nvidia-driver & Nvidia-drm-66-kmod pulls-in :
       - Nvidia-kmod
 
Tree:
Code:
Nvidia-drm-kmod pulls-in  :
       - Nvidia-driver
       - Nvidia-drm-66-kmod
       - Nvidia-kmod
Nividia-driver pulls-in
        - Libdrm
Nvidia-driver & Nvidia-drm-66-kmod pulls-in :
       - Nvidia-kmod
More precisely for Production Branch (PB) on 15.0 (direct dependencies only) would be:
graphics/nvidia-drm-kmod pulls in:

graphics/nvidia-drm-66-kmod pulls in:

x11/nvidia-driver pulls in:

graphics/libdrm is one of indirect dependencies.
Note that graphics/egl* ports above are provided by NVIDIA.

And x11/linux-nvidia-libs is needed to be installed separately, as it's optional.
It would pull in:
 
Back
Top