FedoraForum.org - Fedora Support Forums and Community
Results 1 to 14 of 14
  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [F11] Installing NVIDIA

    Hey, I just switched from Ubuntu to Fedora, and I really like it so far, but I'm so used to .deb files now I'm stuck on installing the NVIDIA package I downloaded.

    Could you guys give me the commands to run the install?

    The package is on my desktop and it's named "NVIDIA-Linux-x86_64-190.18-pkg2.run"

    Thank you for the help!

  2. #2
    Join Date
    Mar 2009
    Location
    Europe
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    logout and return to the login screen of your display manager, use console login and then you login as root and move to the folder with your nvidia driver. type:
    Code:
    sh NVIDIA-Linux-x86_64-190.18-pkg2.run
    and the installer will start (can also use ./ instead of sh). make sure to hit yes when it asks to update your x config files.

    note: fedora 11 has its own nvidia implementation called nouveau as well as native nvidia drivers in the repository but i would suggest to stick to the latest driver from nvidia's website, 190.18 is the best they've made so far
    ps: for such questions please have a look at the guides & solutions section first: http://forums.fedoraforum.org/forumdisplay.php?f=12
    Last edited by Milena; 15th August 2009 at 02:56 AM.

  3. #3
    Join Date
    Sep 2008
    Posts
    120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Substitute your file name for the word filename below and type the commands in a terminal.

    chmod a+x filename.run
    su -
    enter your root password
    ./filename.run

    I am new to fedora but I used this method in Mandriva.
    Now running Fedora 17 64bit
    64 bit works great!



  4. #4
    Join Date
    Aug 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Golf4Fun
    Substitute your file name for the word filename below and type the commands in a terminal.

    chmod a+x filename.run
    su -
    enter your root password
    ./filename.run

    I am new to fedora but I used this method in Mandriva.
    This method gives me Bash errors.

  5. #5
    Join Date
    Feb 2008
    Location
    Sydney Australia
    Age
    71
    Posts
    2,692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The preferred method in Fedora is to use the drivers from RPMfusion and not direct from nvidia. Have a look at the nvidia link in my signature. Always works for me.

  6. #6
    Join Date
    Feb 2009
    Posts
    460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://forums.fedoraforum.org/showpo...69&postcount=1

    And BE CAREFUL with kernel upgrades. Fedora introduces new stuff all the time! So whenever you see an update for Nvidia and or the kernel wait a couple of days for the chaos to clear.


    http://forums.fedoraforum.org/showthread.php?t=227780
    http://forums.fedoraforum.org/showthread.php?t=204752

    Welcome to Fedora.

  7. #7
    Join Date
    Feb 2008
    Location
    Sydney Australia
    Age
    71
    Posts
    2,692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by timmywear
    http://forums.fedoraforum.org/showpo...69&postcount=1

    And BE CAREFUL with kernel upgrades. Fedora introduces new stuff all the time! So whenever you see an update for Nvidia and or the kernel wait a couple of days for the chaos to clear.


    http://forums.fedoraforum.org/showthread.php?t=227780
    http://forums.fedoraforum.org/showthread.php?t=204752

    Welcome to Fedora.
    That's true so install the akmod mentioned in that thread. It automatically recreates the new kmod for the new kernel so you won't have that problem.

  8. #8
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    59
    Posts
    3,947
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there are TWO ways to install the nvidia driver
    1)
    install the rpmfusion repo and run " yum install kmod-nvidia "
    this is the PREFERRED way

    2)
    use the nvidia.run driver
    a)
    install The devel tools
    --- including the current kernel source and headder rpm's
    --- including gcc
    the easiest way is to do this
    Code:
    yum groupinstall " Development Tools" "Development Libraries"
    yum install kernel-devel kernel-headers
    download THE CORRECT nvidia.run for your card
    copy it to /
    as root in the terminal
    Code:
    cd /
    chmod +x *.run
    telinit 3
    relogin as root in the NOW text only mode
    IN TEXT ONLY MODE
    cd to /
    Code:
    cd /
    sh *.run
    and fallow the on screen directions
    then reboot
    THEN REINSTALL Mesa GL -- This is A MUST
    Code:
    yum install mesa-libGL-devel mesa-libGL mesa-libGLU-devel mesa-libGLU mesa-libGLw mesa-libGLw-devel
    -- then for reinstalling mesa run this ---
    yum reinstall mesa*
    ------------- VERY IMPORTANT ---------------
    For all and every kernel,xorg , and X11 update YOU MUST reinstall the .run driver AND MESA
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  9. #9
    Join Date
    Mar 2009
    Location
    Europe
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by JohnVV
    THEN REINSTALL Mesa GL -- This is A MUST
    Why is this necessary ? I always install latest drivers from nvidia.com, the .run file. I never did anything like reinstalling mesa and have no problems at all, everything 3d related works just fine here. Is there something i'm missing now without having mesa reinstalled ?

  10. #10
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    59
    Posts
    3,947
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the OpenGL in the nvidia.run driver IS DIFFERENT than the one in fedora ,RHEL , CentOS,...
    Thus the .run driver REPLACES fedora's /usr/lib/libGL.so with a link to nvidia's libGL.so.xx.xx.xx
    and replaces fedora's
    /usr/include/GL/glext.h
    /usr/include/GL/gl.h
    /usr/include/GL/glxext.h
    /usr/include/GL/glx.h
    with the matching ones from nvidia

    they are NOT THE SAME as the ones in the fedora rpm's
    and code built on one can ,and WILL, crash if using the other .
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  11. #11
    Join Date
    Mar 2009
    Location
    Europe
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you for the information, i didn't know that. like mentioned above i never had any crash with nvidia drivers. i will reinstall mesa this time since there is a kernel update today and i have to reinstall the driver anyway. isn't their implementation of libgl supposed to be better (performance wise)?

    edit: just got the information from nvidia forums using the "--no-opengl-headers" option when installing the .run driver will make it unnecessary to reinstall mesa.
    Last edited by Milena; 16th August 2009 at 05:32 PM.

  12. #12
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most end-users will never see any ill effects from the issue that JohnVV raises - but anyone who compiles software that requires Mesa will find serious problems unless they do as shown.

    V

  13. #13
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    59
    Posts
    3,947
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but anyone who compiles software that requires Mesa will find serious problems unless they do as shown.
    And that is what i do ALL the time
    the -no-headers option will cause a issue , in that, the code i build using the mesa *.h will be linked to the wrong *.so and cause a "seg fault"
    i have found it much safer to just reinstall mesa. It is only one line of text to do that and takes only 30 sec. to reinstall

    but 90%+ of " light " ( do not build code) will not have a problem .
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  14. #14
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    15,385
    Mentioned
    186 Post(s)
    Tagged
    0 Thread(s)
    the Nvidia --uninstall command on my machine didn't remove the Nvidia .conf file from /etc/ld.so.conf.d.

    This caused a problem where KDE would fail to load until I noticed the conf file and moved it away and re-ran ldconfig

    So if you change from the Nvidia closed driver to the rpmfusion one and you have GL problems even though you ran --uninstall, make sure you don't see incorrect libraries when you run ldconfig -p
    (anything like /usr/lib/nvidia/<filename> or /usr/lib64/nvidia/<filename> )

Similar Threads

  1. Help installing Installing nVidia Drivers and 32bit OpenGL
    By Jeff91 in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 25th August 2009, 12:25 AM
  2. Replies: 6
    Last Post: 19th July 2009, 05:30 PM
  3. installing nvidia x86 185.18.14
    By bakachankun in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 21st June 2009, 01:29 AM
  4. Any one can help in installing the nvidia nforce4?
    By deepfreeze in forum Using Fedora
    Replies: 4
    Last Post: 10th August 2006, 02:27 PM
  5. Replies: 9
    Last Post: 6th April 2005, 08:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •