Skip to contentSkip to conversation

New: VSync loss after rotation to portrait mode

Bug 32789 [email protected] 1 participant 4 messages Jan 3, 2011

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 32789] VSync loss after rotation to portrait mode

https://bugs.freedesktop.org/show_bug.cgi?id=32789

--- Comment #1 from Maarten Maathuis <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 32789] VSync loss after rotation to portrait mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32789

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #41580|application/octet-stream    |text/plain
          mime type|                            |
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 32789] VSync loss after rotation to portrait mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32789

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Product|Mesa                        |xorg
            Version|7.9                         |unspecified
          Component|Drivers/DRI/R600            |Driver/Radeon
         AssignedTo|[email protected] |[email protected]
                   |.org                        |
          QAContact|                            |[email protected]

--- Comment #2 from Michel Dänzer <[email protected]> 2011-01-03 07:46:34 PST --- Option "EXAVSync" might fix the tearing but will slow things down.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel