MrMEEE/ironhide — Issue #185: nvidia-xconfig library error
Author: Ktl-XV
Created: 2011-11-30 02:59:02+00:00
State: open

Ubuntu 11.11
Toshiba Satelite A660
nvidia-current version 280.13-0ubuntu6
ironhide verson 1.0-1~oneiricubuntu40

Once everything was working but today I checked it and Ironhide was not working

I tried to reconfigure Ironhide but it didn't worked, it stalled after confirming my configuration

So i went and looked for the bug.

Around line 360

if [ `LD_LIBRARY_PATH=/usr/lib/nvidia-current /usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info | grep "Display Devices" | cut -f2 -d":"` -gt 0 ] ; then

The script stops here.
When executing manually

ktlkv@Ktl-Ubuntu1:~$ LD_LIBRARY_PATH=/usr/lib/nvidia-current
ktlkv@Ktl-Ubuntu1:~$ /usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info
WARNING: error opening libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open
shared object file: No such file or directory.

ERROR: Unable to query GPU information

but
/usr/lib/nvidia-current//libnvidia-cfg.so.1
does exist

I do not know what this means but could it be possibe nvidia-xconfig is not using LD_LIBRARY_PATH?

Glad to provide more info or run tests

Thanks