Tuesday, November 29, 2016

Intel i915 Gentoo

Intel i915 Gentoo


Intel GMA

From Gentoo Linux Wiki
Jump to: navigation, search
This guide is about Intels onboard graphics adapter called Graphics Media Accelerator.

Contents

[hide]
  • 1 Kernel Configuration
  • 2 USE Flags
  • 3 User Configuration
  • 4 X11 Configuration
    • 4.1 Dual Monitors
  • 5 Troubleshooting
    • 5.1 Kernel Modesetting Causes Blackscreen
    • 5.2 TV-Out
    • 5.3 KDM Freeze
    • 5.4 Install Intel 2010Q4 graphics package
  • 6 Links

[edit] Kernel Configuration

Enable the chipset driver under /dev/agpgart, then enable the Direct Rendering Manager appropriate to your card.
If you would like the i915 driver to be built into your kernel (instead of being loaded as a module), check for the ACPI Button and Video choices to be set to built-in: The entry for "i915 driver" will disappear from the menu if the ACPI items are set to "module"!
Linux Kernel Configuration: Enabling Intel KMS
Power management and ACPI options --->
[*] ACPI (Advanced Configuration and Power Interface) Support --->
-*- Button
-*- Video
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

[edit] USE Flags

Set the following in make.conf.
File: /etc/make.conf
VIDEO_CARDS="intel"
Then re-build the X drivers;
emerge -DN1 x11-base/xorg-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.
gpasswd -a YourUserName video

[edit] X11 Configuration

Note: The X Server needs much less manual configuration that in did in the past. Try running X first without setting the below in xorg.conf
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,
File: /etc/X11/xorg.conf
...
Section "Device"
Identifier "My Intel Video Card"
Driver "intel"
EndSection
...
For further options see the intel man pages,
man intel

Available link for download