LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 11-24-2009, 10:36 AM   #1
JoshGriffin
Member
 
Registered: Jun 2009
Location: Denver
Distribution: Fedora 12
Posts: 39

Rep: Reputation: 16
Fedora 12 / 13 - Nouveau + Nvidia Driver Solution


UPDATE: updated to include Fedora 13...

This is info that I've found to install the proprietary Nvidia driver in Fedora 12. After searching and searching this is the best I've found. I hope this helps someone out there that needs help with this.

If you use an Nvidia card in your system and install Fedora 12, Fedora will use the Nouveau driver by default. Follow these steps to disable the Nouveau driver and install the Nvidia proprietary driver.

-Download the latest Nvidia driver from their web site
-Drop to init 3 (CTRL + ALT + F2, login as root, run "init 3")

-Install the driver using:
Code:
./NVIDIA-Linux-x86_64-190.42-pkg2.run -k $(uname -r)
-Add this to the end of /etc/modprobe.d/blacklist.conf:

Code:
blacklist nouveau
-Add this to the end of the kernel line in /boot/grub/grub.conf

Code:
rdblacklist=nouveau vga=31B
Here is a list of VGA modes. (removed "nouveau.modeset=0" and added "rdblacklist=nouveau")

Replace 31B with the desired mode:

1600x1200 - 346
1280x1024 - 31B
1400x1050 - 348
1024x768 - 318
800x600 - 315
-I also removed the nouveau x11 package, but it isn't necessary:
Code:
rpm -e xorg-x11-drv-nouveau --nodeps
-Type "reboot" and enter to reboot

Reboot and it should boot using the proprietary Nvidia driver.

Credits to the person that originally posted this information:
http://linuxformat.co.uk/forums/view...e8d051ac34216c

~JoshGriffin

Last edited by JoshGriffin; 06-26-2010 at 10:49 PM.
 
Old 11-24-2009, 12:24 PM   #2
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Rep: Reputation: 32
but you will miss the graphical boot loader .

And have to add vga=795 to /boot/grub/grub.conf to get the graphical boot loader to work again.

Last edited by peeths003; 11-24-2009 at 12:51 PM.
 
Old 11-24-2009, 12:53 PM   #3
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Rep: Reputation: 32
This is how I added

Quote:
title Fedora (2.6.31.5-127.fc12.x86_64)
root (hd1,4)
kernel /vmlinuz-2.6.31.5-127.fc12.x86_64 ro root=UUID=0b01104a-1511-467a-8edd-d4c49fcc64e6 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet vga=795
initrd /initramfs-2.6.31.5-127.fc12.x86_64.img
Here the issue is I have a 19" Wide screen ( 1370x768 ), and i dont know what is the vga equivalent for 1370x768.
vga 795 is equivalent for 1200X1024.
 
Old 11-24-2009, 02:20 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
@ JoshGriffin :
Thank you for the information about disabling nouveau.

For your information :
"All" Nvidia versions are available in the atrpms repo
http://www.atrpms.net/
http://www.atrpms.net/install.html

I haven't seen the driver ( 190.xx.xx ) from the atrpms.repo
work, missed out some of the nouveau stuff, may be it will
work now, thanks to your thorough explanation.
.....
 
Old 11-24-2009, 02:48 PM   #5
JoshGriffin
Member
 
Registered: Jun 2009
Location: Denver
Distribution: Fedora 12
Posts: 39

Original Poster
Rep: Reputation: 16
Peeths003:

Thank you for that info. I added that to my post.

knudfl:

I tried using RPMs and I myself couldn't get it to work. It may work, but I couldn't get it to work. I'd rather use the install file from Nvidia anyways.
 
Old 11-24-2009, 03:12 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Sorry, forgot : # yum install nvidia..........

Why talk about RPM's ? You don't use that much
for package install ? Unless with no internet.
Manually installing rpm packages is last resort.

The Package Manager , Add / Remove Software
.. and yum : access to about 12,000 packages.
.....
 
Old 11-24-2009, 03:54 PM   #7
JoshGriffin
Member
 
Registered: Jun 2009
Location: Denver
Distribution: Fedora 12
Posts: 39

