Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237189 - x11-drivers/xf86-video-i810 - x11-base/xorg-server-1.5.0 fails to start
Summary: x11-drivers/xf86-video-i810 - x11-base/xorg-server-1.5.0 fails to start
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-09 14:47 UTC by Rolando J. Zappacosta
Modified: 2008-09-19 19:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg.conf (xorg.conf,11.78 KB, text/plain)
2008-09-09 14:50 UTC, Rolando J. Zappacosta
Details
Xorg.0.log (Xorg.0.log,18.93 KB, text/plain)
2008-09-09 14:51 UTC, Rolando J. Zappacosta
Details
xorg.conf with the comments removed for simplicity (xorg.conf.comments_removed,2.25 KB, text/plain)
2008-09-09 14:58 UTC, Rolando J. Zappacosta
Details
New xorg.conf (xorg.conf,2.09 KB, text/plain)
2008-09-09 16:07 UTC, Rolando J. Zappacosta
Details
New Xorg.0.log (Xorg.0.log,18.20 KB, text/plain)
2008-09-09 16:08 UTC, Rolando J. Zappacosta
Details
Xorg.0.log for an empty xorg.conf (Xorg.0.log,20.72 KB, text/plain)
2008-09-09 17:45 UTC, Rolando J. Zappacosta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolando J. Zappacosta 2008-09-09 14:47:33 UTC
+++ This bug was initially created as a clone of Bug #236922 +++

Original bug report:
xorg-server-1.5.0 will not start when compiled using the intel i810 video driver. It starts using the vesa device.

Proposed solution:
1) after emerging mesa and xorg-server, rebuild xf86-video-i810
2) switch your xorg.conf to the "intel" driver instead of "i810"

Result: X still don't come up, only difference is I'm facing another error issue now (original one was the same than reported for bug 236922).

I'll append the output of my xorg.conf and the log for X as there is where this error can be found:

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x7d) [0x80c1e7d]
1: /usr/bin/X(xf86AddNewOption+0x22) [0x80c58f2]

Fatal server error:
Caught signal 11.  Server aborting

(II) AIGLX: Suspending AIGLX clients for VT switch

Kind regards,
Rolando.
Comment 1 Rolando J. Zappacosta 2008-09-09 14:49:55 UTC
RJZ-LNX ~ # emerge --info
Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-tuxonice i686)
=================================================================
System uname: Linux-2.6.26-tuxonice-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-glibc2.0
Timestamp of tree: Tue, 09 Sep 2008 07:36:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -msse3 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -msse3 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo "
INSTALL_MASK="Changelog.gz TODO.gz Author.gz"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aac acl acpi aiglx alsa apic avi berkdb bzip2 cddb cdr clflush cli cmov constant_tsc cracklib crypt cups cx8 dbus de dga dri dts dvd dvdnav dvdr dvdread est fortran fpu fxsr gdbm gif gpm hal ht iconv imlib isdnlog jpeg jpeg2k kde kipi live matroska mca mce midi mmx monitor mp3 mpeg msr mtrr mudflap ncurses nls nojoystick nptl nptlonly nsplugin nx oggvorbis opengl openmp pae pam pat pbe pcmcia pcre perl pge pmu png pni pppd pse python quicktime readline real reflection samba sdl sep session spl ss sse sse2 ssl sysfs tcpd theora tiff tm tm2 tsc unicode usb v4l vme vmx vorbis win32codecs wmf x86 xanim xcomposite xorg xtpr xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

RJZ-LNX ~ #   
Comment 2 Rolando J. Zappacosta 2008-09-09 14:50:59 UTC
Created attachment 165017 [details]
xorg.conf

xorg.conf
Comment 3 Rolando J. Zappacosta 2008-09-09 14:51:23 UTC
Created attachment 165019 [details]
Xorg.0.log

Xorg.0.log
Comment 4 Rolando J. Zappacosta 2008-09-09 14:58:45 UTC
Created attachment 165021 [details]
xorg.conf with the comments removed for simplicity

xorg.conf with the comments removed for simplicity
Comment 5 Rémi Cardona gentoo-dev 2008-09-09 15:02:47 UTC
Ok, well I think the issue is in your xorg.conf. Admittedly xorg shouldn't
crash.

There's a lot of stuff that is just downright wrong, and a bunch of stuff that's not needed.

