LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-13-2009, 10:39 AM   #1
hyjalsoul
Member
 
Registered: Jul 2007
Distribution: ArchLinux, Ubuntu, Slackware, Fedora
Posts: 46

Rep: Reputation: 15
Fedora 11 nvidia driver problem


Need some help to get Nvidia driver work on my HP laptop, I followed the whole procedure including blacklisting the default driver and making changes to the xorg.conf file, but still no luck. Here are some of my system info and configuration, maybe you guys can help me figure out what I did wrong...

Code:
lspci
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9200M GS (rev a1)
Code:
# lsmod | grep nouveau
# lsmod | grep nvidia
# modprobe nvidia
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING: All config files need .conf: /etc/modprobe.d/broadcom-wl-blacklist, it will be ignored in a future release.
FATAL: Module nvidia not found.
Code:
# rpm -qa | grep nvidia
akmod-nvidia-180.51-1.fc11.8.i686
xorg-x11-drv-nvidia-libs-180.51-1.fc11.i586
xorg-x11-drv-nvidia-180.51-1.fc11.i586
Code:
# Xorg configuration created by livna-config-display

Section "Files"
        ModulePath   "/usr/lib/xorg/modules/drivers"
        ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"

#       Option      "AIGLX" "on"
        Option      "IgnoreABI" "true"
        Option      "AIGLX" "on"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "vesa"
EndSection

Section "Extensions"
        Option      "Composite" "Enable"
EndSection
blacklist nouveau in blacklist.conf

Code:
#Video drivers
blacklist nouveau
Code:
$ uname -r
2.6.29.4-167.fc11.i586
Code:
$ rpm -qa | grep kernel
kernel-headers-2.6.29.4-167.fc11.i586
kernel-PAE-devel-2.6.29.4-167.fc11.i686
kernel-firmware-2.6.29.4-167.fc11.noarch
kerneloops-0.12-5.fc11.i586
kernel-2.6.29.4-167.fc11.i586
Appreciate any suggestion
 
Old 06-13-2009, 02:07 PM   #2
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
# lspci
02:00.0 VGA compatible controller: nVidia Corporation D9M-20 [GeForce 9400 GT] (rev a1)


# rpm -qa | grep nvidia
kmod-nvidia-2.6.29.4-167.fc11.x86_64-180.51-1.fc11.8.x86_64
xorg-x11-drv-nvidia-180.51-1.fc11.x86_64
xorg-x11-drv-nvidia-libs-180.51-1.fc11.i586
kmod-nvidia-180.51-1.fc11.8.x86_64
xorg-x11-drv-nvidia-libs-180.51-1.fc11.x86_64


# Xorg configuration created by livna-config-display

Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
 
Old 06-14-2009, 03:03 PM   #3
hyjalsoul
Member
 
Registered: Jul 2007
Distribution: ArchLinux, Ubuntu, Slackware, Fedora
Posts: 46

Original Poster
Rep: Reputation: 15
Problem sovled, I installed the kmod-nvidia package and graphics works fine now, couldn't understand why akmod package doesn't help graphics work on my laptop. It doesn't matter if I still keep the akmod package, right?
Anyway, thank you for all the instruction, jlo_sandog.
 
Old 06-14-2009, 06:22 PM   #4
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
hello
sorry to bump the thread
but i had a similar problem and attempted to solve it with
dramatically different results
if someone my be able to point me in the correct direction

hyjalsoul
said he solved his by installing the kmod-nvidia pkgs

i went to the software installer
searched for kmod-nvidia and came up with about eight pkgs
tryed to install all including some of the akmod pkgs
dependences balked
then installed one kmod-nvidia-2???? all others balked at the dependencies

same problem
rebooted to let the kernel thingy take effect
and now it boots , F11 teardrop fills up to fedora logo , then black screen

how can i roll that back
and remove the pkg

i can probably get the rescue part of the install disk to get me in

where would i find the installed rpm list
if i could locate the pkg name i might be able to uninstall it and reverse my predicament

any ways the video prob i was having was :

when i started playing a flash video or avi file
as long as i didn't resize the original screen ( fullscreen or drag it bigger
it would play fine

if i messed with it , the screen would freeze
the mouse pointer would still move round the screen but couldnt interact with anything, keyboard wouldn't either

the sound of the video would continue as if nothing happened

EDIT

ok i went into rescue mode
chroot /mnt/sysimage

rpm -qa | grep nvidia
found three pkgs
the offending new kmod pkg
and 2 xorg pkgs
nvidia libs and nvidia 180

rpm -e kmod-nvidia*
failed dependencies needed by xorg nvidia 180

any suggestions?


EDIT of EDIT

reloaded box with "Basic Video Driver" all files types play
no glitches , no crashing applets , no desktop effects either
such is the price for a stable and FAST box :-))

Last edited by ehdwuld; 06-14-2009 at 10:34 PM. Reason: reloaded
 
Old 06-15-2009, 08:04 AM   #5
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
I try to stay away from an automated / packaged approach to upgrading the NVidia driver with Fedora Core installs (done it this way with FC3, FC6 and FC10):

