LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   F15, Disable Nouveau driver in prep to install Nvidia drvr (http://www.linuxquestions.org/questions/fedora-35/f15-disable-nouveau-driver-in-prep-to-install-nvidia-drvr-877107/)

toddbailey 04-26-2011 02:46 AM

F15, Disable Nouveau driver in prep to install Nvidia drvr
 
Hey all,

Nouveau won't go away.

I done the rdblacklist in grub and blacklist in modprobe.d but it still persists.

Is there something else I need to for Fedora 15?

all this worked in 14 btw.

John VV 04-26-2011 09:03 PM

I take it you did you fallow the instructions and rebuild the boot image ?
"F15 Howto for the rpmfusion nvidia drivers "
http://forums.fedoraforum.org/showthread.php?t=204752

and run these commands ??
Code:

su -
sed -i '/root=/s|$| rdblacklist=nouveau nouveau.modeset=0|' /boot/grub/grub.conf
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname  -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)


toddbailey 04-26-2011 09:43 PM

I'll give this a try but I think the problem is I can't get the system to boot at runlevel 3 it boots to 5 first then I have to use a terminal to start rl 3.
The inittab file is no longer used and the instructions to alter the start up doesn't work as stated.

I wish the fedora people would quite making admin of their systems more difficult than needed.

John VV 04-26-2011 11:19 PM

if you are using the nvidia.run diver and NOT THE RECOMMENDED ( akmod-nvidia.rpm that IS IN the fedora repo , and is BY FAR the easiest to use)

you boot NORMALLY into your normal user account
then use "telinit 3" and relogin as root in the, now, text only os

put the current *.run in /
then run chmod on it to add the executable tag to it
Code:


su -
your root password when asked
cd /
chmod +x *.run
telinit 3
------- relog in as root in the TEXT ONLY login ------
cd /
sh *.run

then VERY VERY VERY important BEFORE YOU reboot REINSTALL mesa !!!!!!!!!!!!!!!!!!!!!!!

yes YOU NEED to do this if you use the run driver!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
so after you fallow the onscreen instructions for the .run driver and BEFOR reboot run this
Code:

yum install *mesa
--- then this to replace the files that the .run REPLACED/CHANGED  !! ---
yum reinstall *mesa

YOU MUST do that the .run CHANGES some FEDORA SYSTEM FILES and you need to FIX that.

Quote:

I wish the fedora people would quite making admin of their systems more difficult than needed.
they don't -- fedora is rather simple , as far as a VERY fast pasted R&D distro is concerned.
and seeing as 15 IS FOR BETA testing ONLY right now and is NOT READY FOR THE GENERAL PUBLIC
it is not even done yet!!!!

RockDoctor 04-30-2011 03:09 PM

Back before the nouveau driver worked with my onboard video, I'd just rename nouveau.ko and reboot. That way I was absolutely sure it wouldn't get in the way of the nvidia driver, but could recover it if needed.

toddbailey 04-30-2011 03:51 PM

While I not certain, I need to have the machine boot to runlevel 3 so the nouveau driver is never loaded.

F15 changed in that you no longer can edit the inittab file to edit what runlevel the machine boots to.
In the f15 inittab file is a brief message that tells you what is needed to be done, but in executing the sample command, it errors and the machine continues to boot to the gui desktop.
I haven't been able to determine the exact nature of the error or how to fix it.

All in good time I guess.

John VV 04-30-2011 05:03 PM

then boot into text only by editing the kernel line at boot .

and seeing as fedora BETA VERSION 15 is a TESTING only release and should be used by the people who are doing the testing and already know how to fix the MANY MANY MANY bugs that STILL need to be fixed and submit a bug report - and fix-

you might want to read the OFFICIAL "fedora 15 BETA testing" nvidia install guide
http://forums.fedoraforum.org/showthread.php?t=261937

and install the kmod-nvidia.rpm or the PREFERRED " akmod-nvidia.rpm "

then BLACK LIST the opensource nouveau driver
AS per the instructions.

RockDoctor 04-30-2011 06:33 PM

Quote:

Originally Posted by toddbailey (Post 4342220)
While I not certain, I need to have the machine boot to runlevel 3 so the nouveau driver is never loaded.
.

Even if you boot into runlevel 3, the kernel's nouveau module will be loaded (been there, done that). If blacklisting isn't working, I still recommend renaming nouveau.ko. That will definitely work. If you've got an xorg.conf file, this will bork X so it won't load. If you don't have an xorg.conf file, X will fall back to using the vesa module. If this happens, just press Ctl-Alt-F2 to get a tty. Either way, at this point you can go ahead and compile the nvidia module (assuming you have a module compatible with the current F15 kernel and all the ancillary dependencies). Good luck!


All times are GMT -5. The time now is 09:32 PM.