Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page nvidia drivers question
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 01-29-2008   #1 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 5
nvidia drivers question

Hello!

As Mr. OZAR said in the past "Dont hesitate to post your questions", now its time for my new question... I want to install the nVidia "official" drivers instead of those of X. how can i shut down the X server (runlevel 1 but how???) and what else should i do??

thanx in advance!
dk524 is offline   Reply With Quote
Old 01-29-2008   #2 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,568
Does this help ? Gentoo Linux Documentation -- Gentoo Linux nVidia Guide

Edit: thanks ozar ... but you were posting the previous message while I was typing at snail pace !
Jonathan183 is offline   Reply With Quote
Old 01-29-2008   #3 (permalink)
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 9,161
When the GRUB menu pops up, highlight the OS you want to boot, then press e to edit. Highlight the kernel line, and press e again and add single to the end of the line, then press ENTER, then b to boot into single mode.

Check this Gentoo HowTo for actually installing the nvidia drivers.

Edit: ah... jonathan is faster than me today!
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 02-06-2008   #4 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 5
hello again!

i cant boot in runlevel 1. i edit the the boot option in grub by adding single at the end of the "kernel" line. i also tried adding 1 instead of single. in any case, it boots in runlevel 3. anyone knows why????
dk524 is offline   Reply With Quote
Old 02-06-2008   #5 (permalink)
Linux User
 
Join Date: Aug 2007
Location: England
Posts: 318
You could just type as root:

Code:
init 1
(Or change the number to whatever run level you want to go into)

Why do you want to use run level 1? I usually use 3 to install NVIDIA drivers.
__________________
My Blog
Linux User #453176
AMD Opteron(tm) Processor 146 (2.01GHz)
1GB Memory
GeForce 7600 GS (256 MB)
Kieren is offline   Reply With Quote
Old 02-06-2008   #6 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 5
i cant install the nvidia drivers while running in 3. i get an error that i have to exit X before installing the drivers. how did you do it???
dk524 is offline   Reply With Quote
Old 02-06-2008   #7 (permalink)
Linux User
 
Join Date: Aug 2007
Location: England
Posts: 318
Reading through Runlevel - Gentoo Linux Wiki it appears that runlevels 3, 4 and 5 are all the same. So you will need runlevel 1 as you were trying.

So as root type:

Code:
init 1
and your gui should dissapear and will be replaced with a text prompt. Just install the drivers there and then go back into runlevel 5 by typing:

Code:
init 5
__________________
My Blog
Linux User #453176
AMD Opteron(tm) Processor 146 (2.01GHz)
1GB Memory
GeForce 7600 GS (256 MB)
Kieren is offline   Reply With Quote
Old 02-06-2008   #8 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 380
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
Errr.... you guys are making this harder than it actually is. It doesn't have to be in a certain runlevel, but just as long as the x server isn't running (because gentoo uses a named runlevel setup instead of numbered).

do this:
If you are in an X server, then hit ctrl-alt-f1 all at the same time. If you aren't in x, skip that step.

Next, you will want to type this as root:
Code:
/etc/init.d/xdm stop
and make sure it stops. Now, you can install your nvidia-drivers:
Code:
emerge nvidia-drivers
then, if all went well, you will want to:
Code:
modprobe nvidia
then, you will want to tell X to use the nvidia opengl implementation:
Code:
eselect opengl set nvidia
you should then be able to use the nvidia drivers for X (assuming you have a working xorg.conf and told it to use the "nvidia" drivers for your video card)
Code:
/etc/init.d/xdm start
All of these instructions assume that you used the handbook to install gentoo.
__________________

Linux User #376741
Gentoo Linux
gruven is offline   Reply With Quote
Old 02-07-2008   #9 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,153
Except for the fact that:

1.- if it is the first time you install this driver, then you need to setup your xorg.conf to use nvidia instead of vesa, nv or whatever it is using right now.

2.- if it is not the first time, but an update, you need to rmmod nvidia before modprobe nvidia. Otherwise it will refuse to load since the old driver is still loaded.

You can shut down xdm or do init 1, that is irrelevant.

Since I just boot on console and use startx, I just need to close X to do this. And only to unload the old driver and load the new one, you can compile and install it within X. Just make sure you are not using any opengl app, or it might crash your system to an unrecoverable state (that is, needing a hard-reboot probably).
i92guboj is offline   Reply With Quote
Old 02-07-2008   #10 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 380
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
Post removed.
__________________

Linux User #376741
Gentoo Linux
gruven is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help!, Fiesty Fawn vs. nvdia, drivers! dilipm Ubuntu Help 14 06-12-2007 01:19 PM
Installing Linux on the Compaq V6305NR (V6000 series) Laptop swashbuckler Redhat / Fedora Linux Help 1 05-07-2007 03:20 AM
[X] after latest nVidia drivers: X crashes G00fy Linux Desktop / X-Windows 4 05-23-2006 08:22 AM
Failing to start Nvidia drivers Klee SuSE Linux Help 3 03-07-2005 08:03 PM
Nvidia drivers and dualhead/multi vid card system Moebius Linux Desktop / X-Windows 5 07-11-2003 07:02 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 09:05 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0