After my last 2 monthly updates via beadm (which does a pkg upgrade), I noticed that the /usr/local/lib/xorg/modules/extensions/libglx.so symlink had been updated to point at .xorg/libglx.so The result of that is that nothing related to GLX worked. Eg, glxinfo crashed with: name of display: :0.0 X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 155 (NV-GLX) Minor opcode of failed request: 4 () Resource id in failed request: 0x2200004 Serial number of failed request: 37 Current serial number in output stream: 37 Manually fixing the link, so that it looks like this fixes my issue: libglx.so@ -> .nvidia/libglx.so I have the following Xorg / nvidia related pkgs installed: <11:33am>beast/gallatin:~>pq | egrep nvidia\|xorg linux-c7-xorg-libs-7.7_10 nvidia-driver-390-390.154 nvidia-settings-470.86_1 xorg-fonts-7.7_1 xorg-fonts-100dpi-7.7 xorg-fonts-75dpi-7.7 xorg-fonts-cyrillic-7.7 xorg-fonts-miscbitmaps-7.7 xorg-fonts-truetype-7.7_1 xorg-fonts-type1-7.7 xorg-server-21.1.8_2,1 xorgproto-2022.1
Regressed by ports 88b0ae2bb9c6: files/pkg-install.in -> files/pkg-post-deinstall.in lost .nvidia/libglx.so.1 check used by nvidia-driver < 410 (lack libglvnd support)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d5b62609e7d66aa4f64519ba822c83498874cd0 commit 0d5b62609e7d66aa4f64519ba822c83498874cd0 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-08-12 22:35:29 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-08-12 22:58:06 +0000 x11-servers/xorg-server: unbreak nvidia-driver < 410 after 88b0ae2bb9c6 Restore libglx.so -> .nvidia/libglx.so hardlink as symlink when xorg-server is reinstalled after nvidia-driver. PR: 271629 Reported by: gallatin x11-servers/xorg-server/Makefile | 2 +- x11-servers/xorg-server/files/pkg-post-install.in | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)
Split from the cleanup (bug 271686) in case of regressions.