Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th August 2009, 01:53 AM
Couto Offline
Registered User
 
Join Date: Aug 2009
Posts: 2
linuxfedorafirefox
[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!
Reply With Quote
  #2  
Old 15th August 2009, 02:40 AM
Milena's Avatar
Milena Offline
Registered User
 
Join Date: Mar 2009
Location: Europe
Posts: 304
linuxfedorafirefox
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.
Reply With Quote
  #3  
Old 15th August 2009, 02:42 AM
Golf4Fun's Avatar
Golf4Fun Offline
Registered User
 
Join Date: Sep 2008
Posts: 118
linuxfedorafirefox
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!


Reply With Quote
  #4  
Old 15th August 2009, 03:06 AM
Couto Offline
Registered User
 
Join Date: Aug 2009
Posts: 2
linuxfedorafirefox
Quote:
Originally Posted by Golf4Fun View Post
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.
Reply With Quote
  #5  
Old 15th August 2009, 03:41 AM
ozjd's Avatar
ozjd Online
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 58
Posts: 2,232
linuxfedorafirefox
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.
Reply With Quote
  #6  
Old 15th August 2009, 04:21 AM
JohnnyLinux Offline
Registered User
 
Join Date: Feb 2009
Posts: 460
linuxfedorafirefox
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.
Reply With Quote
  #7  
Old 15th August 2009, 05:11 AM
ozjd's Avatar
ozjd Online
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 58
Posts: 2,232
linuxfedorafirefox
Quote:
Originally Posted by timmywear View Post
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.
Reply With Quote
  #8  
Old 15th August 2009, 05:40 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxfedorafirefox
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
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #9  
Old 16th August 2009, 04:13 AM
Milena's Avatar
Milena Offline
Registered User
 
Join Date: Mar 2009
Location: Europe
Posts: 304
linuxfedorafirefox
Quote:
Originally Posted by JohnVV View Post
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 ?
Reply With Quote
  #10  
Old 16th August 2009, 05:51 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxfedorafirefox
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 .
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #11  
Old 16th August 2009, 03:25 PM
Milena's Avatar
Milena Offline
Registered User
 
Join Date: Mar 2009
Location: Europe
Posts: 304
linuxfedorafirefox
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.
Reply With Quote
  #12  
Old 16th August 2009, 05:40 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
linuxopera
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
Reply With Quote
  #13  
Old 16th August 2009, 10:18 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxfedorafirefox
Quote:
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 .
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #14  
Old 21st August 2009, 11:12 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487
linuxfedorafirefox
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> )
Reply With Quote
Reply

Tags
f11, installing, nvidia

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing Installing nVidia Drivers and 32bit OpenGL Jeff91 Installation and Live Media 3 25th August 2009 12:25 AM
Problems installing nvidia drivers from the Nvidia Homepage (was:confused need help) leopard Using Fedora 6 19th July 2009 05:30 PM
installing nvidia x86 185.18.14 bakachankun Installation and Live Media 2 21st June 2009 01:29 AM
Any one can help in installing the nvidia nforce4? deepfreeze Using Fedora 4 10th August 2006 02:27 PM
Installing Nvidia Drivers: No Nvidia Graphics Driver Found! unholy1 Hardware & Laptops 9 6th April 2005 08:50 PM


Current GMT-time: 08:22 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat