From nobody Sun Dec 14 12:51:37 2025 X-Original-To: freebsd-desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dTjl60dxtz6K8NZ for ; Sun, 14 Dec 2025 12:52:18 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dTjl53zGWz3ch1 for ; Sun, 14 Dec 2025 12:52:17 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-34c3cb504efso894233a91.2 for ; Sun, 14 Dec 2025 04:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765716734; x=1766321534; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YMxJl67mGNX/988hp1mVu4XWkNOQ3Shj5xin5qxO2h0=; b=WZ81ClsRJeVRR3c7gfz0RNWeRv4mzwrvJzk3pNESZ4C9i2R5ean4DCadOyikN8XsCk qLWnpUy+yCrqckU7QO8sUwJlwp3gHpXjRiu/tFBpWfDffxfhtcpV72+Z5BG//iPtwJTc ucXZPEvUq6dvdZy2URsu8pgEIsTYHQA055lY7TZ/0s+YK1Tsa92mLsS8et/JAABaYNCe 9YlXJYJqXReJ5nI8fkhG709g+NSU1SJpAUx2Gx+6qfjCzpsv68TCCl+5gh3kv1YXp4ms o9UfsKOwq3l6685yNaHdD/fnMxxwn13qCoApchjfN9GWIJVfKpp8GCFKjJ2+qiPdtZ0M r3ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765716734; x=1766321534; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YMxJl67mGNX/988hp1mVu4XWkNOQ3Shj5xin5qxO2h0=; b=fN01GTmEUWSQEDrPUQxu8KUVOG5jfT9KljaNSQxi4VS+WO1gYLJSjOpighkkyWaQqI fi8cuLOEY1NSDF6Y7AtQtFV1wbJW5CFHVJlVx/DQGc/+ZX6F/hCZQXeD19MUBdnRNB2E F/sEP8NRsr4IlIAxIeCR7oryUsffC0sfu3/9cS+5hDndcvh9WaHcXX28JMBym8Gn5kKq 8NpgV0WQJpdpTEHJar6zjtYYb4aM+3Fc15yEjg3PSo6uWX6FyKaRzsnySAZlFnbqMSSt TG5MDvT9ZsG9IqBGvMjTXpU1ncqsOCWFghWQHTIRIO2YmslZTkrwhpY2rRS7bdN2+QCB Q9nQ== X-Gm-Message-State: AOJu0Yzu0nNiA01XsdAIiAT8R8b36vTc4eHSy1HmZzAlRQQcsPsr5HPZ L9MQBIVmwIbY6kvMg3mWmq7uUQYfqLo3sGogpuQ2FwFn35dO3qsYtvbS48kId2ySe0L2VCq1Vlv k/Z66RMYykdkiA0RTcy/1QKFjOst6BvE= X-Gm-Gg: AY/fxX7CYL7HnA7BYJXkxSZepC2EMxkUS+er9kCBeVtTkXQgtM909JYsWZrEvnfifVo hUcnbonVGwINoM0dnhHwlyQE0RWG/kPFa/TOaCt5L+DDbQ1g2XiH3cIOEhWqYUFlkznmpfgdwyG LNCl8tRD+sLPzjS6ixWjDrWhbH4BARlv/+5pLXZbvO5zvQIPNkU5OpP4NF162bfZGs6j8CDjLvi ZoUPhM8mwgUUV4zmI3s5E5iWtcC6Y/4zDcGpwshdMNUPOHJ9gt4Odjx5i91AvGQLSxTaeo9zWVm htkLGkFBubZkMTr66WtCbp8auvZFtMUCNjcyMvrujWkfLNPE7+Te+Y+XZ5JBMeX5MmqMKLXE/Kz cb170A1zcCXDGP/NvrTSirI4h4hau6cy08zeyTjJ5s1WI4vlEXmulSdWVvbPhtPCMI6SMJRSfuk x+b6iV0lIbrb5cguY9EKxQ1sM1Jhvedqmg9cVkbsCI6Qb+MbeIizrD9xoMvafSLghp4yVpCxqvQ F91w1XZBikTlq/X+2PYfh4PT50DXqlhKCRB0uVqwI+UxaLIt6Xh9ZKqxtaXPwqqJMC+n60USq63 5ec9fKg8kqx4yC2uezip X-Google-Smtp-Source: AGHT+IHweFRKgfaGeDdcHEkh1mOXQOHobKlEVGqVRjUfdMvtTShunCM3vMiZz3zzDrVhMl0gJo/wEaHzY6suzGUJw+o= X-Received: by 2002:a17:90b:1d92:b0:32e:a5ae:d00 with SMTP id 98e67ed59e1d1-34abd6c867amr7893556a91.13.1765716733675; Sun, 14 Dec 2025 04:52:13 -0800 (PST) List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 References: <8e684bd8-bd57-499b-9c70-1a506f30e168@gmail.com> <33eca31a-2988-4752-85d2-819e58634025@gmail.com> In-Reply-To: <33eca31a-2988-4752-85d2-819e58634025@gmail.com> From: Mario Marietto Date: Sun, 14 Dec 2025 13:51:37 +0100 X-Gm-Features: AQt7F2qV8wHxPNjL0GGZVqHdcX6T-8sah15RM9Fag34OklhHg1v3Yqxb5EgJ564 Message-ID: Subject: Re: [LDWG] NVIDIA driver installation for FreeBSD 15: PKG & KMOD repository version mixup. To: Lars Tunkrans Cc: freebsd-desktop@freebsd.org, Alice Sowerby , "" Content-Type: multipart/alternative; boundary="000000000000af4e2d0645e8f6d3" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dTjl53zGWz3ch1 --000000000000af4e2d0645e8f6d3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---> After disabling the KMOD repo PKG fetches all NVIDIA drivers at version 580.95.05. and the installation succeeds. I mean : What's the downside of disabling the KMOD repo ? thanks. On Sun, Dec 14, 2025 at 1:40=E2=80=AFPM Lars Tunkrans w= rote: > > The installation of FreeBSD 15.0-Release onto a laptop or Desktop > computer is expected to work as described in the Handbook. > Presently it does not, and the Novice User has to investigate why. > This raises the BAR unnecessarily for FreeBSD adoption. > > //L. > > > Den 2025-12-14 kl. 13:32, skrev Mario Marietto: > > ---> After disabling the KMOD repo PKG fetches all NVIDIA drivers > at version 580.95.05. and the installation succeeds. > > What's the downside ? > > On Sun, Dec 14, 2025 at 1:07=E2=80=AFPM Lars Tunkrans = wrote: > >> HI >> >> Im sending this email to raise awareness of below KMOD repo >> issue. >> >> >> ------------------------------------------------------------------------= ----------------------------------------- >> the Default PKG, KMODs REPOS are mixed up and provide non-working set of >> NVIDIA drivers for a clean from scratch installation . >> as shown in the transcript below , the REPOS provide mixed up versions o= f >> NVIDIA driver that does not work together. >> The KMOD REPO is not in synk with the quarterly PKG repo and prevents a >> new user from installing a Desktop based on NVIDIA GPU. >> >> n >> >> >> *vidia-driver: 580.95.05 [FreeBSD-ports] nvidia-drm-66-kmod: >> 580.95.05.1500068 [FreeBSD-ports] nvidia-drm-kmod: 580.95.05_1 >> [FreeBSD-ports] nvidia-kmod: 580.105.08.1500068 [FreeBSD-ports-kmods] Th= is >> KMOD s newer that the other packages . [wrong version] * >> >> A unsuspecting new user of FreeBSD will not succeed in setting up a >> Graphics environment because the REPOS are inconsistent. >> Inorder to create a working NVIDIA Driver installation on a NEW >> default installation of FreeBSD 15..0-Release >> its nessesary to disable the KMOD repo. >> >> # cat /etc/pkg/FreeBSD.conf >> . >> . >> FreeBSD-ports-kmods: { >> url: "pkg+https://pkg.freebsd.org/$ >> {ABI}/kmods_quarterly_${VERSION_MINOR}", >> mirror_type: "srv", >> signature_type: "fingerprints", >> fingerprints: "/usr/share/keys/pkg", >> * enabled: no* >> >> >> After disabling the KMOD repo PKG fetches all NVIDIA drivers at >> version 580.95.05. and the installation succeeds. >> >> >> >> -------------------------------------------- >> >> root@alderan:~ # uname -a >> FreeBSD alderan 15.0-RELEASE FreeBSD 15.0-RELEASE alderan amd64 >> root@alderan:~ # pciconf -lv | grep -B3 display >> vgapci0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10= de >> device=3D0x1c30 subvendor=3D0x10de subdevice=3D0x11b3 >> vendor =3D 'NVIDIA Corporation' >> device =3D 'GP106GL [Quadro P2000]' >> class =3D display >> root@alderan:~ # pkg install nvidia-drm-kmod >> Updating FreeBSD-ports repository catalogue... >> FreeBSD-ports repository is up to date. >> Updating FreeBSD-ports-kmods repository catalogue... >> FreeBSD-ports-kmods repository is up to date. >> All repositories are up to date. >> The following 46 package(s) will be affected (of 0 checked): >> >> New packages to be INSTALLED: >> drm-66-kmod: 6.6.25.1500068_6 [FreeBSD-ports-kmods] >> egl-wayland: 1.1.20 [FreeBSD-ports] >> freetype2: 2.13.3 [FreeBSD-ports] >> hwdata: 0.399,1 [FreeBSD-ports] >> libX11: 1.8.12,1 [FreeBSD-ports] >> libXau: 1.0.12 [FreeBSD-ports] >> libXdamage: 1.1.6 [FreeBSD-ports] >> libXdmcp: 1.1.5 [FreeBSD-ports] >> libXext: 1.3.6,1 [FreeBSD-ports] >> libXfixes: 6.0.1 [FreeBSD-ports] >> libXfont2: 2.0.6 [FreeBSD-ports] >> libXrandr: 1.5.4 [FreeBSD-ports] >> libXrender: 0.9.12 [FreeBSD-ports] >> libXv: 1.0.13,1 [FreeBSD-ports] >> libXxf86vm: 1.1.6 [FreeBSD-ports] >> libdrm: 2.4.123,1 [FreeBSD-ports] >> libedit: 3.1.20250104,1 [FreeBSD-ports] >> libepoll-shim: 0.0.20240608 [FreeBSD-ports] >> libepoxy: 1.5.10 [FreeBSD-ports] >> libfontenc: 1.1.8 [FreeBSD-ports] >> libglvnd: 1.7.0 [FreeBSD-ports] >> libpciaccess: 0.18.1_1 [FreeBSD-ports] >> libudev-devd: 0.6.0 [FreeBSD-ports] >> libunwind: 20250904 [FreeBSD-ports] >> libxcb: 1.17.0 [FreeBSD-ports] >> libxcvt: 0.1.3 [FreeBSD-ports] >> libxkbfile: 1.1.3 [FreeBSD-ports] >> libxml2: 2.14.5 [FreeBSD-ports] >> libxshmfence: 1.3.3 [FreeBSD-ports] >> llvm19: 19.1.7_1 [FreeBSD-ports] >> lua53: 5.3.6_1 [FreeBSD-ports] >> mesa-dri: 24.1.7_9 [FreeBSD-ports] >> mesa-libs: 24.1.7_1 [FreeBSD-ports] >> n >> >> >> *vidia-driver: 580.95.05 [FreeBSD-ports] nvidia-drm-66-kmod: >> 580.95.05.1500068 [FreeBSD-ports] nvidia-drm-kmod: 580.95.05_1 >> [FreeBSD-ports] nvidia-kmod: 580.105.08.1500068 [FreeBSD-ports-kmods]* >> pixman: 0.46.2 [FreeBSD-ports] >> png: 1.6.52 [FreeBSD-ports] >> spirv-llvm-translator-llvm19: 19.1.12 [FreeBSD-ports] >> spirv-tools: 2025.4 [FreeBSD-ports] >> wayland: 1.24.0_2 [FreeBSD-ports] >> xkbcomp: 1.4.7 [FreeBSD-ports] >> xkeyboard-config: 2.41_4 [FreeBSD-ports] >> xorg-server: 21.1.20,1 [FreeBSD-ports] >> xorgproto: 2024.1 [FreeBSD-ports] >> >> Number of packages to be installed: 46 >> >> The process will require 2 GiB more space. >> 537 MiB to be downloaded. >> >> Proceed with this action? [y/N]: >> >> >> -- >> ------------------------- >> Lars Tunkrans >> Oracle SPARC/Solaris System Administrator >> Fujitsu M12 SPARC Specilaist >> >> > > -- > Mario. > > -- > ------------------------- > Lars Tunkrans > Oracle SPARC/Solaris System Administrator > Fujitsu M12 SPARC Specilaist > > --=20 Mario. --000000000000af4e2d0645e8f6d3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

