Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: schmo on October 30, 2015, 10:22:30 AM
-
Hi all,
i try to use the nvidia-driver, that i found here http://tinycorelinux.net/6.x/x86/tcz/src/nvidia_driver/
I added
nvidia-340.76-3.16.6-tinycore.tcz and Xorg-7.7-3d to onboot.lst.
as i can see the driver runs correct. If i move a window, it moves perfect smooth.
tc@box:~$ lsmod | grep nvidia
nvidia 9003008 23
but if i try glxgears it does not work:
tc@box:~$ glxgears
glxgears: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
I also cant use firefox or nvidia-settings, it is the same error.
Did I need some symlinks?
Greetings
-
Install libGL.tcz and see if problems disappear.
-
...which is a dependency of Xorg-7.7.tcz,
did you install and add this extension to onboot.lst?
-
This extension was something I built to help another user out - I don't have hardware to test.
As I recall, you need to load Xorg-7.7-3d before you load this extension because the startup script should remove the libGL.so.1 symlink from the libGL extension and remake it to point to libGL.so.340.76 in this extension.
Maybe you could check if the symlink libGL.so.1 -> libGL.so.340.76 exists and, if not, make it.
-
Hi,
thanks for your fast response!
libGl.tcz was already installed. i tried to add it to onboot.lst as last entry but the error is the same.
this is my boot.lst
[...]
xdemos.tcz
graphics-3.16.6-tinycore.tcz
gtk2.tcz
shared-mime-info.tcz
pkg-config.tcz
xorg-server-dev.tcz
nvidia-340.76-3.16.6-tinycore.tcz
Xorg-7.7-3d.tcz
libGL.tcz
and this are the symlinks, looks fine ore not?
tc@box:/usr/local/lib$ ls -la | grep libGL
lrwxrwxrwx 1 root root 64 Oct 30 15:58 libGL.la -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGL.la
lrwxrwxrwx 1 root root 30 Oct 30 15:58 libGL.so -> /usr/local/lib/libGL.so.340.76
lrwxrwxrwx 1 root root 25 Oct 30 15:58 libGL.so.1 -> /usr/local/lib/libGL.so.1
lrwxrwxrwx 1 root root 46 Oct 30 15:58 libGL.so.1.2.0 -> /tmp/tcloop/libGL/usr/local/lib/libGL.so.1.2.0
lrwxrwxrwx 1 root root 71 Oct 30 15:58 libGL.so.340.76 -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGL.so.340.76
lrwxrwxrwx 1 root root 71 Oct 30 15:58 libGLESv1_CM.so -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGLESv1_CM.so
lrwxrwxrwx 1 root root 73 Oct 30 15:58 libGLESv1_CM.so.1 -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 59 Oct 30 15:58 libGLESv1_CM.so.1.1.0 -> /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libGLESv1_CM.so.1.1.0
lrwxrwxrwx 1 root root 78 Oct 30 15:58 libGLESv1_CM.so.340.76 -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGLESv1_CM.so.340.76
lrwxrwxrwx 1 root root 68 Oct 30 15:58 libGLESv2.so -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGLESv2.so
lrwxrwxrwx 1 root root 70 Oct 30 15:58 libGLESv2.so.2 -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGLESv2.so.2
lrwxrwxrwx 1 root root 56 Oct 30 15:58 libGLESv2.so.2.0.0 -> /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libGLESv2.so.2.0.0
lrwxrwxrwx 1 root root 75 Oct 30 15:58 libGLESv2.so.340.76 -> /tmp/tcloop/nvidia-340.76-3.16.6-tinycore/usr/local/lib/libGLESv2.so.340.76
lrwxrwxrwx 1 root root 39 Oct 30 15:58 libGLU.so -> /tmp/tcloop/glu/usr/local/lib/libGLU.so
lrwxrwxrwx 1 root root 41 Oct 30 15:58 libGLU.so.1 -> /tmp/tcloop/glu/usr/local/lib/libGLU.so.1
lrwxrwxrwx 1 root root 45 Oct 30 15:58 libGLU.so.1.3.1 -> /tmp/tcloop/glu/usr/local/lib/libGLU.so.1.3.1
lrwxrwxrwx 1 root root 43 Oct 30 15:58 libglapi.so -> /tmp/tcloop/libGL/usr/local/lib/libglapi.so
lrwxrwxrwx 1 root root 45 Oct 30 15:58 libglapi.so.0 -> /tmp/tcloop/libGL/usr/local/lib/libglapi.so.0
lrwxrwxrwx 1 root root 49 Oct 30 15:58 libglapi.so.0.0.0 -> /tmp/tcloop/libGL/usr/local/lib/libglapi.so.0.0.0
tc@box:/usr/local/lib$
[edit] wait, "libGL.so.1 -> /usr/local/lib/libGL.so.1" is this correct? Doesn't has that be linked to /tmp/tcloop/libGL/usr/local/lib? Maybe i messed it up by trying to fix that....
if i do this:
ln -sf /tmp/tcloop/libGL/usr/local/lib/libGL.so.1 /usr/local/lib/libGL.so.1
ln -sf /tmp/tcloop/libEGL/usr/local/lib/libEGL.so.1 /usr/local/lib/libEGL.so.1
then i can ran nvidia-settings
glxgears seems to run also.... but the glx-extension is missing, but thats another problem.
-
This:
libGL.so -> /usr/local/lib/libGL.so.340.76
libGL.so.1 -> /usr/local/lib/libGL.so.1
Needs changing to this: libGL.so -> /usr/local/lib/libGL.so.340.76
libGL.so.1 -> /usr/local/lib/libGL.so.340.76
-
Exactly, NVIDIA will exhibit errors if it cannot find or use it's own version of libGL which is happening here
libGL.tcz is only for Xorg when installed without proprietary driver
Sent from my iPhone using Tapatalk