Bug 16636 - [GM965] xrandr rotation causes split screen and X hang
Summary: [GM965] xrandr rotation causes split screen and X hang
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks: 18858
  Show dependency treegraph
 
Reported: 2008-07-07 19:22 UTC by Bryce Harrington
Modified: 2009-07-09 00:06 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bryce Harrington 2008-07-07 19:22:29 UTC
This is a Ubuntu bug forwarded from our tracker:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/238770

When rotating the screen on Intel graphics cards using the -intel driver, the screen shows up "split" as seen in this screen capture:

http://launchpadlibrarian.net/15167591/D%3A%5CProfiles%5Cscott_zhang%5CDesktop%5Cdevide_issue.jpg

Also, X hangs at this point; the mouse cursor moves but X is unresponsive.

Xorg.0.log:  http://launchpadlibrarian.net/15345249/Xorg.0.log.1

This has been tested using both the 'xrandr' command line tool and GNOME's 'Screen Resolution' tool with identical results.  The specific hardware tested is shown below, however very similar behavior (sometimes the split part is black) on other Intel GM965/GM945 systems.  
 
[Original Report]
The Screen is divided 2 parts when rotation screen to Left or Right.
And the setting can't apply and save. the mouse could move, but no response from click

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03) (prog-if 00 [VGA controller])
 Subsystem: Dell Unknown device [1028:0298]

OS: Ubuntu8.04
Kernel version: 2.6.24-16-generic
Comment 1 Gordon Jin 2008-07-08 02:20:18 UTC
Nian, I guess we're not seeing this issue, right?
Comment 2 WuNian 2008-07-08 19:24:11 UTC
We did not see this bug with our building.
I think it should be window manager's bug that window manager is not aware of the screen resolution changes well.
For the X crash, you can debug X and give the backtrace info.
Comment 3 Zhang Scott 2008-07-08 23:52:33 UTC
(In reply to comment #2)
> We did not see this bug with our building.
> I think it should be window manager's bug that window manager is not aware of
> the screen resolution changes well.
> For the X crash, you can debug X and give the backtrace info.

WuNian
Greeting, this is scott from dell, we met this issue on system with intel graphic card GM965/GL960, and when i try to compare with the nvidia graphic card, i didn't find the rotation option from resolution dialog. so we can know this feature is supported from graphic card.
and this issue occured during the rotation feature running,I think it is very related with graphic driver.my comment:
1.did you reproduce with GM965/GL960 hardware under ubuntu8.04? 
2.if it's caused by window manager application, Is there any detail for analysis? 
Per my understanding from driver development, there should be the notify message after rotation ready, and other related application like window manager will change the may to response the click capture from the screen.if any misunderstanding, please correct me.
when the issue occured, the mouse move on sreen is hard to be responsed. if it's the window mannager issue, the mouse move should be smooth,right? so I think it still need more infor to clarify the root cause.
Comment 4 WuNian 2008-07-09 18:47:38 UTC
I saw your screen shot. After rotate, gnome generated new panel in the bottom of window, so we know gnome has detected the Randr event. But the origin bottom panel was not remove. This is window manager's responsibility. So the split window is caused by window manager.

As for the X hangs up, you can check by not starting gnome:
1, enter runlevel 3 after start OS, you will on text console. (you can change the runlevel by using sysv-rc-conf)
2, run: X &
3, run xterm &
4, run metacity & (or compiz)
5, then rotate the screen to check if X hangs up.

Comment 5 Li Peng 2008-07-22 22:48:54 UTC
This issue can be reproduced only when compiz enabled. 
For metacity, rotation works fine.
Comment 6 Li Peng 2008-07-22 22:49:55 UTC
This issue can be reproduced only when compiz enabled. 
For metacity, rotation works fine.
Comment 7 Michel Dänzer 2008-07-23 00:55:15 UTC
(In reply to comment #6)
> This issue can be reproduced only when compiz enabled. 
> For metacity, rotation works fine.

Is it still reproducible with current master branches of xserver and mesa Git? There were recently some fixes for rotation with compiz.
Comment 8 Lukas Hejtmanek 2008-08-01 02:52:46 UTC
I got the same problem with xserver 1.4.99.905, intel driver git head (the most recent update). I do not use compiz, only openbox + gnome panel. If I rotate the screen (in any direction), the xserver hangs and I got only black screen. If I run only Xserver (X :1.0), issuing xrandr --output LVDS --rotation left causes screen of garbage and unresponsive mouse cursor.

I'm using ubuntu/intrepid, i965GM hw. (ThinkPad Lenovo T61)
Comment 9 Wang Zhenyu 2008-12-02 22:18:27 UTC
I can't see this on my T61 here. What about current status? Please try with current 2.5 release, and recent xserver release.
Comment 10 Wang Zhenyu 2009-02-01 19:04:12 UTC
ping Scott Zhang? Does this still happen? we might close this as lp has closed it...
Comment 11 Zhang Scott 2009-02-01 19:14:27 UTC
Thank you for your email, I 'm out of office on China New Year vacation and will be back in 4th Feb.
I have limited email access, for EMPC ubuntu issues in following period:
23th - 24 th Jan;
1th-3th Feb.
please contact David Wang(david_d_wang@dell.com).
Comment 12 Wang Zhenyu 2009-02-15 19:52:59 UTC
This shouldn't be issue now. Close as LP. reopen if you can still produce.
Comment 13 Bryce Harrington 2009-05-07 19:34:55 UTC
Pi Boy (pi-boy-travis: 146) [bugsquad] wrote on 2009-04-27:

Confirmed on Dell Inspiron 1520 with same graphics card, running 9.04. Only occurs if Compiz is turned on. Occurs with UXA and EXA acceleration.
Comment 14 Jesse Barnes 2009-05-11 11:21:11 UTC
Adjusting severity: crashes & hangs should be marked critical.
Comment 15 Zhang Scott 2009-05-11 11:31:05 UTC
Thank you for your email, I 'm out of office today, any urgent please call me at 13661411928
Comment 16 Eric Anholt 2009-05-12 16:59:26 UTC
I'm going to ignore the "split screen" thing, as it seems to clearly be a compositor issue.

For GPU hangs, please attach the output of intel_gpu_dump with kernel 2.6.30-rc4 or newer.
Comment 17 Jesse Barnes 2009-05-27 02:39:20 UTC
Does this still happen with UXA+DRI2?  If not, please close as fixed.
Comment 18 Gordon Jin 2009-07-09 00:06:46 UTC
timeout, closing.
Please reopen if you can provide intel_gpu_dump according to
http://intellinuxgraphics.org/intel-gpu-dump.html.


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.