• Re: versions of NVIDIA driver versus kmod in 15.0

    From Mario Marietto@marietto2008@gmail.com to muc.lists.freebsd.ports on Mon Dec 22 07:47:17 2025
    From Newsgroup: muc.lists.freebsd.ports

    --0000000000002ebd76064685a508
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    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}",
    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=E2=80=AFAM Graham Menhennitt <graham@menhennit= t.com.au>
    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




    --=20
    Mario.

    --0000000000002ebd76064685a508
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div>-&gt; I just upgraded my server from 14.3 to 15.0. It=
    went mostly <br>-&gt; successfully, but I can&#39;t get my NVIDIA video wo= rking.</div><div><br></div><div>Hello.</div><div><br></div><div>can you try=
    this method :</div><div><br></div><div>Before to start upgrading packages,= locate /etc/pkg/FreeBSD.conf and be sure that :</div><div><br></div><div>Fr= eeBSD-kmods: {</div>=C2=A0 url: &quot;pkg+<a href=3D"https://pkg.FreeBSD.or= g/${ABI}/kmods_latest_${VERSION_MINOR}">https://pkg.FreeBSD.org/${ABI}/kmod= s_latest_${VERSION_MINOR}</a>&quot;,<br>=C2=A0 mirror_type: &quot;srv&quot;= ,<br>=C2=A0 signature_type: &quot;fingerprints&quot;,<br>=C2=A0 fingerprint=
    s: &quot;/usr/share/keys/pkg&quot;,<br>=C2=A0 enabled: no<br>}<br><div><br>= </div><div>is disabled. Then upgrade them and when finished,try to re-enabl=
    e it.=C2=A0</div></div><br><div class=3D"gmail_quote gmail_quote_container"= ><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 22, 2025 at 7:06=E2=80= =AFAM Graham Menhennitt &lt;<a href=3D"mailto:graham@menhennitt.com.au">gra= ham@menhennitt.com.au</a>&gt; wrote:<br></div><blockquote class=3D"gmail_qu= ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20= 4);padding-left:1ex">Hello all,<br>

    I just upgraded my server from 14.3 to 15.0. It went mostly <br>
    successfully, but I can&#39;t get my NVIDIA video working.<br>

    When I install the driver, it also installs the kernel module. But they <br=

    aren&#39;t the same version. When I try to run Xorg, it spits out an error =

    because of this.<br>

    Any clues, please.<br>

    Thanks in advance,<br>
    =C2=A0=C2=A0 Graham<br>

    # pkg install nvidia-driver<br>
    ...<br>
    New packages to be INSTALLED:<br>
    =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 egl-wayland: 1.1.20 [FreeBSD-ports]<br> =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 nvidia-driver: 580.95.05 [FreeBSD-ports]<=

    =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 nvidia-kmod: 580.105.08.1500068 [FreeBSD-= ports-kmods]<br>

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

    =C2=A0From dmesg:<br>
    nvidia0: &lt;NVIDIA GeForce RTX 3050 OEM&gt; on vgapci0<br>
    vgapci0: child nvidia0 requested pci_enable_io<br>
    vgapci0: child nvidia0 requested pci_enable_io<br>
    nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX <br> platforms=C2=A0 580.105.08=C2=A0 Wed Oct 29 22:04:36 UTC 2025<br>


    </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ma= rio.<br></div>

    --0000000000002ebd76064685a508--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2