From nobody Sun Dec 14 13:08:58 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 4dTk6V2dbgz6K8hh for ; Sun, 14 Dec 2025 13:09:06 +0000 (UTC) (envelope-from drsnx60@gmail.com) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (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 4dTk6V063pz3fmV for ; Sun, 14 Dec 2025 13:09:06 +0000 (UTC) (envelope-from drsnx60@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5959b2f3fc9so2842197e87.2 for ; Sun, 14 Dec 2025 05:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765717739; x=1766322539; darn=freebsd.org; h=in-reply-to:organization:from:content-language:references:cc:to :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=q0PYfHkVIS6pSI0+x7RCLWfFZYsR2KEYLcukfkdcgZ4=; b=PDcNEaXExu8HsOCPd/orr3DUP1K4q6rXyJeS1/kZNOAEteLL6Uu47F21st3fAJiwF5 ayxht+SzKwlxr4EWwvp5zR1SHa9YRCAxXuzuT55NlVZR6Ryz2LLRpU3gy3PMyyImGOgT M4cWWyS2SH+H9wuc/5gz9ptC8klhXZXxaB9zvsPw6OQgcdHa3PjYTUDMDinzbq110S7r csGeB+9FLNnpC5SYHQr6yCsRyDtfADuXNy3q6+SjQvuDGDWn5S7KYgTh6VZ3H6ej6INr 4LJYEHtFhutZgyiW1URj+vyxpDG1kW+aheQGTP+ei2yKfMwQapc1iZCAF9+1hAQzpAbQ jFvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765717739; x=1766322539; h=in-reply-to:organization:from:content-language:references:cc:to :subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=q0PYfHkVIS6pSI0+x7RCLWfFZYsR2KEYLcukfkdcgZ4=; b=d8G1WwFDYLJnhwRv9TvBahzWlWeKPTMDuUlWKnGukHRjqQpHg9/mPkh0W0egx+l24G 0Dg7Ju2tFAQnxO4WvOCy0NUYsVMrZ0em/tAzsW0NeQpJOjhLMOL3eV5wcE/zVb0Wlqo7 MBRsI8fNU91BMDS6uFhf+nKuCtBoqeMKb2LbewC+F30eYh1aGHgAtWePL6l355eIG8F0 FLIw0+Z8oZyvAlBXkux0EYUrj+w1ejiTR10fbFProXGaIZYyvNpl0h9H2cjPQcTxi96x JbQs2+q6I2iz37GXkIv9mJVnNnwpOTABAx2f/2mnoIgWLLPgJod4Nu2drZw8l2o+IZWa PRvw== X-Gm-Message-State: AOJu0YzqRYBThtFugj0z/vmbvgo5cjrZNWt/nNloHUUSOAoydjPqJq7s c2lWG9wuXLxrLlRdbYK4Ou8kNSexPu2+Tf25iBwBKpmyv2Rxko7wwCLL X-Gm-Gg: AY/fxX5oOIbYSXAr304oFfatKiPJL963U+oJZFeui8Rm2jTN9UrlB9OnIfcyg2s3iXT roVO1BTOWJrs3HZz+5l2aKbWwfz5+oJg1fTqii+So2FJFsTbWWeiHkRJGbd9Da6jmjeRIMiIbJj atshcivD/nFRseJfP1JMkRs9R+ucRn+bNnrBvcIKvOKsdFBGv6MnPkATB8hKQ+PnD8unV/GOGzG 8OqdsevVLYfUF856pEZmPh8tMu0YrADyZAOk315R0Vg6kmWH23RUdWntaLmNCLmOqaynLBNxExj 09QH9GSu+LQOD6BpWJQgD7fWXh4PdizHIHG9EYFDd86idkE9LzIa+EaCPcCeIKh3tcckL1FImNh dFiQCeXXc4pjOc6RV4qeT8vYC5QKvkTHEXVxzeHhRLKDPdNR1uOaEekKtIzK4GhTQYvMWoGGbkh VnOAXQWlhLJvn6gVeOJ5kwYBU= X-Google-Smtp-Source: AGHT+IFXWkd7nRwk/CLYc3FWo6kEuxw0qJko0emJoRm3Q+LL1i4Xw/YwyT3PpBk3+bw1r530hqtv5Q== X-Received: by 2002:a05:6512:2388:b0:595:8200:9f8d with SMTP id 2adb3069b0e04-598faa0163dmr2228681e87.8.1765717738822; Sun, 14 Dec 2025 05:08:58 -0800 (PST) Received: from [192.168.2.131] (host.62.13.8.86.bitcom.se. [62.13.8.86]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-598f2f37cd0sm4094701e87.8.2025.12.14.05.08.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Dec 2025 05:08:58 -0800 (PST) Content-Type: multipart/alternative; boundary="------------oV4ZHxaHovF0D0Cik2WK3u0g" Message-ID: <35970199-93a1-442b-9a25-b75d6ad50a33@gmail.com> Date: Sun, 14 Dec 2025 14:08:58 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: [LDWG] NVIDIA driver installation for FreeBSD 15: PKG & KMOD repository version mixup. To: Mario Marietto Cc: freebsd-desktop@freebsd.org, Alice Sowerby , "" References: <8e684bd8-bd57-499b-9c70-1a506f30e168@gmail.com> <33eca31a-2988-4752-85d2-819e58634025@gmail.com> Content-Language: sv-SE From: Lars Tunkrans Organization: Retiered In-Reply-To: X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dTk6V063pz3fmV This is a multi-part message in MIME format. --------------oV4ZHxaHovF0D0Cik2WK3u0g Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit       Presently  it appears  that  the quaterly PKG-PORTs   REPO contains the   nessesary NVIDIA-KMOD  module.        the PKG-PORTS and KMOD  repos are expected diverge into containing different contents  into the  future.       KMOD  repo  is a new feature , disabeling it now for installtion  of  a  working  NVIDIA subsystem  is just a workaround.       KMOD repo  shoud be  enabled  again  after setting up  the NVIDIA drivers.          The  point is  that  the  newbie FreeBSD  user  that  wants to  have a tryout  session,  does not  know  this, as  this workaround is not documented.       and will conclude  that  FreeBSD  is unusable. Den 2025-12-14 kl. 13:51, skrev Mario Marietto: > > ---> 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 PM Lars Tunkrans wrote: > > >    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 PM 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 of 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]/_This >> 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=0x030000 rev=0xa1 hdr=0x00 >> vendor=0x10de device=0x1c30 subvendor=0x10de subdevice=0x11b3 >> vendor = 'NVIDIA Corporation' >> device = 'GP106GL [Quadro P2000]' >> class = 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 > > > > -- > Mario. -- ------------------------- Lars Tunkrans Oracle SPARC/Solaris System Administrator Fujitsu M12 SPARC Specilaist --------------oV4ZHxaHovF0D0Cik2WK3u0g Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

  

      Presently  it appears  that  the quaterly PKG-PORTs   REPO    contains the   nessesary NVIDIA-KMOD  module. 
       the PKG-PORTS and KMOD  repos are expected diverge into containing different contents  into the  future. 
      KMOD  repo  is a new feature , disabeling it now for installtion  of  a  working  NVIDIA subsystem  is just a workaround. 
      KMOD repo  shoud be  enabled  again  after setting up  the NVIDIA drivers.  
         The  point is  that  the  newbie FreeBSD  user  that  wants to  have a tryout  session,  does not  know  this, as  this workaround is not documented. 
      and will conclude  that  FreeBSD  is unusable. 


Den 2025-12-14 kl. 13:51, skrev Mario Marietto:

---> 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 PM Lars Tunkrans <drsnx60@gmail.com> wrote:

   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 PM Lars Tunkrans <drsnx60@gmail.com> 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 of 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. 

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 .  [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=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1c30 subvendor=0x10de subdevice=0x11b3
vendor = 'NVIDIA Corporation'
device = 'GP106GL [Quadro P2000]'
class = 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]:


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


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


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