---> After disabling=C2=A0 the KMOD= =C2=A0 repo=C2=A0 =C2=A0PKG=C2=A0 fetches=C2=A0 all=C2=A0 NVIDIA drivers=C2=A0 at version 580.95.05.=C2=A0 and the installation=C2=A0 = succeeds.=C2=A0

I mean :=C2=A0 What's the downside of disabling the = KMOD repo ? thanks.


On Sun, Dec 14, 2025 at = 1:40=E2=80=AFPM Lars Tunkrans <drsn= x60@gmail.com> wrote:
=20 =20 =20

=C2=A0 =C2=A0The installation of=C2=A0 FreeBSD 15.0-Release onto a=C2= =A0 laptop or Desktop=C2=A0 computer is expected to work=C2=A0 as described=C2=A0 in = the Handbook.=C2=A0
=C2=A0 =C2=A0Presently it does not,=C2=A0 and the Novice User has to in= vestigate why.=C2=A0 =C2=A0This raises the BAR=C2=A0 unnecessarily=C2=A0 for Free= BSD adoption.=C2=A0

=C2=A0 =C2=A0 =C2=A0 =C2=A0 //L.=C2=A0


Den 2025-12-14 kl. 13:32, skrev Mario Marietto:
=20

---> After disabling=C2=A0 the KMOD=C2=A0 repo=C2=A0 =C2=A0= PKG=C2=A0 fetches=C2=A0 all=C2=A0 NVIDIA drivers=C2=A0 at version 580.95.05.=C2=A0 and = the installation=C2=A0 succeeds.=C2=A0


What's the downside ?

On Sun, Dec 14, 2025 at 1:07=E2=80=AFPM Lars Tunkrans <drsnx60@gmail.com> wrote:

=C2=A0HI=C2=A0

=C2=A0 Im=C2=A0 sending this=C2=A0 email=C2=A0 to=C2=A0 ra= ise awareness of below KMOD=C2=A0 repo issue.=C2=A0=C2=A0

----------------------------------------------------------= -------------------------------------------------------

the Default PKG, KMODs REPOS are mixed up and provide non-working set of NVIDIA drivers for a clean from scratch installation .
as shown in the transcript below , the REPOS provide mixed up versions of NVIDIA driver that does not work together.
=C2=A0The KMOD REPO is not in synk with the quarterly PKG rep= o and prevents a new user from installing a Desktop based on NVIDIA GPU.=C2=A0

nvidia-driver: 580.95.05 [FreeBSD-ports]
nvidia-drm-66-kmod: 580.95.05.1500068 [FreeBSD-ports]
nvidia-drm-kmod: 580.95.05_1 [FreeBSD-ports]
nvidia-kmod: 580.105.08.1500068 [FreeBSD-ports-kmods] This KMOD s newer that the other packages .=C2= =A0 [wrong version]=C2=A0


A unsuspecting new user of FreeBSD will not succeed in setting up a Graphics environment because the REPOS are inconsistent.=C2=A0
Inorder=C2=A0 to create=C2=A0 a working NVIDIA Driver install= ation=C2=A0 on=C2=A0 a NEW=C2=A0 default=C2=A0 =C2=A0installation=C2=A0 o= f=C2=A0 FreeBSD 15..0-Release
its nessesary to=C2=A0 disable=C2=A0 the KMOD repo.=C2=A0=C2= =A0

