Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89973 - xorg-x11-6.8.99.3 crashes when trying to start with I810 driver
Summary: xorg-x11-6.8.99.3 crashes when trying to start with I810 driver
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 13:59 UTC by Jan Girlich
Modified: 2005-04-22 11:00 UTC (History)
0 users

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


Attachments
xorg.conf of comment #2 (xorg.conf,4.32 KB, text/plain)
2005-04-21 16:16 UTC, Jan Girlich
Details
full log of crash of comment #2 (Xorg.0.log,21.21 KB, text/plain)
2005-04-21 16:20 UTC, Jan Girlich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Girlich 2005-04-21 13:59:46 UTC
When xorg is configured to use the i810-driver it crashes and is not usable. I tried to find people with the same problem but the only similar problems I found were about older xfree/xorg versions and are solved already.

Please tell me how to debug this problem. I'd like to solve this problem by any means. :)

Reproducible: Always
Steps to Reproduce:
1. emerge xorg-x11-6.8.99.3
2. use an Intel Extreme Graphics 2-Device (mine is 855GM)
3. configure xorg to use the i810-driver
4. start xorg (/etc/init.d/xdm start)

Actual Results:  
After starting the screen is flickering for about 5 seconds and then xorg crashes.

Expected Results:  
xorg should start

--------------------------------------------------------------------------------
thinkpad ~ # tail -n120 /var/log/Xorg.0.log
        [14] -1 0       0xe0000000 - 0xe7ffffff (0x8000000) MX[B](B)
        [15] 1  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [16] 1  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [17] 1  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [18] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [19] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [20] -1 0       0x00007000 - 0x0000703f (0x40) IX[B]
        [21] -1 0       0x00002000 - 0x0000207f (0x80) IX[B]
        [22] -1 0       0x00002400 - 0x000024ff (0x100) IX[B]
        [23] -1 0       0x000018c0 - 0x000018ff (0x40) IX[B]
        [24] -1 0       0x00001c00 - 0x00001cff (0x100) IX[B]
        [25] -1 0       0x00001880 - 0x0000189f (0x20) IX[B]
        [26] -1 0       0x00001810 - 0x0000181f (0x10) IX[B]
        [27] -1 0       0x00001860 - 0x0000187f (0x20) IX[B]
        [28] -1 0       0x00001840 - 0x0000185f (0x20) IX[B]
        [29] -1 0       0x00001820 - 0x0000183f (0x20) IX[B]
        [30] -1 0       0x00001800 - 0x00001807 (0x8) IX[B](B)
        [31] 1  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [32] 1  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Setting vga for screen 1.
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/modules/linux/libint10.so
(II) Module int10: vendor="X.Org Foundation"
        compiled for 6.8.99.3, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Reloading /usr/lib/modules/libvbe.so
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 6.8.99.3, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(**) I810(0): Depth 16, (--) framebuffer bpp 16
(==) I810(0): RGB weight 565
(==) I810(0): Default visual is TrueColor
(**) I810(0): Option "DRI" "true"
(**) I810(0): Option "MonitorLayout" "CRT,LFP"
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/lib/modules/linux/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(EE) I810(0): vm86() syscall generated signal 4.
(II) I810(0): EAX=0xc0000fdc, EBX=0x00000000, ECX=0x0000007d, EDX=0x0000ff00
(II) I810(0): ESP=0x00000fb2, EBP=0x00000fdc, ESI=0x00000000, EDI=0x0000200e
(II) I810(0): CS=0xc000, SS=0x0100, DS=0x0000, ES=0x0000, FS=0x0000, GS=0x0000
(II) I810(0): EIP=0x0000303d, EFLAGS=0x00033282
(II) I810(0): code at 0x000c303d:
 c6 08 f6 c3 10 75 f2 80 fb 40 72 ea eb 1a bf 33
 06 be 13 06 57 56 e8 be 00 5e 5f e8 b9 00 f6 c3
(II) stack at 0x00001fb2:
 84 52 c6 0c 00 00 00 00 0e 20 22 69 00 00 00 00
 74 68 d6 69 7d 00 00 00 00 20 67 69 d7 1e 00 00
 03 50 10 00 00 00 06 00 00 0d 40 00 00 00 00 00
 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 4f 00 00 00 06 00 00 00 32
(II) I810(0): VESA BIOS not detected
(EE) I810(0): VBE initialization failed.
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/lib/modules/linux/libint10.so
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Reloading /usr/lib/modules/libvbe.so
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Reloading /usr/lib/modules/libvgahw.so
(**) I810(1): Depth 16, (--) framebuffer bpp 16
(==) I810(1): RGB weight 565
(==) I810(1): Default visual is TrueColor
(**) I810(1): Option "MonitorLayout" "CRT,LFP"
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/lib/modules/linux/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(EE) I810(0): vm86() syscall generated signal 4.
(II) I810(0): EAX=0xc0000fdc, EBX=0x00000000, ECX=0x0000007d, EDX=0x0000ff00
(II) I810(0): ESP=0x00000fb2, EBP=0x00000fdc, ESI=0x00000000, EDI=0x0000200e
(II) I810(0): CS=0xc000, SS=0x0100, DS=0x0000, ES=0x0000, FS=0x0000, GS=0x0000
(II) I810(0): EIP=0x0000303d, EFLAGS=0x00033282
(II) I810(0): code at 0x000c303d:
 c6 08 f6 c3 10 75 f2 80 fb 40 72 ea eb 1a bf 33
 06 be 13 06 57 56 e8 be 00 5e 5f e8 b9 00 f6 c3
(II) stack at 0x00001fb2:
 84 52 c6 0c 00 00 00 00 0e 20 22 69 00 00 00 00
 74 68 d6 69 7d 00 00 00 00 20 67 69 d7 1e 00 00
 03 50 10 00 00 00 06 00 00 0d 40 00 00 00 00 00
 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 4f 00 00 00 06 00 00 00 32
(II) I810(0): VESA BIOS not detected
(EE) I810(1): VBE initialization failed.
(II) UnloadModule: "i810"
(II) UnloadModule: "int10"
(II) UnloadModule: "int10"
(II) UnloadModule: "vgahw"
(II) UnloadModule: "vbe"
(II) UnloadModule: "int10"
(II) UnloadModule: "i810"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/lib/modules/libvgahw.so
(II) UnloadModule: "vbe"
(II) UnloadModule: "int10"
(II) Unloading /usr/lib/modules/linux/libint10.so
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

--------------------------------------------------------------------------------
thinkpad ~ # egrep -v "^ *#" /etc/X11/xorg.conf


Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "LCD" 0 0
        Screen      1  "VGA" RightOf "LCD"
        InputDevice    "Touchpad" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard1" "CoreKeyboard"
        Option      "Xinerama" "false"
EndSection

Section "Files"

        RgbPath      "/usr/lib/X11/rgb"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/corefonts"
        FontPath     "/usr/share/fonts/freefont"
        FontPath     "/usr/share/fonts/sharefonts"
        FontPath     "/usr/share/fonts/artwiz"
        FontPath     "/usr/share/fonts/terminus"
        FontPath     "/usr/share/fonts/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/unifont"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/local/"
EndSection

Section "Module"

        Load  "bitmap"
        Load  "ddc"
        Load  "extmod"
        Load  "record"
        Load  "vbe"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA
extension
        EndSubSection
        Load  "type1"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
        Load    "GLcore"
        Load  "synaptics"
EndSection

Section "InputDevice"

        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbModel" "pc102"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"

        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/psaux"
EndSection


Section "Monitor"
        Identifier   "LCD"
        HorizSync    31.5 - 48.5
        VertRefresh  50.0 - 70.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "External Monitor"
        HorizSync    31.5 - 31.5
        VertRefresh  50.0 - 70.0
        Option      "DPMS"
EndSection

Section "Device"

        Identifier  "Intel LCD"
        Option      "DRI" "true"
        Driver      "i810"
        ChipSet     "852GM/855GM"
        Card        "i810 852GM/855GM"
        Option      "MonitorLayout" "CRT,LFP"
        BusID       "PCI:0:2:0"
        Screen      1
EndSection

Section "Device"
        Identifier  "Intel VGA"
        Driver      "i810"
        ChipSet     "852GM/855GM"
        Card        "i810 852GM/855GM"
        Option      "MonitorLayout" "CRT,LFP"
        BusID       "PCI:0:2:0"
        Screen      0
