LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2007, 02:41 PM   #1
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
-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.

Last edited by truthfatal; 03-20-2007 at 01:15 AM.
 
Old 03-20-2007, 08:01 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.

Last edited by MS3FGX; 03-20-2007 at 08:02 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tv Out on Nvidia Ti200 and Slackware Current 180906 fdahl_009 Slackware 13 04-13-2007 03:12 PM
NVIDIA Driver Installation on Debian Current gibran Debian 31 08-18-2005 08:41 PM
slackware-current and nVidia drivers... X won't start mattlacey Slackware 9 05-31-2005 02:32 PM
slackware current and NVIDIA drivers Xavius Slackware 13 11-13-2004 03:59 PM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration