Page MenuHomeFreeBSD

x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144
Needs ReviewPublic

Authored by junchoon_dec.sakura.ne.jp on Wed, Apr 23, 1:14 PM.
Tags
None
Referenced Files
F115427129: D49982.id154164.diff
Wed, Apr 23, 5:15 PM
F115425523: D49982.id154164.diff
Wed, Apr 23, 4:45 PM
F115425393: D49982.id.diff
Wed, Apr 23, 4:43 PM
F115423564: D49982.diff
Wed, Apr 23, 4:10 PM
F115423213: D49982.diff
Wed, Apr 23, 4:06 PM
Subscribers

Details

Reviewers
kbowling
ashafer
Group Reviewers
x11
Summary

This updates the NVIDIA ports to the latest stable production branch.
Also bump graphics/egl-wayland to the latest 1.1.19 to match with
the one in x11/linux-nvidia-libs.

PR: 286307

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lwhsu added inline comments.
graphics/nvidia-drm-515-kmod/Makefile
2

Just removing the whole line is fine, no need to explicitly set to 0.
So as in other Makefiles.

x11/linux-nvidia-libs/Makefile
145

With our new upstream process for releasing egl-wayland I think we will continue to have very frequent version bumps. It would probably be worthwhile looking into simplifying this to reduce duplication.

Something like declaring NV_EGL_WAYLAND_VERSION based on NVVERSION, and then having only one stanza such as:

LINUX_LIBS+=    libnvidia-egl-wayland.so.1.1.${NV_EGL_VERSION}
LINUX_LINKS+=   libnvidia-egl-wayland.so.1.1.${NV_EGL_VERSION} libnvidia-egl-wayland.so.1
LINUX32_LIBS+=  libnvidia-egl-wayland.so.1.1.${NV_EGL_VERSION}
...
graphics/nvidia-drm-515-kmod/Makefile
2

For example, x11/nvidia-driver-470, which is a slave port of x11/nvidia-driver, has comment in its Makefile as below.

  1. Always try to set PORTREVISION as it can be overridden by the slave ports

This port (including other graphics/nvidia-drm-[510|515|61|66]-kmod) includes graphics/nvidia-drm-kmod/Makefile.common, which has its own PORTREVISION. So I think the same should be applicable here, too.

But thanks for noting this. I've found that PORTREVISION of graphics/nvidia-drm-kmod/Makefile.common is not being reset, and defined with "=", not "?=". So I'll fix it on next update incorporatiing ashafer's idea for x11/linux-nvidia-libs.