LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-08-2004, 12:08 PM   #1
djh
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
TUTORIAL - HOW to install the NVIDIA official drivers


after browsing 5 or 6 threads on the forum it's fair to assume ppl are having trouble configuring their system(s) with nvidia drivers ( so that it supports opengl ).
of course if you just replace nv with nvidia it WILL work but glx won't load.
That is valid using the latest ia32 drivers from NVIDIA nvidia.com/drivers, and slackware 10 ( however i tryed on mandrake and got the same problem, ald also fixed it the same way as described lower :P).
I do not know why it is so but so it is
ok first do a backup of xorg.conf or XF86Config-4
mouse, keyboard, and monitor settings are your problem, and it's hardware specific anyway.
what must be changed resides in the device, screen and layout sections
first the device :

Section "Device"
Identifier "NV AGP"
VendorName "nvidia"
Driver "nvidia"
EndSection
then the screen:

Section "Screen"
Identifier "Screen AGP"
Device "NV AGP"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

and the layout:

Section "ServerLayout"
Identifier "AGP"
Screen "Screen AGP"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

the 24 bit color depth is max (at least for me Gf fx 5200 128 DDR/128 bits)
note on resolutions and games
in order for your game to work with wine,winex or cedega you must have the resolution for it specified in the display subsection of section Screen, :P just give the game the res. it likes.
should you people have more questions or different hardware consider checking
/usr/share/doc/NVIDIA_GLX-1.0/XF86Config.sample
( the same settings apply to xorg.conf )
i really hope it helps, and others won't have to waste hours of searching forums and reading README's
 
Old 11-08-2004, 12:38 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Have you looked at our Linux Tutorial section? This would be far more suited to that section than this.

And since this isn't Slackware specific, I am moving it to Linux-Hardware as it fits better there. But definitely look at submitting this as a Tutorial, if you think you have more information than this tutorial which is already there: http://www.linuxquestions.org/questi...icle&artid=113
 
Old 11-08-2004, 12:48 PM   #3
djh
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 15
uh. i am... sorry. i never considered i could post anywhere outside the forum. (submiting in the tutorial section - guess i never payed much attention to anything but the forum - my mistake)
well, i'll check that area too and if i'll find something usefull to add i'll prepare a tutorial (with fancy bold, italics, the works )
thanks for the tip


--- PS ----
if you want to move it of course. i just want it to be where it can do most good.

Last edited by djh; 11-08-2004 at 12:50 PM.
 
Old 11-08-2004, 12:57 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
We can't move threads to the tutorial section - but feel free to submit it there.
 
Old 11-11-2004, 09:50 PM   #5
aje
Member
 
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177

Rep: Reputation: 30
Is it safe to edit my xorg.conf to fit those parameters?

If not, how would I go about making and then reviving a backup?
 
Old 11-11-2004, 09:59 PM   #6
djh
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 15
umm a backup usually consists of the original files saved in a backup directory.
in case it goes wrong you will have to handle the problem in text mode. is that a problem for you ??
i'm used to text mode, btw because of my hardware configuration i can not load X after setup.
well anyway, even if you screw up your xorg.conf, IF you have a backup YES there's nothing to worry about
 
Old 11-12-2004, 12:11 AM   #7
freychef
Member
 
Registered: May 2003
Location: Montreal
Distribution: Slack, Libranet
Posts: 92

Rep: Reputation: 15
Ok, but I have one quick question.

My Nvidia card is uses PCI not AGP. Can I just replace everything listed in your tutorial with PCI instead or AGP?

Cheers.
 
Old 11-12-2004, 04:28 AM   #8
djh
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 15
right now i'm not on linux, BUT i remember the /usr/share/doc/NVIDIA_GLX-1.0/XF86Config.sample file well enough.
You should be able to get it started just by replacing AGP with PCI.
however, i strongly recommend reading /usr/share/doc/NVIDIA_GLX-1.0/XF86Config.sample carefully, just in case it doesn't work.
 
Old 11-12-2004, 11:15 AM   #9
freychef
Member
 
Registered: May 2003
Location: Montreal
Distribution: Slack, Libranet
Posts: 92

Rep: Reputation: 15
Will do, thanks for your answer.
 
Old 11-12-2004, 11:16 AM   #10
djh
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 15
no prob
 
Old 11-13-2004, 11:40 PM   #11
freychef
Member
 
Registered: May 2003
Location: Montreal
Distribution: Slack, Libranet
Posts: 92

Rep: Reputation: 15
Holy smokes, that worked like a charm!

Many thanks djh.

freychef is a happy slacker.
 
Old 11-14-2004, 02:07 AM   #12
djh
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 15
 
  


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
Does anyone know how to get the Nvidia drivers to install? Nauntilus Linux - Software 3 11-08-2005 01:32 AM
NVIDIA drivers doesn't install crud Slackware 1 03-08-2005 08:41 PM
How do I install nvidia drivers? jon_k Linux - Software 2 11-11-2004 07:03 AM
Getting out of X to install nvidia drivers r3dhatter Debian 12 05-09-2004 08:19 PM
Can't install NVIDIA drivers on 2.4 Tyir Slackware 18 01-15-2004 05:54 PM

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

All times are GMT -5. The time now is 06:34 PM.

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