[Bug 288314] graphics/nvidia-drm-kmod: Need 14.3-RELEASE build

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288314

Eric <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from Eric <[email protected]> ---
(In reply to Doug White from comment #8)

In my experience, a clean install of

# pkg ins nvidia-drm-kmod

at the moment (using 'latest' on 14.3-RELEASE) installs the correct 14.3
versions; one should have:

# pkg query -x '[%R] %n %v' 'drm(-|-.*-)kmod' | column -t
[FreeBSD-kmods]  drm-61-kmod         6.1.128.1403000_5
[FreeBSD]        nvidia-drm-61-kmod  570.172.08.1402000_2
[FreeBSD]        nvidia-drm-kmod     570.172.08

Note: a clean install meaning that there weren't ANY packages allready
installed that the command
# pkg ins nvidia-drm-kmod

installs.

However, it could be that there are some packages allready installed wrt to
this particular pkg-install command; for example from a transition from
14.2-RELEASE to 14.3-RELEASE. Then, as mentioned in comment #1, using pkg
upgrade -r FreeBSD-kmods, should work. The following command sequence shows
this:

[0-0] # date -u; pkg -v; freebsd-version -kru
Sun Jul 27 08:31:42 UTC 2025
2.2.1
14.3-RELEASE
14.3-RELEASE
14.3-RELEASE-p1
[1-0] # pkg query -x '[%R] %n %v' 'drm(-|-.*-)kmod' | column -t
[FreeBSD]  drm-61-kmod         6.1.128.1402000_5
[FreeBSD]  nvidia-drm-61-kmod  570.172.08.1402000_2
[FreeBSD]  nvidia-drm-kmod     570.172.08
[2-0] # pkg upgrade -r FreeBSD-kmods
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD-kmods is up to date.
Checking for upgrades (7 candidates): 100%
Processing candidates (7 candidates): 100%
The following 7 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        drm-61-kmod: 6.1.128.1402000_5 -> 6.1.128.1403000_5 [FreeBSD-kmods]
        gpu-firmware-amd-kmod-green-sardine: 20230625.1402000_2 ->
20230625.1403000_2 [FreeBSD-kmods]
        gpu-firmware-amd-kmod-yellow-carp: 20230625.1402000_2 ->
20230625.1403000_2 [FreeBSD-kmods]
        gpu-firmware-intel-kmod-kabylake: 20230625.1402000 -> 20230625.1403000
[FreeBSD-kmods]
        gpu-firmware-radeon-kmod-tahiti: 20220511.1402000 -> 20220511.1403000
[FreeBSD-kmods]
        gpu-firmware-radeon-kmod-verde: 20220511.1402000 -> 20220511.1403000
[FreeBSD-kmods]
        wifi-firmware-iwlwifi-kmod-22000: 20241017.1402000_2 ->
20241017.1403000_2 [FreeBSD-kmods]

Number of packages to be upgraded: 7

3 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/6] Fetching wifi-firmware-iwlwifi-kmod-22000-20241017.1403000_2.pkg: 100% 
779 KiB 798.0kB/s    00:01
[2/6] Fetching gpu-firmware-amd-kmod-green-sardine-20230625.1403000_2.pkg: 100%
 463 KiB 473.6kB/s    00:01
[3/6] Fetching gpu-firmware-radeon-kmod-tahiti-20220511.1403000.pkg: 100%  254
KiB 260.4kB/s    00:01
[4/6] Fetching gpu-firmware-intel-kmod-kabylake-20230625.1403000.pkg: 100%  298
KiB 304.9kB/s    00:01
[5/6] Fetching gpu-firmware-amd-kmod-yellow-carp-20230625.1403000_2.pkg: 100% 
723 KiB 740.5kB/s    00:01
[6/6] Fetching gpu-firmware-radeon-kmod-verde-20220511.1403000.pkg: 100%   86
KiB  88.5kB/s    00:01
Checking integrity... done (0 conflicting)
[1/7] Upgrading drm-61-kmod from 6.1.128.1402000_5 to 6.1.128.1403000_5...
[1/7] Extracting drm-61-kmod-6.1.128.1403000_5: 100%
[2/7] Upgrading gpu-firmware-amd-kmod-green-sardine from 20230625.1402000_2 to
20230625.1403000_2...
[2/7] Extracting gpu-firmware-amd-kmod-green-sardine-20230625.1403000_2: 100%
[3/7] Upgrading gpu-firmware-amd-kmod-yellow-carp from 20230625.1402000_2 to
20230625.1403000_2...
[3/7] Extracting gpu-firmware-amd-kmod-yellow-carp-20230625.1403000_2: 100%
[4/7] Upgrading gpu-firmware-intel-kmod-kabylake from 20230625.1402000 to
20230625.1403000...
[4/7] Extracting gpu-firmware-intel-kmod-kabylake-20230625.1403000: 100%
[5/7] Upgrading gpu-firmware-radeon-kmod-tahiti from 20220511.1402000 to
20220511.1403000...
[5/7] Extracting gpu-firmware-radeon-kmod-tahiti-20220511.1403000: 100%
[6/7] Upgrading gpu-firmware-radeon-kmod-verde from 20220511.1402000 to
20220511.1403000...
[6/7] Extracting gpu-firmware-radeon-kmod-verde-20220511.1403000: 100%
[7/7] Upgrading wifi-firmware-iwlwifi-kmod-22000 from 20241017.1402000_2 to
20241017.1403000_2...
[7/7] Extracting wifi-firmware-iwlwifi-kmod-22000-20241017.1403000_2: 100%
[3-0] # pkg query -x '[%R] %n %v' 'drm(-|-.*-)kmod' | column -t
[FreeBSD-kmods]  drm-61-kmod         6.1.128.1403000_5
[FreeBSD]        nvidia-drm-61-kmod  570.172.08.1402000_2
[FreeBSD]        nvidia-drm-kmod     570.172.08
[4-0] #

Currently, pkg(8), pkg-upgrade(8) and pkg-version(8) are unable to work with
multiple repositories in all cases (for example bug #283755 and bug #285197).

In my experience, using both 
- FreeBSD
- FreeBSD-kmods

as a pratical work-around, a two-step upgrade process works:
# pkg upgrade -r FreeBSD
# pkg upgrade -r FreeBSD-kmods

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.