Стоял себе драйвер nvidia и драйвер ati. Стояло ядро 2.6.39. И были две команды для переключения между видеокартами:
cd /etc/X11 && rm xorg.conf && cp xorg-nvidia.conf xorg.conf && eselect opengl set nvidia && reboot
cd /etc/X11 && rm xorg.conf && cp xorg-fglrx.conf xorg.conf && eselect opengl set ati && reboot
Обновил набор программ (emerge --sync), установил ядро 3.1.4 (genkernel --menuconfig all), решил установить и проприетарные драйверы:
athlon64x2 linux # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.18
* Running with options: --menuconfig all
* Linux Kernel 3.1.4-gentoo for x86_64...
* kernel: Using config from /usr/share/genkernel/arch/x86_64/kernel-config
* Previous config backed up to .config--2011-12-02--04-25-34.bak
* kernel: >> Running mrproper...
* >> Running oldconfig...
* kernel: >> Cleaning...
* kernel: >> Invoking menuconfig...
In file included from scripts/kconfig/zconf.tab.c:2500:
scripts/kconfig/confdata.c: В функции ‘kconfig_print_comment’:
scripts/kconfig/confdata.c:467: предупреждение: результат ‘fwrite’, декларированной с атрибутом warn_unused_result, игнорируется
scripts/kconfig/confdata.c: В функции ‘header_print_comment’:
scripts/kconfig/confdata.c:551: предупреждение: результат ‘fwrite’, декларированной с атрибутом warn_unused_result, игнорируется
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
* >> Compiling 3.1.4-gentoo bzImage...
* >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
* >> Compiling 3.1.4-gentoo modules...
* Copying config for successful build to /etc/kernels/kernel-config-x86_64-3.1.4-gentoo
* blkid: >> Using cache
* busybox: >> Using cache
* initramfs: >> Initializing...
* >> Appending base_layout cpio data...
* >> Appending auxilary cpio data...
* >> Appending busybox cpio data...
* >> Appending modules cpio data...
* >> Appending blkid cpio data...
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
* real_root=/dev/$ROOT
*
* Where $ROOT is the device node for your root partition as the
* one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initramfs...
* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* With support for several ext* filesystems around it may be needed to
* add "rootfstype=ext3" or "rootfstype=ext4"
* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest ~arch genkernel before reporting bugs.
athlon64x2 linux # USE="qt4" emerge -av virtualbox-modules vhba ati-drivers nvidia-drivers
* IMPORTANT: 10 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] sys-kernel/gentoo-sources-2.6.39-r4 [3.1.4] USE="symlink -build -deblob" 74,457 kB
[ebuild U ] app-emulation/virtualbox-modules-4.1.6 [4.0.12] USE="-pax_kernel%" 445 kB
[ebuild U ] sys-fs/vhba-20110915 [20101015-r1] 18 kB
[ebuild U ] x11-drivers/ati-drivers-11.11 [11.10] USE="modules (multilib) opencl%* qt4 -debug" 94,815 kB
[ebuild U ] x11-drivers/nvidia-drivers-290.10 [290.06] USE="acpi custom-cflags gtk (multilib)" 56,967 kB
[blocks B ] >=x11-drivers/nvidia-drivers-195 (">=x11-drivers/nvidia-drivers-195" is blocking x11-drivers/ati-drivers-11.11)
Total: 5 packages (4 upgrades, 1 in new slot), Size of downloads: 226,700 kB
Conflict: 1 block (1 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(x11-drivers/ati-drivers-11.11::gentoo, ebuild scheduled for merge) pulled in by
ati-drivers
(x11-drivers/nvidia-drivers-290.10::gentoo, ebuild scheduled for merge) pulled in by
nvidia-drivers
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
* IMPORTANT: 10 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
athlon64x2 linux #
В чём прикол? Драйверы только что стояли вместе! Да и сейчас стоят...