Topic Title: tearing - cannot get vsync to work properly when rendering through VAAPI (XvBA backend)
Topic Summary: VAAPI
Created On: 01/30/2013 08:19 AM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 01/30/2013 08:19 AM
User is offline View Users Profile Print this message

Author Icon

Posts: 2
Joined: 01/30/2013


I want to render tear-free VC-1 compressed live video on X11 using the linux version of Catalyst 13.1 (fglrx 9.1.11) and the XvBA backend for VA-API. The chipset is identified as "AMD Radeon HD 6250 Graphics" (Chipset = 0x9804).

For this I need to enable synchronization of frame buffer flips on the vertical sync in order to avoid tearing. However, so far I did not manage to find the correct settings for the driver to force this vsync behavior. Strangely enough, it works well when playing a pre-recorded movie. Initially I thought it could be overcome by calling vaSyncSurface() before vaBeginPicture(), but this turns out to cause some surfaces not to update properly (and insist on showing old content). I use vaPutSurface() to make the buffers flip.

I used the following xorg.conf settings (and variations of that):

OpenGLOverlay = on
OverlayOnCRTC2 = 0
Capabilities = 0x00000800
TeturedVideoSync = on 

and the following settings in /etc/ati/amdpcsdb:


Can anyone come up with suggestions and/or the correct set of the settings? 

Another possibly interesting fact: glxgears seem to be affected well by vsync settings, since it outputs only 60fps.

 01/30/2013 09:13 AM
User is online View Users Profile Print this message

Author Icon
Dungeon Master

Posts: 4273
Joined: 12/27/2008

This is the gaming forum. There is a developer forum, you might wanted to post this there.


CPU: AMD Phenom II X4 810 @ 3250MHz | RAM: Kingmax 2x2GB DDR2 800 @ 833MHz| MoBo: MSI K9A2 CF v1.0 (BIOS: 1.D)| GPU: Asus HD 6850 1024MB (DirectCu) @ 850/1150MHz | Display: L24FHD | PSU: PC Power & Cooling Silencer 750 Quad | OS: MS Windows 7 Pro x64

CPU: Pentium 4 Northwood S478 @ 3200MHz | RAM: 1,5GB DDR 400| MoBo: Gigabyte GA-8S661FXMP-RZ | GPU: ASUS Radeon X1650 Pro 256MB | Display: Dimarson 19" CRT | PSU: Noname 400W | OS: changing twice every week...

 01/31/2013 03:14 AM
User is offline View Users Profile Print this message

Author Icon

Posts: 2
Joined: 01/30/2013

I will try it at .

Sorry for misposting. Thanks for your suggestion!

80974 users are registered to the AMD Support and Game forum.
There are currently 4 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.