It has long been said that open source drives are now good, and try to switch the system's closed-source drive (Fglrx) to open source drive.
First, uninstall the closed-source driver: Emerge-c x11-drivers/ati-drivers, because now the xorg.conf is generated by ATI command, first kill.
Then, in the video_cards environment variable in make.conf, the original Fglrx is changed to Radeon, emerge Xorg-server and libdrm.
In order to open KMS, you need to reset the kernel, which can refer to the official documentation. Note that to remove the original framebuffer driver (Device drivers->graphics support->support All drivers in the for frame buffer devices), Then device drivers->graphics support->direct Rendering Manager and the ATI Radeon and enable modesetting on Radeon under it Default two subkeys are compiled into the kernel (start enable modesetting on Radeon by default is the child of the ATI Radeon). A particularly important point for Radeon is to compile the firmware into the kernel. First make sure that the X11-drivers/radeon-ucode package is installed, and then in the kernel, Device drivers->generic Driver options, select include In-kernel firmware BLOBs in kernel binary, and in the firmware blobs of the following external kernel binary to build into the radeon/r600_rlc.bin. Bin (My video card is HD 3400 Series), fill in/lib/firmware in firmware BLOBs root directory, and then recompile the kernel.
After recompiling, installing the kernel, it is to edit the grub.cfg file, remove the original INITRD used for Splash, and use the new kernel directly.
Reboot, you can see in the character interface that the 1280x800 resolution has been automatically used. However, after entering KDE, the graphics interface is very card, KDE also because of slow speed automatically shut down the hybrid effect. Later found that the mesa did not emerge, reinstall the Mesa and then re-enter, the original KWin effect can still be used, accomplished.