1) Could you remove/comment *all* evdev devices and add Option "AutoAddDevices"
"off" to your ServerLayout?
2) Could you also remove all monitor frequencies? The driver should pick those
up (and manual setting is broken...)

Thanks
Comment 6 Rémi Cardona gentoo-dev 2008-09-09 15:03:38 UTC
And in general, just remove any driver specific options, the driver is really quite clever these days :)
Comment 7 Rolando J. Zappacosta 2008-09-09 15:28:00 UTC
(In reply to comment #6)
> And in general, just remove any driver specific options, the driver is really
> quite clever these days :)
> 

Hi Remi,

thank you *very much* man!!!
I'll try it just now, only issue is have to re-emerge everything for 1.5, try it and back to the old stuff if it doesn't work (I'm already re-emerging all while writing to you). Just to up things up, could you please tell me if this is more or less what you suggest (please feel free to cut, paste, modify if not):
Section	"Files"
	FontPath	"/usr/share/fonts/misc"
	FontPath	"/usr/share/fonts/Type1"
	FontPath	"/usr/share/fonts/75dpi"
	FontPath	"/usr/share/fonts/100dpi"
	ModulePath	"/usr/lib/xorg/modules"
EndSection

Section	"Module"
	Load		"dri"
	Load		"glx"
	Load		"dbe"
	SubSection	"extmod"
	Option		"omit xfree86-dga"
	EndSubSection
	Load		"freetype"
EndSection

Section	"ServerFlags"
EndSection

Section	"InputDevice"
	Identifier	"Keyboard1"
	Driver		"keyboard"
	Option		"XkbModel" "pc105"
	Option		"XkbLayout" "en_US"
EndSection

Section	"InputDevice"
	Identifier	"Touchpad"
	Driver		"synaptics"
	Option		"Emulate3Buttons"
	Option		"Protocol" "auto-dev"
	Option		"Name" "SynPS/2 Synaptics TouchPad"
EndSection

#Section	"InputDevice"
#	Identifier	"Trackpoint"
#	Driver		"evdev"
#	Option		"Name" "TPPS/2 IBM TrackPoint"
#EndSection

#Section	"InputDevice"
#	Identifier	"Logitech USB mouse"
#	Driver		"evdev"
#	Option		"Name" "Logitech Optical USB Mouse"
#EndSection

Section	"Monitor"
	Identifier	"Generic Monitor 0"
	Option		"dpms"
EndSection

Section	"Monitor"
	Identifier	"Generic Monitor 1"
	Option		"dpms"
#	HorizSync	30-82
#	VertRefresh	50-150
EndSection

Section	"Device"
	Identifier	"Intel0"
	Driver		"intel"
	Screen		0
#	Option		"CacheLines" "32768"
	Option		"DRI"
#	Option		"AccelMethod" "EXA"
	Option		"PageFlip"
#	Option		"TripleBuffer"
#	Option		"backingstore"
EndSection

Section	"Device"
	Identifier	"Intel1"
	Driver		"intel"
	Screen		1
#	Option		"CacheLines" "32768"
	Option		"DRI"
#	Option		"AccelMethod" "EXA"
	Option		"PageFlip"
#	Option		"TripleBuffer"
#	Option		"backingstore"
EndSection

Section	"Screen"
	Identifier	"Screen 0"
	Device		"Intel0"
	Monitor		"Generic Monitor 0"
	DefaultDepth	24
EndSection

Section	"Screen"
	Identifier	"Screen 1"
	Device		"Intel1"
	Monitor		"Generic Monitor 1"
	DefaultDepth	24
EndSection

Section	"ServerLayout"
	Identifier	"Main Layout"
	Screen 0	"Screen 0"
	InputDevice	"Touchpad" "CorePointer"
#	InputDevice	"Logitech USB mouse" "AlwaysCore"
#	InputDevice	"Trackpoint" "AlwaysCore"
	InputDevice	"Keyboard1" "CoreKeyboard"
	Option		"AutoAddDevices" "off"
	Option		"AIGLX"
EndSection

Section	"DRI"
	Group	0
	Mode	0666
EndSection

Section	"Extensions"
	Option	"Composite"
EndSection
Comment 8 Rolando J. Zappacosta 2008-09-09 15:33:10 UTC
(In reply to comment #6)
> And in general, just remove any driver specific options, the driver is really
> quite clever these days :)
> 

Hi Remi,

thank you *very much* man!!!
I'll try it just now, only issue is have to re-emerge everything for 1.5, try it and back to the old stuff if it doesn't work (I'm already re-emerging all while writing to you). Just to up things up, could you please tell me if this is more or less what you suggest (please feel free to cut, paste, modify if not):
Section	"Files"
	FontPath	"/usr/share/fonts/misc"
	FontPath	"/usr/share/fonts/Type1"
	FontPath	"/usr/share/fonts/75dpi"
	FontPath	"/usr/share/fonts/100dpi"
	ModulePath	"/usr/lib/xorg/modules"
EndSection

Section	"Module"
	Load		"dri"
	Load		"glx"
	Load		"dbe"
	SubSection	"extmod"
	Option		"omit xfree86-dga"
	EndSubSection
	Load		"freetype"
EndSection

Section	"ServerFlags"
EndSection

Section	"InputDevice"
	Identifier	"Keyboard1"
	Driver		"keyboard"
	Option		"XkbModel" "pc105"
	Option		"XkbLayout" "en_US"
EndSection

Section	"InputDevice"
	Identifier	"Touchpad"
	Driver		"synaptics"
	Option		"Emulate3Buttons"
	Option		"Protocol" "auto-dev"
	Option		"Name" "SynPS/2 Synaptics TouchPad"
EndSection

#Section	"InputDevice"
#	Identifier	"Trackpoint"
#	Driver		"evdev"
#	Option		"Name" "TPPS/2 IBM TrackPoint"
#EndSection

#Section	"InputDevice"
#	Identifier	"Logitech USB mouse"
#	Driver		"evdev"
#	Option		"Name" "Logitech Optical USB Mouse"
#EndSection

Section	"Monitor"
	Identifier	"Generic Monitor 0"
	Option		"dpms"
EndSection

Section	"Monitor"
	Identifier	"Generic Monitor 1"
	Option		"dpms"
#	HorizSync	30-82
#	VertRefresh	50-150
EndSection

Section	"Device"
	Identifier	"Intel0"
	Driver		"intel"
	Screen		0
#	Option		"CacheLines" "32768"
	Option		"DRI"
#	Option		"AccelMethod" "EXA"
	Option		"PageFlip"
#	Option		"TripleBuffer"
#	Option		"backingstore"
EndSection

Section	"Device"
	Identifier	"Intel1"
	Driver		"intel"
	Screen		1
#	Option		"CacheLines" "32768"
	Option		"DRI"
#	Option		"AccelMethod" "EXA"
	Option		"PageFlip"
#	Option		"TripleBuffer"
#	Option		"backingstore"
EndSection

Section	"Screen"
	Identifier	"Screen 0"
	Device		"Intel0"
	Monitor		"Generic Monitor 0"
	DefaultDepth	24
EndSection

Section	"Screen"
	Identifier	"Screen 1"
	Device		"Intel1"
	Monitor		"Generic Monitor 1"
	DefaultDepth	24
EndSection

Section	"ServerLayout"
	Identifier	"Main Layout"
	Screen 0	"Screen 0"
	InputDevice	"Touchpad" "CorePointer"
#	InputDevice	"Logitech USB mouse" "AlwaysCore"
#	InputDevice	"Trackpoint" "AlwaysCore"
	InputDevice	"Keyboard1" "CoreKeyboard"
	Option		"AutoAddDevices" "off"
	Option		"AIGLX"
EndSection

Section	"DRI"
	Group	0
	Mode	0666
EndSection

Section	"Extensions"
	Option	"Composite"
EndSection
Comment 9 Rémi Cardona gentoo-dev 2008-09-09 15:56:39 UTC
That's pretty much it, although you could probably remove some more stuff from the Driver section :)
Comment 10 Rolando J. Zappacosta 2008-09-09 16:06:57 UTC
Hi Remi,

tried above config but still no luck :-(
I'm attaching the new files.

Rolando
Comment 11 Rolando J. Zappacosta 2008-09-09 16:07:43 UTC
Created attachment 165030 [details]
New xorg.conf

New xorg.conf
Comment 12 Rolando J. Zappacosta 2008-09-09 16:08:13 UTC
Created attachment 165031 [details]
New Xorg.0.log

New Xorg.0.log
Comment 13 Rémi Cardona gentoo-dev 2008-09-09 16:37:00 UTC
Ok, let's try a different route : drop your xorg.conf file completely :)

Let's see how that goes...
Comment 14 Rolando J. Zappacosta 2008-09-09 16:52:43 UTC
(In reply to comment #13)
> Ok, let's try a different route : drop your xorg.conf file completely :)
> 
> Let's see how that goes...
> 

do you mean to delete xorg.conf and run xorgconfig from scratch?
Comment 15 Rémi Cardona gentoo-dev 2008-09-09 17:14:18 UTC
(In reply to comment #14)
> do you mean to delete xorg.conf and run xorgconfig from scratch?

No no :) move xorg.conf to /root/xorg.conf.old and run X without any conf file.
Comment 16 Rolando J. Zappacosta 2008-09-09 17:20:43 UTC
(In reply to comment #15)
> No no :) move xorg.conf to /root/xorg.conf.old and run X without any conf file.

Wow!! I didn't know it should even work... 
I'm, again, emerging everything :-( is there any quicker way of switching between both versions?

Comment 17 Rolando J. Zappacosta 2008-09-09 17:42:38 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > do you mean to delete xorg.conf and run xorgconfig from scratch?
> 
> No no :) move xorg.conf to /root/xorg.conf.old and run X without any conf file.
> 

  Man, you rock!!!!! It does work!!!! It's improved a lot since the old times when one had to configure and specify even the stupidest things!!! Great.
  Unfortunatelly I desinstalled compiz a while ago so I cannot check if it's OK now but for the time been this is enough.
  I'm attaching the log for the X for your knowledge.
  Do you think it safe to ignore all this W&E:
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF/".
(WW) The directory "/usr/share/fonts/OTF" does not exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Warning, couldn't open module fbdev
(WW) Warning, couldn't open module vesa
(WW) intel(0): Bad V_BIOS checksum
(WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd0000009
(WW) intel(0): PP_STATUS before: on, ready, sequencing idle
(WW) intel(0): PP_STATUS after: on, ready, sequencing on
(WW) intel(0):   Hardware claims pipe A is on while software believes it is off
(WW) intel(0):   Hardware claims plane A is on while software believes it is off
(WW) hdaps: Don't know how to use device

BTW, the last one is pretty strange, it tries to open hdaps as an input device (it's a hard disk protection system that parks it if the PC falls down)

Comment 18 Rolando J. Zappacosta 2008-09-09 17:45:35 UTC
Created attachment 165040 [details]
Xorg.0.log for an empty xorg.conf

BTW, while adding this attach I just realized I lost the middle button emulation on my touchpad (synaptics, when touching it simultaneously with two fingers at once)
Comment 19 Rémi Cardona gentoo-dev 2008-09-09 19:01:26 UTC
Ok so this just means your xorg.conf was somehow broken. Just start with a simple file (like xorg.conf.example) and work your way to something you like.

You can use xorgconfig if you want but don't enable additional options unless you really know what they do. These days, less config means less trouble.

You can ignore the warnings, they should be harmless. As for hdaps, that's HAL reporting the sensors as an input device and Xorg tries to use it. Again, it's just a warning, don't sweat it.

Cheers
Comment 20 Emil Jacobs 2008-09-10 08:20:41 UTC
I have the very same issue. I've pinned down the problem by moving my old xorg.conf and running without any config, like was suggested here and that ran fine. The problem however was that the DRI performance was suboptimal.

I then ran X -config to make a clean new xorg.conf file and saw that Xorg used the intel driver instead of the i810. I changed it manually to i810 only to discover I return to square 1: no X starting up.

So I guess the problem here is the i810 driver, not a broken xorg.conf
Comment 21 Rémi Cardona gentoo-dev 2008-09-10 08:27:18 UTC
The i810 name is a misnomer, you should use "intel" from now on.

(I *really* need to do this pkgmove, I'm getting everyone confused, sigh)

Thanks
Comment 22 Rolando J. Zappacosta 2008-09-10 09:54:39 UTC
(In reply to comment #20)
> fine. The problem however was that the DRI performance was suboptimal.

This is my concern too. Unfortunatelly, I don't have time enough to check it as I'm pretty busy at workd. Please post your xorg.conf once you reach an optimal stable one.
Comment 23 Emil Jacobs 2008-09-10 10:19:00 UTC
On the suggestion of Remi I just put back my old xorg.conf file and replaced the i810 driver with the intel one and all works fine.

For reference, this is my xorg.conf:
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        #Screen      0  "aticonfig Screen 0" 0 0
        Screen  0 "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        #InputDevice    "Mouse1" "AlwaysCore"
        Option  "StandbyTime" "10"
        Option  "SuspendTime" "20"
        Option  "OffTime"       "30"
        # ==== AIGLX ========
        Option  "AIGLX" "true"
EndSection

Section "Files"
        #RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
        Load  "dbe"
        Load  "ddc"
        #Load  "record"
        #Load  "xtrap"
        Load  "freetype"
        #Load  "type1"
        #Load  "synaptics"
        Load  "drm"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us(intl)"
        Option      "XkbOptions" "compose:ralt,eurosign:5"

EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection

#Section "InputDevice"
        #Identifier  "Mouse1"
        #Driver      "synaptics"
        #Option     "Device" "/dev/input/mouse1"
        #Option     "Protocol" "auto-dev"
        #Option     "LeftEdge" "1700"
        #Option     "RightEdge" "5300"
        #Option     "TopEdge" "1700"
        #Option     "BottomEdge" "4200"
        #Option     "FingerLow" "25"
        #Option     "FingerHigh" "30"
        #Option     "MaxTapTime" "180"
        #Option     "MaxTapMove" "220"
        #Option     "VertScrollDelta" "100"
        #Option     "MinSpeed" "0.09"
        #Option     "MaxSpeed" "0.18"
        #Option     "AccelFactor" "0.0015"
        #Option     "PalmMinWidth" "70"
        #Option     "PalmMinZ" "200"
        #Option     "SHMConfig" "on"
#EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "IDT"
        ModelName    "2"
        Option "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
        # Option        "ColorTiling" "on"
        # Option        "AGPFastWrite" "on"
        # Option  "UseFBDev"  "on"
        # Option        "AGPMode" "8"
        # BIG performance improvements with EnablePageFlip, crash....
        #Option  "EnablePageFlip" "on"
        #Option  "DynamicClocks" "on"
        #Option  "GARTSize" "64"
        #Option "RenderAccel" "on"
        # For AIGLX use XAA
        #Option  "AccelMethod" "EXA"
        Option  "AccelMethod" "XAA"

        # ======= AIGLX ======================
        Option  "XAANoOffscreenPixmaps" "true"
        Option  "DRI" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
        Option "backingstore"
EndSection

Section "dri"
        Group   0
        Mode         0666
EndSection

Section "Extensions"
        Option  "Composite" "Enable"
EndSection
Comment 24 Rolando J. Zappacosta 2008-09-11 06:43:07 UTC
(In reply to comment #23)
> For reference, this is my xorg.conf:

Thanks man, is this the one that gave you the best performance?
Does beryl, compiz or compiz-fusion work well on it?

Regards,
Rolando Zappacosta
Comment 25 Emil Jacobs 2008-09-11 09:14:52 UTC
This xorg.conf gives me my old (good) performance, yes.
I don't use compiz/beryl/etc though, in past or present, so I don't know how that compares.

Anyway, just get your old xorg.conf, replace "i810" with "intel" and be happy.
Comment 26 Rolando J. Zappacosta 2008-09-19 19:35:08 UTC
(In reply to comment #25)
> This xorg.conf gives me my old (good) performance, yes.

Just for reference, the performance issues seems to be because of this:
http://bugs.gentoo.org/show_bug.cgi?id=237468

Regarding above config, having an empty xorg.conf causes these diffs:
1) grep -i backing /var/log/Xorg.0.log
(==) intel(0): Backing store disabled
2) Use of:
 Option  "AccelMethod" "EXA"
instead of:
 Option  "AccelMethod" "XAA"
and no XAANoOffscreenPixmaps
3) "drm" not loaded (not sure if this can affect performance though):
grep -i LoadModule /var/log/Xorg.0.log
(II) LoadModule: "extmod"
(II) LoadModule: "dbe"
(II) LoadModule: "glx"
(II) LoadModule: "freetype"
(II) LoadModule: "dri"
(II) LoadModule: "intel"
(II) LoadModule: "int10"
(II) LoadModule: "vbe"
(II) LoadModule: "vgahw"
(II) LoadModule: "int10"
(II) LoadModule: "ddc"
(II) LoadModule: "i2c"
(II) LoadModule: "fb"
(II) LoadModule: "exa"
(II) LoadModule: "ramdac"
(II) LoadModule: "evdev"
(II) LoadModule: "synaptics"