@gmail.com> <1589f197-ba37-4f99-bad4-fb35d844baa5@gmail.com> Content-Language: sv-SE From: Lars Tunkrans Organization: Retiered In-Reply-To: <1589f197-ba37-4f99-bad4-fb35d844baa5@gmail.com> 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: 4dVCkc0Y7dz3bmF This is a multi-part message in MIME format. --------------APchpHh1fZYcnZrVubDCV0wA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit   Thank you  for  showing these  options.   Again   a  newbie to  FreeBSD  installing on  a  laptop/Desktop is not aware of the  full  syntax  of  pkg.    Even if there is  several  workarounds,   the Vanilla default way to do the Nvidia subsystem installation fails.    one  night on  DISCORD we had  three cases on the HELPDESK-Chat  all  with this issue. Regards. Den 2025-12-14 kl. 22:54, skrev Graham Perrin: > > On 14/12/2025 12:07, Lars Tunkrans wrote: > >> … its nessesary to  disable  the KMOD repo.  … > > > Not necessary. > > You may, if you wish, perform a repository-specific installation. > > The second example below uses the --repository (-r) option of > pkg-install(8) > . > If I recall correctly, excluding the FreeBSD-ports-kmods repo when > installing may cause future confusion when performing an ordinary > (non-specific) upgrade. > > > root@minimal-kde-pre:~ # pkg install -nU nvidia-drm-kmod > Checking integrity... done (0 conflicting) > The following 6 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > drm-66-kmod: 6.6.25.1500068_8 [FreeBSD-ports-kmods] > egl-wayland: 1.1.20 [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] > > Number of packages to be installed: 6 > > The process will require 516 MiB more space. > root@minimal-kde-pre:~ # pkg install -nU -r FreeBSD-ports nvidia-drm-kmod > The following 6 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > drm-66-kmod: 6.6.25.1500068_5 [FreeBSD-ports] > egl-wayland: 1.1.20 [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.95.05.1500068 [FreeBSD-ports] > > Number of packages to be installed: 6 > > The process will require 516 MiB more space. > 155 MiB to be downloaded. > root@minimal-kde-pre:~ # > -- ------------------------- Lars Tunkrans Oracle SPARC/Solaris System Administrator Fujitsu M12 SPARC Specilaist --------------APchpHh1fZYcnZrVubDCV0wA Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


  Thank you  for  showing these  options.  
  Again   a  newbie to  FreeBSD  installing on  a  laptop/Desktop  is not aware of the  full  syntax  of  pkg.  
   Even if there is  several  workarounds,   the Vanilla default way to do the Nvidia subsystem installation fails. 
   one  night on  DISCORD we had  three cases on the HELPDESK-Chat   all  with this issue.  

Regards.



Den 2025-12-14 kl. 22:54, skrev Graham Perrin:

On 14/12/2025 12:07, Lars Tunkrans wrote:

… its nessesary to  disable  the KMOD repo.  …


Not necessary. 

You may, if you wish, perform a repository-specific installation. 

The second example below uses the --repository (-r) option of pkg-install(8). If I recall correctly, excluding the FreeBSD-ports-kmods repo when installing may cause future confusion when performing an ordinary (non-specific) upgrade.


root@minimal-kde-pre:~ # pkg install -nU nvidia-drm-kmod
Checking integrity... done (0 conflicting)
The following 6 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
       drm-66-kmod: 6.6.25.1500068_8 [FreeBSD-ports-kmods]
       egl-wayland: 1.1.20 [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]

Number of packages to be installed: 6

The process will require 516 MiB more space.
root@minimal-kde-pre:~ # pkg install -nU -r FreeBSD-ports nvidia-drm-kmod  
The following 6 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
       drm-66-kmod: 6.6.25.1500068_5 [FreeBSD-ports]
       egl-wayland: 1.1.20 [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.95.05.1500068 [FreeBSD-ports]

Number of packages to be installed: 6

The process will require 516 MiB more space.
155 MiB to be downloaded.
root@minimal-kde-pre:~ #

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