Bug 91416 - vsync limits fps but still tearing in picture
Summary: vsync limits fps but still tearing in picture
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 10.5
Hardware: x86-64 (AMD64) other
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-21 18:14 UTC by Markus Mitsch
Modified: 2015-07-24 13:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Markus Mitsch 2015-07-21 18:14:30 UTC
i experimented with the vblank_mode in various applications and saw that it limits the fps to 60 hz as my monitor is but the picture is torn apart.
Comment 1 Michel Dänzer 2015-07-22 04:04:06 UTC
Yes, in order to avoid tearing, you either need to run the (OpenGL) application in fullscreen with page flipping enabled, or you need to use a compositing manager which does the same thing. When using a compositing manager, enabling DRI3 may help.
Comment 2 Markus Mitsch 2015-07-22 15:33:04 UTC
running fullscreen nor changing any of the compositing options of my kubuntu kde did make a difference. i really tried but could not find any way to fix this so i thought it might be a bug.
Comment 3 Michel Dänzer 2015-07-23 02:16:05 UTC
Without DRI3, you need to choose "Full scene repaints" in the kwin desktop effects advanced settings for "Tearing Prevention (VSync)". With DRI3, you can choose "Re-use screen content", which is more efficient.

You probably also want to enable "Suspend desktop effects for fullscreen windows".
Comment 4 Michel Dänzer 2015-07-23 02:16:40 UTC
If none of that helps, please attach your Xorg.0.log file.
Comment 5 Michel Dänzer 2015-07-23 02:19:33 UTC
Oh, you also need to select OpenGL for compositing in kwin.

Also, with current xf86-video-ati Git, you can try Option "TearFree".
Comment 6 Markus Mitsch 2015-07-24 13:21:51 UTC
ok. thanks for the tips, it works now.
i set the kwin compositor to: (option names may differ, i have a german machine)

-scaling: precise
-opengl instead of xrender
-glx not egl
-vsync to automatic
-window thumbnails: only visible windows
-compositor not deactivated in fullscreen
-no color correction


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.