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
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
|
Details
Description:
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/libGL.so 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: TEMPORARY WORKAROUND: add in /etc/profile.d/ file "ld_library_path_nvidia_fix.sh" with: 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
Tuesday, 25 July 2017, 08:46 GMT
Reason for closing: No response
install -dm 755 "${pkgdir}"/etc/ld.so.conf.d
echo -e '/usr/lib/nvidia/' > "${pkgdir}"/etc/ld.so.conf.d/00-nvidia.conf
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".
Adding /usr/lib/nvidia to LD_LIBRARY_PATH temporarily fixes the problem.
simon@simon-desktop ~ » cat /etc/ld.so.conf.d/00-nvidia.conf
/usr/lib/nvidia/
simon@simon-desktop ~ » ldconfig -v | less
[..]
/usr/lib/nvidia:
libnvidia-encode.so.1 -> libnvidia-encode.so.340.102
libnvidia-glcore.so.340.102 -> libnvidia-glcore.so.340.102
libGLESv2.so.2 -> libGLESv2.so.340.102
libnvcuvid.so.1 -> libnvcuvid.so.340.102
libGLESv1_CM.so.1 -> libGLESv1_CM.so.340.102
libnvidia-cfg.so.1 -> libnvidia-cfg.so.340.102
libnvidia-fbc.so.1 -> libnvidia-fbc.so.340.102
libnvidia-eglcore.so.340.102 -> libnvidia-eglcore.so.340.102
libnvidia-glsi.so.340.102 -> libnvidia-glsi.so.340.102
libGL.so.1 -> libGL.so.340.102
libnvidia-ml.so.1 -> libnvidia-ml.so.340.102
libEGL.so.1 -> libEGL.so.340.102
libnvidia-tls.so.340.102 -> libnvidia-tls.so.340.102
libnvidia-ifr.so.1 -> libnvidia-ifr.so.340.102
libcuda.so.1 -> libcuda.so.340.102
linux-vdso.so.1 (0x00007ffee71f2000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f339b604000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f339b2c5000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f339af21000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f339acf0000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f339aade000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f339a828000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f339a624000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f339a406000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f339a1dd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f339b88f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f3399fd9000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f3399dd3000)
» pacman -Qo /usr/lib/libGL.so
/usr/lib/libGL.so is owned by libglvnd 0.2.999+g4ba53457-1
FS#53623