LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-22-2006, 05:20 PM   #1
sillav
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 8

Rep: Reputation: 0
Problems Installing NVIDIA's driver


Hello again,

I'm trying to install NVIDIA's driver for my laptops video card (GFORCE 4 64MB, on a Compaq Presario R3000).

I'm not sure why it's failing, as I really don't understand the log file that's generated.

I want to install the driver primarily because my display resolution sucks. 8x600 is the best it does. It's a Nerf Display.

Any help with this logged error is much appreciated!

Best,

S.

Last edited by sillav; 03-23-2006 at 06:32 PM.
 
Old 03-22-2006, 05:53 PM   #2
SHERB142
LQ Newbie
 
Registered: Jun 2005
Distribution: Fedora Core 8
Posts: 23

Rep: Reputation: 15
This doesn't help much, but i had the same problem with upgrading the Nvidia drivers in FC4. Luckily, I just hooked the video up to the TV a different way (it was coming out black and white). However, other than switching to runlevel 3? I think and stopping the graphic s (Gnome or KDE) I executed the driver installation and got to the same problem. Let me know if you find a solution. Good luck.. thanks
 
Old 03-22-2006, 06:02 PM   #3
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Rep: Reputation: 31
did u have the kernel development package installed? you need to install from runlevel 3 (#init 3).
 
Old 03-22-2006, 06:09 PM   #4
sillav
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 8

Original Poster
Rep: Reputation: 0
NVIDIA Install Problems

I did have the Kernel Development Package installed, though I've since removed it. I was also running the NVIDIA installer as root in init 3.

I have not found a solution, but I am currently following the release notes for FC5 on installing an exploded source tree, whatever that might be, and will try to re-run the NVIDIA installation once I get that up and running.

Cheers,

S.
 
Old 03-22-2006, 11:18 PM   #5
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
The default FC5 kernel can't compile the nVidia driver(and most other closed source kernel-modules) with the default Xorg package.

You now have two options.

1.Wait till the next kernel is available (this one will be compatible).

2.Use RPMS (worked for me):
http://www.mjmwired.net/resources/mj...c5.html#nvidia
 
Old 03-23-2006, 02:09 AM   #6
sillav
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks

Thanks Jen,

I'd found that page in my searches for a solution, you didn't have any problems following those instructions? Hmm...I'll have to try again. I got a "can't write to source folder." error.

Anyway, in the meanwhile that it's not fixed I did manage to change my screen resolution. Turns out, the reason I couldn't change the display settings is because when you try to choose generic lcd under the monitor types, you need to double click the arrow to open up a sub menu. Wow. Duh. Though, I'm pretty sure I came across two or three other people having the same issue.

Cheers,

S.
 
Old 03-23-2006, 09:16 AM   #7
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by sillav
Thanks Jen,

I'd found that page in my searches for a solution, you didn't have any problems following those instructions?
Nope, it should all just work.

Quote:
Originally Posted by sillav
Hmm...I'll have to try again. I got a "can't write to source folder." error.
Are you sure you did everything as root?
Also make sure you have the kernel-devel package installed before you rebuild nvidia-kmod (yum install kernel-devel).
 
Old 03-23-2006, 02:54 PM   #8
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by jens
The default FC5 kernel can't compile the nVidia driver(and most other closed source kernel-modules) with the default Xorg package.

You now have two options.

1.Wait till the next kernel is available (this one will be compatible).

2.Use RPMS (worked for me):
http://www.mjmwired.net/resources/mj...c5.html#nvidia
Well, I tried it (the referenced link), and the resulting RPM would not install because nvidia-kmod-common was not installed. And I couldn't find it anywhere. (I didn't look in the development libraries.)
 
Old 03-23-2006, 07:15 PM   #9
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
If you had nVidia before, this should work as well.
Could you you give the full output from your terminal?

Also notice their's a different approach for people who use the stock kernel and who don't

Quote:
2. (NON 2.6.15-1.2054_FC5) Compile the nvidia-kmod package:
[root@charon fc5-nv]# rpmbuild --rebuild --target `uname -m` nvidia-kmod-*.src.rpm

2. (ONLY 2.6.15-1.2054_FC5) Compile using my modified SPEC file:
Obtain the file SPEC file: http://www.mjmwired.net/resources/fi...-kmod-mjm.spec
[root@charon fc5-nv]# rpm -ivh nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
[root@charon fc5-nv]# rpmbuild -bb ./nvidia-kmod-mjm.spec --target `uname -m`
With the stock 2.6.15-1.2054_FC5 kernel use the second option.

Last edited by jens; 03-23-2006 at 07:18 PM.
 
Old 03-24-2006, 07:54 AM   #10
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Quote:
Originally Posted by jens
Also notice their's a different approach for people who use the stock kernel and who don't
The stock kernel (2054) is missing a single function call (print_tainted). So my "hack workaround" was to add:
"const char *print_tainted(void){ return; }"
to 'nv.c'. I know it is probably not proper, but oh well.
 
Old 03-24-2006, 08:01 AM   #11
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
OK, heres's my output:
Code:
$ ls /tmp/nvidia/
kmod-nvidia-smp-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686.rpm
nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
nvidia-kmod-debuginfo-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686.rpm
nvidia-kmod-mjm.spec
xorg-x11-drv-nvidia-1.0.8178-7.lvn5.src.rpm
$ sudo rpm -ihv /tmp/nvidia/kmod-nvidia-smp-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686.rpm
Password:
error: Failed dependencies:
        nvidia-kmod-common = 1.0.8178 is needed by kmod-nvidia-smp-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686
$
Note that I had the nVidia driver from livna installed and running fine in FC4, and that I followed the instructions for 2.6.15-1.2054_FC5.

 
Old 03-24-2006, 08:13 AM   #12
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Not sure if this helps, but I had to install kmod-nvidia and xorg-x11-drv-nvidia RPM at the same time in a single command.
 
Old 03-24-2006, 09:16 AM   #13
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Thanks! That wasn't the problem, though. The problem: If you look at the listing of my /tmp/nvidia directory (above), you'll see that I had neglected to do the
Code:
rpm -rebuild xorg-x11-drv-1.0.8178-7.lnv5.src.rpm
so I didn't have the x11-drv rpm to install.

Once I'd run that command, then I could install them together, and now I've got nVidia running under FC5.

My bad. Sorry.
 
  


Reply



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's audio driver sandman545 Linux - Software 6 03-21-2006 09:14 AM
Mandriva 2006.0 installing problems on nVidia's SATA drives M K Mandriva 3 01-25-2006 01:02 AM
[Mdk 10.0]Freeze after installation of nvidia's driver... frenchi Mandriva 3 11-17-2004 05:21 PM
having Problems installing the Drivers for Geforce FX 5200 Ultra from Nvidia's site Poo Martial Art Linux - Hardware 6 01-28-2004 04:23 PM
Extremely happy with Slackware 8.1 and Nvidia's driver on XFree86 4.2.0 lto Slackware 2 07-15-2002 10:04 PM

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

All times are GMT -5. The time now is 10:10 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
Open Source Consulting | Domain Registration