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 06-21-2004, 02:44 PM   #1
princeware
LQ Newbie
 
Registered: Dec 2003
Location: Montreal
Distribution: slackware
Posts: 15

Rep: Reputation: 0
Nvidia loading problem


Hi,

Whene i'm trying to start X, I alway get this error.

(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.2880
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(EE) LoadModule: Module nvidia does not have a nvidiaModuleData data object.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/X11R6/lib/modules/drivers/nvidia_drv.o



Someon can help me please ?
 
Old 06-21-2004, 03:13 PM   #2
kamstrup
Member
 
Registered: Aug 2003
Location: Aarhus, Denmark
Distribution: Slackware, Ubuntu
Posts: 122

Rep: Reputation: 15
In your /etc/X11/XF86Config (might be XF86Config-4) try substituting the line (under the Device section)

Driver "nvidia"

with

Driver "nv"

"nvidia" is NVIDIAs original driver, "nv" is a generic X driver for NVIDIA-chipsets. "nv" doesn't support hardware acceleration as far as I know though - no 3d games I'm affraid - unless you manage to get the original driver to work...
 
Old 06-21-2004, 03:13 PM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
You don't say what version of Slack you are using but that is a very old nvidia driver you are trying to use. Unless you have good reason for using that old of a version, you should try the latest one.
 
Old 06-21-2004, 03:26 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Well nvidia's minimum X requirement is 4.0.1 so it should work, but you should update to latest nvidia driver that's 1.0.5336
 
Old 06-21-2004, 05:33 PM   #5
princeware
LQ Newbie
 
Registered: Dec 2003
Location: Montreal
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you for the help

I'm using Slackware 9.1 and the 2.4.26 kernel version.
After downloading and installing the new drivers from nvidia i got a new error

______________________________________________________________________________________________
(II) NVIDIA(0): Not using default mode "800x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(WW) NVIDIA(0): Mode pool is empty
(EE) NVIDIA(0): No modes remaining for display device CRT-0
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ddc"
(II) Unloading /usr/X11R6/lib/modules/libddc.a
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.
_______________________________________________________________________________________________

Damn why it is so hard to make drivers work on linux ?
If someon got an idea about how to fix this probleme ,it will be very nice !
 
Old 06-21-2004, 05:43 PM   #6
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Your driver seems to work, but your X config file doesn't contain a supported video mode or has other config options set up wrong. So better look into that first.

Maybe posting relevant parts of your XF86Config or xorg.conf will give us some clue what's going wrong.
 
Old 06-21-2004, 09:15 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You can also run xorgconfig (or XF86Config) and chage your sync rate that seems to be the problem.
 
Old 06-22-2004, 12:42 PM   #8
princeware
LQ Newbie
 
Registered: Dec 2003
Location: Montreal
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Hi ,

This is some part of my XF86Config

-----------------------XF86Config---------------------------------------
Load "dbe"
Load "glx"

HorizSync 30-70 #normaly my monitor support 30-85
VertRefresh 50-100 #normaly it suport 50-130

Section "Device"
Identifier "nvidia"
Driver "nvidia"
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection


Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "aoc"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection

----------------------------------------------------------------------------------


Any clue ????
 
Old 06-22-2004, 01:00 PM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Do you still get the same error?

Edit: Forgot to say that i've a GF 4 MX and they work out of the box with official nvidia's drivers

Last edited by gbonvehi; 06-22-2004 at 01:06 PM.
 
Old 06-22-2004, 01:10 PM   #10
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
try to comment the "ViewPort" lines
try to put HorizSync and VertRefresh in Screen section
try to change Identifier name in Device (nvidia section) and Device (Screen section) to say "VideoCard"

and see if it works
 
Old 06-22-2004, 03:47 PM   #11
princeware
LQ Newbie
 
Registered: Dec 2003
Location: Montreal
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Hi,

I have done some modification like the HorizSync and the VertRefresh (lower lower than my monitor can support) and i get the same error

I'm trying to fix this problems since 1 week ....... one more 24h after I think i will return to WinXP cause I dont really have time to play 1 week to install a video card driver


PLEASE HELP !!!!
 
Old 06-22-2004, 04:06 PM   #12
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You broke up your config file, try to look around for a good one, if you can't, just say it, I will put mine here as example.
 
Old 06-22-2004, 04:35 PM   #13
MunCH
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Red Hat 9, Slackware
Posts: 79

Rep: Reputation: 15
I had the same problem, I reinstalled slack, ran xorgconfig (make sure you know the correct setting for your monitors refresh rates) then install your new nvidia driver, that fixed my problems, though for some reason X starts when I login as root but not whan I login as a normal user......go figure.

MunCH
 
Old 06-22-2004, 05:43 PM   #14
princeware
LQ Newbie
 
Registered: Dec 2003
Location: Montreal
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Hi,

My SuSe XF86Config is suposed to work well but i still get error on slackware
Hey keefaz , maybe i should try your XF86Config

The first person who help me to fix this problem will win a brand new Heineken !

Thank everybody for the help
 
Old 06-22-2004, 05:46 PM   #15
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
Working xorg/X86Config.conf for a nivida driver and 2.4.26 kernel

Below is a full xorg/X86Config.conf from a working machine with the nivida drivers and a 2.4.26 kernel
Also found within the conf file is configures for the VESA framebuffer if the nivida mod load fails.
You should make sure your monitor will handle the freqs set in the "Monitor" section, review your monitor specs for this info.
You should also edit to your system as I left in custom font directories and v4l modules loading. Also set is custom nvidia settings which you may want.
You should also set your memory amount in the driver section for the card.

and Your welcome...

Section "Module"


Load "dbe" # Double buffer extension

SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"


# This loads the GLX module
Load "glx"
# Load video4linux
Load "v4l"
# This loads the DRI module
# Load "dri"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"


RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/share/fonts/TTF/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"



EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"

EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Button" "off"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Resolution" "256"


EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "ibm74"
VendorName "IBM"
ModelName "IBM E74"

HorizSync 30-69
VertRefresh 50-120

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Device configured by xf86config:

Section "Device"
Option "NvAGP" "1"
Option "NoLogo" "True"
Option "CursorShadow" "True"
# Option "UseEdidFreqs" "True"
Identifier "NVIDIA"
Driver "nvidia"
VideoRam 32768

EndSection

# vesa framebuffer

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
VideoRam 32768


EndSection



# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "NVIDIA"
Monitor "ibm74"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
EndSection

Section "Screen"
Identifier "Screen 2"
Device "VESA Framebuffer"
Monitor "ibm74"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection


# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
# Mode 0666
# EndSection
 
  


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
nvidia module not loading Wartz Linux - Hardware 3 02-09-2005 06:31 AM
Loading nVidia Module spaaarky21 Fedora 5 12-11-2004 02:18 PM
Nvidia driver causes lock-up after loading -- Help FuzzBall Fedora 2 10-06-2004 12:26 AM
Problems loading the nvidia ethernet driver? Cliff Fussell Linux - Networking 0 02-23-2004 04:36 PM
loading nvidia, alternatives during init jxi Mandriva 2 11-11-2003 09:46 AM

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

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