Intel GMA
From Gentoo Linux Wiki
This guide is about Intel's onboard graphic adapter called 'Graphic Media Accelerator'.
Contents |
[edit] Kernel Configuration
Enable the chipset driver under /dev/agpgart, then enable the Direct Rendering Manager appropriate to your card.
Only the i915 driver supports Kernel Modesetting(KMS) by default, read (see this) if you have difficulties with it.
| Linux Kernel Configuration: Enableing Intel KMS |
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 I810
<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
<*> i830 driver
<*> i915 driver
[*] Enable modesetting on intel by default
|
See the Framebuffer article if you need to further configure the framebuffer.
[edit] USE Flags
Set the following in make.conf.
VIDEO_CARDS="intel"
Then re-build the X drivers;
[edit] User Configuration
For Hardware Acceleration and DRI access you need to add the user to the video group. It should work by default.
[edit] X11 Configuration
If you find yourself needing to tell X11 to use the intel driver, set Driver to "intel" in /etc/X11/xorg.conf as in the example below,
...
Section "Device"
Identifier "My Intel Video Card"
Driver "intel"
EndSection
...
For further options see the intel man pages,
[edit] Dual Monitors
See X.Org/Dual Monitors for information.
[edit] Troubleshooting
[edit] TV-Out
The TV is just another screen to the X server. So it can be configured like another monitor. By default the TV format is set to NTSC. If you want to change it e.g. to PAL, add this to your /etc/X11/xorg.conf:
Section "Monitor" Identifier "TV" Option "TV Format" "PAL" EndSection Section "Device" ... Option "Monitor-TV" "TV" ... EndSection
[edit] Mode Lines
See the Modelines article.
[edit] KDM Freeze
If your system freezes when logging out and you use kdm, add TerminateServer=true to [X-YOUR_DISPLAY-Core] section (or to [X-*-Core] section for all displays) in /usr/share/config/kdm/kdmrc. This should be fixed in x11-drivers/xf86-video-intel-2.9.0.
[edit] VT switching
With kernel 2.6.30-gentoo-r4 the VT might show the wrong resolution and after starting X, switching to the VT might not work. Solve this by setting CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y in your kernel config. Adding fbcon=map:1 to the kernel command line as described in this thread [1] might work, too.