View Full Version : Clear and Breef Help is Needed
mshokrey
2004-09-27, 05:32 AM CDT
I want to update the nvidia driver
1- I got the needed file but i can't undrstand what does he mean by the following steps.
"Before beginning the driver installation, you should exit the X server.
In addition you should set your default run level so you will boot to a
vga console and not boot directly into X (please consult the documentation
that came with your Linux distribution if you are unsure how to do this;
this is normally done by modifying your /etc/inittab file). This will
make it easier to recover if there is a problem during the installation.
After installing the driver you must edit your X config file before
the newly installed driver will be used. See the section below entitled
EDITING YOUR X CONFIG FILE."
the fact is to know how to:
1- exit the X server .
2- run the default run level so you will boot to a vga cons
Note:-
I found /etc/inittab file but i don't know to which value should i set the default value????
and how i am going to retrun it to its original value after i finished
I realy appreciat any one's help
Please I need quick and specific reply :rolleyes: :rolleyes: :rolleyes:
Harryc
2004-09-27, 05:40 AM CDT
id:5:initdefault:
change it to;
id:3:initdefault:
mshokrey
2004-09-27, 05:49 AM CDT
Ok that is clear.
then after i finish installing nvidia How i return it back to its original value "id:5:initdefault:"
ghaefb
2004-09-27, 05:49 AM CDT
You don't need to edit your inittab.
You can simply run this command(as root): /sbin/init 3
And run the installation script. Edit the /etc/X11/xorg.conf file, comment out Load "dri" and change in Section "Device" -> Driver "nv" to Driver "nvidia"
You simply run: /sbin/init 5 and you should be back in X
Tashiro
2004-09-27, 05:57 AM CDT
Hey,
Here goes:
When system is started push "ALT"+"CTRL" and "F3" together.
You should be in runlevel 3 now, the screen is black and the login prompt is on the upper left
Login as root.
Type vi /etc/inittab
You should get the file in front of you, now find the line that looks like this:
id:5:initdefault:
Push the button "INSERT" on your keyboard so you enter edit mode en you can change that 5
into a 3. So the default bootup runlevel is 3. Push the "ESC" button on your keyboard to exit
edit mode. Then push the ":" on your keyboard then "w" and "ENTER" to written the changes.
Again ":" and then "q" and "ENTER" to exit.
Reboot the system, you should enter runlevel 3.
Next go to the Nvidia directory were the download file is and type:
sh Nvidia-Linux-x86-1.0-6111-pkgs1.run
I ran into trouble when I downloaded a kernel layer so I recommend you let the installer
compile a kernel layer for your kernel. (just follow the instructions)
When succesfully done, type:
vi /etc/X11/xorg.conf
And change "nv" in "nvidia" in this section, just like we did with the inittab file:
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
Make sure you have "Load "glx" and remove "Load "dri" and "Load "GLcore" in the
following section
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
When done edit your /etc/inittab (change the 3 back in a 5), and reboot you should see
the Nvidia splash screen!
Any questions, corrections or anything, just post them.
Tashiro
Harryc
2004-09-27, 05:58 AM CDT
Ok that is clear.
then after i finish installing nvidia How i return it back to its original value "id:5:initdefault:"You'd have to use an editor like 'vi'. For example,
# vi /etc/inittab
If you're interested in learning how to use vi, here's a function and command list. It would be good to learn at least one editor to use in run level 3, you'll need it someday :). Practice in run level 5 on a non-critical file first.
http://www.chem.brown.edu/instructions/vi.html
mshokrey
2004-09-27, 06:09 AM CDT
Well, every thing is well now.
Thanks a lot ,But will you tell me how to know if the new driver has already installed or not??????????/
mshokrey
2004-09-27, 06:21 AM CDT
Well done nvidia splash screen appears at the begining and the games works well now i think i succeeded thanks again to all of you
Tashiro
2004-09-27, 06:25 AM CDT
Hey go easy on the ?,
Just run this as root:
nvidia-installer --update
And the system will update it. If you upgrade
to a new kernel it is best to:
nvidia-installer --uninstall
And install it again so the install can compile a new kernel layer.
All this info is also found at:http://www.nvidia.com/object/linux_display_ia32_1.0-6111.html
Just read the readme.txt. Good it works enjoy your graphics!
Tashiro
mshokrey
2004-09-27, 08:37 AM CDT
No, i already got the latest driver
foolish
2004-09-27, 09:36 AM CDT
In Fedora, the best way to deal with NVIDIA drivers is to use the rpms from livna.org. That way you won't have to change init runlevel, you won't have to edit any configuration and it will keep itself updated via yum.
See www.fedorafaq.org/#nvidia
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.