LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-14-2004, 05:47 PM   #1
scius
Member
 
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39

Rep: Reputation: 15
Exclamation startx fails after nVidia driver install


I recently installed Fedora Core 2 - Test 1 (core 1.9), and it was good.
I updated to the latest kernel(from 2.6.1-1.65 to 2.6.3-2.1.253), still good.
I tried to install the most recent nVidia drivers for my geforce 3, and now x server is kaput.


Here's what happened:
I followed all the recommendations for installing the nVidia drivers (including editing the XF86Config and initrd files), installation seemed to go fine.
System starts fine in runlevel 3 (with the exception of a probably unrelated "modprobe - FATAL - module mousedev not found")
I try to start X server with "startx"
I get a black screen that doesn't go away.

Here's what i know:
After it crashes (or fails to start) the XFree86.0.log shows one (seemingly unrelated) warning:
(WW) Open APM failed (/dev/apm_bios) (No such device)

The log does have:
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compile for 4.0.2, module version = 1.0.5336
Module class: XFree86 Video Driver
which seems to mean it has loaded the kernal module
but does not have the line
(II) NVIDIA(0)

which the nvidia readme says it should (it signifies the loading of the driver i believe)
my stderr log has no messages from the driver.

Changing the XF86Config back to how it was originally (loading module "dri" and with driver "nv") makes startx work like it did before.

My system is an athlon 1.4Ghz, geforce 3, LCD display running Fedora Core 2 - Test 1
(Fedora Core 1 would not boot/install)

If anyone has encountered anything similiar or has suggestions on where to go from here i'd be very happy to hear them... and i'm still fairly new at this, so if there's something obvious that i should have done but didn't mention doing... then that's probably it.
 
Old 03-14-2004, 06:49 PM   #2
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
What driver are you using?
How did you install the driver?
 
Old 03-14-2004, 07:15 PM   #3
scius
Member
 
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39

Original Poster
Rep: Reputation: 15
using the current nVidia 1.0-5336 drivers, installed with
$sh NVIDIA-Linux-x86-1.0-1.0-5336-pkg1.run

it checks your kernel and sees if it has a precompiled kernel module for it, and if it doesn't it builds one for you. It had to build mine.
 
Old 03-14-2004, 08:10 PM   #4
scius
Member
 
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39

