Bug 90789 - Vsync doesn't work for rotated display
Summary: Vsync doesn't work for rotated display
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 93494 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-31 07:25 UTC by Jon
Modified: 2016-03-10 03:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
attachment-31766-0.html (1.67 KB, text/html)
2015-12-25 03:48 UTC, Jon
no flags Details
Add support for transforms to separate scanout buffer infrastructure (10.32 KB, patch)
2015-12-25 10:13 UTC, Michel Dänzer
no flags Details | Splinter Review
attachment-12541-0.html (2.60 KB, text/html)
2015-12-27 01:03 UTC, Jon
no flags Details

Description Jon 2015-05-31 07:25:38 UTC
Just installed fedora 22 on my desktop and I have a dual monitor setup. The main monitor is landscape and works fine the second is portrait and it seems like vsync is not enabled. When I scroll through text on the portrait monitor there is a line of tearing that occurs (which migrates across the screen). If I switch the monitor back to landscape the tearing does not occur. If it matters the landscape monitor is connected on DVI while the portrait is on displayport. Video card is a radeon 260x. Rotation was done via gnome 3.16 setting panel.
Comment 1 Michel Dänzer 2015-12-25 03:36:20 UTC
*** Bug 93494 has been marked as a duplicate of this bug. ***
Comment 2 Michel Dänzer 2015-12-25 03:37:44 UTC
I have plans for making Option "TearFree" work for rotated outputs, but I don't know when I'll get around to it. Others are welcome to jump in.
Comment 3 Jon 2015-12-25 03:48:19 UTC
Created attachment 120681 [details]
attachment-31766-0.html

If it helps a tear free desktop is easily the most desired option for me.

On 12/24/2015 05:37 PM, bugzilla-daemon@freedesktop.org wrote:
>
> *Comment # 2 <https://bugs.freedesktop.org/show_bug.cgi?id=90789#c2> 
> on bug 90789 <https://bugs.freedesktop.org/show_bug.cgi?id=90789> from 
> Michel Dänzer <mailto:michel@daenzer.net> *
> I have plans for making Option "TearFree" work for rotated outputs, but I don't
> know when I'll get around to it. Others are welcome to jump in.
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You reported the bug.
>
Comment 4 Michel Dänzer 2015-12-25 10:13:53 UTC
Created attachment 120682 [details] [review]
Add support for transforms to separate scanout buffer  infrastructure

Here's a preliminary patch for this, which should reduce tearing even without Option "TearFree" and eliminate it with the option enabled.

Note that for 90/270 degree rotation, you'll need to patch xserver with http://lists.x.org/archives/xorg-devel/2015-December/048377.html or to disable the HW cursor with Option "SWcursor".
Comment 5 Jon 2015-12-27 01:03:52 UTC
Created attachment 120703 [details]
attachment-12541-0.html

Thank you much. If I'm not super familiar with patching my xserver/video 
driver where's the best place to get started? Would it be worth waiting 
until this gets included in fedora?

On 12/25/2015 12:13 AM, bugzilla-daemon@freedesktop.org wrote:
>
> *Comment # 4 <https://bugs.freedesktop.org/show_bug.cgi?id=90789#c4> 
> on bug 90789 <https://bugs.freedesktop.org/show_bug.cgi?id=90789> from 
> Michel Dänzer <mailto:michel@daenzer.net> *
> Createdattachment 120682 <attachment.cgi?id=120682> [details] 
> <attachment.cgi?id=120682&action=edit>  [review] <page.cgi?id=splinter.html&bug=90789&attachment=120682>
> Add support for transforms to separate scanout buffer  infrastructure
>
> Here's a preliminary patch for this, which should reduce tearing even without
> Option "TearFree" and eliminate it with the option enabled.
>
> Note that for 90/270 degree rotation, you'll need to patch xserver with
> http://lists.x.org/archives/xorg-devel/2015-December/048377.html  or to disable
> the HW cursor with Option "SWcursor".
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You reported the bug.
>
Comment 6 Michel Dänzer 2016-03-10 03:23:03 UTC
With https://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=798c4fd16d339b1ad5fd729cc884be084c60e38b (and xserver >= 1.16), Option "TearFree" eliminates tearing with rotation.


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.