Difference between revisions of "Intel Extreme Graphics 2"

From ThinkWiki
Jump to: navigation, search
m (typo)
(Intel video driver)
(6 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
|style="vertical-align:top" |
 
|style="vertical-align:top" |
 
|}
 
|}
 +
= Intel video driver =
 +
The Intel opensource videodriver is maintained by Intel at [http://intellinuxgraphics.org/ intellinuxgraphics.org].
 +
Intel releases a new driver once per quarter. The latest stable release is 2.10.
  
=== Linux X.Org driver ===
+
== Kernel mode setting (KMS) ==
This chip is supported by the 'i810' driver as part of the X.Org distribution. A new 'intel' driver is meant to replace it, but as of end 2007 it seems not as stable as i810 yet, notably it [https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/138256 crashes at suspend time]
+
KMS (Kernel Mode Setting) as the name suggests moves some video setup functions to the kernel. This should have the following benefits over legacy mode setting
 +
* increased stability, because it removes the current contention between the X server and the kernel
 +
* ability to show kernel dump screens even when the X server was running
 +
* rapid mode switching
 +
* in theory should not allow the X video driver to hang the system
 +
* early graphical boot display with seamless login
 +
* should in the future allow for the X server to run without root privileges
  
Hardware 3-D acceleration is available using DRI and kernel i915 module (2.6 kernel)
+
Note that KMS does not eliminate the need for the Intel Xorg driver, it just frees that driver from the hardware setup functions.
for 16-bit depth.  
+
=== Status===
 +
Right now KMS is still in heavy development, and officially requires at least kernel 2.6.30 with version 2.7 of the Intel Xorg driver. But in reality you should really be running at least the 2.6.31 kernel and version 2.8 of the Intel driver.
  
You can configure 3-D acceleration by ensuring that the following is in your xorg.conf:
+
=== Configuration===
 +
In this mode, ideally you do not configure any settings through xorg.conf but by using xrandr, or a graphical front-end to RandR such as gnome-display-settings.
  
Section "Device"
+
=== Disabling KMS ===
        Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
+
If KMS causes you problems, you can disable it and return to legacy mode setting by booting with the {{bootparm|nomodeset|}} kernel boot option. But note that starting with the Intel Xorg driver version 2.10 legacy UMS mode is no longer supported.
        Driver "i810"
 
        BusID "PCI:0:2:0"
 
        Option "DRI" "true"
 
EndSection
 
  
To check that it's working, run glxinfo | grep direct and check that direct draw reports as "Yes"
+
== Legacy mode setting ==
 +
Legacy mode setting means the Intel Xorg driver does the mode setting. This is no longer supported as of version 2.10 of the Intel Xorg driver.
  
There are binary drivers for SuSE and a modified X.Org distribution available from Intel.
 
  
==== ThinkPad LCD ====
+
=== ThinkPad LCD ===
Display on the internal LCD works as long as you set the monitor settings correct.
+
Display on the internal LCD works fine, and is automatically detected.
  
==== External VGA port ====
+
=== External VGA port ===
  
===== X.org =====
+
=== SVideo port ===
 +
You should be able to activate Svideo using xrandr, similar to this [[How to get TV-Out working on ATI graphic cards]]
  
======Clone======
+
=== DVI port ===
At least using X.org 6.9.0, the following will always enable the VGA port:
 
 
 
Section "Device"
 
        Identifier "VideoCard0"
 
        Driver  "i810"
 
        Option  "VBERestore" "yes"
 
        Option  "Clone" "true"
 
        Option  "MonitorLayout" "CRT,LFP"
 
        Option  "DevicePresence" "yes"
 
EndSection
 
 
 
To change to which pipe the overlay is directed (e.g. when playing a movie in xine), use:
 
 
 
xvattr -a XV_PIPE -v ''DISPLAY''
 
 
 
Where ''DISPLAY'' is either 0 (with the above setup, the CRT) or 1 (with the above setup, the Local Flat Panal).
 
 
 
======MergedFB======
 
 
 
With MergedFB you can use an external Display with another resolution.
 
To enable MergedFB, you need to edit your Screen-Section and your Device-Section.
 
 
 
In the Screen-Section, you need to add a Resolution for all resolutions. Your Laptop-Display and your External Display.
 
 
 
And you have to add a "virtual" Resolution which is the biggest resolution of both. Like this:
 
 
 
  Section "Screen"
 
        Identifier      "Default Screen"
 
        Device          "Intel Corporation Mobile Integrated Graphics Controller"
 
        Monitor        "Generic Monitor"
 
        DefaultDepth    24
 
        SubSection "Display"
 
                Depth          24
 
                Modes          "1024x768 1280x768"
 
                Virtual        1280 1024
 
        EndSubSection
 
  EndSection
 
 
 
In your Device-Section of the Card, you need to add some Tags. MetaModes consits of every Resolution you need to use.
 
This looks like this.
 
  Section "Device"
 
        Identifier      "Intel Corporation Mobile Integrated Graphics Controller"
 
        Driver          "i810"
 
        BusID          "PCI:0:2:0"
 
        Option "DevicePresence" "true"
 
        Option "DRI"      "true"
 
        Option "MergedFB" "true"
 
        Option "MergedXinerama" "false"
 
        Option "MonitorLayout" "CRT,LFP"
 
        Option "MetaModes" "1280x1024-1024x768 1024x768-1024x768"
 
  EndSection
 
 
 
I had to set the MergedXinerama to false because it reported a Screensize of 0,0,-1,-1 which makes the Windowmanager behave funny.
 
But with this setup it is possible to use RandR to switch from the Resolution of your Laptop-Display to the Resolution
 
of your bigger external Display without quitting your X-Session. Your Laptop-Display will then scroll to show the part of your
 
Desktop where your mouse is.
 
 
 
===== i855crt =====
 
 
 
There seems to be many issues trying to do this from within {{path|/etc/X11/xorg.conf}} or {{path|/etc/X11/XFree86.conf}}. The solution for basic projector or cloned output is to use the [http://i855crt.sourceforge.net/ i855-crt] program. Remember that this program is very raw and could damage your display equipment.
 
 
 
Once this is installed an example command would be (with root permissions):
 
:{{cmdroot|i855crt swcursor on "1024x786@85"}}
 
to stop it enter
 
:{{cmdroot|i855crt off}}
 
 
 
The video mode in quotes is defined in {{path|/etc/i855crt.conf}} or {{path|~/.i855crt.conf}}.
 
{{Fixme|This is specific usage information for that tool. Introducing an own tool page for it should be considered or joining this with other information in a display cloning howto page.}}
 
 
 
Using MonitorLayout and Clone options it is possible to setup cloned display with X.Org (tested with 6.9.0). Dualhead supported by Xorg driver.
 
 
 
==== SVideo port ====
 
SVideo works with for example:
 
  Option    "MonitorLayout"  "NONE,TV"
 
in your Device section. However, no settings for clone mode has been found to work yet.
 
 
 
==== DVI port ====
 
 
DVI Pass-through to a Dock or Port Replicator is not supported on any ThinkPad with this chipset.
 
DVI Pass-through to a Dock or Port Replicator is not supported on any ThinkPad with this chipset.
  
 
=== Linux kernel Framebuffer driver ===
 
=== Linux kernel Framebuffer driver ===
This chip will work with either the 'vesafb' or 'intelfb' driver as part of any recent 2.4 or 2.6 kernel.
+
This chip will work with either the 'vesafb' or 'intelfb' driver. Note that these framebuffers cannot be used in combination with KMS as that provides its own framebuffer.
  
=== External Sources ===
+
== External Sources ==
 
*[http://www.intel.com/products/chipsets/eg2/ Intel Extreme Graphics 2 overview]
 
*[http://www.intel.com/products/chipsets/eg2/ Intel Extreme Graphics 2 overview]
  
=== ThinkPads this chip may be found in ===
+
== ThinkPads this chip may be found in ==
 
* {{G41}}
 
* {{G41}}
 
* {{R50e}}, {{R51}}
 
* {{R50e}}, {{R51}}

Revision as of 09:30, 19 March 2010

Intel Extreme Graphics 2

This is an Intel video adapter

Features

Intel video driver

The Intel opensource videodriver is maintained by Intel at intellinuxgraphics.org. Intel releases a new driver once per quarter. The latest stable release is 2.10.

Kernel mode setting (KMS)

KMS (Kernel Mode Setting) as the name suggests moves some video setup functions to the kernel. This should have the following benefits over legacy mode setting

  • increased stability, because it removes the current contention between the X server and the kernel
  • ability to show kernel dump screens even when the X server was running
  • rapid mode switching
  • in theory should not allow the X video driver to hang the system
  • early graphical boot display with seamless login
  • should in the future allow for the X server to run without root privileges

Note that KMS does not eliminate the need for the Intel Xorg driver, it just frees that driver from the hardware setup functions.

Status

Right now KMS is still in heavy development, and officially requires at least kernel 2.6.30 with version 2.7 of the Intel Xorg driver. But in reality you should really be running at least the 2.6.31 kernel and version 2.8 of the Intel driver.

Configuration

In this mode, ideally you do not configure any settings through xorg.conf but by using xrandr, or a graphical front-end to RandR such as gnome-display-settings.

Disabling KMS

If KMS causes you problems, you can disable it and return to legacy mode setting by booting with the nomodeset kernel boot option. But note that starting with the Intel Xorg driver version 2.10 legacy UMS mode is no longer supported.

Legacy mode setting

Legacy mode setting means the Intel Xorg driver does the mode setting. This is no longer supported as of version 2.10 of the Intel Xorg driver.


ThinkPad LCD

Display on the internal LCD works fine, and is automatically detected.

External VGA port

SVideo port

You should be able to activate Svideo using xrandr, similar to this How to get TV-Out working on ATI graphic cards

DVI port

DVI Pass-through to a Dock or Port Replicator is not supported on any ThinkPad with this chipset.

Linux kernel Framebuffer driver

This chip will work with either the 'vesafb' or 'intelfb' driver. Note that these framebuffers cannot be used in combination with KMS as that provides its own framebuffer.

External Sources

ThinkPads this chip may be found in