LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2003, 06:05 PM   #1
sammyballz
Member
 
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34

Rep: Reputation: 15
Exclamation nVidia Drivers Messed Up my XFree?!?!


whooaaaa... i recently installed the drivers for my nVidia GeForce3 Ti200, and now linux cant load my display at boot, and it takes me to the kernel. i logged in, and typed 'drakconf'.. after, i tried the 'Generic' GeForce drivers, rebooted, typed kde, and had the same problem, X would not start. I then tried the Xfree | NV drivers, still with no luck. I copied the XFree86.0.log over to my windows partition from there, just incase it is needed by anyone...

instead of pasting it all here, i decided to put it on my webspace,

http://www.geocities.com/mylesbouren/XFree86.0.log

system properties:
Mandrake 9.0
G3 Ti200 (Powercolor)

thanks

sammy
 
Old 01-21-2003, 06:36 PM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Looks like you need to RTFM

From your log, it appears that you're trying to load the generic open-source nvidia driver ( nv ) instead of the one you just compiled. You should edit your /etc/X11/XF86Config as root and under the Device section, comment out the line
that says
driver nv
and add one next to it that says
driver nvidia

Also, make sure you comment out the Load "dri" line in the Modules section. It should more or less like..

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
 
Old 01-21-2003, 07:28 PM   #3
sammyballz
Member
 
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34

Original Poster
Rep: Reputation: 15
ok sounds good, but one thing,

how do i edit the XF86Config file through the kernel?

the command is something like..

cd /dir/of/the/file/
edit XF86Config

?
 
Old 01-21-2003, 07:38 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
Quote:
how do i edit the XF86Config file through the kernel?
What do you mean "through the kernel"? Just use your favorite editor and make the changes. XF86Config is just a text file...
 
Old 01-21-2003, 07:42 PM   #5
sammyballz
Member
 
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34

Original Poster
Rep: Reputation: 15
i cant open KDE, so i dont see anything but the kernel
 
Old 01-21-2003, 07:47 PM   #6
BrokenLinux
LQ Newbie
 
Registered: Jan 2003
Distribution: RedHat 8.0
Posts: 25

Rep: Reputation: 15
Try typing in pico -w path/to/XF86Config

or vi path/to/XF86Config

depending on what u have installed, those should help
 
Old 01-21-2003, 07:48 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
I still don't follow, what does see the kernel mean? Are you talking about the console? Black background and all?

Use vim cd to wherever XF86Config is ,usually /etc/X11

vim XF86Config [enter]

then you will see the file, press 'i' to enter insert mode, make the changes, the press [esc] then [:] then [wq] and you will be golden. Make sure you backup the file first... cp XF86Config XF86Config.bak
 
Old 01-21-2003, 07:51 PM   #8
kernel()
LQ Newbie
 
Registered: Jan 2003
Posts: 15

Rep: Reputation: 0
NVIDIA DRIVERS:



download appropriate drivers



cd/path/to/packages



rpm -ivh NVIDIA*

cd /usr/src/redhat/SPECS/

(should see two files)

cd /usr/src/redhat/SPECS

pwd
rpmbuild -bb NVIDIA*
cd /usr/src/redhat/RPMS/i386/

rpm -Uvh NVIDIA*

pico -w /etc/X11/XF86Config

replace Driver "nv" with "nvidia"

search for Module

comment out Load "dri" , Load "GLcore" (put a hash in front, #Load "dri")
 
Old 01-21-2003, 07:54 PM   #9
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Quote:
Originally posted by sammyballz
ok sounds good, but one thing,

how do i edit the XF86Config file through the kernel?

the command is something like..

cd /dir/of/the/file/
edit XF86Config

?
Do you mean the command prompt where you said kernel? The kernel is a suite of software (apart from doing memory management, process scheduling etc) that talks to your hardware and wraps it so that the application programs do not have to converse with hardware ; they can ask the kernel to do so. For example, your browser doesnt know how to talk to your hard disk and store/access data in there. When you mouseover a picture on the browser, right click and hit 'save picture as', the application ( browser ) uses a tiny subset of the service offered by the kernel ( via predefined kernel routines called system calls) , passes it the stream of bytes that it gets ( again via system calls ) from the intenet. The kernel does it for you using the hard-disk drivers it already uses. All access to hardware has to go thru the kernel. So no matter if you see it or not, it is there.

The command prompt we're talking about is a text user interface built on top of the kernel ( and a few other things ) as opposed to X, the graphical user interface.

After you're logged in, you cd /path/to/file as you said and invoke the command line editor of your choice. I use vi, but it is a li'l tough on beginners, so I suggest using pico.
use 'pico filename', and save the file on exit.
 
Old 01-21-2003, 08:02 PM   #10
sammyballz
Member
 
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34

Original Poster
Rep: Reputation: 15
ok thanks, im gunna go in and try it... i wrote almost all of this down, so ill see what works ill keep you posted of any problems
 
Old 01-21-2003, 08:35 PM   #11
sammyballz
Member
 
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34

Original Poster
Rep: Reputation: 15
i entered everything in, but still no luck. i couldnt find the "Module" section of the config file, so i entered it in myself but it had no effect. still the same error. .. any ideas?

Last edited by sammyballz; 01-21-2003 at 08:38 PM.
 
Old 01-21-2003, 09:01 PM   #12
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
post your entire /etc/X11/XF86Config. Check and make sure that there is no file by the name XF86Config-4 in the same directory. If you can find it, post that one instead.
 
Old 01-22-2003, 12:14 AM   #13
sammyballz
Member
 
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34

Original Poster
Rep: Reputation: 15
http://www.geocities.com/mylesbouren/XF86Config.txt

thanks, it should come up at that URL
 
Old 01-22-2003, 03:55 AM   #14
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Introduce a module section.

Location does not matter, but I'd add it to the top right above "Section Files"

#==================Module Section=====
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
EndSection
#==================Module Section=====


Now scroll down towards the bottom. and find "Section Device" add a line that says "driver nvidia" within the section and take the power_saver option out so that it ends up as follows. Cut and paste to replace your Device section if you are comfortable doing that.

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

Try and start X. Post errors if any.
 
Old 01-22-2003, 05:14 PM   #15
sammyballz
Member
 
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34

Original Poster
Rep: Reputation: 15
thanks so much dude, but one thing, this may seem kind of a stupid question, how do i save through vi? is there a key combination?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia Drivers Installed with XFree not starting starnix Linux - Laptop and Netbook 3 08-20-2004 11:24 AM
xfree 4.4 & nvidia drivers Protex Slackware 5 05-11-2004 08:12 AM
NVIDIA XFree Crash DarkstarNL Linux - Hardware 18 10-16-2003 04:00 PM
problem with Nvidia and Xfree jclark00001 Linux - Hardware 1 02-17-2003 02:07 AM
XFree messed up Config Linux - General 2 03-02-2002 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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