LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   -current (march 19 '07) + NVIDIA driver. (http://www.linuxquestions.org/questions/slackware-14/current-march-19-07-nvidia-driver-538799/)

truthfatal 03-19-2007 02:41 PM

-current (march 19 '07) + NVIDIA driver.
 
I noticed that compiz-0.3.6 is a part of the new xorg in -current, so I thought I'd give it a try (I haven't yet because of what about to type).
/*Edit: This could have ben posted in cwwilson721s Sticky thread... Yay hindsight! */

/*Edit2: OR
If you want to do it the easy way:

http://www.linuxquestions.org/questi...82#post2676582
*/

Because direct rendering is needed for this kind of toy, I tried to install the NVidia proprietary graphics driver (ver. 9755).

Installing the NVidia proprietary graphics driver (ver. 9755) seems to go off without a hitch. No obvious errors... because there really isn't any.

the layout of the new xorg seems to cause problems with where the driver gets installed.
So, after digging around in /var/log/packages to find the correct paths I figured I'd post this Maybe-HowTo just in case anyone else runs into this issue (I don't think it's a bug... at least, not a -current bug. Maybe an NVIVDIA bug though ;) )

Keep in mind, this worked for me and it might not work for you.
Back up your working xorg.conf before you try any of this. restoring it should make it so you can get back into X if my directions lead you completely astray.

I assume anyone following these instructions has followed the CHANGES_AND_HINTS.TXT to get to -current

I'm using the vmlinuz-huge-2.6.18.8-smp kernel, because that's the one that the upgrade hit last.

Also, I won't be suprised if the layout of xorg changes before -current == -stable and this thread becomes obsolete (or heavily edited)

So here we go!

First, get out of X. If in runlevel 4 I prefer to issue `telinit 3` as root, just to be thorough.

Code:

# sh NVIDIA-Linux-x86-1.0-9755-pkg1.run -e
the '-e' puts you into "expert mode" which is funny, because I am no where near being an "expert."

ACCEPT to accept the license and continue with the installation

the existing driver will be uninstalled. Are you sure you want to continue? YES

Kernel module installation path:
/lib/modules/2.6.18.8-smp/kernel/drivers/video
I didn't have to change this.

attempt to download a kernel interface for your kernel NO

No precompiled kernel interface was found to match your kernel OK

Kernel source path:
/lib/modules/2.6.18.8-smp/source
this was fine too.

Building kernel module:
{wait}

X installation prefix:
/usr
This was one of the problem areas. The installer wanted to use /usr/X11R6, like it thought we were still using xorg-6.9

X library installation path:
/usr/lib
this was fine though.

X module installation path:
/usr/lib/xorg/modules
This was odd, it wanted to use /usr/lib/modules. maybe that's how they expect xorg-7+ to be installed

OpenGL installation prefix:
/usr
No problem!

Documentation installation prefix:
/usr
No problem!

Utility installation prefix:
/usr
Just peachy!

Install NVIDIA's OpenGL header files? YES
I do this, I don't know if it's nessecary or not though...

Is this acceptable? YES
Shows you an overview of what you're about to do.

Would you like to run the nvidia-xconfig utility?.. pre-existing X configuration file will be backed up. YES
because I'm lazy and don't want to do it myself.

Installation of the NVIDIA Accelerated Graphics Driver for
Linux-x86 (version: 1.0-9755) is now complete.
OK!

Now we can start up X again to see if it worked!

Tomorrow, I will give compiz a go.

MS3FGX 03-20-2007 08:01 AM

Even though you can do it the "easy way", I appreciate the effort you put into writing this all up.

After all, it is much better for the community as a whole to understand why something is a problem and how it is resolved rather than just giving people a one line command and saying "Type this".

I am interested in getting this working myself in the next few days. A few weeks back I installed some unofficial packages for XOrg 7.1 to get Beryl and such working, and it was much much harder than it should have been.


All times are GMT -5. The time now is 11:42 PM.