I successfully installed nvidia proprietary drivers for my 9500M GS and i'd like to share my experience during installation.
1-) download linux drivers package for your hardware from nvidia.com
2-) install linux-headers from tiny core repository
3-) exit to prompt
4-) sudo sh NVIDIA-linux-x86-x.y.z.pkgX.run
5-) accept the license
6-) depending on the version of the driver installer package it will ask whether to download a precompiled kernel interface just skip this
7-) now it should build the kernel interface for tiny core to link kernel module with tiny core kernel
8-) after build complete it installs kernel module with some other libraries and documentation, most important ones:
/usr/local/lib/X11/modules/drivers/nvidia_drv.so
/usr/local/lib/X11/modules/libnvidia-wfb.so.x.y.z and
/usr/local/lib/X11/modules/libnvidia-wfb.so.x -> libnvidia-wfb.so.x.y.z
/usr/local/lib/X11/modules/extensions/libglx.so.x.y.z
/usr/local/lib/X11/modules/extensions/libglx.so -> libglx.so.x.y.z
/usr/lib/libGL.so.x.y.z
/usr/lib/libGL.so.x -> libGL.so.x.y.z
/usr/lib/libGL.so -> libGL.so.x
/usr/lib/libGLcore.so.x.y.z
/usr/lib/libGLcore.so.x -> libGLcore.so.x.y.z
/usr/lib/libcuda.so.x.y.z
/usr/lib/libcuda.so -> libcuda.so.x.y.z
/usr/lib/tls/libnvidia-tls.so.x.y.z
/usr/lib/tls/libnvidia-tls.so.x -> libnvidia-tls.so.x.y.z
/usr/lib/libnvidia-tls.so.x.y.z
/usr/lib/libnvidia-tls.so.x -> libnvidia-tls.so.x.y.z
/lib/modules/2.6.29.1-tinycore/kernel/drivers/video/nvidia.ko
-if you delete one of these files you will end up with an improper installation definetly. In this thread people mentioned that deleting libglx and libGL libraries provided by nvidia and reverting back to original ones from xorg extension but in this way you will have no hardware 3D
9-) installer runs some tests in background, in my case i had the problem here:
-> Running runtime sanity check:
ERROR: The runtime configuration check failed for the library
'libnvidia-tls.so.190.42' (expected: '/usr/lib/tls/libnvidia-tls.so.1',
found: '/usr/lib/libnvidia-tls.so.1'). The most likely reason for this
is that conflicting OpenGL libraries are installed in a location not
inspected by `nvidia-installer`. Please be sure you have uninstalled
any third-party OpenGL and/or third-party graphics driver packages.
-> done.
-> Runtime sanity check failed.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at
www.nvidia.com.
10-) actually installation is complete just you can't start x server right now with the nvidia proprietary driver, after configuring xorg.conf for the new driver when i tried to startx i had black screen with computer not responding anything needing a button reset
11-) As you can see from the installed libraries by the nvidia installer you can see that there are two libnvidia-tls installed.
The reason why there are two library with same name:
From nvidia linux driver README
http://us.download.nvidia.com/XFree86/Linux-x86/185.18.36/README/index.html:
The nvidia-tls libraries (/usr/lib/libnvidia-tls.so.x.y.z and /usr/lib/tls/libnvidia-tls.so.x.y.z); these files provide thread local storage support for the NVIDIA OpenGL libraries (libGL, libGLcore, and libglx). Each nvidia-tls library provides support for a particular thread local storage model (such as ELF TLS), and the one appropriate for your system will be loaded at run time.
- From this passage i understand that one of them is not necessary for my system(for tinycore ?) and it is the one in /usr/lib
so i removed libnvidia-tls.so* files from /usr/lib thus libGL libraries links to the correct one in /usr/lib/tls directory
12-) Run nvidia-xconfig with sudo
(you need a working configured xorg.conf here, nvidia-xconfig just changes device section
if you don't have a conf file you can create one with Xorg -configure command and put the created file to /etc/X11 naming it as xorg.conf)
13-) Run ldconfig and depmod as root then startx
14-) Run glxgears to test, you should have at least a few thousand fps, my 9500M GS had 6k fps. it was 200 fps with open source nv driver
-if you have segmentation fault when trying to run glxgears then it means linked libraries are not correct
type ldd `which glxgears` , you should have:
ldd `which glxgears`
linux-gate.so.1 => (0xb7f09000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7e44000)
libm.so.6 => /lib/libm.so.6 (0xb7e1e000)
libc.so.6 => /lib/libc.so.6 (0xb7cc1000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7bc1000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6b52000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6b50000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb6b43000)
libdl.so.2 => /lib/libdl.so.2 (0xb6b3f000)
/lib/ld-linux.so.2 (0xb7f0a000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb6b3c000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6b36000)
-This will be gone if you reboot
so to make it persistent i suggest to make a personal extension(i can submit extensions if it is not illegal after i make sure i do everything correct) or maybe two for kernel module and libraries, for example nvidia.tczl and nvidia.tczm and we must make sure nvidia OpenGL libraries overwrites Xorg ones. since Xorg has capital initial letter i think it will be loaded then nvidia will be loaded so we should have no problem.