LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 07-04-2004, 07:48 PM   #1
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
No GUI-NVIDIA kernel module failed to initialize


I can no longer boot into or start an X session. This started since I rebooted system after installing rpm's for mythTV which had tons of dependancies including mysql. I boot to command prompt no problem but if I try to start X, I get this unwelcome screen:

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.3-3mdkenterprise i686 [ELF]
Build Date: 24 March 2004
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++)from command line, (!!) notice, (II) informational,
(WW) warning, (EE)error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Jul 4 20:22:26
2004
(==) Using config file: "/etc/X11/XF86Config-4"
Using vt 7
(EE) Nvidia(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): ***Aborting***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

I have installed the newest nvidia driver a couple of days ago for my geforce2 ti.

Can anybody please tell me how to fix this without reinstalling,

Thanks
 
Old 07-05-2004, 02:33 AM   #2
privateprimate
LQ Newbie
 
Registered: May 2004
Location: DC METRO
Distribution: suse 9.1
Posts: 12

Rep: Reputation: 0
try this?

This may be a silly question and forgive me for asking the obvious, but did you try to re-install the nvidia driver?

I had a similar problem after patching my suse 9.1 system. After configureation tweaking didn't help, i ran IA32 again.

If you installed a package before, you might try the IA32 install program. You'll need kernel source and compiler.

Hope I helped and good luck.
 
Old 07-09-2004, 04:42 PM   #3
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Original Poster
Rep: Reputation: 30
Update of my GuI problem. I gave up and reinstalled Mandrake. Spent 3 days getting it set up as I like. Booted this morning to check email before work and argh, fatal server error - no screens found. Booted with Knoppix cd and googled for my solution and found one that works. It was as simple as:
log in as root and type:

/sbin/modprobe nvidia

logout of root, and log in as user and type:

startx

Hope this may help some other newbies.

What happened to the good old days, when the picture disappeared on the b&w TV a swift slap on the side of the TV fixed it . Maybe they could incorporate that in the next Mandrake release. All in all very pleased with Mandrake 10.
 
Old 07-09-2004, 05:28 PM   #4
gamedev86
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
I am having the same problem, and this unfortunately is not working for me.

I ran the NVIDIA .run installer, and everything went fine. No errors or anything. I edited the X86Config-4 file, loading glx and changing "nv" to "nvidia".

I get the same "no monitor" error described above. And even when I change the config file back to the old one with all the original settings, KDE apps are now suddenly crashing (I get the screen with the bomb saying the splash screen or kwrite has crashed when I close it).

Anyone know what I can do? This is what I changed XF86Config-4 to that didn't work:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 07-10-2004, 12:53 AM   #5
cachinnare
Newbie
 
Registered: Jul 2004
Location: In front of the monitor.
Distribution: SuSE 9.2/MDK 10.1/No windows at all. 3 years now.
Posts: 23

Rep: Reputation: 15
My solution was:
Edit modprobe.conf
add a new entry on a new line... nvidia
This should load the driver every time.
 
Old 07-10-2004, 06:54 AM   #6
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
or, try this........... reinstall the nvidia drivers. Here's a link for proper installation method. look for my post #2. then, look at the following 2 sections of my XF86Config-4 file below for proper glx syntax & also an additional option to add in the "device" section to prevent lock ups.........

Code:
Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
and.............

Code:
Section "Device"
    Identifier "device1"
    VendorName "NVidia"
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"
    Option "DPMS"
    Option "NvAGP" "3"
    Option "NoLogo" "1"
otis
 
Old 07-10-2004, 11:05 AM   #7
phaydnout
LQ Newbie
 
Registered: Jul 2004
Location: Ohio
Distribution: Mandrake 10
Posts: 1

Rep: Reputation: 0
Exclamation XFree86 errors

I am a newbie to Linux but getting quite adept, very quickly.

I did an update on Mandrake 10 and could no longer us xserver. I am using the MSI Nforce2 with integrated LAN, GeForce4 and sound. I got the same error lakota did- 'no screens found' . It booted to terminal, instead. I logged in as root and deleted all my XF86Config-4 files (found in /etc/X11) to try and get it to revert to original boot settings- didn't work. I then ran XFdrake and manually set up my video. It worked!! I didn't have to re-install nvidia driver. Upon next boot I inspected it and OpenGL and everything was working. Checked my XF86Config-4 file and it had all the correct settings- no issues (I manually edited my refresh rate- had to customize something, since I was there). Please try running XFdrake as root when getting the XFree86 error 'no screens found'. The module lets you test your settings before quitting to make sure it works. It will either tell you test failed or upon correct settings, it will display the color pallette, full screen and ask if it is correct. My settings were: GeForce4 (generic), 1024x768 24bit, Xfree set to 'nv'.

hope this helps
 
Old 07-10-2004, 11:26 AM   #8
gamedev86
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
There's one problem with your solution--you said you were using the "nv" drivers which are the standard non-accelerated ones. "nvidia" are the ones you want and that don't work.

Anyways, I tried the suggestions above, adding nvidia to the modprobe.conf, adding NvAGP 3 and reinstalling the drivers. I even later installed the kernel source and tried reinstalling them again. Still no go. I think it has something to do with the monitor settings, like refresh rate.

I'm still having the problem with stuff crashing in KDE when I close it, like KWrite, the KDE splash screen, etc, even when I put settings back to normal.

I'm still searching endlessly for a solutions. Everyone seems to have different answers. You would think, with a bunch of people using Mandrake 10, the same thing would have happened to everyone. Oh well, any more help would be appreciated, but for now I must game in Windows.
 
