Intel Extreme Graphics 2

From ThinkWiki
Revision as of 14:57, 17 March 2007 by Mythril (Talk | contribs) (SVideo port)
Jump to: navigation, search

Intel Extreme Graphics 2

This is an Intel video adapter

Features

Linux X.Org driver

This chip is supported by the 'i810' driver as part of the X.Org distribution.

Hardware 3-D acceleration is available using DRI and kernel i915 module (2.6 kernel) for 16-bit depth.

You can configure 3-D acceleration by ensuring that the following is in your xorg.conf:

Section "Device"
        Identifier	"Intel Corporation 82852/855GM Integrated Graphics Device"
        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"

There are binary drivers for SuSE and a modified X.Org distribution available from Intel.

ThinkPad LCD

Display on the internal LCD works as long as you set the monitor settings correct.

External VGA port

X.org
Clone

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 /etc/X11/xorg.conf or /etc/X11/XFree86.conf. The solution for basic projector or cloned output is to use the 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):

# i855crt swcursor on "1024x786@85"

to stop it enter

# i855crt off

The video mode in quotes is defined in /etc/i855crt.conf or ~/.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.

Linux kernel Framebuffer driver

This chip will work with either the 'vesa' or 'intelfb' driver as part of any recent 2.4 or 2.6 kernel.

External Sources

ThinkPads this chip may be found in