Bug 11206 - [i830 Modesetting] Dragging a window crashes X
Summary: [i830 Modesetting] Dragging a window crashes X
Status: CLOSED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Keith Packard
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 13027
  Show dependency treegraph
 
Reported: 2007-06-08 12:26 UTC by Wei Wang
Modified: 2011-08-25 18:47 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (3.23 KB, text/plain)
2007-06-08 12:28 UTC, Wei Wang
no flags Details
log of Xorg (298.85 KB, text/plain)
2007-06-08 12:29 UTC, Wei Wang
no flags Details

Description Wei Wang 2007-06-08 12:26:53 UTC
intel_drv: 8a19e7d57bc23dd163b45e0ab7deca4f074c934d
xserver: 9c47b86bd9a4633fda5fd305a09ac8623187efa0


I test mode setting on a IBM X30 laptop whose LCD's maximum resolution is 1024x768, with a Dell LCD monitor connected to it VGA port. The Dell's LCD's maximum resolution is 1280x1024.
After X is brought up, I launch 2 xterm ONLY (twm is the window manager). Then start to use xrandr play modesetting. Since the Virtual set in Screen section is "2048x1024", I run "xrandr --output LVDS --pos 1024x0". Then I start dragging one of the xterm window at will.
The behavior is: the window I drag should have been placed at the rightmost border of the laptop LCD (since the horizontal virtual is 2048 and the horizontal --pos is 1024). However, the window bounces back to almost in the middle of the screen of laptop's LCD. After I try this kind of dragging several times, the screen shows some messy color then X quit and it cannot be brought up anymore (unless rebooting).


Steps:
=====
. reboot machine
. bring up X
. launch twm and 2 xterm
. dragging the window, which is mentioned above
Comment 1 Wei Wang 2007-06-08 12:28:53 UTC
Created attachment 10234 [details]
xorg.conf
Comment 2 Wei Wang 2007-06-08 12:29:59 UTC
Created attachment 10235 [details]
log of Xorg
Comment 3 Eric Anholt 2007-08-17 19:38:20 UTC
Probably an issue with twm, since nobody uses it any more.  Try a WM like metacity.
Comment 4 Gordon Jin 2007-08-17 19:53:41 UTC
This is reported by Wei when he rotated to Oregon and played with i830 provided by Keith. We don't have i830 in Shanghai.
Could Keith validate this issue, if still owning i830?
Comment 5 Keith Packard 2007-11-19 23:44:37 UTC
The 'bouncing' is caused by twm not responding to the screen size change when you reconfigured outputs with xrandr. Restarting twm after reconfiguring things should make it work correctly.

I cannot reproduce the rendering issues at this point; I'll mark it fixed and assume that changes in the last months have fixed it.


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.