LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora 12 - Nouveau + Nvidia Driver Solution (http://www.linuxquestions.org/questions/fedora-35/fedora-12-nouveau-nvidia-driver-solution-771248/)

JoshGriffin 11-24-2009 10:36 AM

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

peeths003 11-24-2009 12:24 PM

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.

peeths003 11-24-2009 12:53 PM

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.

knudfl 11-24-2009 02:20 PM

@ 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.
.....

JoshGriffin 11-24-2009 02:48 PM

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.

knudfl 11-24-2009 03:12 PM

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.
.....

JoshGriffin 11-24-2009 03:54 PM

I missed that detail in my explanation. :) I used yum to install the Nvidia driver (via RPMFusion) and couldn't get it to work.

knudfl 11-24-2009 06:20 PM

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.
..... .. :) ..

John VV 11-24-2009 06:44 PM

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.

fair_is_fair 11-24-2009 06:57 PM

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?

John VV 11-24-2009 07:18 PM

there is A VERY EASY solutition
Code:

yum install akmod-nvidia
and THAT IS IT

JoshGriffin 11-24-2009 09:47 PM

@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.

fair_is_fair 11-24-2009 10:04 PM

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.

JoshGriffin 11-24-2009 10:09 PM

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! :)

John VV 11-25-2009 03:42 AM

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


All times are GMT -5. The time now is 01:11 PM.