LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-29-2004, 05:00 AM   #1
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Help me in configuring NVidia GeForce in Slack 10.0


Hello guys,

With some terrific help from you guys, I have been able to configure and install my firewall in Slack 10. Now I want to install the NVidia GeForce card so that I can watch movies and play games

I have edited the xorg.conf file manually to load with the 'nv' driver and have configured X to work fine... but I want to use the Driver from NVidia as it will allow me to play movies etc. So I downloaded the driver and started to install it. As an aside I have to state that I have done this numerous times for RedHat and was able to do it myself quite easily. But now while installing it gave some error about Kernel modules mismatch or some such stuff....but I installed it anyway. After about tweaking with it for about 2 hours...I was able to kill off X finally

So now I am back in square one...I am now using my original working xorg.conf with just 'nv' driver. I tried searching the web...but while there are a couple of very good sites which helped me in configuring ALSA for sound, I was unable to find any help. I am using the default 2.4 kernel that comes with Slack....FYI.

Thanks.
 
Old 11-29-2004, 05:23 AM   #2
pave_spectre
Member
 
Registered: Jan 2004
Location: Behind You!
Distribution: Slackware 10 | SmoothWall 2.0 | FreeBSD 4.8
Posts: 56

Rep: Reputation: 15
What exactly was the error produced?

Do you have the kernel source for the currently installed kernel?
 
Old 11-29-2004, 05:59 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Original Poster
Rep: Reputation: 32
It was not exactly an error... it was a message about some modules not there or something....if you want I have to install it again and check the message. Also I have the kernel sources...so that must not be a problem.
 
Old 11-29-2004, 06:48 AM   #4
slackaddict
Member
 
Registered: Nov 2004
Location: Aotearoa
Distribution: Slack, Ubuntu
Posts: 92

Rep: Reputation: 15
Hey UltimaGuy

When I installed the Nvidia driver in Slack 10 I got a warning about the "rivafb" module. It wasn't because it was missing but because it was there (it intefers with the nvidia driver). If that is loaded it will cause problems, you could try running "modprobe -r rivafb" before loading the nvidia driver.

If you've used this driver on RH before you probably know how to edit the X config file, though Slack is now using xorg, try checking the docs in /usr/share/doc/NVIDIA.....(the name of the Nvidia directory may vary with the driver version)

You may need to try reinstalling it and taking note of all messages. Does the installation complete? Does X actually start?
 
Old 11-29-2004, 07:03 AM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Like pave said, you need to have the kernel source for the kernel you are running. You will get a message about "no precompiled modules" when you try to install the Nvidia drivers. But then it will go and see if you have the kernel source and build you a module using the kernel source. As long as you have the kernel source, the Nvidia drivers will install correctly. Then you will have to edit your xorg.conf. Read the REAME file for the Nvidia drivers on the nvidia.com site they have some nice options for such things as enabling AntiAlaising.

You should be doing this outside of X. And you may want to re-run xorgconfig, some settings may need to be changed for your card to work correctly even after you have the drivers installed.
http://www.slackware.com/config/x.php
 
Old 11-29-2004, 02:07 PM   #6
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Original Poster
Rep: Reputation: 32
Well....I have followed your suggestions and installed NVidia driver, and then I manually changed the xorg.conf file as said in the NVidia README file. But after I finished this and started X, I was greeted by a stupid BSOD(Black Screen Of Death). I had to restart the system in init 3 and use my old xorg.conf file again to use the default driver and make X work again

Any suggestions.... My card is a GeForce 2 card that comes integrated with the ASUS A7N266 MB....
 
Old 11-29-2004, 04:58 PM   #7
pave_spectre
Member
 
Registered: Jan 2004
Location: Behind You!
Distribution: Slackware 10 | SmoothWall 2.0 | FreeBSD 4.8
Posts: 56

Rep: Reputation: 15
I'm wondering what modules the default kernel has.

I know the Nvidia drivers won't work if you have Direct Rendering Manager(?) compiled and I think I also had trouble once with framebuffer. But I have never used the default kernel for longer than it took to compile my own.

