Bug 15508 - [965] Rotating left with virtual size > 2048 makes X very slow on external monitor
Summary: [965] Rotating left with virtual size > 2048 makes X very slow on external mo...
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords: NEEDINFO
Depends on:
Reported: 2008-04-14 16:53 UTC by Bryce Harrington
Modified: 2008-06-27 18:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Bryce Harrington 2008-04-14 16:53:13 UTC
I'm forwarding this bug from a Ubuntu reporter.

Bug: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/174650

With a Dell D6340 laptop + external monitor setup arranged side-by-side, if you rotate the external monitor but leave the LVDS un-rotated, and if the resulting width goes beyond 2048, there will be a major performance slowdown.

It does not seem to matter if the rotation is done via xrandr or in the xorg.conf.  Switching between EXA and XAA makes no difference.  Turning off DRI or setting NoAccess to true makes no difference.  Turning the laptop screen off makes no difference.

If the displays are arranged such that they fit into 2047 width, it works perfectly.  Moving it 1 pixel to 2048 suddenly causes the performance problem.  If no rotation is performed, the displays can be side by side with width > 2048 with no performance issues.

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

Xorg.0.log:  http://launchpadlibrarian.net/11327558/Xorg.0.log
xorg.conf:   http://launchpadlibrarian.net/11327541/xorg.conf
Comment 1 Michael Fu 2008-06-05 19:10:24 UTC
zhenyu, is this known behaviour?
Comment 2 Wang Zhenyu 2008-06-05 19:24:23 UTC
Could you try current 2.3.1 driver? There was some 2048 size kludge on 965 hw that should be fixed now.
Comment 3 Michael Fu 2008-06-19 22:28:43 UTC
ping for response...
Comment 4 Bryce Harrington 2008-06-27 18:36:33 UTC
Ah, sorry, the original reporter confirmed it fixed on the ubuntu bug:

== Vu Ngoc San wrote on 2008-06-06: ==

now it works ! thanks!

next step would be to make compiz work with rotated external monitor...
But that's probably a completely different issue.
(it doesn't work even for virtual screen less that 2048x2048, for new and old driver. The external screen becomes black when compiz is enabled. All I can see is the mouse cursor :) )

anyway thanks again a lot for this fix.

== Bryce Harrington wrote on 2008-06-20: ==

Great, thanks for confirming the fix - I've got 2.3.2 up in intrepid now so we should be good to go.

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.