Intel graphics (正體中文)

From ArchWiki
Revision as of 15:25, 7 January 2010 by Yanganto (talk | contribs)
Jump to: navigation, search

Template:Article summary start Template:Article summary text Template:Article summary heading Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:Article summary end



自從 Intel 支援開源驅動後,Intel的顯卡大致上為接上即啟用。


一般常把"Intel 945G"和"Intel GMA 945"視為相同的顯示晶片。實際上,"intel GMA 945"並不存在。Intel使用"GMA"代表繪圖核心,即GPU。任何不含"GMA"的都是主機板晶片,像"915G","945GM","G45"都屬主機板晶片。


  • Intel GMA 900 (910, 915)
  • Intel GMA 950 (945)

"i810"(主機板晶片,非GPU)是非常舊的晶片,其製造時間比9xx主機板晶片系列還早。相同的,910, 915, 945晶片的名字可能會在前面加個"i"



  • intel (latest and greatest)
  • intel-legacy (old and obsolete, incompatible with newer xorg-server implementations)

It is highly recommended that you try the latest driver before falling back to legacy support.


Prerequisite: Xorg

# pacman -S xf86-video-intel


# pacman -S xf86-video-intel-legacy


There is no need for any kind of configuration ever since HAL has taken over. See Xorg input hotplugging for more information.

One thing that you should have already done from the start (not a configuration step per se) is to add your user to the relevant group:

# gpasswd -a username video

KMS (Kernel Mode Setting)

KMS is supported by Intel chipsets that use the i915 DRM driver and is now enabled by default as of kernel v2.6.32.

Important: When using KMS, you must remove any references to "vga=" or "video=" from the kernel commandline in /boot/grub/menu.lst

Early start

KMS is typically initialized after the kernel is bootstrapped. It is possible however to enable KMS during bootstrap itself, allowing the entire boot process to run at native resolution. There are currently two methods to achieve this:

Simplest method

This method is simple because it enables KMS in the bootloader. Using this method it is easy to disable KMS temporarily if/when necessary.

Edit the boot loader configuration file and append "i915.modeset=1" to your "kernel" line. For example, users of GRUB would add the option to /boot/grub/menu.lst:

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/... i915.modeset=1
initrd /boot/kernel26.img

Now add the intel_agp and i915 modules to the MODULES line in /etc/mkinitcpio.conf:

MODULES="intel_agp i915"

Finally, regenerate the initramfs:

$ sudo mkinitcpio -p kernel26

If you ever want to disable KMS, you can simply you can change the "i915.modeset" option to 0 in grub, without rebuilding anything. For this, turn on the machine and when you see grub's screen, hit a key to disable the timeout. Select the kernel you want to boot (probably the one already selected) and hit "e" for "edit". Now select the line starting with "kernel" and hit again "e" for editing. You can now edit the i915.modeset option and disable KMS by setting it to 0. Press enter and then "b" to boot. Note that this will be temporary, so at next reboot it will be enable again.

Alternative method

This requires rebuilding the initramfs each time you want to disable/enable KMS so can be tricky if for some reason KMS prevents the machine from booting.

First, add the following line to /etc/modprobe.d/modprobe.conf:

options i915 modeset=1

To disable mode-setting with this alternative method (in case something is broken), just comment that line and regenerate the initramfs again.

Secondly, change the MODULES and FILES lines in /etc/mkinitcpio.conf to look like this (Don't actually add the "...", it stands for what was there before):

MODULES="[...] intel_agp i915"
FILES="[...] /etc/modprobe.d/modprobe.conf"

Now regenerate the initramfs:

$ sudo mkinitcpio -p kernel26

See also