After you installed the drivers did you use startx or init 4 to start the GUI? If you use startx it should produce an error that you can see and that might help with diagnosis.
 
Old 11-30-2004, 12:06 AM   #8
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Original Poster
Rep: Reputation: 32
I used both startx and init 4... both loads some modules and freezes in a black screen, and I have to restart my system to get control back. I think I am missing doing something important...but I am not sure about what I'm missing...
 
Old 11-30-2004, 12:28 AM   #9
yarthing
LQ Newbie
 
Registered: Jul 2004
Location: nagaland
Distribution: fedora core 1, redhat 9
Posts: 2

Rep: Reputation: 0
HERE IS THE SIMPLEST SOLUTION TO IT... THIS WORKS ON ANY LINUX PLATFORM YOU ARE WORKING ON

JUST TAKE MY WORD AND YOU"LL BE THERE

JUST EDIT TWO LINES AFTER INSTALLING THE DRIVER

open the XFree86Config from /etc/X11 in any of your fav text editor
and fine this line

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection

JUST Edit this two lines
Driver "nv"
VendorName "Videocard vendor"

replace nv with nvidia
Videocard vendor with nvidia

and dude don't touch any other lines
else this line will be over written again when you reboot

again edit just the two lines i mentioned and it will all be fine
mail me if it does not work with

with all the lines in your XFree86Config from /etc/X11.. my add yarthing@yahoo.com
 
Old 11-30-2004, 11:28 AM   #10
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Original Poster
Rep: Reputation: 32
Nada....again the BSOD. I'm trying multiple things....but I think I have to wait till the weekend to spend and really make NVidia work on my system
 
Old 11-30-2004, 06:11 PM   #11
pave_spectre
Member
 
Registered: Jan 2004
Location: Behind You!
Distribution: Slackware 10 | SmoothWall 2.0 | FreeBSD 4.8
Posts: 56

Rep: Reputation: 15
All I can think of at the moment is that maybe the default kernel does have one of those incompatible modules in it. Fixing that would require recompiling the kernel and re-installing the NVidia driver.


Might be worthwhile to post you xorg.conf file just to make sure theres something simple that hasn't been overlooked before trying a new kernel though.
 
Old 11-30-2004, 08:35 PM   #12
H2O-linux
Member
 
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153

Rep: Reputation: 30
Hmmm,

make the changes to the xorg.conf file as you did before

Have you made sure in your bios that an IRQ is assigned to VGA?

This is what I had to do to get X to run

@ command prompt type:

"uname -r"

to get your kernel, then type the below text

sh NVIDIA-Linux-x86-1.0-6629-pkg1.run --kernel-name="uname -r output here"

Then go get Americasarmy.com free game and have some fun

Last edited by H2O-linux; 11-30-2004 at 08:37 PM.
 
Old 11-30-2004, 09:40 PM   #13
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
Try this:
After Install kernel-source and NVIDIA driver, then run xorgsetup as root; might need to use su - instead of su
Then edit /etc/X11/xorg.conf so that Driver is "nvidia" , not "nv".


Here is mine:
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV11 [GeForce2 MX/MX 400]"
BusID "PCI:1:0:0"
EndSection

Your BoardName may differ, xorgsetup has a long list though.

I vaguely remember that there is another trick to installing nvidia driver, you should find it by googling, but maybe I'm wrong about the trick.
 
Old 12-01-2004, 12:40 PM   #14
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Original Poster
Rep: Reputation: 32
I tried it again....I installed the nVidia installer...then ran xorgsetup and then rebooted the system...but again BSOD

My xorg.conf file is like this :
Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "glx"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "xtrap"
Load  "freetype"
Load  "type1"
Load  "freetype"
Load  "speedo"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "keyboard"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option	    "Protocol" "auto"
Option	    "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "DigitalVibrance"    	# <i>
#Option     "NoFlip"             	# [<bool>]
#Option     "Dac8Bit"            	# [<bool>]
#Option     "NoLogo"             	# [<bool>]
#Option     "UBB"                	# [<bool>]
#Option     "Stereo"             	# <i>
#Option     "SWcursor"           	# [<bool>]
#Option     "HWcursor"           	# [<bool>]
#Option     "VideoKey"           	# <i>
#Option     "NvAGP"              	# <i>
#Option     "IgnoreEDID"         	# [<bool>]
#Option     "NoDDC"              	# [<bool>]
#Option     "ConnectedMonitor"   	# <str>
#Option     "ConnectedMonitors"  	# <str>
#Option     "TVStandard"         	# <str>
#Option     "TVOutFormat"        	# <str>
#Option     "RenderAccel"        	# [<bool>]
#Option     "CursorShadow"       	# [<bool>]
#Option     "CursorShadowAlpha"  	# <i>
#Option     "CursorShadowXOffset" 	# <i>
#Option     "CursorShadowYOffset" 	# <i>
#Option     "UseEdidFreqs"       	# [<bool>]
#Option     "FlatPanelProperties" 	# <str>
#Option     "TwinView"           	# [<bool>]
#Option     "TwinViewOrientation" 	# <str>
#Option     "SecondMonitorHorizSync" 	# <str>
#Option     "SecondMonitorVertRefresh" 	# <str>
#Option     "MetaModes"          	# <str>
#Option     "UseInt10Module"     	# [<bool>]
#Option     "NoTwinViewXineramaInfo" 	# [<bool>]
#Option     "NoRenderExtension"  	# [<bool>]
#Option     "Overlay"            	# [<bool>]
#Option     "CIOverlay"          	# [<bool>]
#Option     "ForceEmulatedOverlay" 	# [<bool>]
#Option     "TransparentIndex"   	# <i>
#Option     "OverlayDefaultVisual" 	# [<bool>]
#Option     "NvEmulate"          	# <i>
#Option     "NoBandWidthTest"    	# [<bool>]
#Option     "CustomEDID-CRT-0"   	# <str>
#Option     "CustomEDID-CRT-1"   	# <str>
#Option     "CustomEDID-DFP-0"   	# <str>
#Option     "CustomEDID-DFP-1"   	# <str>
#Option     "CustomEDID-TV-0"    	# <str>
#Option     "CustomEDID-TV-1"    	# <str>
#Option     "TVOverScan"         	# <f>
#Option     "IgnoreDisplayDevices" 	# <str>
#Option     "MultisampleCompatibility" 	# [<bool>]
#Option     "RegistryDwords"     	# <str>
#Option     "RegistryBinary"     	# <str>
#Option     "NoPowerConnectorCheck" 	# [<bool>]
#Option     "AllowDFPStereo"     	# [<bool>]
#Option     "XvMCUsesTextures"   	# [<bool>]
#Option     "HorizSync"          	# <str>
#Option     "VertRefresh"        	# <str>
#Option     "AllowGLXWithComposite" 	# [<bool>]
Identifier  "Card0"
Driver      "nvidia"
VendorName  "nVidia Corporation"
BoardName   "NVCrush11 [GeForce2 MX Integrated Graphics]"
BusID       "PCI:2:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection
And I also tried dmesg | grep nVidia but I don't see my Video card in there... I get only the following :
Code:
root@Ultima:~# dmesg | grep nVidia
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce USB Controller
usb-ohci.c: usb-00:03.0, nVidia Corporation nForce USB Controller (#2)
root@Ultima:~#
What's the problem
 
Old 12-01-2004, 04:32 PM   #15
H2O-linux
Member
 
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153

Rep: Reputation: 30
In the infamous words of Jerry McGuire "help me to help you"

read
 
  


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
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 06:31 AM
nVIDIA gEfORCE 2 mx 64 mb under Fedora vinthund Linux - Hardware 1 02-16-2004 08:32 PM
help! newbie configuring xf86 and nvidia geforce 2 go Mr. Mojo Risin Linux - Newbie 2 09-02-2003 08:36 PM
xinerama and nvidia geforce go JoeyJoeJo Linux - Laptop and Netbook 1 07-31-2003 05:46 PM
may the NVIDIA GeForce 2 be with me linuxlah Linux - Hardware 3 06-07-2002 03:31 AM

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

All times are GMT -5. The time now is 03:21 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