FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
# 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.
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.
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634
Rep:
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
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.
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.
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.
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634
Rep:
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
***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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.