Summary: | VDPAU playback hangs when moving window between xrandr monitors | ||
---|---|---|---|
Product: | Mesa | Reporter: | Michał Górny <mgorny> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | david, nfxjfg, nikoli |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Attempt at making DRI2 MSC counter consistent between CRTCs |
Description
Michał Górny
2013-06-29 19:30:49 UTC
I think this is because the DRI2 MSC counters differ between CRTCs, so a DRI2 buffer swap or MSC wait times out. AFAICT it might be tricky to fix this, at least without DRI3. Created attachment 83546 [details] [review] Attempt at making DRI2 MSC counter consistent between CRTCs Here's an attempt at making the DRI2 MSC counter per-window instead of per-CRTC. I couldn't quite make it work, but maybe someone can run with this and finish it. *** Bug 72291 has been marked as a duplicate of this bug. *** Now we have DRI3, is here some code to test? Or we should test this patch? *** Bug 77208 has been marked as a duplicate of this bug. *** Shouldn't this be responsibility of the code that implements the vdpau API? Maybe it should attempt to remap the MSC counters to system time, and smooth out the differences. (Sorry I don't know anything about Mesa internals.) IMO this issue does make the Mesa vdpau implementation very unreliable, and at least for me it has caused a lot of problems. At this moment we have working DRI3 setup (without Present for Radeon). Is there any effort to port VDPAU to DRI3? (In reply to David Heidelberger (okias) from comment #7) > At this moment we have working DRI3 setup (without Present for Radeon). > > Is there any effort to port VDPAU to DRI3? Not yet, but it is on the todo list. On the other hand it sounds like a good beginners task if somebody wants to get his hands dirty. I'm glad to help and point out the right place in the sources if somebody volunteers. Fixed in xf86-video-ati Git master: commit 0288a4b87b65ba54f37fbeeea3cb32238deee92e Author: Michel Dänzer <michel.daenzer@amd.com> Date: Wed Aug 19 16:54:14 2015 +0900 DRI2: Keep MSC monotonic when moving window between CRTCs |
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.