PDA

View Full Version : i Cant start X after installed nvidia drivers


Ffelagund
12-04-02, 04:02 AM
Hello, i had installed the drivers (tar.gz version), and i added the Load "glx" line in modules Section and Driver "nvidia" in device Section, but when i try to start kde (with startx), the screen becomes first black, later appears nvidia logo, and next the screen becomes red, i can see and move the clock cursor, but after 2 minutes, the X server shuts down and send me to text mode with zero errors. I had seen the XFree86 log file but i doesnt find errors, the only thing that i can see is the message: "wainting to connect to X server"

I have a gforce 4 mx 440, amd 1Ghz and AK75 mainboard
What may i do to solve this?
thanks.
P.D: when i use Xfdrakeres all works correctly, but later i cant start X

this is my XF86config-4 file:
# 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 "/usr/X11R6/lib/modules/extensions/libglx.so"
Load "glx"
EndSection

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

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x1024 @ 74 Hz"
HorizSync 31.5-79.0
VertRefresh 50-90

# 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 GeForce2 DDR (generic)"
Driver "nvidia"
# Driver "nv"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Option "NvAgp" "0"

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

and this is mi XFree log file:

www.telecable.es/personales/ffelagund/XFree86.0.log

Klaus-P
12-04-02, 08:29 AM
Do you have the gpm utility enabled on the linux text console, this means you have a text-consol
mouse cursor without running XWindow. Disable this gpm if it is enabled and try again.

And a red screen hmmm..., are you starting x as root perhaps?

Then do also disable this "AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work"

Be also sure that your mouse protocol is correct, it's not probed during the X-start up.

Ffelagund
12-04-02, 09:09 AM
i think that i had explain me bad, forgive my bad english please.
the trouble isn't is the mouse, before install the driver it works perfectly, the trouble are when i try to start the X (with start X). the screen becomes red (yes, i am triying as root, if i try with a user the screen are blue) and the system hangs up, the mouse cursor dessapear and the keyboard dont respond.
When i configure the X (with XDrakres) all works good and i can set the resolution , and a window appear and ask me if i want to start the system always in grapich mode, but when i type startx, the system hangs up.

Klaus-P
12-04-02, 12:50 PM
Your English is ok. It's also not my native "chatter" ;-)

" ... and a window appear and ask me if i want to start the system always in grapich mode, but when
i type startx, the system hangs up."

Well hoping i'll get it this time better though for clarification let me ask:

If you say "yes" to this question and quit your Xdrake config program with save settings,
etc,.., you are on the text console again, right?.

After shutting down your computer and
rebooting you get a graphical login window? Does this work?
Login there and that's it, KDE should start, no startx anymore
UNLESS you select a linux text console login. Anyhow i guess there
is something else that i've not understand as yet. BTW do also try commenting out this "load glx"
X should start though you will not get any 3D acceleration for this special case, check what happens.

And do also try to start X without a windowmanager (KDE, gnome, etc,..) by " just typing XFree86 or X
" and check the behaviour of the startup. There should be a moveable mouse cursor/pointer and then exit ( try it at least ) this
special X session by Ctrl-Alt-Back AND do all this not as root. You should also create a new user say "testuser" login as testuser
and try startX as "testuser" for the first time.

Ffelagund
12-05-02, 06:35 AM
Well, there is no way to run correctly the X, i had created a new user and the X starts correctly until the desktop appears, just before the system hangs up.
I am desesperated, but in the other way i will have more space for my Windows HD partition....

bwkaz
12-05-02, 07:50 AM
It's hanging up when your desktop loads, right? Which DE are you using -- KDE or Gnome or something else? Or are you just using a window manager? Which one?

Switching to something else might help.

Ffelagund
12-05-02, 09:58 AM
All windows managers that i try to use hangs up my system (KDE, Gnome and Enligthment), if i type "X" or "XFree86" my pc hangs up to, if i type gdm or another graphical login, my system hangs up.
I will try to uninstall these --hell-- nvidia drivers and forget this matter :(