Bug 20848

Summary: Nouveau crashes on rotation or refrect
Product: xorg Reporter: Luiz Angelo Daros de Luca <luizluca>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log
none
Dmesg for the first case none

Description Luiz Angelo Daros de Luca 2009-03-24 15:08:11 UTC
Created attachment 24214 [details]
Xorg log

Hello,

I'm in a multimonitor setup. One with 22' and another with 15' rotated. I used to setup my screens with xrandr only. However, after updating drm and nouveau from git and build, It crashes on rotation. I run xinit and run: 

xrandr --output DVI-I-0 --rotate left

And X server crashes with:

Backtrace:
0: X(xf86SigHandler+0x65) [0x47eca5]
1: /lib64/libc.so.6 [0x7f28268026e0]
2: /lib64/libc.so.6(memcpy+0x15b) [0x7f282684fe8b]
3: /usr/lib64/libpixman-1.so.0 [0x7f2827526633]
4: /usr/lib64/libpixman-1.so.0 [0x7f282752af54]
5: /usr/lib64/libpixman-1.so.0(pixman_image_composite+0x79f) [0x7f282752abbf]
6: /usr/lib64/xorg/modules//libfb.so(fbComposite+0x1ba) [0x7f28231b1c8a]
7: /usr/lib64/xorg/modules//libexa.so(ExaCheckComposite+0x312) [0x7f2822f96a72]
8: /usr/lib64/xorg/modules//libexa.so(exaComposite+0x245) [0x7f2822f955e5]
9: X [0x52f9f8]
10: X [0x4af96b]
11: X(BlockHandler+0x50) [0x44fe80]
12: X(WaitForSomething+0x152) [0x4e9192]
13: X(Dispatch+0x7f) [0x44c15f]
14: X(main+0x45d) [0x43260d]
15: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f28267ee586]
16: X [0x4319e9]

If I use:

 xrandr --output DVI-I-1 --rotate left

It simply freeze. I'll attach the logs for the first case.
Comment 1 Luiz Angelo Daros de Luca 2009-03-24 15:09:04 UTC
Created attachment 24215 [details]
Dmesg for the first case
Comment 2 Luiz Angelo Daros de Luca 2009-03-26 10:29:14 UTC
Today's build news:

Today I got the same behavior "rotating to left" both screens: crash and stack dump. The kernel freezing happens randomly and specially when I try to VT-switch after a crash.

I also reproduced this on single screen setup. This is not multihead setup problem. This is "--rotate any but normal" and "--reflect any" problem.
Comment 3 Ben Skeggs 2009-03-26 19:02:04 UTC
This should be fixed now.
Comment 4 Luiz Angelo Daros de Luca 2009-03-27 12:38:11 UTC
Yes, It's fixed.

Thank you!

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.