LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   nvidia help.... noob here very noobish... (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-help-noob-here-very-noobish-84367/)

crackheadjunky 08-21-2003 08:48 PM

nvidia help.... noob here very noobish...
 
help i need someone to walk me thru this.. ihave to install my driver for my video and my nic... i know i am asking alot but please help me i am on gaim at bignutz2k2. thanks alot!!! or if you want to help me on here that is fine. i have downloaded the correct drivers but i need help in the terminal installing it. i understand how to change to the root and all inside of the x but that is all
help!!!

leonscape 08-21-2003 09:18 PM

If you've downloaded the .run file from nvidia what you'll have to do is


cd /to/where/you/downloaded/the/run/file
sh NVIDIA-LInux-x86-1.0-xxxx.run

Now follow the on screen prompts. When its finished you'll have to edit the /etc/XF86Config-4 file. CHeck the readme on the Nvidia site for details.

crackheadjunky 08-21-2003 09:32 PM

that doesnt work... i tried it... nothing... bad directory.. it is in my /home directory... but it wont acknowledge... i moved it there from my desktop does that matter?

leonscape 08-21-2003 10:00 PM

Are you running as root? and type ls to make sure your in the right directory. It should list the files.

Another tip, once you've typed sh NVID, try pressing the tab key it should fill out the rest of the filename for you, so you don't miss type it.

crackheadjunky 08-21-2003 10:10 PM

it says i cant be in x
????

leonscape 08-21-2003 10:12 PM

You must have X Running then (KDE/Gnome etc.)

In your console type init 3 and try again.

crackheadjunky 08-21-2003 10:55 PM

ok it installed... but now i need to edit my config... help???

leonscape 08-21-2003 11:10 PM

Easy bit this no need to reboot...

FIrst login as root,

then
cd /etc/X11
cp XF86Config-4 XF86Config-4.old

This is just in case you make a mistake. you can restore the original by typing : cp XF86Config-4.old XF86Config-4

ANyway onto the next bit....

vi /etc/X11/XF86Config-4

This will load your config into vi now to control vi
i -- press and you will be in insert mode, press esc to exit back to normal
x -- Delete a chracter
dd -- Removes a line
Shift-Q followed by w then enter -- Saves File
Shift-Q followed by q then enter -- Quits the Editor

It complex because it a console editor. Any way

Go down to the section module (you can use the arrow keys as per normal)
and remove Load "mesa" and or Load "GLcore". Replace Load "dri" with Load "glx"

There should be a section "device" with a graphics card in it.
change the driver line too Driver "nvidia".

go down to the bottom and remove any section that mentions DRI.

Save the file and type startx, if it works your done.

Check the readme file for other options you can add.

crackheadjunky 08-21-2003 11:28 PM

i think mine is gone... nothing comes up any more i have been asked to recover and stuff and that is all ihave done... what now do i need another config file?

crackheadjunky 08-21-2003 11:29 PM

can u send me the full config file?
i need it now...

leonscape 08-21-2003 11:34 PM

You need to run:
redhat-config-xfree86

This should get you partially there, and check this file with what I've written above. (Printing it out might be best.)

crackheadjunky 08-21-2003 11:42 PM

now it is all gone.... and it is blank and has new at the bottom... any suggestions?

leonscape 08-21-2003 11:49 PM

So you typed redhat-config-xfree86 and it gave you a blank screen with new at the bottom?

OR

vi gave you the blank screen?

crackheadjunky 08-21-2003 11:50 PM

i have edited it probably way too much and didnt realize what i was doing... now when iput that second command in it is just blank and says no directory found

leonscape 08-21-2003 11:55 PM

Okay here goes....

reboot
Login as root
cd /etc/X11
ls

Should give you a list of files, if XF86Config-4 doesn't exist type

redhat-config-xfree86

Run through it to create the file.

Type ls again and it should list the config file there now.
Now run through what I said earlier (IF the file needs to be edited to match).

If it doesn't work tell me what happened at every stage.


All times are GMT -5. The time now is 10:56 AM.