FS#54979 - libglvnd & nvidia-340xx-utils libraries collision

Attached to Project: Arch Linux
Opened by Ales Nesrsta (starous) - Sunday, 30 July 2017, 17:57 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 06 June 2019, 11:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Hello, package libglvnd-0.2.999+g4ba53457-2 conflicts with nvidia-340xx-utils-340.102-8.

qtk3 applications reports errors about OpenGL (libGL error...) after installation of libglvnd (which is required by gtk3 -> mesa) - some of such applications then works, some not (e.g. krusader - process is running but nothing is displayed...).

Both library packages provide the same library files libEGL.so*, libGL.so*, libGLESv1_CM.so*, libGLESv2.so*

The problem seems to be in library searching order - running process takes libglvnd files from /usr/lib instead of nvidia-340xx-utils files from /usr/lib/nvidia - even if nvidia package set some related search settings in /etc/ld.so.conf.d.

Some kind of temporary workaround is to start any gtk3 dependent application (e.g. krusader) with preceding "env LD_LIBRARY_PATH=/usr/lib/nvidia <command>..." - but it is really ugly...

Additional info:
* package version(s) - see above
* config and/or log files etc. - I expect this is not necessary as the reason of the problem is explained above.

Steps to reproduce:
1. Install nvidia-340xx and nvidia-340xx-utils on machine with related graphics card, remove installation of libglvnd and mesa (and potentially their multilib parts lib32-mesa and lib32-libglvnd). Reboot. Then run glxgears - it works.
2. Install libglvnd and mesa. Run glxgears - it does not work and error messages are displayed.

BR, Ales
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 06 June 2019, 11:30 GMT
Reason for closing:  None
Additional comments about closing:  Package dropped
Comment by Doug Newgard (Scimmia) - Sunday, 30 July 2017, 22:33 GMT
Is there any reason mesa has to require libglvnd?
Comment by loqs (loqs) - Monday, 31 July 2017, 00:32 GMT Comment by Darek (blablo) - Monday, 31 December 2018, 12:37 GMT