Fedora 18 nVidia Drivers Install / Uninstall Guide - Comment Page: 1
Looking Fedora 22/21 nVidia Drivers Install Guide?
[inttf_post_ad1]
This is guide, howto install nVidia proprietary drivers on Fedora 18 "Spherical Cow" and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500 series cards (and currently also with GeForce 6/7). Later you might need different version of nVidia drivers if you use GeForce 6/7 card.
Fedora 18 nVidia driver installation is not much different from previous Fedora versions. I have tested this guide with a couple computers, so let me know, if you have some problems.
1. Before nVidia drivers installation
1.1 Check is your nVidia card supported
lspci |grep -i VGA
## Example output...
I noticed that you didn’t do the
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
that you did with f17. Doesnt this keep the nouveau driver?
Hi Patrick,
Yes, nouveau driver is not removed, because based on my tests, this is “step” not needed anymore. RPMFusion nvidia drivers disable nouveau driver nicely. If you have some problems and you can’t get rid of nouveau (still loading on boot), then you can do:
I got the same issue but I searched and all the findings advice to do this command but I couldn’t find a way to do it.
How to run this ?
I mean I can’t login into the terminal plus the fedora is not running at all !!
Hi Abdullah,
You can try to boot runlevel 3 and then run those commands.
i run an nvidia8400 with an acer aspire desktop, which utilizes nv-card hd output. if anyone has issues with the desktop refusing to display the actual monitor’s resolution, do ~#: nvidia-xconfig then edit /etc/X11/xorg.conf Display Sub-Section Modes “1360×768” ##insert your values here(example). as usual,
You Rock, dude!
-O.
Hi dfowensby,
And thanks for this info! :)
Hi, I followed this guide but I can’t get a 1360×768 resolution (maybe the dfowensby’s comment is the solution, but I don’t understand it n_nU).
$ lspci | grep -i
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
Any ideas?
Hi Shiro,
Add inside Section “screen”:
Or just:
Heh, thanks! My fedora now looks better :D
Excellent! :D
Thanks for your help and your work ! It was a great help for me !
Marcel
I used this instructions for my ASUS K53SM, nVdia GeForce GT 630M. now the X Server is not loading.. :(. Please help. Is my card usng Optimus Technology, and is it whether i dint do for that particular Technlology?
Hi Sirajul,
Could you post output of following command:
Hi JR,
I followed your guide and nvidia driver works quite perfectly on MacBook Pro 5,5rev, although I don’t have LCD backlight control anymore. Once with nouveau BL control was working out of the box like it does on macosx (continuous dimmer and all). But after akmod-nvidia-1:304 not even a get my link to brightness settings on /sys/class/backlight. There is nothing there! Well my system settings are
# uname -r
3.7.8-202.fc18.x86_64
# lspci | grep -i vga
02:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9400M] (rev b1)
Hi GaboVaz,
Try to add Option “RegistryDwords” “EnableBrightnessControl=1” to /etc/X11/xorg.conf:
I tryed that first time I installed the kmod package, and it didn’t changed much. I don’t if there is another step after changing xorg entries. So I uninstalled it completely cuz I’m trying to use nouveau again, but it keeps randomly freezing).
I was read to try again kmod-nvidia but fedora automatically installed latest kernel version this morning..
3.7.9-201.fc18.x86_64
Guessing I have to wait for compatible kmod-nvidia..or is it safe to install:
kmod-nvidia-3.7.8-202.fc18.x86_64-304.64-6.fc18.2.x86_64.rpm ??
Anyway, guess u noticed I’m really noob at fedora..
Thanks a lot anyway!!
Actually you can use akmod instead kmod and then you shouldn’t have problems when you update kernel and there is not matching kmod yet.
But if you tested this on xorg.conf, then it’s possible that this is not working on MacBook Pro.
Next you can try modify your kernel entry on Grub2 (when you boot) and add acpi_osi=Linux acpi_backlight=vendor on linux line, like following:
Then just boot and test is backlight control working then?
Hello what version of nvidia drivers it install with the lastest ? thx
Hi alazldl,
Latest packages from rpmfusion repos are:
xorg-x11-drv-nvidia-304.64-5.fc18.x86_64.rpm
akmod-nvidia-304.64-6.fc18.x86_64.rpm
kmod-nvidia-3.7.8-202.fc18.x86_64-304.64-6.fc18.2.x86_64.rpm
I followed your guide (as I have for previous Fedora Releases) and all seemed to go well on reboot. However I get the graphical background, but no interface (still new to Linux and Fedora, sorry about the terminology). The mouse works, I get the little ripple if I move it to the top left, but no menus top or bottom or sides. It’s as if I am zoomed in on the middle of the screen and cannot get to the edges. I can get to a text terminal (cntr-alt-Fx) and the text looks perfect (with nouveau, it was scrambled video). Not sure how to fix this. It is on my laptop, HP dv6000 with an Nvidia Geforce/Nforce 7150m/630m. I feel like I am so close since the video seems to be working but I just don’t have the “interface” part of the gui. Thank you in advance. (Oh, and uninstalling works just fine but I am back to nouveau with so-so graphics, slow, and scrambled text video in terminals.
Cash
Hi Cash,
Could you tell little bit more what desktop you are using? Did it work with nouveau drivers, were you able to log in?
Yes, the desktop is GNOME, Fedora 18 fresh install. No customizations except trying to load the nvidia driver (where I start since it is the most tricky for me). The desktop works fine (icons, top and side menus, shortcuts etc) with nouveau but it is lower resolution, brightness, and slower than what I expect from the nvidia drivers. I have a desktop running Fedora 16 with the nvidia drivers and it was a huge performance difference on that machine. This is a laptop (HP DV6000) with AMD/Nvidia 7150m/630m chipset. Like I said the nvidia driver loads, it boots, no errors noticed except I just have a full screen with the background (blue with bubbles I think) which looks great, but I can’t get to anything as there are no dropdown menus, side quicklaunch bar, or anything. I don’t know any keyboard shortcuts to get to a windowed command prompt or anything to try and run something from within the gui to try to change resolution or test anything. I can use cntrl-alt-Fx) to get to a full screen text terminal and everything seems great there (the text looks perfect, where on nouveau it was scrambled). At a loss here as to what is going wrong. Thank you for all that you do and help here for us nubes.
Cash
This sounds some kind of bug, one thing what you could try first, is update your system and try again. First change another virtual console and log in as root, then:
Select newest kernel and see what happens then?
Unfortunately there was no difference. Updated everything and still get the background with no GUI interface. I’m stumped on this. May try going through the hassle of installing the Nvidia proprietary drivers and see if they work. But not really looking forward to that in the long run.
Thanks!
I have been running fc17 and a recent s/w update has disabled my login. See following for details:
http://www.forums.fedoraforum.org/showthread.php?p=1636165&posted=1#post1636165
Unfortunately they are now calling this a BUG with fc17.
My question is; should I just go ahead and install Fedora 18 ?
-Val
Hi JValeck,
I checked that thread and looks like you got this partially resolved, but Fedora 18 is of course nice option.
Just installed fc18 and followed the instructions on this page for installing the nvidia drivers.
All looks great ! :-)
I copied all the terminal commands and system responses to a text file if anyone should require that kind of detail.
jdotvaleckatgmaildotcom
On Fedora 18, I use GTS 450. Il follow your process three days ago, and everything was right. There was this morning a new update of kmod-nvidia-3.7.9-201 for 304.64 driver and I made the upgrade, since the sound disappears. In sound settings I have only fake/dummy ouput (‘sortie factice’ in french language). After several hours of turn aroound, I give up, some help please
Thanks
Marcel
Hi Marcel,
Did you updated any other packages, than kmod-nvidia?
Is it working if you boot with older kernel?
Hello JR,
I come back with good news …
Of course I try with old built kernel. the Current one is 3.7.9
I tried with 3.7.8 no differences it didn’t work
With 3.7.7 it hangs and didn’t start
After this failure I restart with 3.7.9 I have sound and CUDA GTS 450 was Ok! but a systematic conflict appears with udisks2-2.0.1
So I authorize access to Fedora rawhide and I install fedora 19 / udisks2-2.0.91 . I restart twice eveything seems OK! Chopin and the old swedish Abba group are back
But once more thank for your help for Nvidia Install
Thank for your interest and your time … I will make a follow-up!
Marcel
Hello Marcel,
You are welcome! Excellent to hear that you got it working and thanks for sharing this info, what happened.
Much appreciated JR, as always. Is there a possibility to reactivate the graphical boot-loader?
And another question a little off topic here. I can’t get the audio via HDMI to work. I am running F18 KDE and set the master audio channel to HDA NVidia HDMI, but it doesn’t work.
Thanks in advance.
Hi milo,
Try following to restore graphical boot-loader,
open /etc/default/grub add splash to GRUB_CMDLINE_LINUX row.
Then run:
Reboot.
Audio via HDMI might be more complicated.
Could you tell more specific which nVidia card you have?
Example output of:
Thanks, that certainly gave me back graphical boot … BUT :D at the end of boot I get this plymouth error, which says:
“Failed to start Wait for Plymouth Boot Screen to Quit”
And it stays there indefinitely. No chance of doing anything. With CTRL+ALT+F2 I can login as root, but I haven’t found a solution to this problem… should have just accepted the ugly boot… :D
Look the other posts made by me. splash didnt work for me too but other methods worked.
is possible to use the nice fedora bootsplash with nvidia driver on fedora 18 too?
Hi Rafael,
Try following,
open /etc/default/grub add splash to GRUB_CMDLINE_LINUX row.
Then run:
Reboot.
I made some modifications on GRUB_CMDLINE_LINUX to add “acpi_osi=Linux”, so my brighness control works. And I couldnt boot anymore. I needed to uninstall nvidia driver and install again to work. Is safe to just add splash?
Could you tell more specific what happened when you try to boot your system with acpi_osi=Linux?
You can always test/modify these parameters directly from Grub2. Here is guide howto modify Grub2 entry, change runlevel to splash.
linux loaded up, but X doesnt start. I could unsintall nvidia driver changing to other console (ctrl+alt+numberOfTerminal), so system isnt freezed.
I add splash editing grub on bootup (pressing e) and but it doesnt work. It always complain about gfxpayload should be set as
gfxpayload=vga=normal
if you need more details or my explanations were confusing, I would be happy to help.
Check Arch wiki for more information, howto set framebuffer resolution (gfxpayload).
You can also set this modifying Grub2 entry, if you want just test it.
Thanks.
I could use a nice bootsplash adding to /etc/default/grub
GRUB_GFXMODE=1360x768x32
GRUB_GFXPAYLOAD_LINUX=keep
then run
grub2-mkconfig -o /boot/grub2/grub.cfg
to choose proper resolution, on grub cmd run vbeinfo and grab the closest to your monitor native resolution.
Hi Rafael,
Nice to hear that you got it working with setting gfxmode and gfxpayload.
If anyone cant adjust screen brightness. I could fix it doing this steps BEFORE installing nvidia driver. Doing it after doesnt work.
in /etc/default/grub add to GRUB_CMDLINE_LINUX
and later do
than reboot.
After that you can see that nouveau brightness control is working fine.
So install nvidia driver and after that add to /etc/X11/xorg.conf
and reboot.
Thanks a lot… This solved my issue with gnome-shell taking up to 200% cpu.
Laptop: Dell Precision M6700
Graphics card: NVIDIA Corporation GK104 [Quadro K4000M]
Kernel: 3.7.9-205.fc18.i686
Thanks Jette,
You are welcome! It’s always nice to hear computer and graphics card model, when you get drivers installed and working. :)
Hey, thanks for this guide.
I have followed these instructions and once I reboot I just get a blank screen. It works again after I remove the nvidia drivers and revert back to nouveau drivers.
lspci |grep -i VGA
Outputs :
01:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570 HD] (rev a1)
Using akmod driver, with no PAE kernel.
Kernel : 3.8.2-206.fc18.x86_64
Hope you can help :)
Hi Andrei,
Could you post output of following command when you have booted using nVidia drivers: