MrMEEE / ironhide

Optimus Support for Linux Through VirtualGL - PPA version also available: https://launchpad.net/~mj-casalogic/+archive/ironhide
http://www.martin-juhl.dk
88 stars 0 forks source link

nvidia-xconfig library error #185

Open Ktl-XV opened 12 years ago

Ktl-XV commented 12 years ago

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