Difference between revisions of "Create a boot option for easy nvidia or nouveau display driver switching"

From Funtoo
Jump to: navigation, search
(xcfgmaker deamon)
(Additional links)
Line 112: Line 112:
=Additional links=
== Additional Resources ==
*[http://en.gentoo-wiki.com/wiki/Nvidia Nvidia how-to on gentoo-wiki]
*[http://en.gentoo-wiki.com/wiki/Nvidia Nvidia how-to on gentoo-wiki]

Revision as of 15:03, 28 January 2014

This howto describes how to use nvidia and nouveau drivers on the same computer and kernel.
Note Note: You must know how to install x11-drivers/nvidia-drivers and x11-drivers/nouveau (references at the end of the page). First, you need to configure your kernel and install nvidia drivers and nouveau. We assume that this stage is successfully passed.


Next, the most important change:


After boot-update with the new settings, you should have something like:

# grep menuentry /boot/grub/grub.cfg | wc -l
# grep menuentry /boot/grub/grub.cfg
menuentry "Funtoo Linux [nouveau] - vmlinuz-" {
menuentry "Funtoo Linux [nvidia] - vmlinuz-" {

xcfgmaker deamon

# mkdir /etc/X11/video/;
# cd /etc/X11/video/;
# nano 10-monitor.conf.nouveau # make default config for nouveau. or copy existing config… 
# nano 10-monitor.conf.nvidia # also for nvidia

Then create a new daemon:


Do not forget:

# chmod +x /etc/init.d/xcfgmaker
# rc-update add xcfgmaker boot

Additional Resources