Original Poster
Rep: Reputation: 16
I missed that detail in my explanation. I used yum to install the Nvidia driver (via RPMFusion) and couldn't get it to work.
 
Old 11-24-2009, 06:20 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Apologize that I misunderstood # 5.

I think, I used the rpmfusion nvidia packages in Fedora 10, 11.
Before that, I have always installed nvidia manually.
Now, without any drivers in rpmfusion, I found the atrpms
reference, and installed from them.
Still don't know, if they work. I'll try that another day.
..... .. ..
 
Old 11-24-2009, 06:44 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 12,064

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
a word of WARNING
if you do use the atrpm repo for thee nvidia driver YOU ARE STUCK using ONLY THE ATRPM REPO . It is INCOMPATIBLE with rpmfusion
this also means YOU MUST USE THE KERNEL FROM ATRPM

-- dissable ALL othere repo's if you use atrpm.
 
Old 11-24-2009, 06:57 PM   #10
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
Geez. You would think Fedora would have an easy solution for nvidia drivers. Its a pretty painless operation with most distros nowadays.

I'm sitting here with no display, and no rescue mode after trying the fusion nvidia drivers. I cannot find xorg.conf running the live cd to copy to my fedora install. How do I restore x?
 
Old 11-24-2009, 07:18 PM   #11
John VV
Guru
 
Registered: Aug 2005
Posts: 12,064

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
there is A VERY EASY solutition
Code:
yum install akmod-nvidia
and THAT IS IT
 
Old 11-24-2009, 09:47 PM   #12
JoshGriffin
Member
 
Registered: Jun 2009
Location: Denver
Distribution: Fedora 12
Posts: 39

Original Poster
Rep: Reputation: 16
@fair_is_fair:
I had the same problem when trying to use the repos. Then I came across this solution and reinstalled. Maybe that will work? If you want to continue using repos you might want to start a new thread on how to resolve using repos.

@John_VV:
The default repos in Fedora do not include the rpms for akmod-nvidia. I followed a few solutions I googled using repos and after a few hours couldn't get it to work. After working with the solution I posted I had it up and running in a few minutes. In my case Fedora 11 was no sweat to set up the Nvidia driver and Fedora 12 is like pulling teeth. There might be a simple way of installing the driver using a repo but I couldn't figure it out. This thread is for people in the same boat.
 
Old 11-24-2009, 10:04 PM   #13
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
Thanks Josh. I was trying to avoid a reinstall because I have a fair amount of time and bandwidth invested in my Fedora install. I did not expect display problems. I will use your solution to get my display back up.
Btw... akmod-nvidia was installed. Removing akmod-nvidia and rebooting did not restore the nouveau driver either.
 
Old 11-24-2009, 10:09 PM   #14
JoshGriffin
Member
 
Registered: Jun 2009
Location: Denver
Distribution: Fedora 12
Posts: 39

Original Poster
Rep: Reputation: 16
fair_is_fair

Sorry for the misfortune. I would help with your current situation but I don't know enough to help. Good luck with the re-install!
 
Old 11-25-2009, 03:42 AM   #15
John VV
Guru
 
Registered: Aug 2005
Posts: 12,064

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
Quote:
The default repos in Fedora do not include the rpms for akmod-nvidia. I followed a few solutions I googled using repos and after a few hours couldn't get it to work.
there is the "how to" Guide for it
"F12,F11 & F10 Nvidia driver guides "
http://forums.fedoraforum.org/showthread.php?t=204752
the very first post in that long thread
 
  


Reply

Tags
driver, fc12, fedora 12, install, nouveau, nvidia, remove, uninstall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia Graphics Driver Problem and Solution kevinbenko Linux - Hardware 2 05-09-2008 11:35 AM
LXer: Nouveau project hacks away at free Nvidia drivers LXer Syndicated Linux News 0 09-04-2007 06:40 AM
LXer: Nouveau Driver Q&A LXer Syndicated Linux News 0 09-02-2007 08:30 PM
Fedora Core 3 and nVidia drivers - solution (2 part) DrD Fedora 2 11-19-2004 07:34 PM
nvidia grafic driver solution running multiple kernels bstrik Slackware 4 09-02-2004 10:19 AM


All times are GMT -5. The time now is 04:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration