Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#53360 - [nvidia-340xx-utils] glxinfo/plasna/krunnex not working withour LD_LIBRARY_PATH

Attached to Project: Arch Linux
Opened by Mikołaj (travnick) - Saturday, 18 March 2017, 12:14 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 25 July 2017, 08:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No


After Update plasma stopped working (after login there is black screen with crash report about krunner)
It seem that libGL is not properly loaded.

glxinfo was not working until adding LD_LIBRARY_PATH=/usr/lib/nvidia or LD_PRELOAD=/usr/lib/nvidia/

Additional info:
* package version(s)
extra/nvidia-340xx 340.102-4
extra/nvidia-340xx-utils 340.102-8

* config and/or log files etc.

Steps to reproduce:


add in /etc/profile.d/
file ""

export LD_LIBRARY_PATH=/usr/lib/nvidia:#LD_LIBRARY_PATH

now plasma starts and every GL application
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 25 July 2017, 08:46 GMT
Reason for closing:  No response
Comment by Jan de Groot (JGC) - Saturday, 18 March 2017, 13:36 GMT
PKGBUILD contains:
install -dm 755 "${pkgdir}"/etc/
echo -e '/usr/lib/nvidia/' > "${pkgdir}"/etc/

So /usr/lib/nvidia is added to the LD_LIBARY_PATH.

Only thing I could think of is that it should be without trailing / and echoed without "-e".
Comment by Laurent Carlier (lordheavy) - Saturday, 18 March 2017, 18:30 GMT
Can you paste the content of /etc/, also the output of 'lconfig -v' (ld-config -v > output.txt)
Comment by Simon Parzer (oncer) - Friday, 24 March 2017, 10:26 GMT
I have the same issue, where gnome-shell, gnome-control-center and some other apps (like glxinfo) fail to start.
Adding /usr/lib/nvidia to LD_LIBRARY_PATH temporarily fixes the problem.

simon@simon-desktop ~ » cat /etc/

simon@simon-desktop ~ » ldconfig -v | less
/usr/lib/nvidia: -> -> -> -> -> -> -> -> -> -> -> -> -> -> ->
Comment by Simon Parzer (oncer) - Friday, 24 March 2017, 10:32 GMT
» ldd /usr/bin/glxinfo (0x00007ffee71f2000) => /usr/lib/ (0x00007f339b604000) => /usr/lib/ (0x00007f339b2c5000) => /usr/lib/ (0x00007f339af21000) => /usr/lib/ (0x00007f339acf0000) => /usr/lib/ (0x00007f339aade000) => /usr/lib/ (0x00007f339a828000) => /usr/lib/ (0x00007f339a624000) => /usr/lib/ (0x00007f339a406000) => /usr/lib/ (0x00007f339a1dd000)
/lib64/ (0x00007f339b88f000) => /usr/lib/ (0x00007f3399fd9000) => /usr/lib/ (0x00007f3399dd3000)

» pacman -Qo /usr/lib/
/usr/lib/ is owned by libglvnd 0.2.999+g4ba53457-1

Comment by Darek (blablo) - Monday, 01 May 2017, 08:29 GMT
Nvidia 340/304 does not support glvnd. Users of these cards should not be forced to install the libglvnd package at all.
Comment by Simon Parzer (oncer) - Monday, 01 May 2017, 18:48 GMT
Darek: gtk3 depends on mesa, mesa depends on libglvnd, so it's not easily possible to remove libglvnd if you want to keep the GNOME desktop installed
Comment by Darek (blablo) - Monday, 01 May 2017, 19:04 GMT
Please see  FS#53623 
Comment by Laurent Carlier (lordheavy) - Monday, 19 June 2017, 06:23 GMT
Do you have gnustep-make installed?