LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 09-29-2005, 03:00 PM   #1
Wynand1
Member
 
Registered: Mar 2004
Posts: 121

Rep: Reputation: 15
Angry NVidia Driver + FC4 AARRGHHHhhhh!!!!


How on earth do I install the latest NVidia driver on FC4. The FC3 howto doesn't help. + NVidia driver install complains that it can't find the kernel sources. How do I install the kernel sources to get it working with the NV driver.

I can't believe how difficult it is to accomplish such a simple task !! please help as this is extremely frustrating!!!!
 
Old 09-30-2005, 03:56 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I think you should cool down and post your questions in a polite manner. This increases chances of people helping you out.

To install the nvidia drivers, install the kernel-devel package using yum e.g.
Code:
#yum install kernel-devel
Once thats done, turn off Selinux, by doing
Code:
#setenforce 0
Install the driver after that and make the appropriate changes to your /etc/X11/xorg.conf.
 
Old 09-30-2005, 04:32 PM   #3
Wynand1
Member
 
Registered: Mar 2004
Posts: 121

Original Poster
Rep: Reputation: 15
Ok , I didn't turn off selinux , maybe thats the problem, will try this tomorrow.

Thanks.
 
Old 09-30-2005, 06:17 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
or you could use the rpm provided ny livna. I used it, didn't change a single config file and the driver works like a charm. The info on how to do it is at the Unofficial Fedora FAQ , but basically what you need to do is

1. Open a Terminal.
2. Become root.
3. Type: #yum install nvidia-glx kernel-module-nvidia-$(uname -r)

and ready you are.
 
Old 10-02-2005, 07:42 AM   #5
gforces
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
try this: http://stanton-finley.net/fedora_cor...es.html#nVidia
 
Old 10-02-2005, 12:57 PM   #6
Wynand1
Member
 
Registered: Mar 2004
Posts: 121

Original Poster
Rep: Reputation: 15
Cool Got it working!

Hi

I've got it working by reinstalling FC4 and selecting the Workstation install options , keeping partitioning automatic and everything els default. Installed using NVidia instructions. Must have messed everything up with all the trying to get it working with my previous install.
 
Old 10-03-2005, 02:41 AM   #7
johnty01
LQ Newbie
 
Registered: Aug 2005
Location: vancouver, bc
Distribution: fc 4
Posts: 26

Rep: Reputation: 15
Quote:
or you could use the rpm provided ny livna. I used it, didn't change a single config file and the driver works like a charm. The info on how to do it is at the Unofficial Fedora FAQ , but basically what you need to do is

1. Open a Terminal.
2. Become root.
3. Type: #yum install nvidia-glx kernel-module-nvidia-$(uname -r)

and ready you are.
I get this after trying:

Error: Missing Dependency: nvidia-glx = 0:1.0.7174 is needed by package kernel-module-nvidia-2.6.11-1.1369_FC4
Error: Missing Dependency: /boot/vmlinuz-2.6.12-1.1398_FC4 is needed by package kernel-module-nvidia-2.6.12-1.1398_FC4

what should I do?

thanks!
 
Old 10-03-2005, 03:58 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally posted by johnty01
I get this after trying:

Error: Missing Dependency: nvidia-glx = 0:1.0.7174 is needed by package kernel-module-nvidia-2.6.11-1.1369_FC4
Error: Missing Dependency: /boot/vmlinuz-2.6.12-1.1398_FC4 is needed by package kernel-module-nvidia-2.6.12-1.1398_FC4

what should I do?

thanks!
You are running a different kernel to the one required by the nvidia rpm. Install using the package from the nvidia website.
 
Old 10-03-2005, 04:48 AM   #9
Booboo
LQ Newbie
 
Registered: Apr 2005
Distribution: Fedora
Posts: 22

Rep: Reputation: 0
I have done it like this :
1. Downloaded the driver from nvidia's page let say NVIDIA-Linux-x86-1.0-7676-pkg1.run. <-- this one
2. Press Ctrl+Alt+F1
3. Log in as root
4. Write : telinit 3
5. Write : setenforce 0
6. Execute the downloaded *.run binary
7. Modify the xorg.conf file
8. Write : telinit 5
9. Press Ctrl+Alt+F7

And that was all I needed to make it work
Hope this helped you
 
Old 10-03-2005, 04:50 AM   #10
Booboo
LQ Newbie
 
Registered: Apr 2005
Distribution: Fedora
Posts: 22

Rep: Reputation: 0
You must have installed the kernel source files too!
otherwise it may not work
 
Old 10-03-2005, 10:24 AM   #11
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
This is how I do it:

1. Edit /etc/X11/xorg.conf: Remove the [Load "dri"] line, and change the video driver from "nv" to "nvidia"
2. Switch to a virtual console (ctrl + alt + f1)
3. log in as root
4. execute: telinit 3
5. execute: /usr/sbin/setenforce 0
6. go to the directory with the package and execute: sh NVIDIA-***.run (whatever it is)
7. after installation and building of a kernel module execute: /usr/sbin/setenforce 1
8. execute: telinit 5 or startx
9. execute in a root terminal: cp -a /dev/nvidia* /etc/udev/devices
10. execute: chown root /etc/udev/devices/nvidia*
11. execute: rpm -e --nodeps xorg-x11-Mesa-libGL
12. execute: modprobe nvidia
13. reboot

-A
 
Old 10-03-2005, 12:35 PM   #12
johnty01
LQ Newbie
 
Registered: Aug 2005
Location: vancouver, bc
Distribution: fc 4
Posts: 26

Rep: Reputation: 15
thanks for the replies.

i have another question: is telinit 3 the same as init 3, if not, what are the differences?

when I go 'init 3', for some reason the system hangs after it loads WINE. it says WINE loads OK, but then just stays there.
 
Old 10-03-2005, 03:13 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
init 3 is the same as telinit 3. On most distros I have used, telinit is just a symlink to init.
 
Old 10-03-2005, 06:21 PM   #14
johnty01
LQ Newbie
 
Registered: Aug 2005
Location: vancouver, bc
Distribution: fc 4
Posts: 26

Rep: Reputation: 15
so if the system just hangs there after i go init 3, whats wrong? as my previous post says, it seems to stop after loading WINE [OK]. does that mean the next item is causing the problem? is there a place where i can find the list of things its loading?

*edit* have that fixed now. i had WINE loading up, which it shouldn't.

Last edited by johnty01; 10-05-2005 at 11:56 AM.
 
Old 10-20-2005, 01:59 PM   #15
Twey
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 4, SuSE 9.1, Debian Sarge, OpenBSD
Posts: 12

Rep: Reputation: 0
It doesn't hang, it just appears to. Press enter and you'll get your prompt back.
 
  


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
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 07:31 AM
Black screen after NVIDIA driver install in FC4 dark_prancer Linux - Hardware 10 09-26-2005 07:53 AM
FC4 - Fail to install nVidia driver macarthor Fedora 21 07-10-2005 02:52 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 04:59 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration