Bug 21570 - [GM965] xf86-video-intel low performance in rotated state
Summary: [GM965] xf86-video-intel low performance in rotated state
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: All All
: medium normal
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-05 11:20 UTC by Andrey S.
Modified: 2009-06-08 15:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (49.44 KB, text/x-log)
2009-05-05 11:20 UTC, Andrey S.
no flags Details
xorg.conf file (6.55 KB, application/octet-stream)
2009-05-05 11:22 UTC, Andrey S.
no flags Details
xorg.conf configuration file (6.55 KB, text/plain)
2009-05-05 11:24 UTC, Andrey S.
no flags Details
Xorg.0.log file (49.44 KB, text/plain)
2009-05-05 11:24 UTC, Andrey S.
no flags Details
sysprof - 0 degrees (no rotation) (64.05 KB, text/plain)
2009-05-14 02:53 UTC, Andrey S.
no flags Details
sysprof - 90 degrees rotation (305.20 KB, text/plain)
2009-05-14 02:54 UTC, Andrey S.
no flags Details
sysprof - 180 degrees rotation (upside down) (45.13 KB, text/plain)
2009-05-14 02:55 UTC, Andrey S.
no flags Details

Description Andrey S. 2009-05-05 11:20:10 UTC
Created attachment 25474 [details]
xorg.conf

With Intel GM965 (HP 2710p tablet PC)
in any rotated state (90, 180, 270 degrees) except normal, 
the whole desktop is awfully slow in any desktop environment.

Tried moving windows, scrolling pdf's, web-pages, etc. 
Screen refresh rate seems to be about 2 - 4 hertz.

The problem seem to be not only GM965 specific.
Other chipsets seem to be also affected.

See these bugs:
http://bugs.freedesktop.org/show_bug.cgi?id=20412
http://bugs.freedesktop.org/show_bug.cgi?id=14568
Comment 1 Andrey S. 2009-05-05 11:22:48 UTC
Created attachment 25476 [details]
xorg.conf file
Comment 2 Andrey S. 2009-05-05 11:24:13 UTC
Created attachment 25477 [details]
xorg.conf configuration file
Comment 3 Andrey S. 2009-05-05 11:24:57 UTC
Created attachment 25478 [details]
Xorg.0.log file
Comment 4 Gordon Jin 2009-05-05 19:20:07 UTC
Carl may have more clue for performance issue.
Comment 5 Bob McElrath 2009-05-05 23:29:58 UTC
I confirm this bug, on a thinkpad x61 tablet.

This bug has been introduced between Ubuntu intreped (2.4.1) and jaunty (2.6.3).
Comment 6 Andrey S. 2009-05-14 02:53:33 UTC
Created attachment 25857 [details]
sysprof - 0 degrees (no rotation)
Comment 7 Andrey S. 2009-05-14 02:54:22 UTC
Created attachment 25858 [details]
sysprof - 90 degrees rotation
Comment 8 Andrey S. 2009-05-14 02:55:11 UTC
Created attachment 25859 [details]
sysprof - 180 degrees rotation (upside down)
Comment 9 Andrey S. 2009-05-14 03:17:05 UTC
I made 3 sysprof logs:
1) No rotation (0 degrees)
2) Rotation clockwise (90 degrees)
3) Screen upside down (180 degrees)

Obviously, bug is seen in case 2) and 3)

Some applications were in system tray and three windows were open:
sysprof, KDE4 konqueror, pdf document in okular (PDF viewer).

After starting sysprof I moved 
windows a little bit and scrolled pdf file.

Compositing effects in kwin were off.
And testing was made with this line 
added to xorg.conf to disable compositing:
  Option       "Composite" "off"

If I made profiling not the right way,
please, correct me and I'll redo profiling again.
Comment 10 Andrey S. 2009-06-08 08:00:51 UTC
I tested this again with kernel x86_64 2.6.29-g5d80f8e5-114-default .
No frame rate decrease, everything seems to be running fine.

So I think problem appears only if new kernel is not installed (>= 2.6.28, I suppose).
So that leaves some users with this bug, unless they install custom new kernel,
since some distributions still have older kernels (for example openSUSE has 2.6.27*).
Maybe some workaround for them exists?
Comment 11 Carl Worth 2009-06-08 15:20:22 UTC
Thanks for testing the newer kernel and thanks especially for reporting this fixed!

We actually do have an idea for a performance improvement for rotated rendering, so it might get even better soon.

-Carl


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.