First, to see available drivers :
opkg-cl list |grep nvidia
You can see :
nvidia-304 – 304.137 – Nvidia 304 series driver
nvidia-340 – 340.104 – Nvidia 340 serie Driver
nvidia-384 – 384.98 – Nvidia 384 serie drivers
Then, you can try latest drivers :
opkg-cl install nvidia-384
Downloading now http://opkg.linuxconsole.org/linuxconsole/2.6/x86_64/nvidia-384_384.98_x86_64.ipk.
Configuring nvidia-384.
Try this :
insmod /usr/lib/modules/nvidia.ko
Run :
dmesg | grep NVDRM
if :
[ 501.708307] NVRM: The NVIDIA GeForce 210 GPU installed in this system is
[ 501.708307] NVRM: supported through the NVIDIA 340.xx Legacy drivers. Please
[ 501.708307] NVRM: visit http://www.nvidia.com/object/unix.html for more
[ 501.708307] NVRM: information. The 384.98 NVIDIA driver will ignore
[ 501.708307] NVRM: this GPU. Continuing probe…
[ 501.708310] NVRM: No NVIDIA graphics adapter found!
then try another driver :
Ex
opkg-cl remove nvidia-384 opkg-cl install nvidia-340 insmod /usr/lib/modules/nvidia.ko
if :
[ 665.310647] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[ 665.310649] NVRM: This can occur when a driver such as:
[ 665.310649] NVRM: nouveau, rivafb, nvidiafb or rivatv
[ 665.310649] NVRM: was loaded and obtained ownership of the NVIDIA device(s).
[ 665.310651] NVRM: Try unloading the conflicting kernel module (and/or
[ 665.310651] NVRM: reconfigure your kernel without the conflicting
[ 665.310651] NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 665.310651] NVRM: again.
[ 665.310652] NVRM: No NVIDIA graphics adapter probed!
It’s ok , your driver is good (there is an error because nouveau is loaded)
Then, you have to do this, then reboot :
install -d /root/.ydfs/fixydfs/
echo "modprobe drm insmod /usr/lib/modules/nvidia.ko || exit 1 echo OK grep nvidia /etc/profile || echo 'export LD_LIBRARY_PATH=/usr/lib32/nvidia/:/usr/lib/nvidia:\$LD_LIBRARY_PATH' >> /etc/profile . /etc/profile mount /usr/lib/nvidia/xorg/libglx.so /usr/lib/xorg/modules/extensions/libglx.so -o bind nvidia-xconfig" > /root/.ydfs/fixydfs/nvidia
After rebooting,
Run this
ln -s /usr/lib/nvidia/libGL.so.* /usr/lib/nvidia/libGL.so.1
and you can try :
glxinfo |grep NVIDIA
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL core profile version string: 3.3.0 NVIDIA 340.104
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL version string: 3.3.0 NVIDIA 340.104
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 340.104 340.104
Install Nvidia drivers