Old 07-10-2004, 06:13 PM   #9
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Original Poster
Rep: Reputation: 30
update on my driver installation. the fix I used( /sbin/modprobe nvidia) rather sucked. It got me into X but I had to do this every time I rebooted. Then I found I had no open gl support. Today I did some more reading and if I understood it right you need the kernel sources installed prior to installing driver. Something to do with creating headers or something over my head. So, I installed the sources for the 2.6.3-7mdk kernel, uninstalled nvidia driver, changed to runlevel 3, reinstalled NVIDIA-Linux-x86-1.0-6106-pkg1.run, brought up X as root and reverted /etc/inittab to runlevel 5, and did required edits to /etc/X11/XFConfig-4, rebooted. Working perfectly now, boots straight into my user GUI, open gl working again. Mind you, it has worked twice now and just quit working after two or three days. If this is my last post on this thread, my problem was no kernel sources installed.

PS all this headache and time because I like the Euphoria Open GL screensavers on kde. I need to get a life.

ps- Gamedev86: I went through about twelve kde crash notifications, actually first one was during kde initialization, then upon closing every single app I used after installing driver. It happened when I booted into my home user, and su'd to change inittab, and XFConfig-4. Upon rebooting, went to verbose, then kde came back with about six of the crash handler screens to kill. But after rebooting after only edits to those to files I have not had any crashes.

Last edited by Lakota; 07-10-2004 at 06:24 PM.
 
Old 07-11-2004, 01:20 PM   #10
gamedev86
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
Just for the hell of it I did install the kernel sources, still no luck. And some people wonder why people don't switch to Linux--I want to play games, and I, a person of considerable computer skill (still a nub in Linux though), cannot for the life of me install a simple driver, and no one seems to have THE answer. Windows its a simple double-click.

I noticed you edited inittab and run levels and such--what does that mean? Is that the same as pressing ctl-alt-F1 to switch users? Would it make a difference installing.

I'm thinking of switching to a different distro to get the drivers to work. They worked in Suse 9.1 Personal but that is a very limited distro and it has dual boot issues with XP. Maybe I'll steal 9.1 professional. Fedora Core 2 I've heard has things that just don't 'work'. I've had no luck with slackware. Maybe a HD install of Knoppix. Its too bad, I really would have preferred t ostick with MAndrake 10.
 
Old 07-12-2004, 01:21 AM   #11
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Original Poster
Rep: Reputation: 30
gamedev86:
runlevel 5 is what Mandrake normally boots into and starts X server for you.
runlevel 3 boots to command line login without starting X server.
etc/inittab is the file that tells mandrake what runlevel to boot into.
X server must be shut down while you install driver.
ctrl-alt-F1 puts you to a command line login, but if you login, then try to start X it will tell you your X server is already running behind the scenes.
I suppose ctrl-alt-backspace would also kill the Xserver but I thought I would try different methods each time I tried to reinstall nvidia driver.

So far my third driver install is running perfectly.
 
Old 07-12-2004, 04:03 PM   #12
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
Here is an easy to follow how to.
http://www.linuxloader.com/modules.p...showpage&pid=6
 
Old 07-13-2004, 10:31 AM   #13
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Original Poster
Rep: Reputation: 30
PDR60- nice link, I like that better than the NVIDIA driver readme, and it shows an easier way of getting into runlevel 3...Thanks

Okay, I broke my GUI and reinstalled nvidia driver, three times this morning. As it turns out, there is a constant. Every single problem I have encountered is on the first reboot following configuring my Happauge bt878 tv tuner card in the control center. I am now back to square one, but have learned an awful lot of stuff along the way with the contibutions to this thread.

So, if anyone is familiar with what is causing "fatal server error - no screens found" with new nvidia driver upon rebooting after configuring my tv tuner card I would welcome some more help.
 
Old 07-19-2004, 01:17 PM   #14
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Original Poster
Rep: Reputation: 30
Easy fix for new nvidia driver- no GUI

OK, My problem is SOLVED. While reading other similar posts, I found a fix. 10Mhz suggested that the problem can be solved by adding the line "nvidia" in /etc/modprobe.preload

Works like a charm. I can now say the new nvidia driver is great, stable and recommend it!

I reconfigured my tv tuner card because that is what for me changes something, in that upon rebooting I get no usable screens, and land in terminal login. So there I am same as a dozen times before.

Login as root, fire up nautilus, find /etc/modprobe.preload, open in Kwrite, add the line "nvidia" without the quotations, save, exit reboot, voila, loads into my home x session.

Just to be sure, reconfigure tv tuner card, reboot and for the first time I bypass terminal and have my GUI smiling back at me.

It appears to me everyone having similar problems of nolonger booting into GUI and getting terminal login screen, should add the line "nvidia" to /etc/modprobe.preload, before rebooting and they will have no problems with the new nvidia driver.
Thanks 10Mhz, hope this helps others.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
(EE) NVIDIA(0): Failed to initialize the NVIDIA Kernel module latino Linux - Hardware 5 06-03-2008 03:55 AM
(EE) NVIDIA(0): Failed to initialize the nvidia kernel module necbrownie Slackware 18 06-16-2006 02:20 AM
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Stan the caddy Linux - Hardware 8 01-18-2004 04:21 PM
Failed to initialize the NVIDIA kernel module THX1138 Linux - Newbie 14 11-11-2003 01:34 AM
(EE) NVIDIA (0) Failed to initialize the NVIDIA kernel module Isjhe Mandriva 14 09-25-2003 09:29 PM


All times are GMT -5. The time now is 02:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration