https://bugs.freedesktop.org/show_bug.cgi?id=32789
Summary: VSync loss after rotation to portrait mode Product: Mesa Version: 7.9 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/R600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: stapostol@gmail.com
Created an attachment (id=41580) --> (https://bugs.freedesktop.org/attachment.cgi?id=41580) Xorg log file
I have a monitor that can be rotated from landscape (1920x1080) to portrait mode (1080x1920) and vice versa. When I use the monitor in landscape mode, I can see a perfectly vsynced desktop. Once I move to portrait mode (xrandr -o left), the vsync is lost and scrolling or moving windows becomes a tearing fest.
Compiz is running in both cases, with its "sync to vblank" setting enabled. (If I disable compiz, I get tearing in both landscape and portrait mode - even worse!)
This is on Ubuntu 10.10: - 'uname' gives Linux 2.6.35-24-generic - 'glxinfo' gives OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: Mesa DRI R600 (RV770 9442) 20090101 TCL DRI2 OpenGL version string: 2.1 Mesa 7.9-devel
My Xorg.0.log is attached.
https://bugs.freedesktop.org/show_bug.cgi?id=32789
--- Comment #1 from Maarten Maathuis madman2003@gmail.com 2011-01-03 06:11:26 PST --- Landscape mode is the default rendering mode (it's called normal), anything else causes the X server to create a new frontbuffer and render with a transform onto this rotated frontbuffer (this process isn't backbuffered last time i checked). Everytime the X server receives "damage" on the "normal" frontbuffer it will update the rotated frontbuffer. This transform happens outside compiz/opengl (which was used to get the vsync). This is just a generic story, not sure if this is easy to fix for amd hardware.
https://bugs.freedesktop.org/show_bug.cgi?id=32789
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41580|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=32789
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Mesa |xorg Version|7.9 |unspecified Component|Drivers/DRI/R600 |Driver/Radeon AssignedTo|dri-devel@lists.freedesktop |xorg-driver-ati@lists.x.org |.org | QAContact| |xorg-team@lists.x.org
--- Comment #2 from Michel Dänzer michel@daenzer.net 2011-01-03 07:46:34 PST --- Option "EXAVSync" might fix the tearing but will slow things down.
dri-devel@lists.freedesktop.org