# cat /etc/pkg/FreeBSD.conf=C2=A0
.
.
FreeBSD-ports-kmods: {
url: "pkg+https://pkg.freebsd.org/${ABI= }/kmods_quarterly_${VERSION_MINOR}",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: no


After disabling=C2=A0 the KMOD=C2=A0 repo=C2=A0 =C2=A0PKG= =C2=A0 fetches=C2=A0 all=C2=A0 NVIDIA drivers=C2=A0 at version 580.95.05.=C2=A0 and the installation=C2=A0 succeeds.=C2=A0



--------------------------------------------

root@alderan:~ # uname -a
FreeBSD alderan 15.0-RELEASE FreeBSD 15.0-RELEASE alderan amd64
root@alderan:~ # pciconf -lv | grep -B3 display
vgapci0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0x1c30 subvendor=3D0x10de subdevice=3D0x11b3
vendor =3D 'NVIDIA Corporation'
device =3D 'GP106GL [Quadro P2000]'
class =3D display
root@alderan:~ # pkg install nvidia-drm-kmod
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
The following 46 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
drm-66-kmod: 6.6.25.1500068_6 [FreeBSD-ports-kmods]
egl-wayland: 1.1.20 [FreeBSD-ports]
freetype2: 2.13.3 [FreeBSD-ports]
hwdata: 0.399,1 [FreeBSD-ports]
libX11: 1.8.12,1 [FreeBSD-ports]
libXau: 1.0.12 [FreeBSD-ports]
libXdamage: 1.1.6 [FreeBSD-ports]
libXdmcp: 1.1.5 [FreeBSD-ports]
libXext: 1.3.6,1 [FreeBSD-ports]
libXfixes: 6.0.1 [FreeBSD-ports]
libXfont2: 2.0.6 [FreeBSD-ports]
libXrandr: 1.5.4 [FreeBSD-ports]
libXrender: 0.9.12 [FreeBSD-ports]
libXv: 1.0.13,1 [FreeBSD-ports]
libXxf86vm: 1.1.6 [FreeBSD-ports]
libdrm: 2.4.123,1 [FreeBSD-ports]
libedit: 3.1.20250104,1 [FreeBSD-ports]
libepoll-shim: 0.0.20240608 [FreeBSD-ports]
libepoxy: 1.5.10 [FreeBSD-ports]
libfontenc: 1.1.8 [FreeBSD-ports]
libglvnd: 1.7.0 [FreeBSD-ports]
libpciaccess: 0.18.1_1 [FreeBSD-ports]
libudev-devd: 0.6.0 [FreeBSD-ports]
libunwind: 20250904 [FreeBSD-ports]
libxcb: 1.17.0 [FreeBSD-ports]
libxcvt: 0.1.3 [FreeBSD-ports]
libxkbfile: 1.1.3 [FreeBSD-ports]
libxml2: 2.14.5 [FreeBSD-ports]
libxshmfence: 1.3.3 [FreeBSD-ports]
llvm19: 19.1.7_1 [FreeBSD-ports]
lua53: 5.3.6_1 [FreeBSD-ports]
mesa-dri: 24.1.7_9 [FreeBSD-ports]
mesa-libs: 24.1.7_1 [FreeBSD-ports]
nvidia-driver: 580.95.05 [FreeBSD-ports]
nvidia-drm-66-kmod: 580.95.05.1500068 [FreeBSD-ports]
nvidia-drm-kmod: 580.95.05_1 [FreeBSD-ports]
nvidia-kmod: 580.105.08.1500068 [FreeBSD-ports-kmods]
=
pixman: 0.46.2 [FreeBSD-ports]
png: 1.6.52 [FreeBSD-ports]
spirv-llvm-translator-llvm19: 19.1.12 [FreeBSD-ports]
spirv-tools: 2025.4 [FreeBSD-ports]
wayland: 1.24.0_2 [FreeBSD-ports]
xkbcomp: 1.4.7 [FreeBSD-ports]
xkeyboard-config: 2.41_4 [FreeBSD-ports]
xorg-server: 21.1.20,1 [FreeBSD-ports]
xorgproto: 2024.1 [FreeBSD-ports]

Number of packages to be installed: 46

The process will require 2 GiB more space.
537 MiB to be downloaded.

Proceed with this action? [y/N]:


--=20
-------------------------
Lars Tunkrans
Oracle SPARC/Solaris System Administrator
Fujitsu M12 SPARC Specilaist


--
Mario.
--=20
-------------------------
Lars Tunkrans
Oracle SPARC/Solaris System Administrator
Fujitsu M12 SPARC Specilaist


--
Ma= rio.
--000000000000af4e2d0645e8f6d3--