Bug 17621 - X can not start up with dri2 error
Summary: X can not start up with dri2 error
Status: CLOSED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-17 00:48 UTC by liuhaien
Modified: 2008-10-12 19:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.0.log (52.93 KB, text/plain)
2008-09-17 00:48 UTC, liuhaien
no flags Details
xorg conf file (3.57 KB, text/plain)
2008-09-17 00:49 UTC, liuhaien
no flags Details

Description liuhaien 2008-09-17 00:48:52 UTC
Created attachment 18941 [details]
xorg.0.log

System Environment:
--------------------------
Host:           965
Arch:           i386
Kernel:         2.6.27-rc5
Libdrm:         (master)973c634eaa54ee4085a72102c690bc643cb2d7a8
Mesa:           (master)904f31a62444d9f7e9b12ddafaa4beeb7fed6dfa
Xserver:                (master)b4762c0245ed2966606171cf27f40aa745fdc76e
Xf86_video_intel:               (master)9c5e0bf214cda5b1a126a2ff87509b888bab174b

Bug detailed description:
--------------------------
X can not start up with below error:
Backtrace:
0: X(xf86SigHandler+0x79) [0x80c0e39]
1: [0xb7fd9400]
2: /opt/X11R7/lib/xorg/modules/extensions//libdri2.so [0xb7e99d19]
3: /opt/X11R7/lib/xorg/modules/extensions//libdri2.so(DRI2Connect+0xe) [0xb7e99f7e]
4: /opt/X11R7/lib/xorg/modules/extensions//libglx.so [0xb7ef63be]
5: /opt/X11R7/lib/xorg/modules/extensions//libglx.so(GlxExtensionInit+0xe5) [0xb7eeb535]
6: X(InitExtensions+0xa2) [0x80e2732]
7: X(main+0x21e) [0x806c69e]
8: /lib/libc.so.6(__libc_start_main+0xe0) [0xbea390]
9: X [0x806bcd1]

Fatal server error:
Caught signal 11.  Server aborting


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


[1]+  Aborted                 X
**************************************
dmesg shows:
[drm] Initialized i915 1.6.0 20060119 on minor 0
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combining

Reproduce steps:
----------------
X&
Comment 1 liuhaien 2008-09-17 00:49:34 UTC
Created attachment 18942 [details]
xorg conf file
Comment 2 Gordon Jin 2008-09-17 06:07:10 UTC
Eric, any idea?
Comment 3 liuhaien 2008-09-17 23:06:05 UTC
this issue also happens with xf86-video-intel-2.5-branch.
Comment 4 liuhaien 2008-09-18 02:00:15 UTC
we can walk around this issue by using option "--disable-dri2" on building xserver.
Comment 5 Gordon Jin 2008-09-19 01:10:56 UTC
How about if removing /opt/X11R7/lib/xorg/modules/extensions/libdri2.so?
Comment 6 liuhaien 2008-09-19 01:16:36 UTC
(In reply to comment #5)
> How about if removing /opt/X11R7/lib/xorg/modules/extensions/libdri2.so?
> 

yes, if removing /opt/X11R7/lib/xorg/modules/extensions/libdri2.so and libdri2.la, X can start up normally.
Comment 7 Gordon Jin 2008-09-19 01:41:20 UTC
So it's environment mess issue.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.