Bug 17621

Summary: X can not start up with dri2 error
Product: xorg Reporter: liuhaien <haien.liu>
Component: Driver/intelAssignee: Eric Anholt <eric>
Status: CLOSED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.0.log
none
xorg conf file none

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.