This is essentially what the Slackbuilds (SBo) package does - it replicates the nivida installer in a Slackware compliant manner. Also, anything peculiar to Slackware are fixed (or I should say, weird glitches nvidia copies from those
other distros). There's an additional script to flip back to Mesa and GLX libs without having to run the nivdia-*.run --uninstall script. In fact, BEFORE you uninstall the the nvidia packages you MUST
Code:
# nvidia-switch --remove
to properly restore Xorg.
Monk Tea, definitely run 'nvidia-settings' from the command line. If you get the same error, then your X is not using/can't find the nvidia GLX extensions and your opensource GLX extension are hosed. You will need to correct that issue. With Nvidia packages properly installed:
Code:
$ ls -l /usr/lib64/xorg/modules/extensions/
total 11152
-rwxr-xr-x 1 root root 932 Oct 9 2013 libglx.la-xorg
lrwxrwxrwx 1 root root 16 Jul 18 15:59 libglx.so -> libglx.so.340.24
-rwxr-xr-x 1 root root 419880 Oct 9 2013 libglx.so-xorg
lrwxrwxrwx 1 root root 23 Jul 18 15:59 libglx.so.340.24 -> libglx.so.340.24-nvidia
-rwxr-xr-x 1 root root 10989992 Jul 18 15:44 libglx.so.340.24-nvidia
$ ls -l /usr/lib64/libGL.*
-rwxr-xr-x 1 root root 646 Jul 18 15:45 /usr/lib64/libGL.la
lrwxrwxrwx 1 root root 10 Jul 18 15:59 /usr/lib64/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 15 Jul 18 15:59 /usr/lib64/libGL.so.1 -> libGL.so.340.24
-rwxr-xr-x 1 root root 511032 Oct 21 2013 /usr/lib64/libGL.so.1.2.0-xorg
lrwxrwxrwx 1 root root 22 Jul 18 15:59 /usr/lib64/libGL.so.340.24 -> libGL.so.340.24-nvidia
-rwxr-xr-x 1 root root 1267768 Jul 18 15:44 /usr/lib64/libGL.so.340.24-nvidia
To use the SBo scripts, you must
- exit X and make sure that the original Slackware mesa (opengl) and xorg-server (glx) packages are (re)istalled
- blacklist and remove nouveau from memory (modprobe -r or preferably reboot)
- log in as root at the command line DO NOT RUN X.
- run SBo script; install the libvdpau package
- run SBo script; install the kernel package
- run SBo script; install the nvidia-driver package
- reboot
What you cannot do, is just install all the packages and then just type "startx" - you
MUST reboot. Also, if you have converted to multilib from x86_64, you should
Code:
$ COMPAT32-yes ./nvidia-driver.SlackBuild
to enable 32-bit opengl.
The SBo packages install /usr/share/X11/xorg.conf.d/10-nvidia-conf for the "automagical" people; you may delete this to use your own /etc/X11/xorg.conf.d/xorg.conf
Correct your ServerLayout section:
Code:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Your monitor
Code:
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
look weird. Are you sure they are correct? CRT or LCD?