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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-21-2003, 06:05 PM
|
#1
|
Member
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34
Rep:
|
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
|
|
|
01-21-2003, 06:36 PM
|
#2
|
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:
|
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
|
|
|
01-21-2003, 07:28 PM
|
#3
|
Member
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34
Original Poster
Rep:
|
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
?
|
|
|
01-21-2003, 07:38 PM
|
#4
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
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...
|
|
|
01-21-2003, 07:42 PM
|
#5
|
Member
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34
Original Poster
Rep:
|
i cant open KDE, so i dont see anything but the kernel 
|
|
|
01-21-2003, 07:47 PM
|
#6
|
LQ Newbie
Registered: Jan 2003
Distribution: RedHat 8.0
Posts: 25
Rep:
|
Try typing in pico -w path/to/XF86Config
or vi path/to/XF86Config
depending on what u have installed, those should help
|
|
|
01-21-2003, 07:48 PM
|
#7
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
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
|
|
|
01-21-2003, 07:51 PM
|
#8
|
LQ Newbie
Registered: Jan 2003
Posts: 15
Rep:
|
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")
|
|
|
01-21-2003, 07:54 PM
|
#9
|
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:
|
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.
|
|
|
01-21-2003, 08:02 PM
|
#10
|
Member
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34
Original Poster
Rep:
|
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
|
|
|
01-21-2003, 08:35 PM
|
#11
|
Member
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
01-21-2003, 09:01 PM
|
#12
|
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:
|
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.
|
|
|
01-22-2003, 12:14 AM
|
#13
|
Member
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34
Original Poster
Rep:
|
|
|
|
01-22-2003, 03:55 AM
|
#14
|
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:
|
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.
|
|
|
01-22-2003, 05:14 PM
|
#15
|
Member
Registered: Oct 2002
Distribution: mandrake 9
Posts: 34
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 03:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|