From nobody Thu Jun 17 11:04:07 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EC6FC5D3EB4 for ; Thu, 17 Jun 2021 11:04:15 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G5K1p4Z0mz4XyS; Thu, 17 Jun 2021 11:04:14 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 15HB47Fr071494; Thu, 17 Jun 2021 11:04:07 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 15HB47We071493; Thu, 17 Jun 2021 04:04:07 -0700 (PDT) (envelope-from david) Date: Thu, 17 Jun 2021 04:04:07 -0700 From: David Wolfskill To: freebsd-ports@freebsd.org Subject: x11/nvidia-driver update from 460.80 to 460.80_1: libglvnd Message-ID: Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="f9Yj/8fdWLE3mUh5" Content-Disposition: inline X-Rspamd-Queue-Id: 4G5K1p4Z0mz4XyS X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [1.60 / 15.00]; HAS_REPLYTO(0.00)[freebsd-ports@freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[catwhisker.org]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --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--