PDA

View Full Version : Critical Xorg.conf help needed!


christos
6th December 2004, 09:57 PM
Hi,

Im new to fairly new to Linux, and am having problems with installing the 64bit nvidia display driver for FC3 Final X86_64, well after following every procedure It still wouldnt load up, like it used to in FC2

Anyway ive messed up bigtime, and changed the line in xorg.conf nvidia(previously nv) to nvidia0 as i thought it may work that way, as i had tried all the other methods to no avail

How do i get it back to normal again? i just need to change that line back to nvidia as I cannot start X


It would be ideal if there was software to red linux partitions so i could edit it that way, I just dont know the commands to actually edit the thing, without having to re-install it again!

PS I bet this is simple to someone experienced with linux ;)

Help very much appreciated

Christos

christos
6th December 2004, 11:07 PM
Never mind i am an idiot i forgot about the command "setup" ;) now its restored, but still not got the nvidia driver to work successfully with my geforce 5900XT, I would really like to actually get to play Unreal Tournament 64bit sometime this year

james_in_denver
7th December 2004, 12:24 AM

I would take some time to learn the "vi" editor....It's truly your command line friend.....It might take all of 20-30 minutes to become "basically" familiar with it and you really only need to know these commands:

Arrow keys work (left right up down)
Page keys work (page up, page down)
Enter "insert" mode by hitting the "i" key then typing in text.
Leave "insert mode by hitting the <esc> key

To use the following commands, you cannot be in "insert" mode.

Save your changes and quit by hitting the ":wq" keys
Quit WITHOUT saving any changes (ie if you made a huge mistake) hit the ":q" keys
To delete the single letter to the right of the cursor "x".
To delete the word (or white space) to the right of the cursor, "dw"
To delete from cursor to end of line "d$"
To delete the entire line that the cursor is on "dd"
To copy a line to the "cut/paste" buffer, "xyy" (where x is the number of lines to copy to the buffer)
To paste the buffer, "p"

And don't forget <esc> is your friend.

"vi" works on any terminal or console window that I have ever used. Don't need a gui, and it's reasonably useful when a GUI isn't available.....

christos
7th December 2004, 01:43 AM
Hi, thank you for taking the time to reply

I have now managed to get the driver working I was using the 32bit way of installing them, thus causing a big headache (wouldnt it be simpler to actually just include them on the DVD?)

Anyway heres my method of a successful Nvidia Graphics Driver Install on Fedora Core 3 Final X86_64

1: First Make sure you have the Libstdcc++ librarys installed (system settings> add remove programs, tick all under 'Compatibility Arch Development Support' or you will get an error once you have got the drivers installed trying to play games such as Unreal Tournament 2004 64Bit.

2: Update Kernel and Udev, using Up2Date, Reboot into new Kernel

3: Download 64bit Nvidia Display Drivers from http://www.nvidia.com/object/linux.html

4: Edit /etc/X11/Xorg.conf find line 'Load dri' under "Module",Comment it out with # or delete it. Find 'nv' under "Device" and rename to nvidia

5: Edit /etc/inittab and look for line "id:5:initdefault:" and change it to "id:3:initdefault:"

6: Make sure to remove xorg-x11-Mesa-libGL as root(Works fine for me with & without doing this step, only affects some people)rpm -e --nodeps --allmatches xorg-x11-Mesa-libGL

7: Reboot, Login as root and run the nvidia installer like this sh NVIDIA-Linux-x86_64-1.0-6629-pkg2.run

8: Choose yes to install 32bit compatibility libraries, ignore the part about no kernel matches from nvidia site.

9: Now driver installed, type /sbin/modprobe nvidia
then cp -a /dev/nvidia* /etc/udev/devices and then
chown root.root /etc/udev/devices/nvidia*

10: Now reboot, once rebooted login as root again , type startx and change your /etc/inittab back to "id:5:initdefault:" reboot ;)

Everything should now be fine and Working.

I hope this helps others with the pain of installing these drivers!

Also to point out that if it hangs at configuring kernel parameters whilst performing a reboot in the above steps (which it should'nt) edit the grub loader by pressing E and delete the 'rhgb' and then press ENTER and then select the edited line and press B to boot with the new config, which will allow you to boot without error.

SIDE NOTE: Also if you update any Xorg packages you will most probably need to follow the above steps again, well not quite, just edit your /etc/inittab file to "id:3:initdefault:" and reboot ,remember the xorg.conf is already configured, just sh NVIDIA-Linux-x86_64-1.0-6629-pkg2.run , run the installer like so, change the /etc/inittab file to "id:5:initdefault:" once again under root and then reboot, everything should be ok again.