LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2010, 03:45 AM   #1
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Rep: Reputation: 15
Nvidia drivers


Hey,

I've been trying to install nvidia drivers yesterday, so I went to runlevel 3, ran the .bin installer and it came up with error: missing kernel-devel and kernel-source.

So I go yum install kernel-devel, it does, but it doesnt find anything like kernel-source.

How do I fix this issue? I have Fedora 12, and I ran drivers from:
http://www.nvidia.com/object/linux_d...32_190.53.html
 
Old 03-11-2010, 04:53 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
The easiest way to get the nvidia drivers is from rpmfusion repositories.

as root run
Code:
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Then run

Code:
yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
for 32 bit drivers.

If you have the PAE kernel then you should run the following instead of the above

Code:
yum install kmod-nvidia-PAE.i686 xorg-x11-drv-nvidia-libs.i686
Have you had trouble with nouveau ?

You can add a space then rdblacklist=nouveau to the end of the kernel line in /boot/grub/grub.conf

Not on a new line, at the end of the line.

Last edited by smoker; 03-11-2010 at 04:55 AM.
 
Old 03-11-2010, 07:40 AM   #3
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
Didn't work...
Quote:
[root@localhost]# yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package kmod-nvidia available.
No package xorg-x11-drv-nvidia-libs.i686 available.
Nothing to do
 
Old 03-11-2010, 08:01 AM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
The README...

Indeed you need several packages in order to install the Nvidia driver. This is the relevant page from the Nvidia README giving the commands used to check for their presence.

http://us.download.nvidia.com/XFree8...hapter-02.html
 
Old 03-11-2010, 09:20 AM   #5
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Did you install the rpmfusion repos ?
 
Old 03-11-2010, 09:35 AM   #6
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by smoker View Post
Did you install the rpmfusion repos ?
Yeah
Quote:
[root@localhost ~]# rpm -Uvh http://download1.rpmfusion.org/free/...ble.noarch.rpm http://download1.rpmfusion.org/nonfr...ble.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/...ble.noarch.rpm
Retrieving http://download1.rpmfusion.org/nonfr...ble.noarch.rpm
warning: /var/tmp/rpm-tmp.YcEBO9: Header V3 DSA signature: NOKEY, key ID 49c8885a
warning: /var/tmp/rpm-tmp.qr3UoK: Header V3 DSA signature: NOKEY, key ID b1981b68
Preparing... ########################################### [100%]
package rpmfusion-free-release-10-5.noarch is already installed
[root@localhost ~]#
 
Old 03-11-2010, 09:55 AM   #7
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
It didn't say the non-free was already installed. Try the yum again now. Or run the rpm command first with just the non-free line.
Code:
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Last edited by smoker; 03-11-2010 at 09:57 AM.
 
Old 03-11-2010, 03:33 PM   #8
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
Ok, installed fine.

BTW, just in case if there is any issue with driver on next startup, how can I disable it and switch to what I have now?
 
Old 03-11-2010, 03:44 PM   #9
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
You can either use the grub menu to use the previous working kernel, or I have it on good authority that if you install akmod-nvidia it will rebuild the module if there are any issues.
http://www.linuxquestions.org/questi...6/#post3894010
 
Old 03-11-2010, 04:48 PM   #10
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
oh shit shit shit. PANIC!

I reboot, I see new kernel was installed. I boot into it, boots fine, but when comes to loading startx screen goes blank, I can't do anything. I restart, try boot older kernel, comes up with bunch of errors (nvidia.ko not available for kernel version). When comes to startx I get pixelated screen with all possible colors. Can't do anything.


HEEEEEELP!
 
Old 03-11-2010, 04:52 PM   #11
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
im gonna try runlevel 3, than yum remove nvidia-xconfig, hope that works! Please help!
 
Old 03-11-2010, 05:33 PM   #12
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
damn, now even new kernel boots up and screen goes fuzzy. Please help, how do I make it like it was before install?
 
Old 03-12-2010, 07:39 AM   #13
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
Here is what I get, please please please help.

http://www.shrani.si/f/S/GX/KABO6Y8/dsc0001.jpg


Need to solve, how do I reinstall and configure the original display drivers?
 
Old 03-12-2010, 08:17 AM   #14
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
Ahh, I disabled the nouveau and now it works. But I'm having issues (as now my second display doesn't work), also compiz crashes when I try to run it (compiz (core) - Fatal: No manageable screens found on display :0.0
) and I don't really like it. Is there any way I can downgrade (remove the driver and go back to what I had before)?

Last edited by jan1024188; 03-12-2010 at 08:19 AM.
 
Old 03-12-2010, 02:20 PM   #15
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
What about...

You might generate an xorg.conf file and edit it to specify the "nv" module.

It seems that others have tumbled with a similar problem recently. Note the links to successful fixes.

http://www.linuxquestions.org/questi...g.conf-775270/

Last edited by thorkelljarl; 03-12-2010 at 02:27 PM.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia GeForce worked once, Nvidia linux drivers killed it, and now i can't fix it. conway.federico Linux - Hardware 8 10-16-2008 10:28 PM
Restricted Nvidia drivers not listed in Hardware Drivers (8.04 Hardy Heron, liveCD) shroomy_bee Ubuntu 4 07-06-2008 10:16 AM
Nvidia 9746 Drivers - startx freezes machine when using nvidia module Astro Slackware 17 01-21-2007 07:36 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration