LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   TUTORIAL - HOW to install the NVIDIA official drivers (https://www.linuxquestions.org/questions/slackware-14/tutorial-how-to-install-the-nvidia-official-drivers-252463/)

djh 11-08-2004 12:08 PM

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 :p
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

XavierP 11-08-2004 12:38 PM

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

djh 11-08-2004 12:48 PM

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.

XavierP 11-08-2004 12:57 PM

We can't move threads to the tutorial section - but feel free to submit it there.

aje 11-11-2004 09:50 PM

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?

djh 11-11-2004 09:59 PM

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

freychef 11-12-2004 12:11 AM

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.

djh 11-12-2004 04:28 AM

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.

freychef 11-12-2004 11:15 AM

Will do, thanks for your answer.

djh 11-12-2004 11:16 AM

no prob

freychef 11-13-2004 11:40 PM

Holy smokes, that worked like a charm!

Many thanks djh.

:) freychef is a happy slacker.

djh 11-14-2004 02:07 AM

:D :D :D :D :D :D :D :D


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