Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2021 04:04:07 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   x11/nvidia-driver update from 460.80 to 460.80_1: libglvnd
Message-ID:  <YMssJ%2BI3tNzzFszN@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--f9Yj/8fdWLE3mUh5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On my laptops, I have been using x11/nvidia-driver (quite successfully)
for several years.

As I update FreeBSD base and installed ports daily on those machines, I
have

PORTS_MODULES+=3Dx11/nvidia-driver

in /etc/src.conf, so the kernel modules get rebuilt when the kernel
does; that has all worked quite well.

This morning, things didn't go according to plan:

=2E..
=3D=3D=3D>  Cleaning for nvidia-driver-460.80_1
=3D=3D=3D>  License NVIDIA accepted by the user
=3D=3D=3D>   nvidia-driver-460.80_1 depends on file: /usr/local/sbin/pkg - =
found
=3D=3D=3D> Fetching all distfiles required by nvidia-driver-460.80_1 for bu=
ilding
=3D=3D=3D>  Extracting for nvidia-driver-460.80_1
=3D> SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-460.80.tar.gz.
=3D=3D=3D>  Patching for nvidia-driver-460.80_1
=3D=3D=3D>   nvidia-driver-460.80_1 depends on executable: gsed - found
=3D=3D=3D>  Applying extra patch /common/ports/x11/nvidia-driver/files/460-=
patch-lib-libGLX_nvidia-Makefile
=3D=3D=3D>  Applying extra patch /common/ports/x11/nvidia-driver/files/460-=
patch-src-nvidia-nvidia_ctl.c
=3D=3D=3D>  Applying extra patch /common/ports/x11/nvidia-driver/files/460-=
patch-src-nvidia-nvidia_linux.c
=3D=3D=3D>  Applying extra patch /common/ports/x11/nvidia-driver/files/460-=
patch-src_nvidia-modeset_nvidia-modeset-freebsd.c
=3D=3D=3D>  Applying extra patch /common/S1/obj/usr/src/amd64.amd64/sys/CAN=
ARY/common/ports/x11/nvidia-driver/work/extra-patch-src-Makefile
=3D=3D=3D>  Applying extra patch /common/S1/obj/usr/src/amd64.amd64/sys/CAN=
ARY/common/ports/x11/nvidia-driver/work/extra-patch-src-nv-freebsd.h
=3D=3D=3D>  Applying extra patch /common/S1/obj/usr/src/amd64.amd64/sys/CAN=
ARY/common/ports/x11/nvidia-driver/work/extra-patch-src-nv-misc.h
=3D=3D=3D>  Applying extra patch /common/S1/obj/usr/src/amd64.amd64/sys/CAN=
ARY/common/ports/x11/nvidia-driver/work/extra-patch-src-nvidia_dev.c
=3D=3D=3D>  Applying extra patch /common/S1/obj/usr/src/amd64.amd64/sys/CAN=
ARY/common/ports/x11/nvidia-driver/work/extra-patch-src-nvidia_pci.c
No such line 404 in input file, ignoring
=3D=3D=3D>  Applying FreeBSD patches for nvidia-driver-460.80_1 from /commo=
n/ports/x11/nvidia-driver/files
=3D=3D=3D>   nvidia-driver-460.80_1 depends on executable: pkg-config - fou=
nd
=3D=3D=3D>   nvidia-driver-460.80_1 depends on package: libglvnd>0 - not fo=
und
*** [all] Stopped -- signal 22

Sure enough:

g1-55(12.2-S)[9] pkg info -o libglvnd\*
pkg: No package(s) matching libglvnd*

So I tried building/installing it ... only to find:

=3D=3D=3D>  Installing for libglvnd-1.3.2
=3D=3D=3D>   Registering installation for libglvnd-1.3.2
Installing libglvnd-1.3.2...
pkg-static: libglvnd-1.3.2 conflicts with mesa-libs-20.2.3 (installs files =
into the same place).  Problematic file: /usr/local/include/EGL/egl.h
*** Error code 1

So... let's see what uses mesa-libs-20.2.3, eh?

g1-55(12.2-S)[7] pkg info -r mesa-libs\*
mesa-libs-20.2.3:
        firefox-89.0.1,2
        iqpuzzle-1.2.5
        libepoxy-1.5.8
        xlockmore-5.66
        cairo-1.17.4,3
        chromium-90.0.4430.212_1
        jasper-2.0.32
        sdl2-2.0.12_4
        nvidia-settings-460.73.01
        xorg-nestserver-1.20.11,2
        xorg-server-1.20.11,1
        qt5-gui-5.15.2_4
        mplayer-1.4.0.20210314
        mesa-dri-20.2.3_1
        pinball-0.3.20201218
        qt5-multimedia-5.15.2_1
        qt5-opengl-5.15.2_1
        qt5-declarative-5.15.2
        freeglut-3.0.0_2
        libGLU-9.0.1
        ftgl-2.4.0,1
        xf86-video-openchrome-0.6.0_4
        xdriinfo-1.0.6_3
g1-55(12.2-S)[8]=20

So... at this point, I am unclear on how to make both x11/nvidia-driver
and things from the above list like ... Web browsers (for example) able
to coexist on the same system.

This is running:
FreeBSD g1-55.catwhisker.org 12.2-STABLE FreeBSD 12.2-STABLE #1066 stable/1=
2-n233297-4e2ae05c3ae: Wed Jun 16 03:31:46 PDT 2021     root@localhost:/com=
mon/S1/obj/usr/src/amd64.amd64/sys/CANARY  amd64 1202507 1202507

with sources updated to c0a91473f5be9f0660d1e043b1f08f7d50e815ad
(stable/12-n233306-c0a91473f5b) and ports updated to
5e09ee3336ab5db008ff5362d11790c1d057e06e (main-n549052-5e09ee3336ab).

Thanks!

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org
"Remember, I'm not the one trying to undermine American democracy. I'm
the one that's trying to save it." - Donald Trump, lying again (05 June 202=
1)

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--f9Yj/8fdWLE3mUh5
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmDLLCZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PckvVQgA1xbnk4SJYencBHpXSFJO8nwnInITVr+XQu0HdxnXm41ijkoFp7kqjGqr
034Jns02XdequSGkNI7Jya7OQOHkCKyH2fAYpPzikND1Dn6HqymISyE97Lq3giAD
Q64lvJcYkFUszSHwwVOaCjKWgfz1VN9WuHUai2Xgbzav3I5OFv3quYfTguwzRftu
ROWpJ4BsjpCFxZn0WYoTQQ1lNquVIPKtjHjnY8OhAlE+9LLsRDHNK46F6VcJ7rFH
g0rSDXtP0g1VCNSBaPxbVK6vzwN2Qfedz946RzMfqu+H8mts0fStyQ0MFYNa/MXR
iU9OMUlzQTsWKR3pRJStAJds4J6D0A==
=9kad
-----END PGP SIGNATURE-----

--f9Yj/8fdWLE3mUh5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YMssJ%2BI3tNzzFszN>