Keresés

Aktív témák

  • e-biza

    őstag

    ------------------------------------------------------------------------------------------------------------
    XF86Config File modifications
    ------------------------------------------------------------------------------------------------------------

    You will now need to edit your /etc/X11/XF86Config file for the Xserver to use the new module.
    In the NVIDIA readme there are instructions on what to edit, but since most people don't read those things I'll go into it here. depending on your version, you may have either a XF86Config or XF86Config-4 file. Redhat and slackware use XF86Config.

    Make a backup just in case:
    cp /etc/X11/XF86Config /etc/X11/XF86Config-bak

    There are a few things you need to edit:
    Driver ''nv'' (or Driver ''vesa'')
    with
    Driver ''nvidia''

    In the Module section, make sure you have:
    Load ''glx''

    You should also remove the following lines or comment them out with a # so they look like this:
    #Load ''dri''
    #Load ''GLcore''

    Save the file, and exit the editor.


    Once you are done editing this file you need to change the 3 back to a 5 in your /etc/inittab file discussed earlier. And you can reboot your system now. If it boots up to a graphical login you will see the Nvidia splash screen come up before the login prompt comes up. If you boot into a text mode, you will see the Nvidia splash screen come up after you type startx.


    Remélem segitett.

  • e-biza

    őstag

    tudom hülyén hangzik, de van egy README nevü fájl. Segitek:
    [L]ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt[/L]
    Ebbol fontos ez a rész:

    (sec-01) CHOOSING THE NVIDIA PACKAGES APPROPRIATE FOR YOUR SYSTEM
    (sec-02) INSTALLING THE NVIDIA DRIVER
    (sec-03) EDITING YOUR XF86CONFIG FILE
    (sec-04) FREQUENTLY ASKED QUESTIONS

    jo olvasgatást ;] nekem is összejött, én mandrake 9.2 alá raktam be csak mire a kernel-header-t megtaláltam a neten...
    de idézek egy másik forumbol.

    ------------------------------------------------------------------------------------------------------------
    Nvidia Driver Install
    ------------------------------------------------------------------------------------------------------------
    Hopefully you did not have any problems with the kernel files. Now we will move on to the Nvidia Drivers.

    (latest) Nvidia drivers: http://www.nvidia.com/object/linux.html Most users will use the: Linux IA32 Versions. The file name you are looking for is something like: NVIDIA-Linux-x86-1.0-4496-pkg2.run

    Read This First: ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt

    Ok, once you get the file you need to exit X to install.
    There are a couple ways to do this, for the first one you will need to be familiar with a text editor. I use vi mainly, just because I am used to it from working on remote servers. If your machine already starts to a text login prompt you can forget the next part, and jump down to the driver install part. This is only for people that have their machine boot up to a graphical login prompt.

    So lets fire up vi. Open a terminal(xterm, aterm, gterm, whatever you feel like)
    You will need to be root to edit the file so su to root:
    su - it will ask you for roots password, enter it.

    open /etc/inittab for editing:
    vi /etc/inittab (This will open the file in vi)

    Ok the file is open for editing. There is only one thing we are going to change in this file:
    id:5:initdefault:


    Use your arrow keys to maneuver the cursor over the number 5, once the cursor is located directly over the number 5 hit x, this will remove the 5. Now hit i to insert, and type 3. Once the 3 is inserted you can save the file and exit.
    To save and exit:
    hit esc
    then hit
    shift+:
    then type
    wq! and hit enter.
    This will write the file and save it, and drop you back to the command prompt.

    You can now reboot your machine, when you do it will boot back into Linux with only a text based login prompt. You will need to login as root to install the drivers. The Nvidia drivers are probably the easiest part of this whole thing.

    The second way to exit to a text mode is to switch to a different runlevel. You will have to be root to do this as well. I mention this last because I have had mixed experiences with different distros doing it this way.
    As root in a terminal type: init 3

    cd to where you downloaded the NVIDIA-Linux-x86-1.0-4496-pkg2.run file to. Usally your normal users home directory.
    cd /home/hanzerik
    Make the Nvidia file executable:
    chmod 755 NVIDIA-Linux-x86-1.0-4496-pkg2.run
    Now you can run it:
    sh ./NVIDIA-Linux-x86-1.0-4496-pkg2.run

    At this point the Nvidia installer will start, and will prompt you to accept the agreement. It may tell you a kernel module was not found for your version and will need to build one(Hence the kernel source files from earlier)

    If everything goes ok the installer will build a kernel module, install the module, and make the needed changes to your /etc/modules.conf file.

    If everything goes ok move on the the next section.

Aktív témák