Intel

intel is the X.Org graphics driver for Intel GMA onboard graphics card, starting with the Intel i810.

Kernel
You need to activate the following kernel options:

Driver
Portage knows for graphics cards the USE_EXPAND USE flag VIDEO_CARDS, which tells all packages, that support for the specified graphics card should be enabled. For this you need to add this USE flag to the make.conf:

Here the name intel refers to the packages. You can also add additional graphics cards to the "VIDEO CARDS" variable.

The USE flags of are:
 * dri - (recommended) Enable hardware acceleration.
 * sna - Enable SandyBridge's New Acceleration - a new driver optimation. Also applicable for older graphic cards.

Now you can install X.Org oder - if already down - update your system:

VAAPI
Intel GMA X4500HD and newer supports VAAPI hardware video acceleration.

Configuration and Setup
Your user has to be in the video group to be able to use the hardware acceleration:

Alternatively you can enable the ACL suppport for device nodes.

Troubleshooting

 * Gentoo Bugzilla xf86-video-intel: known bugs
 * Upstream Bugzilla xf86-video-intel: known bugs

KDM freezes
A workaround is to set TerminateServer=true in all sections of the file /usr/share/config/kdm/kdmrc, which starts with X-.

Links

 * Homepage
 * X.Org Website