Device Drivers --->
Input device support --->
<*> Event interface
...
Device Drivers --->
Graphics support --->
Support for frame buffer devices --->
## 关闭这里的所有驱动, 包括 VGA, Intel, nVidia, and ATI
## 接着激活 basic console support. KMS 要使用
Console display driver support --->
<*> Framebuffer Console Support
接着 intel 显卡要如下配置:
Device Drivers --->
Graphics support --->
/dev/agpgart (AGP Support) --->
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)
i915 driver
Enable modesetting on intel by default
nvidia 显卡要如下配置
( 激活 DRM )
Device Drivers --->
Graphics support --->
<*> Direct Rendering Manager --->
(Nouveau is currently in the Staging drivers section)
Device Drivers --->
Staging drivers --->
[ ] Exclude Staging drivers from being built
<*> Nouveau (nVidia) cards
## 激活 Radeon KMS 支持
Device Drivers --->
Graphics support --->
<*> Direct Rendering Manager --->
<*> ATI Radeon
Enable modesetting on radeon by default
完成后,重新编译内核
五. 更新配置文件
安装软件包后,可能会类似出现如下信息:
* IMPORTANT: config file '/etc/pam.d/system-login' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/pam.d/system-login (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files) ##以新配置文件替换旧配置文件,有提示
(-5 to auto-merge AND not use 'mv -i') ##以新配置文件替换旧配置文件,没有提示
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): -3 ## -3 会以新配置文件覆盖旧文件
Replacing /etc/pam.d/system-login with /etc/pam.d/._cfg0000_system-login
mv: overwrite `/etc/pam.d/system-login'? y
Exiting: Nothing left to do; exiting. :)
* To use ibus, you should:
* 1. Get input engines from sunrise overlay.
* Run "emerge -s ibus-" in your favorite terminal
* for a list of packages we already have.
*
* 2. Setup ibus:
*
* $ ibus-setup
*
* 3. Set the following in your user startup scripts
* such as .xinitrc, .xsession or .xprofile:
*
* export XMODIFIERS="@im=ibus"
* export GTK_IM_MODULE="ibus"
* export QT_IM_MODULE="xim"
* ibus-daemon -d -x