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-26-2005, 02:51 AM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
cant login to X after installing nvidia driver!!! :( help


( post #1)

i followed the instructions given on the link :

http://www.linuxforums.org/tutorial...rial-44103.html

i have already changed my xorg.conf but when i type startx (using root and "me")



here is the message :

Undefined device "nvidia" reference by Screen "Screen 1"

(EE) problem parsing the config file
(EE) errror parsing the config file

note: before i install the dirver, i have already config my driver to the nvidia gneric driver in xorgconfig.. hmm is there a relationship with this?

as far as i could remember here is the content of Screen 1

Screen "Screen 1"
Device "nvidia"
Monitor "AOC"

something like that...

i need your help...

one more thing : how would i know if i have really installed the driver? ?
 
Old 11-26-2005, 03:03 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I don't think your Device setting should be set to "nvidia" in the Screen section. You were meant to change the Driver setting to "nvidia" in the Device section (which is headed "Section "Device"").

That link is broken, by the way.

I'm not sure how you check the drivers are installed, one way you'd know is if you saw the nVIDIA splash screen after you did a "startx" (though you do have the option of turning that off, it's on by default).

Last edited by Nylex; 11-26-2005 at 03:06 AM.
 
Old 11-26-2005, 03:08 AM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
yeah i already did that.. (changed "nv" to nvidia in the device section.. ) i tried changing the device in the screen section another name.. but still same message prompts...

iv changed it to "geforce" still :

Undefined device "geforce" reference by Screen "Screen 1"

for the link ::

http://www.linuxforums.org/tutorials...ial-44103.html

or go to linuxforums.org then CHOOSE linux tutorials.. then LOOK for INSTALLING NVIDIA drivers...

Last edited by ic_torres; 11-26-2005 at 03:11 AM.
 
Old 11-26-2005, 03:13 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
In your Device section, what is Identifier set to? Try using that for Device in the Screen section.
 
Old 11-26-2005, 07:37 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Could you post your xorg.conf here, then it will easier to spot the error
 
Old 11-26-2005, 01:31 PM   #6
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
how can i post my xorgconf if i cant login to X ? maybe i cn just copy the specified area ...
 
Old 11-26-2005, 01:38 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have Windows on your machine and is your Linux partition formatted ext2/ext3? If yes to both, then download Explore2fs, which will let you read and copy files from your Linux partition in Windows.

If not, is your machine on a network and do you have access to another machine? If it is and you do and you also have an SSH server running on your Linux box, then download WinSCP, so you can connect to the Linux machine and copy the file.

If you can't do either of those, I'm not sure what to suggest .
 
Old 11-26-2005, 02:20 PM   #8
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Try redoing your x setup. Try running xorgsetup as root and see if you can at least get a working file. As to not being able to get in X..... what does that have to do with posting the file to linuxquestions. I haven't tried it lately but can't you use links?
 
Old 11-26-2005, 02:48 PM   #9
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
1. i run xorg by ROOT..still that error prompts when i type startx...

-> the thing i posted above is the message, why i cnt login to X..
 
Old 11-26-2005, 03:13 PM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Ok lets try this. In xorg.conf your graphics card is defined in device. eg:

Section "Device"
Driver "nvidia"
Identifier "Card0"
etc...

you monitor:

Section "Monitor"
Identifier "Monitor0"
etc...

and screen:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
etc...

The device in screen must point to the name of graphics card idenitfier in the card device section - ie here it's Card0:
Identifier "Card0"
in Device, and
Device "Card0"
in Screen

Doesn't matter what its called, so long as the names are the same. Basically you are saying which card to use with the screen.

The same goes for monitor - Monitor in Screen points to Monitor0, which is the identifier in the monitor section.

If the names differ then you will get a message saying can't find device or not defined etc

Hope this helps
 
Old 11-26-2005, 03:40 PM   #11
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
hmm ok.. il test if it will work... thanks alot
 
Old 11-26-2005, 09:42 PM   #12
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
whew!!! thanks guys...!! it worked... BUT.. y does my screen appears to be indented ? i cant maximize the whole screen if i open some applications??

(it looks like that my screen is on the middle.. with 2 margins (black area )on the sides

cn someone help me on this? here is my xorgconfg ::

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

Section "Screen"
Identifier "Screen 0"
Device "Nvidia GeForce 2"
Monitor "AOC"
DefaultDepth 24

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

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 0"
********************************************************

ALSO WHY I CANT SEE THE TWINVIEW OPTIONS, AND OTHER TWEAK OPTIONS IN MY XORGCONFIG AS STATED IN THE READ ME FILE?? HMM DOES THIS MEAN I WAS WRONG DURING THE INSTALLATION? ?? PLEASE HELP..


Last edited by ic_torres; 11-26-2005 at 10:17 PM.
 
Old 11-27-2005, 10:34 AM   #13
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
First problem looks like it may be because you have specified default depth as 24 bit:

DefaultDepth 24

But you havent an entry for that depth, only for 8 bit:

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

Try changing Depth 8 to Depth 24:

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


For the second problem, those tweaks and settings don't appear automatically, you must add them yourself. Getting twinview to work is a major PITA somtimes, so I would recomend saving your xorg.conf once you have first thing working and then experimenting with twinview. EG save it as xorg.working then you can always go back to it if twinview gives problems.
 
Old 11-27-2005, 10:37 AM   #14
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
This is my settings for my TV output, which should give you an idea. They go in 'device' section:

Option "TwinView" "1"
Option "ConnectedMonitor" "CRT,TV"
Option "MetaModes" "800x600,800x600"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "30 - 50"
Option "SecondMonitorVertRefresh" "60"
Option "TVStandard" "PAL-I"
Option "TVOutFormat" "SVIDEO"

But this is only for TV out, if you have 2 monitors it would be different.
 
Old 11-27-2005, 10:57 AM   #15
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
oic.. i thought that since iv installed the driver, twinview and other xtras will be installed... hmm if that's the case.. its another battle for me as a newbie.. niwei thanks for the help.. il do ur suggestion,,.,
 
  


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
installed nvidia driver BUT cnt login to X ic_torres Linux - Hardware 12 12-15-2005 06:17 PM
X hangs at login screen after installing new nvidia driver for Geforce 6600 GT mdb Linux - Hardware 8 10-24-2005 10:09 AM
changed driver to nvidia, can't login to X, need to change driver back to vesa how??? Fear58 Linux - Software 7 12-08-2004 12:08 AM
Need help installing Nvidia driver Superdude Linux - Hardware 4 12-29-2003 03:21 PM

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

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