FS#59056 - [nvidia-340xx-utils] Files in/etc/ld.so.conf.d cause problems for hybrid graphics

Attached to Project: Arch Linux
Opened by Serede (Serede) - Monday, 18 June 2018, 17:37 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 Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
* Files '/etc/ld.so.conf.d/00-nvidia.conf' and '/etc/ld.so.conf.d/00-lib32-nvidia.conf' from packages nvidia-340xx-utils and lib32-nvidia-340xx-utils, respectively, force the dynamic linker to always use libGL from NVIDIA drivers. As a consequence, the integrated graphics drivers (typically Intel) stop working, as they cannot use the correct libGL.
* Removing said files and updating ldconfig solves the problem. Notice that such files are not included in neither nvidia-utils nor nvidia-390xx-utils releases.

Additional info:
* nvidia-340xx-utils 340.107-2
* lib32-nvidia-340xx-utils 340.107-2

Steps to reproduce:
* In a hybrid graphics system with only integrated graphics driver modules loaded, running glxgears works out of the box.
* As soon as the nvidia-340xx package is installed, running glxgears does not longer work due to the aforementioned ld config files.
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 06 June 2019, 11:30 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Package dropped
Comment by loqs (loqs) - Monday, 18 June 2018, 19:07 GMT
Somewhat related  FS#54979  nvidia-340xx does not support libglvnd in contrast to nvidia to nvidia-390xx series which do support libglvnd.
Instead nvidia-340xx-utils changes the linker search order to use usr/lib/nvidia/ before /usr/lib

Loading...