Original Poster
Rep: Reputation: 15
comparing the XFree86 logs of the successful boot and the one that hangs (it doesn't crash, sorry i didn't maket that clear, X server just hangs w/ a black screen), the failed log ends much sooner than the other, and these are the last lines:
...
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(= NVIDIA(0): RGB weight 565
(= NVIDIA(0): Default visual is TrueColor
(= NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xF0000000
(--) NVIDIA(0): MMIO registers at 0xEE000000

I've tried uninstalling/reinstalling the drivers (using nvidia-installer --uninstall) and have the same result. Any suggestions are greatly appreciated.
 
Old 03-14-2004, 08:28 PM   #5
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
Try to uninstall again, and check if you have the latest XFree sources, you can check at www.xfree.org i think...

Can you post your XF86Config file please...
 
Old 03-14-2004, 11:38 PM   #6
scius
Member
 
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39

Original Poster
Rep: Reputation: 15
here's the file, i'm busy tongiht so i'll try installing XFree and try to post the results tomorrow

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "microsoft"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 67.0
VertRefresh 50.0 - 75.0
Option "dpms"
EndSection

Section "Device"

Driver "nvidia"
# Option "NoLogo"
Identifier "Videocard0"
# Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 3 (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 03-15-2004, 05:41 AM   #7
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
o DPMS and Flat Panel
DPMS modes "suspend" and "standby" do not work correctly on a
flat panel display. The screen becomes blank instead of the
flat panel being set to the requested DPMS state.

Ty to remove dpms option, it's listed on the monitor section, see if you get something...
 
Old 03-21-2004, 02:52 PM   #8
Teckian
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Re: startx fails after nVidia driver install

Quote:
Originally posted by scius
I recently installed Fedora Core 2 - Test 1 (core 1.9), and it was good.
I updated to the latest kernel(from 2.6.1-1.65 to 2.6.3-2.1.253), still good.
I tried to install the most recent nVidia drivers for my geforce 3, and now x server is kaput.

The log does have:
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compile for 4.0.2, module version = 1.0.5336
Module class: XFree86 Video Driver
which seems to mean it has loaded the kernal module
but does not have the line
(II) NVIDIA(0)

which the nvidia readme says it should (it signifies the loading of the driver i believe)
my stderr log has no messages from the driver.


If anyone has encountered anything similiar or has suggestions on where to go from here i'd be very happy to hear them... and i'm still fairly new at this, so if there's something obvious that i should have done but didn't mention doing... then that's probably it.
Though I am not a newbie, I am still not where I would want to be with linux. However, here's my two cents. I may be wrong here, for I am only stating the obvious. You see I have also experience the same problem as you. I did a frest install of Mandrake 10.0 CE, install Nvidia 1.0.5336, and I also got the same blank screen at bootup. After examing the log file like you I notice that the module(driver) was compile for XFree 4.0.2. Shouln't it be for XFree 4.3., which 10.0 uses. Could this be the problem, or I am totally wrong? Mandrake does not give you the option to use 4.0 anymore, so I can't test this hunch. Anyway just thought I would say something.
 
Old 03-21-2004, 03:35 PM   #9
THX75
Member
 
Registered: Feb 2004
Location: Oklahoma, USA
Distribution: Ubuntu | Mac OS X 10.3
Posts: 143

Rep: Reputation: 15
Try leaving you're computer in the "blank screen" for a few minutes. My screen goes blank at the end of the Fedora startup GUI and goes to a blank screen for about 4 minutes (I've time it) then loads the login window. I can't figure out what the heck is going on, but my Nvidia driver are loaded and working once I can get into Gnome.
 
Old 03-22-2004, 03:03 PM   #10
Teckian
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Unhappy ML 10.0 CE & Nvidia 1.0.5336

Well I guess I should have said that, after a couple of seconds, I am thrown back to a command prompt. I have, recently however, reinstall everything from scratch. This time however, I did a net-install. All went good for the first couple of boots. Then the same thing!
I will try timing it, even at the prompt THX75. I'll let you know.
Even though there are bugs, this kernel has been completely stable. I love 2.6! I have not experienced one crash to date. A few buggy software though.

My system is becoming old in the tooth, but it still works great; and this is not an exaggeration.
Workstation class motherboard:- IWILL dvd 266-SMP
512 DDR
GF2MX-64MB
Dual PIII-1Ghz
7200 rpm, ATA 100- HD's
ATI TV wonder
I will investigate further. FOR IT IS, THE LINUX WAY!
 
Old 04-27-2004, 08:23 AM   #11
BlackRob
LQ Newbie
 
Registered: Apr 2004
Posts: 16

Rep: Reputation: 0
I have exact same problem

I installed Nvidia driver, edited the XF86Config file, then I start X and get a black screen for a while then I go back to login, I also have the same error. If you get a solution plrease post it on here. thanks. And when you change the "nvidia" back to "nv" your just not useing your GFX card, thats why it works again =p.

Slackware 9.1
GeForce3 Ti 500
Kernal: 2.4.x
 
Old 04-27-2004, 01:33 PM   #12
THX75
Member
 
Registered: Feb 2004
Location: Oklahoma, USA
Distribution: Ubuntu | Mac OS X 10.3
Posts: 143

Rep: Reputation: 15
BlackRob,

Take a look at a post I wrote a while back, it might solve your problem. I guess some of the GeForce3 Ti cards have problems with DFP devices.

http://www.linuxquestions.org/questi...hreadid=158576

Good Luck.
 
  


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
nvidia driver fails on 3d but works on 2d samac Slackware 9 02-17-2005 05:58 AM
Can't StartX after NVidia Driver Update McNeesePimp Suse/Novell 0 01-08-2005 01:55 PM
Nvidia driver fails installation (again) SilenceX Mandriva 24 04-14-2004 09:28 AM
nvidia driver installation in 2.6.0 kernel fails? oskernel Linux - Hardware 8 10-30-2003 08:09 PM
startx fails after slackware 8.1 install frocco Slackware 6 06-22-2002 03:49 PM


All times are GMT -5. The time now is 12:25 AM.

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