CRUX mesa3d switch to GLVND (libglvnd)
![](https://secure.gravatar.com/avatar/fd58d7f00f8145bfbc8377ee10bbd971.jpg?s=120&d=mm&r=g)
Greetings, CRUX users! Today, CRUX's xorg/mesa3d port will switch to using GLVND [1]. xorg/libglvnd is a new dependency for xorg/mesa3d. during the upgrade process there will be files that libglvnd owns that were previously owned by mesa3d. A force install (pkgmk -f) of libglvnd will be needed, then an upgrade of mesa3d. The following files will conflict between libglvnd and mesa3d: usr/lib/libEGL.la usr/lib/libEGL.so usr/lib/libEGL.so.1 usr/lib/libEGL.so.1.0.0 usr/lib/libGL.la usr/lib/libGL.so usr/lib/libGL.so.1 usr/lib/libGLESv1_CM.la usr/lib/libGLESv1_CM.so usr/lib/libGLESv1_CM.so.1 usr/lib/libGLESv2.la usr/lib/libGLESv2.so usr/lib/libGLESv2.so.2 usr/lib/libGLESv2.so.2.0.0 ----- NOTES for nvidia users: If you use nvidia binary drivers (opt/nvidia, opt/nvidia-sl), you should run 'gl-select use xorg' to reset gl-select to the default xorg setup before upgrading nvidia. A pre-install script has been added to the nvidia ports to facilitate this just in case. The following files will likely conflict during the nvidia or nvidia-sl upgrades, requiring a force install/upgrade (pkgmk -u -f) of the package: usr/lib/libcuda.so.1 usr/lib/libnvidia-opencl.so.1 It's possible there will be others depending on your system's symlinks. gl-select SHOULD NOT BE USED and can be uninstalled after this upgrade! The nvidia, nvidia-32, nvidia-sl, and nvidia-sl-32 ports have also been updated to use GLVND, so should be upgraded as well, if installed. ----- In most cases after this upgrade you should see no difference in performance or operation. For users with multiple GPUs from different vendors in a single system, or with optimus laptops, GLVND will make life much easier. If you experience issues that I've forgotten to mention here, ask here on the mailing list or in the #crux IRC channel on freenode.net. Regards, Matt [1] https://github.com/NVIDIA/libglvnd
![](https://secure.gravatar.com/avatar/f40b961fd497e2471960f7150d986610.jpg?s=120&d=mm&r=g)
Hi Matt, When I built libglvnd on my docker "clean" build environment it seemed to be missing a dependency for xorg-libxext. I got: checking for PTHREAD_PRIO_INHERIT... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x11... yes checking for xext... no configure: error: Package requirements (xext) were not met: No package 'xext' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XEXT_CFLAGS and XEXT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. =======> ERROR: Building '/usr/ports/pkgs/libglvnd#1.0.0-1.pkg.tar.xz' failed. -- Packages where install failed libglvnd When I installed xorg-libxext manually the build went fine. Regards, Daryl
participants (2)
-
Daryl F
-
Matt Housh