Ask Your Question
0

how to disable nouveau in fedora 18

asked 2013-03-15 05:55:22 -0500

TB gravatar image

updated 2013-08-30 22:40:54 -0500

FranciscoD_ gravatar image

I want to install the NVIDIA Graphics-Driver e.g. NVIDIA-Linux-x86_64-304.51.run in runlevel 3, but the message of the installer is first to disable nouveau-driver. After trying multiple possibilities found in Nvidia-readme's and the web, I'm still unable to disable this f..-driver. Anybody out there with an idea, even a beginner can handle?

gcc, make, kernel-devel, dkms, kernel-header installed

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
3

answered 2013-03-15 15:07:28 -0500

sideburns gravatar image

Don't even consider doing it that way; not only is it the hardest way to get the binary blobs working, you're going to have to do the entire thing again each and every time there's a kernel update. Instead, go here and do it right: http://forums.fedoraforum.org/showthread.php?t=280750 Personally, I'd suggest going the akmod route, not the kmod because once in a while there's a slight lag in getting the new one out, but that's up to you. Once you've done this, and it's working, you can essentially forget about it because It Just Works.

edit flag offensive delete link more

Comments

2

I agree with using the akmod route but sometimes you want the very latest drivers. Here is how I installed the drivers provided by NVidia and disable Nouveau. Note, like sideburns said, you will have to do this each time the kernel is updated.

  1. Boot into fedora 18 with the run level set to 3
  2. sudo mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
  3. sudo dracut --omit-drivers nouveau /boot/initramfs-$(uname -r).img $(uname -r)
  4. Reboot and make sure to boot into runlevel 3
  5. nouveau is now disabled
  6. Run the NVidia installer
  7. Reboot and load normally.
slacker gravatar imageslacker ( 2013-04-04 08:25:24 -0500 )edit

Thanks for this slacker! I am in this exact situation, running a new graphics card and neither nouveau nor the kmod version of the nVidia blob recognize it properly.

bcheng gravatar imagebcheng ( 2013-07-11 23:19:06 -0500 )edit

One other note, in order to do the actual installation I had to remove the "load_video" line and the "set gfxpayload=keep" line from the grub boot config, and remove rhgb from the boot line. You can do this at boottime by hitting a button (I think 'e') before boot. I'm not sure if all three are necessary, but this approach didn't work for me without doing this- even with the new initramfs, the machine booted with nouveau running.

bcheng gravatar imagebcheng ( 2013-07-12 18:03:29 -0500 )edit

There is a recent guide (for rhel6) explaining some of the @slacker steps a bit more https://wiki.fysik.dtu.dk/niflheim/Compilers#installation-and-configuration-of-nvidia-cuda

marcindulak gravatar imagemarcindulak ( 2013-12-10 06:06:45 -0500 )edit
0

answered 2013-03-15 10:55:58 -0500

Ummma gravatar image

I followed this httpcolon//wwwdotif-not-true-then-falsedotcom/2013/fedora-18-nvidia-guide/ method and it worked. (Karma is insufficient to post links, so copypasta and replace the : and . for you, sorry). I didn't to do the Optimus part (never heard of it before, and have an AMD CPU anyway..). There is even a bit at the bottom for putting the other one back on.

One problem I found was my main monitor (LG 795FT) was not detected properly, and it crippled the 1600x1200 resolution to 640x480. I went through a ton of guides about changing the EDID settings, and trying to make the driver force it's resolution using some xrandr stuff, but it dodn't work and I had a collection of errors. In the end, I just swapped the cables around and for whatever reason it works now, and detects both monitors perfectly.

I'm going to be adding the CUDA stuff for GPU rendering in blender next.. once I fix my god-awful wifi.

edit flag offensive delete link more
0

answered 2013-03-21 13:16:36 -0500

+1 for this method. Similar instructions are available as http://fedorasolved.org/video-solutions/nvidia-yum-kmod . Note that you can install both akmod-nvidia and kmod-nvidia with no ill effect.

edit flag offensive delete link more
0

answered 2013-08-30 13:28:21 -0500

slacker,

Thanks for those instructions. They worked well for me. I should add that I also tried removing the three strings in the boot configuration as bcheng suggested, but that was ineffective in removing the nouveau module even after running the dracut command. What I ended up doing was running the NVIDIA installer run file, letting it complain about the nouveau module, and allowing it to create the blacklist file for loadable modules. After a reboot, the nouveau module disappeared when running 'lsmod |grep nouveau'

edit flag offensive delete link more
-4

answered 2013-06-28 08:00:29 -0500

angry gravatar image

He specifically asked for help a beginner can handle. Throwing a link at someone with nothing but 4 lines of code and 'expected' acceptance of how to handle 4 brief, intermediate - advanced level instructions, is not helpful.

Can someone with a helpful answer post something A BEGINNER can understand? this means you have to SPECIFY when you are typing CODE and when you are typing PSEUDOCODE with english in it, or with phrases and acronymns and tech words that A BEGINNER will not recognize or a 'commonly used alias' for something like my linux account username I was prompted for at install. Simply writing the pseudocode word 'uname' in with a shitload of code, is going to frustrate the fucking hell out of A BEGINNER when it doesn't work right.

Are all Linux users egotistical fucktards who can't grasp the concept that not everybody automatically knows everything THEY know just because they loaded their machine with Linux a week ago? seriously...

edit flag offensive delete link more

Comments

uname isn't pseudocode; it's the name of a Linux command, as you'll find out if you type it into a terminal. For more details, try using "man uname" (without the quotes) to find out what it does, and what the various options are for. Or, you can just sit there, complain about it and never learn anything. Your choice.

sideburns gravatar imagesideburns ( 2013-06-28 16:06:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-15 05:55:22 -0500

Seen: 23,740 times

Last updated: Aug 30 '13