NOTE: If you need the tutorial for Fedora 13, go here: http://linuxsoftwareblog.com/?p=516
If you’re wanting to use the nvidia proprietary driver, rather than the nouveau driver provided by default in Fedora 11+, then do the following (minus the quotations):
1. Add this to the end of the kernel line in /etc/grub.conf -> “rdblacklist=nouveau vga=0×318″
2. command: su -c “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”
3. Command: “yum update”
4. For 64bit Users: “yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64″
5. A) For 32bit Users: “yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686″
5. B) For 32bit Users using the PAE kernel: “yum install kmod-nvidia-PAE.i686 xorg-x11-drv-nvidia-libs.i686″
6. Reboot
7. You’re done !
NOTE: IF this doesn’t seem to work for you, in step one, instead of “rdblacklist=nouveau”, try “nouveau.modeset=0″.
(For searching purposes….) Here’s the error you’re likely to receive if trying to install the nvidia package, provided by nvidia…
This can occur when a driver such as rivafb, nvidiafb or rivatv was laoded and obtained ownership of the NVIDIA device(s). Try unloading the rivafb, nvidiafb or rivatv kernel module
Comments
There is no kmod-nvidia available for fedora 12 64 bit. None gets listed with yum list
The rpmfusion repos are enabled.
Hi Pete,
the solution is to get it from the testing repo’s from RPMFusion:
#> yum –enablerepo=rp*g install kmod-nvidia.$(uname -m) xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64
thanks for reading !
This worked great for me. The system is an older desktop with an nVidia GeForce2 MX/MX 400.
After the rpm command completed (Completed!), there was an error message reported saying something about install and no destination specified after kmod-nvidia and try ‘install –help’. I’m sorry I didn’t capture the message. The installation seems to be fine, however, being as how the system is using the new driver as I’m writing this. Many thanks.
Hi Jim, thanks, the kmod-nvidia packages are still in rpmfusion-testing
I have updated steps 4, 5, 6 and 7.
Thanks.
You need two – ’s before enablerepos. not one.
Thanks Tony, updated.
Thanks a lot, with this and the tutorial at rpmfusion I could fix the problem.
Hi,
How does one access the testing rpmfusion files for nvidia driver? The ones you have listed are not for testing
Hi Ash,
Look at number 3 or 4 (whether you’re 64bit or 32bit). Yum –enablerepo will allow you to access the rpmfusion testing repo’s.
Try and copy/paste from the tutorial. If you get an error, post it back in a new comment… Good luck.
At the moment it requires kernel from updates-testing, so this worked for me:
yum install –enablerepo=updates-testing –enablerepo=rp*g kmod-nvidia.$(uname -m) xorg-x11-drv-nvidia-libs.i686
Thanks Malcolm, fixed.
Hi there,
It didn’t work for me. The yum kept returning that it couldn’t find the package, here is what I typed:
yum –enablerepo=updates-testing –enablerepo=rp*g install kmod-nvidia.$(uname -m) xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64
Here’s the result:
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package kmod-nvidia.x86_64 available.
No package xorg-x11-drv-nvidia-libs.i686 available.
No package xorg-x11-drv-nvidia-libs.x86_64 available.
Nothing to do
Hi Yves,
sounds odd…. Did you do parts 2 and 3. They are important. It seems that the RPMFusion repository is not being checked in your yum query. Part 2 should put the following files into your filesystem:
/etc/yum.repos.d/rpmfusion-free.repo
/etc/yum.repos.d/rpmfusion-free-updates.repo
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo
/etc/yum.repos.d/rpmfusion-nonfree.repo
/etc/yum.repos.d/rpmfusion-nonfree-updates.repo
/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
Make sure that, for each of these, it contains “enabled=1″ for the top section of the file. If so, run “yum update” again, and try again.
I actually did run through step 1 and 2. I re-run step 2 and I got this message:
package rpmfusion-free-release-12-1.noarch (which is newer than rpmfusion-free-release-10-5.noarch) is already installed
So, I removed the one that is already installed and installed the one indicated in step 2. Now, NOW!, I can find the nvidia driver. Thanks!!
Excellent, good to hear it worked for you !
Hi admin,
your commands can give error on next kernel update because you don’t install the “global” package.
The only thing one should do is
a) enable the testing repo’s
b) install the package kmod-nvidia-PAE
You can do it with next command:
yum –enablerepo=updates-testing –enablerepo=rpmfusion-nonfree-updates –enablerepo=rpmfusion-nonfree-updates-testing update kmod-nvidia-PAE
Thanks James, Changed.
[...] Note, if you’re having trouble installing the NVidia driver altogether in Fedora 12, it’s because the Nouveau driver takes control of the graphics card earlier in the boot procedure. To fix this, go to this tutorial: SOLVED Fedora 12 Nvidia Installation [...]
Today, with the next kernel nearing, there is also a need to enable the updates-testing repo.
When this last kernel when hit stable updates, the nvidia drivers will be pushed along to stable. Unless nvidia-smi which is made for tesla, it will not need allow_execstack anymore.
I’ve tried everything listed and still can’t get yum to find kmod-nvidia
Hi All. Fedora12PAE. I got as far as trying to download the appropriate driver from “rpmfusion-nonfree-updates testing” through Yumex but it failed the dependency check saying That “livna-config-display 0.0.22 was required” Has anyone else had this problem
hhmm.. livna-config-display is part of the Livna repository. For Fedora 11 and 12, it is recommended that users only enable the RPMFusion repository. Check which repo’s you have enabled, disable Livna, do a “yum update” and search for kmod-nvidia . If you are able to see it, this is be the one from RPMFusion, and should not have any dependencies on a package in the Livna repository. Let us know how you get on.
Hi I didn’t have the livna repo installed anyway. I have just tried installing the driver again and this time it seemed to work. However when I rebooted it goes through the sequence of the “porthole uncover” but then dumps me at a black screen with a flashing cursor top left. I can type on the screen but I can’t find a way to get a normal display. If I press esc during the porthole display I can see the normal boot messages among which is a reference to “enabling nvidia 173xx driver-already enabled” Any ideas where I can go from here?. I am sending this from an old RH8 Machine!!
Colin
Hi Colin, lets see if we can fix this for you. First of all, do you know how many kernels you have installed? When Fedora boots into grub (before the graphical Fedora startup, you may be able to interrupt the kernel choice. If you have more than one, try all of them. If *may* be the case that you have done a yum update and the kmod-nvidia package has still not been pushed to stable repo’s in RPMFusion. This would mean that the nvidia drivers were not recompiled for a newer kernel. Let me know how you get on with that.
However, if you only have one kernel installed, then hit Alt+F2 to get show the terminal interface. Try su -c ‘modprobe nvidia’, and if an error occurs, paste it here.
Finally, if all else fails, and you continue to get a black screen, then go to Alt+F2 at black screen, and, as root, use vi text editor to edit /etc/X11/xorg.conf . In the device section, change the driver from “nvidia” to “nv”, and you might have better luck on a reboot. ? Let me know.
Hi admin. Alt+F2 gave me a command prompt and doing the modprobe returned “FATAL error inserting nvidia (/lib/modules/2.6.31.5-127.fc12.i686.PAE/extra/nvidia.ko): no such device”
Cheers Colin
Hi Colin. Right, that’s progress.. That is the kernel that came with the Fedora 12 release, so you have not updated the kernel (a good thing). Have you followed *all* other steps in the tutorial ? I had the identical error message, and the reason was because the nouveau driver was taking control of the graphics card earlier in the boot sequence, so make sure you have completed all the steps to prevent the nouveau driver from starting.
Reboot, and try again. If you get a black screen, try again to modprobe. If you get the same error, then tell me your graphics card model. *e.g. 9500GT etc…
Hi admin.
I hadn’t added the extra instruction to boot/conf . I have now and all is working as expected. Very many thanks for your help. I am using a Quadro FX1400 card on the Fed 12 machine. I see that nvidia has a slightly newer driver than 173 but I think I will stick with this for now!!
Cheers Colin
Cheers Colin, glad I could help.
I did all the above put the ” –” before enablerepo
and yum still reports:
sudo yum –enablerepo=rp*g install kmod-nvidia.$(uname -m) xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package kmod-nvidia.x86_64 available.
No package xorg-x11-drv-nvidia-libs.i686 available.
No package xorg-x11-drv-nvidia-libs.x86_64 available.
Nothing to do
and I have to remove the nouveau.modeset=0 command otherwise I cannot boot to the vga.
I really nee help on this please.
Hi,
I’m having trouble getting kmod-nvidia to install.
Ive read the above, and tried all the commands, but I keep getting one of two errors: either the package is not found, or I dont have the right kernel version.
I’ve tried the following:
$ su -c ‘yum install kmod-nvidia –enablerepo=rpmfusion-nonfree-updates-testing’
Password:
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
*stuff*
kmod-nvidia-2.6.31.6-145.fc12.i686-190.42-1.fc12.6.i686 from rpmfusion-nonfree-updates-testing has depsolving problems
–> Missing Dependency: kernel-uname-r = 2.6.31.6-145.fc12.i686 is needed by package kmod-nvidia-2.6.31.6-145.fc12.i686-190.42-1.fc12.6.i686 (rpmfusion-nonfree-updates-testing)
Error: Missing Dependency: kernel-uname-r = 2.6.31.6-145.fc12.i686 is needed by package kmod-nvidia-2.6.31.6-145.fc12.i686-190.42-1.fc12.6.i686 (rpmfusion-nonfree-updates-testing)
The wiki link from rpmfusions website redirects the link from kmod-nvidia to xorg-x11-drv-nvidia, so I tried:
$ su -c ‘yum install xorg-x11-drv-nvidia –enablerepo=rpmfusion-nonfree-updates-testing’
Password:
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
*stuff*
kmod-nvidia-2.6.31.6-145.fc12.i686-190.42-1.fc12.6.i686 from rpmfusion-nonfree-updates-testing has depsolving problems
–> Missing Dependency: kernel-uname-r = 2.6.31.6-145.fc12.i686 is needed by package kmod-nvidia-2.6.31.6-145.fc12.i686-190.42-1.fc12.6.i686 (rpmfusion-nonfree-updates-testing)
Error: Missing Dependency: kernel-uname-r = 2.6.31.6-145.fc12.i686 is needed by package kmod-nvidia-2.6.31.6-145.fc12.i686-190.42-1.fc12.6.i686 (rpmfusion-nonfree-updates-testing)
I also tried
$ su -c ‘yum install xorg-x11-drv-nvidia’
and
$ su -c ‘yum install xkmod-nvidia’
but no packages were found that way.
I’m kind of new to fedora, so I don’t really know what I’m doing and it seems to me that the testing repository was updated to fedora 13 but I dont know where to find the package now.
thanks
oh I forgot:
$ uname -r
2.6.31.5-127.fc12.i686
Roger, You’re right, if the nvidia driver was not successfully installed, the X server will not boot – nouveau has been disabled, and the nvidia driver is not successfully installed. I don’t understand why the kmod-nvidia driver was not detected. Did you do a “yum update” first of all to refresh the repository package information? also, just do try the kmod-nvidia package rather than kmod-nvidia.$(uname -m).
Finally, if “yum update” fails to find kmod-nvidia, you could go manually into /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo and change the line to: “enable=1″, and yum update again. This, though, should do exactly the same as –enablerepo=rp*g and is not recommended.
Hi MissS,
The kernel it is trying to find is still in the Fedora testing repository. If you want to go ahead and enabled this for the nvidia graphics driver to work…. run this instead (as root)..
#> yum –enablerepo=updates-testing –enablerepo=rp*g install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
Let me know how you get on.
thanks.
Hi,
The command:
yum –enablerepo=updates-testing –enablerepo=rp*g install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
is using – rather than –, it’s probably something about the way your blog software handles it.
Cheers for the advice though
hi Tom. Fixed – thanks.
admin,
wouldn’t it be better to install a version of kmod-nvidia that is made for my current kernel version? or does that not exist?
sorry, I’m just a bit confused…
Hi , well I tried the above and did not skip any steps, but still, this is what I’m getting
[root@phizor etc]# yum –enablerepo=updates-testing –enablerepo=rp*g 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
[root@phizor etc]# uname -r
2.6.31.5-127.fc12.i686.PAE
[root@phizor etc]#
running Fedora12
MissC – Have you tried just pulling: kmod-nvidia ? It’s better to do it this way because it tracks your kernel version, and installs, then updates the nvidia package as you update your kernel in future. So try just kmod-nvidia and if that fails, post the error here… thanks.
Hi PhizoR – Very strange that yum isn’t picking up the kmod-nvidia package. Do the following two things and let me know how you get on:
1. head /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
2. yum
--enablerepo=rp*g update && yum--enablerepo=updates-testing--enablerepo=rp*g install kmod-nvidia xorg-x11-drv-nvidia-libs.i686cheers.
saying:
$ su -c ‘yum –enablerepo=updates-testing –enablerepo=rp*g install kmod-nvidia’
updated my kernel to -145 (from-127) and installed the package.
so this is probably a dumb question, but what does it actually mean when your kernel is updated? does it make your system less stable?
nevermind, i broke it.
the new kernel freezes on boot and choosing the old kernel from the list loads me a lot of horizontal lines. I just installed the OS 2 days ago so its easiest to do a reinstall than a fix, but ideas on how I could get kmod-nvidia installed once I do?
thanks for all your help so far
hi missC. Sounds like you’re having pretty bad luck ? FIrst of all, if you insist on using the nvidia driver (only if you want transparency and 3D effects), then try again, otherwise, give the nouveau driver a try.
OK, if you’re wanting to try again. First – the kernel updates to the stable Fedora repository should in fact make your system more stable, not less. The kernel update you installed was from the Fedora testing repository, but it’s generally unlikely that small kernel updates make a system hard freeze (you were updating from 2.6.31* to 2.6.31* – which are not significant updates). My advise would be this time to first of all update your kernel to the one in the Fedora testing repository:
yum
--enablerepo=updates-testing update kernelOnce that is done. Reboot, and see if your system is stable. If so, download and install the RPMFusion rpm’s as step 2, then run:
yum
--enablerepo=rp*g install kmod-nvidia xorg-x11-drv-nvidia-libs.i686Reboot and see if it is stable. If the newer kernel was stable, but the nvidia driver was not, then the problem is the nvidia driver. In which case use nouveau for now. If the newer kernel was the issue, then you have other problems.
Maybe however, the above has fixed it for you.
Let me know.
Finally, nvidia installation instructions that worked.
Too bad my fonts and graphics now look terrible and stretched.
Sigh. Time to reinstall. Once again, Linux eats up all my spare time.
*changed* to reflect the fact that kmod-nvidia and kernel 2.6.31.6 are now both in stable repositories. Admin.
Hello Mr. Admin,
Thank you very much for your tutorial.
It was very helpful. My nvidia is fully functional now.
Thanks to eveyone who works hard to make this work.
one little thing: Why does FedoraProject release a semi-working feature with their new OS if they know it will cause problems to 90% of their community. hmmm just a thought.
peace
Thanks for the grub.conf tip!
FYI, if you have the Linux NVidia driver script from NVidia, you can add the grub.conf bit, boot in runlevel 3 (I couldn’t alt+f2 and telinit…think messing with the video made terminal switching barf on my notebook), and build the module.
Hi Rob, this is what happened
[root@phizor Documents]# head /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
head: cannot open `/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo’ for reading: No such file or directory
[root@phizor Documents]# yum –enablerepo=rp*g update && yum –enablerepo=updates-testing –enablerepo=rp*g install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
Loaded plugins: presto, refresh-packagekit
Setting up Update Process
No Packages marked for Update
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
[root@phizor Documents]#
Lol, my NVidia drivers just does not want to work
Also thinking of re-installing again.
You should incorporate these instructions, or link to them directly. I could not get the repositories to work without the instructions at rpmfusion.org
http://rpmfusion.org/Configuration
Hi PhizoR..
That’s your problem. Did you do step 2 of the tutorial? The RPM Fusion .repo files have not been installed. Try runnning them again, or go to: for more help. Once that’s done, try the rest of the steps again, and you should be sorted.
Rob
Hi, thanks very much for this tutorial. I tried it a couple of times but hosed my system twice. I guess I might be doing something wrong. With a fresh install of Fedora 12 I follow the instructions as listed and I find when I reboot there’s a quick flash of an error message saying the kernel option nouveau.modeset=0 is not understood. After that I get a different Plymouth boot screen to the one on the LiveCD and I end up at a blank display. I must be doing something wrong in the grub.conf but I’m not sure what.
I added the text to the end of the first “kernel=” line with nano and saved it. There’s no extra characters or spaces. I even made a backup before doing this last time, switched back to the original gtub.conf file when it went wrong. Rebooted and still got a blank screen. I can do CTRL+ALT+F2 to login in at the terminal but I found after removing the added packages and trying to put the system back how it was originally I made things worse. I then got garbled text and weird coloured lines all over my screen on the next boot, couldn’t even switch runlevel to login after. I’ve done this twice now and ended up reinstalling both times. I’m not sure where I’m going wrong. All the packages install as they should, I add the line to grub.conf and it seems to break on me after that.
My system is a Dell XPS M1330 laptop with an Nvidia GeForce 8400m card.
Does anyone have any ideas? Thanks in advance and sorry for the long post. I have a feeling it’s just something simple I’m doing wrong.
Dan
Hi Dan – Ouch! it’s a shame this would be your 3rd attempt to install (Linux should be easier than that, I promise!).
OK, instead of nouveau.modeset=0
try
rdblacklist=nouveau
Reboot, and see if you get to your X server (login screen). If not, then post your grub.conf file here, and I’ll try my best to see if there’s anything wrong. Here’s what mine looks like:
———————–
title Fedora (2.6.31.6-162.fc12.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.31.6-162.fc12.x86_64 ro root=/dev/mapper/vg_robdesktop-LogVol00 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk rhgb quiet nouveau.modeset=0 vga=0×318
initrd /initramfs-2.6.31.6-162.fc12.x86_64.img
———————–
So the rdblacklist=nouveau should go after the “rhgb quiet” . Let me know how you get on.
Rob.
Thanks for the reply Rob, luckily I’ve used Linux for many years so I won’t be scared away by these problems. I was just wondered why installing the Nvidia driver is hard on F12, I know that it’s non-free software and they have idealogical reasons for resisting it but this seems ridiculously hard compared to other distros. I found Fedora 11 much easier to set up. I’ll try this other option and hope it doesn’t end up with another reinstall, fingers crossed. I’ll let you know.
Thanks again!
Hi Dan, I get the impression that there’s been a few grumblings about Nvidia support in Fedora 12. You’re right F11 was easier, they just didn’t seem to:
A) Synchronize kmod-nvidia to stable repo’s in RPMFusion with the Fedora repo’s
B) Test any regressions that making nouveau the default would have on the folks who wanted the nvidia proprietary blob.
Nevertheless, I do LOVE using Fedora. Having bleeding edge software before any other distro (in my experience) makes up for the fact these things can happen. I would never offer it to parents or wannabe Windows expats.
And yeah.. if you bump into trouble again, send me your grub.conf, and I’ll have a quick look. Also… if you get the chance (Alt+F2 at the black screen), run “lsmod | grep nouveau” and “lsmod | grep nvidia”. The first should not return anything, and the second should return usually two lines of text. Cheers.
Just a quick update, using rdblacklist=nouveau instead of the original option works for me and I now have the Nvidia driver running. I saw the splash screen on boot and confirmed it with the nvidia-settings tool. For some reason Compiz still fails to start when I switch it on with the wizard, but I’m getting somewhere. Thanks for the help Rob
@Dan – Excellent. I have updated the tutorial accordingly.
Compiz is used a heck of a lot, so whatever your problem, it will be mirrored by many other people, so there will be a tutorial out there for you. Obviously just start compiz from a terminal windows, find the juicy bits of the error message, and Google is your friend! Good luck!
[...] number 3 then, third time lucky. I was reluctant to break the system again so left a comment on the blog where I’d seen the guide. The author Rob was fantastic and couldn’t have been more helpful. He told me to try using [...]
Excellent instruction set. Everything works fine for me. Only problem I think is the kernel installation. Wouldn’t it be good to install the kmod for the existing kernel(Mine was PAE before installation). Thank you very much.
That fixed problem for me; thanks. I had tried to re-compile driver from console mode, but this time it failed too. Your instructions helped.
Nevertheless, I do LOVE using Fedora. Having bleeding edge software before any other distro (in my experience) makes up for the fact these things can happen. I would never offer it to parents or wannabe Windows expats.
Works well. However, don’t you have to use -PAE on step 5: (5. For 32bit Users: “yum install kmod-nvidia-PAE xorg-x11-drv-nvidia-libs.i686″) if you’re using the PAE kernel? That worked for me.
Everything else went well.
I’m not trying to run the proprietary driver, but it still hung up on me. Just doing step 1 as modified by the NOTE below step 7 (using nouveau.modeset=0 instead of rdblacklist=nouveau) was sufficient for me. Thanks.
[...] [...]
How to move from shell prompt to graphical desktop in FC12 (which commond is used?)
hi, i`m using fedora 12 and win 7
i have this error:
[drm] nouveau 0000:02:00.0: GPU lockup – switching to software fbcon
please help me .. i think i have problems with the first step.
my grub.conf:
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddemenu
title Fedora (2.6.31.9-174.fc12.x86_64)
root (hd0,2)
kernel /vmlinuz-2.6.31.9.174.fc12×86_64 ro root=UUID=071a85c0-644a-4abf-ac6d-0f4bac38df3b LANG=es_US.UTF-8 SYSFONT=latarcryrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=es rhgb quiet
initrd/initramfs-2.6.31.9-174.fc12.x86_64.img
rdblacklist=nouveau vga=0×318
title Win7
rootnoverify (hd0,0)
chainloader +1
Thank you for the tips, my nvidia 9600GT (m) is finally working!
But after I got my video card to work I had another problem.
Once I’m a KDE user, I’ve experienced some freezing. To solve the problem I had to update my Xorg with the packages that Koji released:
http://fedoraproject.org/wiki/Common_F12_bugs#NVIDIA-xorg-broken
Afer upgrading my Xorg with Koji releases everything is perfect.
Well, at least with my video card, I’m having issues with pulseaudio and my 3G modem, but I think this is not the right place for that.
Thanks again!
Thanks, this worked for me with Nvidia 8600 GTS card
@ Nitiket – I you have not yet launched the X server, just run:
startx
5. For 32bit Users: “yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686″
For novadyas users have more than 4 GB memory , so need PAE solutions:
[...] Ich habe daher versucht, dies mit rdblacklist=nouveau vga=0×318 zu beheben (wie hier beschrieben: http://linuxsoftwareblog.com/blog/?p=232 , was allerdings darin resultierte, das nun gar nichts mehr am Display ankam… Nach dem [...]
I got suck here and the system is not doing anything. I try to close the terminal but it is saying that there is a process still running. not to sure what to do.
Finishing rebuild of rpms, from deltarpms
| 345 MB 13:16
Presto reduced the update size by 82% (from 345 M to 66 M).
Package(s) data still to download: 26 M
Hi Mike, I suppose you could have opened another terminal window, and found the process ID (running “top” and finding “yum” in the list). You could have then killed it with:
kill -9 [theProcessID]
?
Hi All, I have an nvidia Quadro NVS 290. The output of uname -a is:
Linux astro1.dcu.ie 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
I’ve followed all the steps above and successfully installed the kmod-nvidia software etc. I’ve added both possibilities to the kernel line in my grub.conf and eventually had to run dracut to force nouveau not to be loaded during boot. Unfortunately that resulted in vesa (another driver?) taking over rather than the nvidia one.
When I go ctrl-alt-F2 and create an xorg.conf file in /etc/X11/, do startx and then look at /var/log/Xorg.0.log the relevant lines are:
———————–
(II) LoadModule: “nvidia”
(II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor=”NVIDIA Corporation”
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA: system’s kernel log for additional error messages.
(II) UnloadModule: “nvidia”
(II) Unloading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
(EE) Failed to load module “nvidia” (module-specific error, 0)
(EE) No drivers available.
————————-
The module file does actually exist, but I guess it might be incompatible with my current kernel version? The versions of the various bits of software recommended above for installation are as follows:
kmod-nvidia-190.53-1.fc12.x86_64
xorg-x11-drv-nvidia-libs-190.53-1.fc12.i686
xorg-x11-drv-nvidia-libs-190.53-1.fc12.x86_64
Any suggestions as to how I might proceed?
Sorry all – you can ditch that last question. I had rebooted into a new kernel without first checking that the kmod-nvidia package was built against that version of the kernel. Rebooted to the older kernel and it all works fine. Thanks a lot for the tutorial!
This is plain crazy. Why is the nouvaou driver so HARD to disable or to allow other drivers to install. This driver is Open Source, but it behaves like some proprietary driver. I installed the nvidia driver in F11, but in F12 it just does not work. To do all of these fireworks to have an nVidia driver is plain insane. The nouvaou devellopers should rethink their installation and removal procedures.
Ok, you don’t need all of these fire works. This is what I did after installing F12 from the dvd and doing a complete update with yum -y update.
1.- Add ” rdblacklist=nouveau vga=0×318″ to the boot kernel in /etc/grub.conf and also added “timeout=15″ instead of “timeout=0″
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_ns1-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.12-174.2.3.fc12.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.3.fc12.i686.PAE ro root=/dev/mapper/vg_ns1-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rdblacklist=nouveau vga=0×318″ rhgb quiet
initrd /initramfs-2.6.31.12-174.2.3.fc12.i686.PAE.img
title Fedora (2.6.31.5-127.fc12.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=/dev/mapper/vg_ns1-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
2.- Added to /etc/moduled.d/blacklist.conf “blacklist nouveau”
#
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that’d be so that some other driver will bind it instead,
# no matter which driver happens to get probed first. Sometimes user
# mode tools can also control driver binding.
#
# Syntax: driver name alone (without any spaces) on a line. Other
# lines are ignored.
#
# watchdog drivers
blacklist i8xx_tco
# framebuffer drivers
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist i810fb
blacklist cirrusfb
blacklist intelfb
blacklist kyrofb
blacklist i2c-matroxfb
blacklist hgafb
blacklist nvidiafb
blacklist rivafb
blacklist savagefb
blacklist sstfb
blacklist neofb
blacklist tridentfb
blacklist tdfxfb
blacklist virgefb
blacklist vga16fb
#
#
blacklist nouveau
# ISDN – see bugs 154799, 159068
blacklist hisax
blacklist hisax_fcpcipnp
# sound drivers
blacklist snd-pcsp
3.- I did a reboot and after getting a black screen I pressed ATL-F2 to get a login prompt
4.- After login as root in step #3, I install the nVidia driver
sh ./NVIDIA-Linux-x86-190.53-pkg1.run
when asked to run the nvidia x11 config. I answered yes.
** make sure you /etc/X11/xorg.conf has the proper timing for hsync and vsync.
NOTE I did NOT installed ANYTHING from rpmfusion
This is the output of lsmod:
Sun Jan 24 01:47:27 PST 2010
[root@ns1 modprobe.d]# lsmod
Module Size Used by
fuse 52740 2
xt_DSCP 2776 10
ipt_MASQUERADE 2788 1
iptable_mangle 3400 1
iptable_nat 6068 1
nf_nat 18168 2 ipt_MASQUERADE,iptable_nat
xt_limit 2124 21
ipt_LOG 5192 0
ipt_ULOG 8980 12
sunrpc 158432 1
p4_clockmod 4364 0
ipv6 239484 38
dm_multipath 14472 0
uinput 6852 0
snd_intel8×0 28148 3
snd_ac97_codec 92136 1 snd_intel8×0
ac97_bus 1424 1 snd_ac97_codec
snd_seq 46960 0
snd_seq_device 6232 1 snd_seq
snd_pcm 64932 2 snd_intel8×0,snd_ac97_codec
osst 44204 0
st 31276 0
iTCO_wdt 10444 0
snd_timer 17992 2 snd_seq,snd_pcm
nvidia 8873036 38 <<<<<<<<<<<<<<<< YES!!!!!!!!
snd 50908 12 snd_intel8×0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 5672 1 snd
iTCO_vendor_support 2812 1 iTCO_wdt
snd_page_alloc 7892 2 snd_intel8×0,snd_pcm
i2c_i801 10284 0
i2c_core 23392 2 nvidia,i2c_i801
e1000 103708 0
megaraid_mbox 26344 7
megaraid_mm 8084 1 megaraid_mbox
sata_sil 8360 0
aic7xxx 100652 0
scsi_transport_spi 19500 1 aic7xxx
When I try :
su -c ‘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’
it says su: invalid option –U
I tried removing U, and it said it for v, and then again for h….
now what
You’re right, Instead of the single quote ( ‘ ) , try the double quote ( ” ) round the rpm command. I have updated the blog accordingly. Thanks!
Andrew, make sure you’re not root when running that command.
worked very nice for me. Fedora 12 with Geforce 9 series.
Hi folks,
I hope I haven’t found a dead thread but I’ve got some issues as above and can’t resolve them. I initially installed the proprietry driver from nvidia on my asus ul50v with a geforce g210m. I installed fedora 12 (64 bit) which was strangely slow (an aside). Anyway after insatlling the nvidia driver I got the blank screen. I since changed the xorg.conf file to nv and followed the instructions at the top of this page. I cannot finf the solution to the blank screen problem or how to get back to normal (prior to nvidia trouble).
Any help much appreciated. My alternative is to re-install FC11
Hi JT:
OK, the first thing to check is that you are booting into the correct kernel. So when the Grub Loader appears (with the 3 second count down), interrupt it and check that every kernel version boots into a black screen.
If so, than the next thing to try is to reboot, and when the black screen appears, hit Ctrl+Alt+F2. You will get a terminal session appear on your screen. Type:
startx
It will most likely fail, but may give you a useful error message with regards to the nvidia driver. If so, do you want to paste them here?
Hi Rob,
There is only one kernel option from grubs, 2.6.31.12-174.2.3.fc12.x86_64. Startx gives…. some stuff then:
(==) Using config file: ‘/etc/X11/xorg.conf”
(EE) No devices detected
Fatal server error:
no screens found
[stuff]
…I figure more info is better. Thanks heaps for helping
Hi JT,
Switch on your PC and wait for the black screen. Hit Ctrl+Alt+F2 , to reach the terminal screen. Can you run the following two commands, and post me the output of each:
lsmod | grep nouveau
lsmod | grep nvidia
thanks,
Rob
lsmod | grep nouveau – nothing
lsmod | grep nvidia
nvidia 9624568 0
i2c_core 28928 5 nvidia,videodev,i915,drm,i2c_algo_bit
Hi JT,
that would therefore suggest that you have successfully extinguished the nouveau driver from being loaded, and that the nvidia driver is installed and loaded.
When at the terminal display, as root try: nvidia-xconfig
then reboot, and see what that does…
Unfortunately (and you may already have realised this)… but there are clearly a few issues with the G210M onboard devices, despite being officially stated as supported in their most recent stable driver. See here for one persons success story:
http://www.nvnews.net/vbulletin/showthread.php?t=140482
My advise? Tough call – You could try out the beta 195.30 beta driver. If that fails, then, having read a few websites about your chipset+nvidia driver, then I suggest just to keep a close eye on the upcoming beta driver releases from NVidia here
In the meantime, you should do this to disable the nvidia driver (as root):
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
Good luck.
Thanks heaps Rob will have a play
J
I am having trouble with nVidia graphics and F12, but I’m on a PPC computer, so I use “nv” instead of the proprietary drivers, and yaboot instead of grub.
If anyone knows how to fix this issue in with these circumstances I would be very grateful.
Am just speechles….ur guide saved me after 6 hours of being lost…thanks alot =)
Hi there, I just want to know how I can edit the grub.conf file? I tried googling some tutorials but came out dry
hi there…
You could just open a terminal window and type:
> su
[put in your password]
#> gedit /etc/grub.conf
Thanks alot Rob , I was having trouble, the only thing I had to change is to location of rdblacklist=0 and vga=0×318.
I should of known but im always too hasty when it comes to thinks like this.
Thank you! Your instructions worked perfectly and just saved me hours of messing around.
Kernel 2.6.31.12-174.2.19.fc12×86_64
NVIDIA GEFORCE 9300 / ASUS P5N7A-VM
Hi,
I hope this thread is not dead by now.
I have been through this tutorial several times, and I am still having problems.
I have a legacy card FX5200, and have substituted for the appropriate drivers 173xx but I am unable to get the card working.
uname -r gives:
2.6.31.12-174.2.19.fc12.i86.PAE
Using both nouveau.modeset=0 or rgblacklist=nouveau has no effect and the output of lsmod | grep nouveau gives:
nouveau 539964 1
ttm 34500 1 nouveau
drms_kms_helper 22788 1 nouveau
drm 136908 3 nouveau,ttm,drms_kms_helper
i2c_algo_bit 4868 1 nouveau
i2c_core 23392 5 nouveau,drm,i2c_algo_bit,i2c_i801,videodev
lsmod | grep nvidia returns nothing.
from /var/log/Xorg.0.log the relevant lines are:
(EE) Failed to load module “glx” (module does not exist, 0)
(EE) Failed to load module “nvidia” (module does not exist, 0)
(EE) No drivers available
Fatal server error:
no screens found
in xorg.conf a screen is defined:
Section “screen”
Identifier “Screen0″
Device “Videocard0″
Monitor “Monitor0″
DefaultDepth 24
SubSection “Display”
Viewport 0 0
Depth 24
Modes “1280×1024″ “1280×960″ “1152×864″ “1024×768″ “800×600″ “640×480″
EndSubSection
EndSection
I have no directory /etc/moduled.d and hence no blacklist.conf file.
I also have no devices for nvidia(x) in the /etc/dev/ directory
Any help that doesn’t involve a re-installation would be much appreciated, since I only came across this issue on a fully installed system after installing all the games and trying to run one that required 3D. It took 24hrs to download all the packages over mobile broadband and I really don’t want to have to do it all over again.
Thanks a million in advance,
Paul.
Hi Paul,
No, this is still a live thread for people who want to use it! OK, I have two initial observations:
1. I assume you have the nvidia PAE driver, rather than the one I have suggested in the tutorial? (see the comment made by: “kdak”).
2. The fact that lsmod | grep nouveau returns anything at all is the reason for all of the other issues.
2. A) Can you please go reboot your PC/laptop, interrupt the grub loader, and boot into every kernel you have install on your laptop (select each from the list, and hit “Enter”). I just want to see if the nvidia driver has been compiled for one of the other kernels (/modules/).
2 B) If that doesn’t bring any useful results, can you please post the contents of your /boot/grub/menu.lst file? thanks.
Rob
Hi,
I followed all the steps as mentioned. However I had issues while loading, it was going to blank screen. I managed to edit grub.conf file and increased the timeout to 15 seconds.
I was able to select kernel and I could get into GUI.
Now my problem is I cannot find anything for lsmod | grep nouveau and lsmod | grep nvidia
Besides how I can one particular kernel to be default while loading so that I need not have to select that particular kernel.
Appreciate your help.
Thanks
Below is the contents of xorg.conf for your reference.
*****************************************************************
# Xorg configuration created by livna-config-display
Section “Files”
ModulePath “/usr/lib/xorg/modules”
EndSection
Section “ServerFlags”
Option “AIGLX” “on”
EndSection
Section “Device”
Identifier “Videocard0″
Driver “vesa”
EndSection
Section “Extensions”
Option “Composite” “Enable”
EndSection
*************************************************************
Below is the contents of /boot/grub/menu.lst for your reference.
**************************************************************
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
#title Fedora (2.6.32.8-58.fc12.i686)
# root (hd0,0)
# kernel /vmlinuz-2.6.32.8-58.fc12.i686 ro root=/dev/mapper/VolGroup-#lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc #KEYTABLE=us rhgb quiet
# initrd /initramfs-2.6.32.8-58.fc12.i686.img
#title Fedora (2.6.31.12-174.2.22.fc12.i686)
# root (hd0,0)
# kernel /vmlinuz-2.6.31.12-174.2.22.fc12.i686 ro root=/dev/mapper/#VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 #KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
# initrd /initramfs-2.6.31.12-174.2.22.fc12.i686.img
title Fedora (2.6.31.12-174.2.19.fc12.i686)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.19.fc12.i686 ro root=/dev/mapper/VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.12-174.2.19.fc12.i686.img
title Fedora (2.6.31.12-174.2.3.fc12.i686)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.3.fc12.i686 ro root=/dev/mapper/VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rdblacklist=nouveau vga=0×318 rhgb quiet
initrd /initramfs-2.6.31.12-174.2.3.fc12.i686.img
*************************************************************
Hi Ponic, there are a few problems with your setup….
1) You aren’t using the NVidia driver in your Xorg.conf file. Start up your PC and when the GUI is loaded, open a terminal window, change to root (su), and run: nvidia-xconfig
2) You don’t have an entry in the kernel options…. Please amend your /boot/grub/menu.lst file so this line is altered to look as follows:
kernel /vmlinuz-2.6.31.12-174.2.19.fc12.i686 ro root=/dev/mapper/VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet rdblacklist=nouveau vga=0×318
3) To select the default kernel, there is a utility in “System” -> “Admin” -> “Boot Loader”. Select your preferred kernel there.
Good luck, and let me know how it goes…
Here is my xorg.conf file after running nvidia-xconfig
*********************************************************
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (mockbuild@) Sun Nov 22 21:05:17 EST 2009
# Xorg configuration created by livna-config-display
Section “ServerLayout”
Identifier “Default Layout”
Screen “Default Screen” 0 0
InputDevice “Keyboard0″ “CoreKeyboard”
InputDevice “Mouse0″ “CorePointer”
EndSection
Section “Files”
ModulePath “/usr/lib/xorg/modules”
EndSection
Section “ServerFlags”
Option “AIGLX” “on”
EndSection
Section “InputDevice”
# generated from data in “/etc/sysconfig/keyboard”
Identifier “Keyboard0″
Driver “keyboard”
Option “XkbLayout” “us”
Option “XkbModel” “pc105″
EndSection
Section “InputDevice”
# generated from default
Identifier “Mouse0″
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/input/mice”
Option “Emulate3Buttons” “no”
Option “ZAxisMapping” “4 5″
EndSection
Section “Device”
Identifier “Videocard0″
Driver “nvidia”
EndSection
Section “Screen”
Identifier “Default Screen”
Device “Videocard0″
SubSection “Display”
Modes “nvidia-auto-select”
EndSubSection
EndSection
Section “Extensions”
Option “Composite” “Enable”
EndSection
**************************************************************
MY modified /boot/grub/menu.lst file
*************************************************************
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
#title Fedora (2.6.32.8-58.fc12.i686)
# root (hd0,0)
# kernel /vmlinuz-2.6.32.8-58.fc12.i686 ro root=/dev/mapper/VolGroup-#lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc #KEYTABLE=us rhgb quiet
# initrd /initramfs-2.6.32.8-58.fc12.i686.img
#title Fedora (2.6.31.12-174.2.22.fc12.i686)
# root (hd0,0)
# kernel /vmlinuz-2.6.31.12-174.2.22.fc12.i686 ro root=/dev/mapper/#VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 #KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
# initrd /initramfs-2.6.31.12-174.2.22.fc12.i686.img
title Fedora (2.6.31.12-174.2.19.fc12.i686)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.19.fc12.i686 ro root=/dev/mapper/VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet rdblacklist=nouveau vga=0×318
initrd /initramfs-2.6.31.12-174.2.19.fc12.i686.img
title Fedora (2.6.31.12-174.2.3.fc12.i686)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.3.fc12.i686 ro root=/dev/mapper/VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rdblacklist=nouveau vga=0×318 rhgb quiet
initrd /initramfs-2.6.31.12-174.2.3.fc12.i686.img
After re-starting it goes to blank screen.
Do I need to do any other modifications?
I think that’s progress, at least. Now when it gets the black screen, hit Alt+Ctrl+2 . You will be presented with a terminal interface. Run both of these commands, and tell me what they say:
lsmod | grep nouveau
lsmod | grep nvidia
lsmod | grep nouveau
lsmod | grep nvidia
Both the above commands returned nothing.
Have you tried every kernel in the grub menu, with these changes?
Yes, I tried with other kernel as well, same results.
Two kernels, I have commented out in grub.conf.
Hi, OK… Two things:
1. It’s not really a good idea to provide yourself with only one kernel – If one kernel is broken (nvidia, wifi etc…) then you have the other two. It’s not important, but I would definitely leave all 3 in the menu.lst file (and the nvidia module may have been built for one of the commented out kernels…).
2. OK, once, you’re in the “black” screen.. Do: Alt+Ctrl+2 . and then do “su”, and as root do: “modprobe nvidia”. I suspect you’ll get big error message. What does it state?
Yes I agree, there must be at least 3 kernels. I am new to this.
modprobe nvidia
FATL: Module nvidia not found
OK, in my head, here’s the step-by-step diagnosis from here…
1. Once more, check that all kernels boot with the same “black screen” behaviour
2. If so, boot into the black screen, do Alt+Ctrl+2, root (“su”) then “yum remove kmod-nvidia xorg-x11-drv-nvidia-libs” and then: “yum install kmod-nvidia xorg-x11-drv-nvidia-libs”
3. Try step 1 again, and ensuring that “lsmod | grep nouveau” returns nothing each time
4. Let’s hope you’re not here. If you are, tell me – what Nvidia graphics card are you using (the model number) ?
I will uncomment all the other kernels which commented out and try to remove it.
I am using NVIDIA GeForce 9300M GS.
Btw I have installed F12 on Virtual Box, host is win XP SP3
Hi Ponic – Answer me this….. Are you trying all of this for the Fedora installation within the VirtualBox host. If so, the answer to your problem is very straight forward. VirtualBox does not support using the NVidia driver within a VirtualBox guest. That means that VirtualBox, unlike your network card, and your sound card, does not pass through your graphics driver through to the guest installation. You have to use VirtualBox Addons if you want a graphics driver for your VritualBox guest.
Is it the case that this is what you were trying to do?
Yes, I am trying these inside virtual box guest.
I have installed addons and I came to this blog from google.
My initial problem is here
http://forums.fedoraforum.org/showthread.php?p=1332077
Rob,
How can I put back vesa driver and load GUI?
Hi Ponic. OK, that’s your issue. What you are trying to do is not possible. The only way to use NVidia’s driver is if your Fedora install was natively installed on your hard drive (i.e. not within VirtualBox). Nevertheless, have fun with Fedora. At this point, I suggest you remove the packages: kmod-nvidia xorg-x11-drv-nvidia-libs
Rob
Thanks for the reply.
I removed nvidia packages by using yum remove kmod-nvidia xorg-x11-drv-nvidia-libs.
After re-start, my xorg.conf still pointing to nvidia driver.
Is it possible to put back vesa driver? Tried vesa-xconfig, no use
Simply by removing the xorg.conf file will do this for you. As root, run: “rm /etc/X11/xorg.conf”
Rob,
I removed xorg.conf, however GUI is not loading still.
Ok, I could load GUI with other kernel.
Rob,
Thanks a lot for the help.
I have another question.
I know this is not relevant here, however I didn’t get a good answer to my problem.
I installed F12 on virtual box successfully.
After few successful logins and playing around it, I get a blank screen. I don’t know why this is happening. Two times I installed F12. I am planning to do another installation. Is there anything I could do to avoid this problem.
I posted a thread on fedora forums, but no good answers.
http://forums.fedoraforum.org/showthread.php?p=1332077
could you provide some insight?
hey..its not working for me
….i have fedora 12…….its giving error
No package kmod-nvidia.i686 available.
No package xorg-x11-drv-nvidia-libs.i686 available.
Nothing to do
my nvidia is geforce 84900m
I want to share this information with my members in forum from Korea
because some people using Fedora are having trouble installing NVIDIA graphic drivers.
So can I take this article and translate it into Korean?
I’ll remind where I got this information.
@TheBasket – Yeah sure, thanks for translating !
@Ankur – This is probably because step 2 has not been completed correctly? After step 2, there should be a file: /etc/yum.repos.d/rpmfusion-nonfree.repo on your system. If there is not, run step 2 again. If there is, open a terminal and run as root (“su”) – “yum clean all” then “yum update” then “yum install kmod-nvidia xorg-x11-drv-nvidia-libs”.
Let me know how you get on…
hello, i seem to also be getting the black screen after installing my nvidia drivers.
I followed all the steps except the one where it asks me to edit the grub.conf file. I login as root and attempt to use gedit but it wont allow me to edit the file, it either loads a false file, or tells me i dont have the permission to edit it. Am i using the correct editor? Im totally at a loss here, can someone throw me a bone? lol
hi Mike, before trying to run, you need to be root (only the root user has write access to the grub file). So instead do:
> su
[enter password and press enter]
#> gedit /boot/grub/grub.conf
That help?
Yes, i am now able to edit the file, i was logged in as root before, but apparently i was editing the wrong grub.conf??? anywho, thanx a million.
im sorry, but just to make sure i did this right, could you show me how the file should look after being edited.. im still a noob..lol
Mike, mine looks like this
———————
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.12-174.2.22.fc12.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.22.fc12.x86_64 ro root=/dev/mapper/vg_robdesktop-LogVol00 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk rhgb quiet nouveau.modeset=0 vga=0×318
initrd /initramfs-2.6.31.12-174.2.22.fc12.x86_64.img
title Fedora (2.6.31.12-174.2.19.fc12.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.19.fc12.x86_64 ro root=/dev/mapper/vg_robdesktop-LogVol00 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk rhgb quiet nouveau.modeset=0 vga=0×318
initrd /initramfs-2.6.31.12-174.2.19.fc12.x86_64.img
title Fedora (2.6.31.12-174.2.3.fc12.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.31.12-174.2.3.fc12.x86_64 ro root=/dev/mapper/vg_robdesktop-LogVol00 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk rhgb quiet nouveau.modeset=0 vga=0×318
initrd /initramfs-2.6.31.12-174.2.3.fc12.x86_64.img
title Other
rootnoverify (hd1,1)
chainloader +1
———————————–
[...] source driver for nVidia cards is not good enough to get desktop effects working. So, I headed to http://linuxsoftwareblog.com/blog/?p=232 in order to find out how to install the nVidia native driver. Here I faced my first [...]
Just wanted to say thanks for this, it helped tremendously. For anyone reading this, if the nouveau drive keeps showing up when you do lsmod, make sure you edited the correct kernel line in grub.conf.
I had a “D’OH!!” moment when I figured that out. Didn’t discover it until I looked carefully at the output of startx
Just wanted to say thanks for this. You get all these comments from people who have errors, and the people who this works perfectly for just keep rolling on with their day and don’t stop to comment. So for myself and all the others, thank you.
@Ruscour – Thanks for leaving me the message, good to know that I was able to help!
i removed previous repo using rm command from /etc/repos.d but when i run 2 line it says newer verion is already installed. I rebooted the PC aftr removing the repos. Am I missin something?
I get a black screen on my laptop (Dell E6400) – seems like the screen is switched off !!!
Only “solution” for me is to use the VESA drivers – and that is making KDE 4 and twinview impossible to work with.
Any one here gotten kernel 2.6.32.10-90.fc12.x86_64 working with the latest nvidia driver from the rpmfusion repo ?
[...] http://linuxsoftwareblog.com/blog/?p=232 [...]
thanks this worked great!
[...] http://linuxsoftwareblog.com/?p=232 [...]
Hi,
Thanks for the excellent post. For a while there, I had to ssh into my Fedora box from my laptop because I royally um… broke the video drivers. This fixed it up nicely. Thanks!
[...] what now? I’m a die hard Fedora fan. I write Fedora tutorials such as this, and tell people how great it is. But the maturity of Ubuntu 10.04 really caught my imagination [...]
Hy everyone…. please help me too … I have this problem
I’ve do all the step’s above and I get this error
[root@FORCEDS GAWRRELL]# yum install –enablerepo=updates-testing –enablerepo=rp*g kmod-nvidia.$(uname -m) xorg-x11-drv-nvidia-libs.i686
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package kmod-nvidia.i686 available.
No package xorg-x11-drv-nvidia-libs.i686 available.
Nothing to do
Please help
I’ve noticed some people are still* having problems with this (and I did too). Fedora 12 currently has an rpmfusion version which causes a confliction with step 2. If you are getting errors with the “no package *** available” simply modify step two to just include the nonfree repositories as follows:
su -c ‘rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm‘
This gets rid of the confliction and allows the rpms to be downloaded, and the tutorial should be able to be followed from there with no problems.
*Note*
There might be a better way to do this, but I’m not savvy enough to come up with a command that automatically ignores conflictions.
*Edit on last post*
Its not a Fedora issue, but for some reason my machine already had a fedora-12 build of the free release installed, and the command in step two was trying to install a Fedora-11 build version.
Upgrading from Fedora 10 to Fedora 12 with vmlinuz-2.6.32.11-99.fc12.x86_64 kernel + nVidia Geforce 7800 GTX video adapter + nVidia Tesla C1060 failed miserably. Rebooting proved impossible (kernel hangs) after successful Preupgrade in FC10.
Reason : contrary to FC10, FC 12 implements *nouveau* kernel module by default in /boot/initramfs-2.6.32.11-99.fc12.x86_64.img, which is incompatible with current nVidia 195.36.24 proprietary driver.
Solution : power off machine, temporarily remove nVidia video + GPU hardware, insert basic PCI-slot graphics adapter, reboot, get rid of the *nouveau* module by overwriting /boot/initramfs typing as root “dracut -f /boot/initramfs-$(uname -r).img $(uname -r)”. Next power off, reinstall nVidia hardware and reboot for the last time. Now the proprietary nVidia driver is loaded at boot time as a kernel module and everything works fine.
shall buy you a coffee.
thanks !
Might want to replace the quotations in:
su -c “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”
with single quotes.
Hi Rob,
Ok..I found the grub.conf file in for the live version. Still having trouble getting the nvidia drivers:
[root@localhost etc]# yum –enablerepo=rp*g update && yum –enablerepo=updates-testing –enablerepo=rp*g install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
Loaded plugins: presto, refresh-packagekit
Setting up Update Process
No Packages marked for Update
Loaded plugins: presto, refresh-packagekit
updates-testing/metalink | 9.6 kB 00:00
updates-testing | 4.5 kB 00:00
updates-testing/primary_db | 1.0 MB 00:01
Setting up Install Process
No package kmod-nvidia available.
No package xorg-x11-drv-nvidia-libs.i686 available.
Nothing to do
[root@localhost etc]#
That’s it. The grub.conf thing now shows a nouveau fail…but no nvidia stuff to load in ti’s place.
This is not fun…and I can’t see the main HD on this laptop.
I can see the “install to HardDrive’ shortcut, but Win7 took eveything when installed. Plenty of free space. How do I squeeze down the Win7 partition and write a place for Linux?
Hi AndyR, I have three points.
1. Are you not now using Fedora 13? For that, I have a tutorial here: http://linuxsoftwareblog.com/?p=516
2. In the procedure in step one, I have a feeling that you have overlooked the (very important) procedures 1 and 2. If kmod-nvidia has not been picked up, then you have not enabled the rpmfusion repository
3. If you want to repartition your hard drive, on your live USB the software: gParted. It will allow you to resize your Windows 7 drive, providing you don’t mount it.
Is this now complete as of Sept 2010 – I’ve used it to fix my fedora 12 and have a couple of observations?
@Kevin observe away!
Ha ha thanks Rob…
I tried this with my install and got nowhere fast….then I read this…
The proprietary nvidia driver supports specific hardware in groups. Typically older hardware is supported through various legacy drivers. Currently there is 1 main driver for newest hardware, and 3 legacy drivers. The names of the drivers are not very informative, but according to Nvidia’s website they are provided as:
* Latest Version
* Legacy version (173.xx series)
* Legacy version (96.xx series)
* Legacy version (71.xx series)
From here http://www.mjmwired.net/resources/mjm-fedora-nvidia.html#driver_options
Which pointed me to my solution – my card is an old card and by default Fedora uses the newest driver – which of course wouldn’t work with my old GeForce MX2 which used the nvidia-96xx drivers kernels etc..
So my observations are, make sure you load the correct drivers and make sure you don’t need legacy drivers if your card is old it won’t work out of the box..
Rob a sanity check may be a good idea as I searched the blog for 96xx and didn’t find any references to it.
Thanks
Rob
Here is a guide on the legacy drivers
http://www.nvidia.com/object/IO_32667.html
will the above drivers work on non-igp motherboard(such as mine having abit ip35e motherboard)?
and moreover can u state the ways i can recover from black screen problem following installation of nvidia drivers on fedora 12.
hello
I’m having the following problem
install the repo step 2 and try to install the driver but I get this error
[root@k-pax Descargas]# yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
Loaded plugins: auto-update-debuginfo, downloadonly, fastestmirror, filter-data,
: fs-snapshot, keys, kmdl, list-data, local, protect-packages,
: protectbase, refresh-packagekit, remove-with-leaves
Loading mirror speeds from cached hostfile
* epel: mirror.nsc.liu.se
* rpmforge: ftp-stud.fht-esslingen.de
* sl: http://ftp.scientificlinux.org
* sl-security: http://ftp.scientificlinux.org
* sl6x: http://ftp.scientificlinux.org
* sl6x-security: http://ftp.scientificlinux.org
Skipping filters plugin, no data
0 packages excluded due to repository protections
Setting up Install Process
No package kmod-nvidia available.
No package xorg-x11-drv-nvidia-libs.i686 available.
I wanted to know what should I do to fix it? ..
I did the following steps
http://rpmfusion.org/Configuration
but it is already installed as I can fix this?
thanks