EndSection

Section "Screen"
        Identifier "LCD"
        Device     "Intel LCD"
        Monitor    "LCD"
        DefaultDepth     16
        SubSection "Display"
                Depth     1
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "VGA"
        Device     "Intel VGA"
        Monitor    "External Monitor"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection

Section "InputDevice"
        Identifier  "Touchpad"
        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.06"
        Option      "MaxSpeed"        "0.12"
        Option      "AccelFactor"     "0.0010"
        Option      "SHMConfig"       "on"
        Option      "RTCornerButton"  "0"
        Option      "RBCornerButton"  "0"
EndSection

--------------------------------------------------------------------------------
thinkpad ~ # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-rc2 i686)
=================================================================
System uname: 2.6.12-rc2 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 20:05:10)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.149.10.102/"
LINGUAS="de_DE de en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-deltup /usr/local/portage-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi acpi4linux activefilter alsa avi berkdb bitmap-fonts bzlib
cdparanoia cdr clamav cups dga dio directfb divx4linux dmx dnd doc dvd dvdread
emboss encode escreen exif fam fbcon flac font-server foomaticdb fortran gdbm
ggi gif gpm gtk gtk2 guile i8x0 imap imlib irda java javascript joystick jp2
jpeg junit libcaca libg++ libwww live mad maildir matroska mikmod mmx motif
moznocompose mp3 mpeg mpeg4 mplayer ncurses network nls oav ogg oggvorbis opengl
pam pcmcia pdflib perl png pnp posix ppds python qt quicktime readline samba sdl
slang spell sse ssl svga szip tcltk tcpd theora tiff truetype truetype-fonts
type1-fonts usb v4l v4l2 virus-scan vorbis xml2 xmms xosd xv xvid zlib
linguas_de_DE linguas_de linguas_en_US linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-21 15:28:15 UTC
Does this work fine in 6.8.2-r1/2?

Could you try with single-monitor setups? Also if you could attach the full X log, that may be helpful.
Comment 2 Jan Girlich 2005-04-21 16:14:40 UTC
This works (nearly) fine in 6.8.2-r1/2.
The only problem I've got in these versions is after suspend-to-ram I get an I830WaitLPRing() error and xorg crashes and locks the keyboard and screen so the only thing I can do is sshing to the box, which is really annoying and has nothing to do with the double-screen-setup (tested).

I tested with one-screen-setup to no avail.

The xorg.conf and Xorg.0.log will be attached with this comment.

Sorry, if I was wrong marking this bug as critical, but I can't use xorg-x11-6.8.99.3 at all by now.
Comment 3 Jan Girlich 2005-04-21 16:16:48 UTC
Created attachment 56878 [details]
xorg.conf of comment #2

xorg.conf with single-monitor-setup
Comment 4 Jan Girlich 2005-04-21 16:20:44 UTC
Created attachment 56879 [details]
full log of crash of comment #2
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-21 17:15:02 UTC
If you could file this upstream at bugs.freedesktop.org and post the URL here, that'd be great. In particular, it's worth noting that things work on 6.8.2 and not 6.8.99.3.
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2005-04-21 19:37:08 UTC
As a side note: are you using the i830 or i915 kernel driver for this, or from the drm package?
Comment 7 Jan Girlich 2005-04-22 05:35:28 UTC
Hello, I use the i915-driver compiled inside the kernel.

After testing around, I found out, that the config for single-monitor-setup http://bugs.gentoo.org/attachment.cgi?id=56878&action=view works!

The only problem I had was that I need to reboot the entire laptop.

1) Starting the laptop and trying dual-monitor-setup => xorg crashes whatever I do (i.e. trying single-monitor-setup)

2) Starting the laptop and trying single-monitor-setup => xorg works (but seems slow to me and it has some strange effects after suspend-to-ram)

So I will do an upstream-bug-report today afternoon and just mention dual-monitor-setup as not working.
Comment 8 Jan Girlich 2005-04-22 10:22:46 UTC
I created a bug-report upstream:

https://bugs.freedesktop.org/show_bug.cgi?id=3105