Summary: | VdpPresentationQueueGetTime does not return a monotonic time | ||
---|---|---|---|
Product: | Mesa | Reporter: | nfxjfg |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | nfxjfg |
Version: | 9.0 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
nfxjfg
2014-04-08 23:17:17 UTC
Oh, it seems the pausing issue could be caused by interaction with power management. This is what a user posted:
>When polling '/sys/kernel/debug/dri/0/radeon_pm_info' you can see that this only happens when the power level switches from an UVD power level to a non-UVD power level. Pause -> 1-2 seconds -> non-UVD power level -> Play -> Stutter
That's a known issue, it's a design problem of DRI2. Essentially there is no global time you could return from VdpPresentationQueueGetTime. Instead what you return is always the an estimation based on the vsync counter and that's unfortunately per output instead of global. Additional to that I never bothered adding the difference between the last flip and the current time to the result of VdpPresentationQueueGetTime. So when you don't have a page flip the result of VdpPresentationQueueGetTime will probably stand still. *** This bug has been marked as a duplicate of bug 66384 *** (In reply to comment #1) > Oh, it seems the pausing issue could be caused by interaction with power > management. This is what a user posted: > > >When polling '/sys/kernel/debug/dri/0/radeon_pm_info' you can see that this only happens when the power level switches from an UVD power level to a non-UVD power level. Pause -> 1-2 seconds -> non-UVD power level -> Play -> Stutter Not for me though, my HD4890 doesn't have uvd, and I just tried forcing dpm to low and high rather than auto and the pausing issue is still there with both. |
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.