Bug 16064 - X crashes (sig11) if rotation of second monitor is specified in xorg.conf
Summary: X crashes (sig11) if rotation of second monitor is specified in xorg.conf
Status: RESOLVED DUPLICATE of bug 15509
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: medium normal
Assignee: Gordon Jin
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 07:47 UTC by Bas Zoetekouw
Modified: 2008-05-25 19:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
lspci output (16.23 KB, text/plain)
2008-05-22 07:47 UTC, Bas Zoetekouw
no flags Details
Xorg.conf (1.36 KB, text/plain)
2008-05-22 07:48 UTC, Bas Zoetekouw
no flags Details
gdb backtrace (6.65 KB, text/plain)
2008-05-22 07:50 UTC, Bas Zoetekouw
no flags Details
X log file (29.76 KB, text/plain)
2008-05-22 07:51 UTC, Bas Zoetekouw
no flags Details

Description Bas Zoetekouw 2008-05-22 07:47:23 UTC
Created attachment 16684 [details]
lspci output

If I specify the option 
   Option          "Rotate"    "left"
in the monitor section of my secondary monitor in xorg.conf, X crashes with a segfault while starting.

Without this option, everything works fine, even if I set the rotation manually via xrandr.

I'll attach my configuration, a log, and a backtrace.
Comment 1 Bas Zoetekouw 2008-05-22 07:48:16 UTC
Created attachment 16686 [details]
Xorg.conf
Comment 2 Bas Zoetekouw 2008-05-22 07:50:11 UTC
Created attachment 16687 [details]
gdb backtrace
Comment 3 Bas Zoetekouw 2008-05-22 07:51:24 UTC
Created attachment 16688 [details]
X log file
Comment 4 WuNian 2008-05-22 20:28:42 UTC
I see you used the xserver tip. Did you also use tip of xf86-video-intel?

In current 2D driver tip, the default acceleration method is "EXA" and "XAA" is dead. So please use "EXA" instead of "XAA". Can you give a try?
Comment 5 liuhaien 2008-05-22 23:21:53 UTC
Using EXA and other same config with you, We can start X success.
With XAA, X can not be up. So this is XAA bug.
Comment 6 liuhaien 2008-05-23 00:28:43 UTC
btw,I find that if seting Virtual 2048 2048,X cannot start with xaa normally,and if seting Virtual 2560 1280 as your conf, X can start successfully with xaa.
Comment 7 Gordon Jin 2008-05-23 01:39:35 UTC
Bas, we've moved from xaa to exa, and the support to xaa has gone to end. Actually xaa will be removed soon.

So please try exa. If you still have problem with exa, please file a new bug. Thanks.
Comment 8 Bas Zoetekouw 2008-05-23 05:18:07 UTC
Also with EXA instead of XAA, I can still reproduce this bug.
I also tried the latest git intel driver (with both XAA and EXA), but the bug is still there, too
Comment 9 Gordon Jin 2008-05-23 06:01:29 UTC
This looks very similar to bug#15509, which has been fixed in the latest code. Could you check if your source code has included that patch?

If (unlucky) yes, please update xorg.conf and Xorg.0.log with current EXA.
Please add option "ModeDebug" "yes" in the Device section of xorg.conf to dump more register information into Xorg log.
Comment 10 Bas Zoetekouw 2008-05-23 06:24:06 UTC
Hmm, for some reason the patch for bug#15509 doesn't seem incldued in my git tree.  I cloned the tree from git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel
Maybe that's not the right uri?  Or perhaps the fix was committed to a different branch?
Comment 11 Gordon Jin 2008-05-23 23:46:37 UTC
I think this is dup with 15509. Zhenyu to check why we can't find the patch in git.

*** This bug has been marked as a duplicate of bug 15509 ***
Comment 12 Gordon Jin 2008-05-25 19:57:31 UTC
So the patch is 79fde3... in master branch. It's a little different than the attached patch on bug#15509. It's supposed to be included in 2.3.*. Could you check if it's included in your distro?

commit 79fde3ad7a949fb7f0dc9907cb6eea6ca9a910ae
Author: Zhenyu Wang <zhenyu.z.wang@intel.com>
Date:   Sat Apr 19 08:54:38 2008 +0800

    Check pitch for EXA operation

    2D pitch limit applys to all chips. Pre-965 chip has
    8KB pitch limit for 3D. 965 supports max pitch by current
    exa (128KB).
    (cherry picked from commit 8187a5a16f8bd8f0ba5e7f5357f355928b3b8f07)


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.