Code:
1. Edit /etc/inittab and change the initdefault:5 to initdefault:3 to boot up in text mode.
2. Save inittab
3. Reboot
4. System will start in text mode
5. Log into root
6. Run the .bin file you downloaded from the Nvidia site
7. Once the install has proceeded successfully, edited /etc/inittab and changed initdefault:3 back to initdefault:5
8. Saved inittab and restarted
The "black screen" you got after startup is usually due to the fact that the Nvidia driver you have at that point is incompatible with your specific kernel version. This can happen if you updated your kernel manually, or installed a newer kernel which the Nvidia .rpm you installed is incompatible with.

Note though that the above approach requires that you have the kernel's development .rpm installed correctly, or, if you are more of a manual inclination (like me) that the kernel source be available in the standard /usr/src/kernels/... location.
 
Old 06-15-2009, 08:17 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The easiest way is to go to www.rpmfusion.org, install the relevant repos as per the instruction, and simply use yum to install the kmod-nvidia package. This should automatically keep your modules in line with your kernel since they seem to get new packages out in a timely manner.

i have to manuallu run the nvidia package on a CentOS box that has a GUI, and it's much easier the Fedora way.

You may be able to do this all from the command line - rather than chrooting, simply edit grub when it comes up by hitting escape or "e" (I don't recall which without trying it), and adding "init 3" to the end of the kernel line, and then boot (hit enter then b).

Fire up elinks or a similar command line browser once you are in (you will need to log in as root at the prompt), then gor to the site I gave above.

Follow the instructions, and good luck.
 
Old 06-15-2009, 08:32 AM   #7
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
rylan76, if you are just trying to install the latest nvidia pkg you don't need to reboot (obviously you would if you install a new kernel). You can run the command, "/sbin/init 3" to get to runlevel 3, run your nvidia .bin and then either startx to test or "/sbin/init 5" to go back to runlevel 5. However, since Livna and now RPMFusion are building nvidia kernel modules I've just been using the RPM's. It is a lot easier, and it's something you really never have to worry about after the first time getting it going. I have to agree with billymayday, it is the easiest way to go.

HTH

Forrest
 
Old 06-15-2009, 04:33 PM   #8
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
thank you billymayday

but i may not have been clear in my post

i had installed the rpmfusion repositories , both Free and NonFree
this is where i found the kmod-nvidia pkgs to begin with
and where the trouble started

i try not to manually instal anything unless i'm trying to fix something i did and cant get to it any other way


but since reloading with "basic Video Driver' all my crap works
granted the thunderbird and firefox seem to crash regular when ever i try to scroll or something

and the two "Desktop Effects", which were cool no doubt, dont work
 
Old 06-24-2009, 06:07 PM   #9
entropykills
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by hyjalsoul View Post
Code:
$ rpm -qa | grep kernel
kernel-headers-2.6.29.4-167.fc11.i586
kernel-PAE-devel-2.6.29.4-167.fc11.i686
kernel-firmware-2.6.29.4-167.fc11.noarch
kerneloops-0.12-5.fc11.i586
kernel-2.6.29.4-167.fc11.i586
i'm not sure but i think you need "kernel-devel" and NOT the kernel-PAE-devel version.
 
Old 01-08-2010, 09:43 AM   #10
steampunkist
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
***found this post via google searching on core12 issues, sorry if this really isnt for FC11 just wanted to add my .02***

I agree with rylan76 but since FC11 you may need to pass additional kernel boot parameters. This worked for me for FC12 to rid myself of the nouveau driver and use the proprietary NVidia driver.


1. Edit /etc/inittab and change the initdefault:5 to initdefault:3 to boot up in text mode.

2. Save inittab

3. Append the following to kernel boot parameters in grub.conf modeset.nouveau=0 vmalloc=xxxMB (xxx being your physical video memory)

4. Blacklist nouveau in /etc/modprobe.d/blacklist.conf

5. Reboot

6. System will start in text mode

7. Log into root

8. lsmod | grep nouveau

9. if nouveau is present, modprobe -r nouveau

9. Run the .bin file you downloaded from the Nvidia site

10. Once the install has proceeded successfully, edited /etc/inittab and changed initdefault:3 back to initdefault:5

11. Saved inittab and restarted

Last edited by steampunkist; 01-08-2010 at 09:45 AM.
 
  


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
Problem installing Nvidia driver in Fedora 10 zyodei Linux - Hardware 11 06-18-2009 12:52 AM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 04:43 AM
Nvidia Driver On Fedora 5- How To lnthai2002 Linux - Hardware 1 07-23-2006 10:46 AM
NVIDIA display driver problem with GeForce 6600GT Fedora Core 4 lumberjack03 Linux - Hardware 4 02-14-2006 06:36 AM
NVIDIA Driver Problem in Fedora Core 2 w/ 2.4.26 kernel lasindi Linux - Software 9 07-06-2004 05:55 PM

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

All times are GMT -5. The time now is 06:26 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