Thanks for replying, Mario.

In that file, I do not have any "FreeBSD-kmods" section. I have "FreeBSD-ports", "FreeBSD-ports-kmods", and "FreeBSD-base" (disabled).

So, the way you're suggesting is already what I'm doing.

Is that file not correct?

Thanks again,

    Graham

On 22/12/2025 5:47 pm, Mario Marietto wrote:
-> I just upgraded my server from 14.3 to 15.0. It went mostly
-> successfully, but I can't get my NVIDIA video working.

Hello.

can you try this method :

Before to start upgrading packages,locate /etc/pkg/FreeBSD.conf and be sure that :

FreeBSD-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR} <https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}>",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: no
}

is disabled. Then upgrade them and when finished,try to re-enable it.

On Mon, Dec 22, 2025 at 7:06 AM Graham Menhennitt <[email protected]> wrote:

    Hello all,

    I just upgraded my server from 14.3 to 15.0. It went mostly
    successfully, but I can't get my NVIDIA video working.

    When I install the driver, it also installs the kernel module. But
    they
    aren't the same version. When I try to run Xorg, it spits out an
    error
    because of this.

    Any clues, please.

    Thanks in advance,
       Graham

    # pkg install nvidia-driver
    ...
    New packages to be INSTALLED:
             egl-wayland: 1.1.20 [FreeBSD-ports]
             nvidia-driver: 580.95.05 [FreeBSD-ports]
             nvidia-kmod: 580.105.08.1500068 [FreeBSD-ports-kmods]

    Then on reboot (excuse any errors as this is manually typed):
    NVRM: API mismatch: the client Xorg (pid 3302)
    NVRM: has the version 580.95.05, but this kernel module has
    NVRM: the version 580.105.08. Please make sure that this
    NVRM: kernel module and all NVIDIA driver components
    NVRM: have the same version.

     From dmesg:
    nvidia0: <NVIDIA GeForce RTX 3050 OEM> on vgapci0
    vgapci0: child nvidia0 requested pci_enable_io
    vgapci0: child nvidia0 requested pci_enable_io
    nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX
    platforms  580.105.08  Wed Oct 29 22:04:36 UTC 2025




--
Mario.

Reply via email to