From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 71753] New: Radeon Audio clock running wrong speed Date: Mon, 18 Nov 2013 18:51:50 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1008913788==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CCFE0FAD43 for ; Mon, 18 Nov 2013 10:51:50 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1008913788== Content-Type: multipart/alternative; boundary="1384800710.d44FE0.6076"; charset="us-ascii" --1384800710.d44FE0.6076 Date: Mon, 18 Nov 2013 18:51:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=71753 Priority: medium Bug ID: 71753 Assignee: dri-devel@lists.freedesktop.org Summary: Radeon Audio clock running wrong speed Severity: normal Classification: Unclassified OS: Linux (All) Reporter: fritsch@xbmc.org Hardware: Other Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI When syncing radeon audio to a systemclock one realizes that it goes wrong approximately 10ms per 6 seconds. For example with 60hz and 50hz the audio clock is 10ms / 6 seconds too fast, which causes great issues, when watching e.g. LiveTV. When displaying at 24hz the audio clock is approximately 10ms / 6 seconds too slow, which can be workarounded by doubling packages. You can only realize this problem, if you don't use any resample algorithms to make audio fit. Some output from an xbmc.log: Configuration: 50hz no sync playback to display. Kernel 3.12 (Pierre Ossmann patch applied) with mesa git 19:46:13 T:139718574470912 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:62710358734.243919, should be:62710332298.764549, error:-26435.479370 19:46:16 T:139718574470912 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:62712528103.582550, should be:62712508710.849106, error:-19392.733447 19:46:17 T:139718566078208 DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000 19:46:22 T:139718574470912 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:62718996472.639107, should be:62719007584.295349, error:11111.656243 19:46:28 T:139718574470912 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:62725295876.976349, should be:62725306470.191048, error:10593.214698 19:46:35 T:139718574470912 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:62731698477.715050, should be:62731709235.032417, error:10757.317365 19:46:38 T:139719056176896 DEBUG: Thread JobWorker 139719056176896 terminating (autodelete) 19:46:41 T:139718574470912 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:62738297284.064415, should be:62738308465.384331, error:11181.319916 19:46:48 T:139718574470912 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:62744796455.484329, should be:62744807397.750954, error:10942.266624 -- You are receiving this mail because: You are the assignee for the bug. --1384800710.d44FE0.6076 Date: Mon, 18 Nov 2013 18:51:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 71753
Assignee dri-devel@lists.freedesktop.org
Summary Radeon Audio clock running wrong speed
Severity normal
Classification Unclassified
OS Linux (All)
Reporter fritsch@xbmc.org
Hardware Other
Status NEW
Version XOrg CVS
Component DRM/Radeon
Product DRI

When syncing radeon audio to a systemclock one realizes that it goes wrong
approximately 10ms per 6 seconds.

For example with 60hz and 50hz the audio clock is 10ms / 6 seconds too fast,
which causes great issues, when watching e.g. LiveTV.

When displaying at 24hz the audio clock is approximately 10ms / 6 seconds too
slow, which can be workarounded by doubling packages.

You can only realize this problem, if you don't use any resample algorithms to
make audio fit.

Some output from an xbmc.log:

Configuration: 50hz no sync playback to display.
Kernel 3.12 (Pierre Ossmann patch applied) with mesa git

19:46:13 T:139718574470912   DEBUG: CDVDPlayerAudio:: Discontinuity2 -
was:62710358734.243919, should be:62710332298.764549, error:-26435.479370
19:46:16 T:139718574470912   DEBUG: CDVDPlayerAudio:: Discontinuity2 -
was:62712528103.582550, should be:62712508710.849106, error:-19392.733447
19:46:17 T:139718566078208   DEBUG: CPullupCorrection: detected pattern of
length 1: 40000.00, frameduration: 40000.000000
19:46:22 T:139718574470912   DEBUG: CDVDPlayerAudio:: Discontinuity2 -
was:62718996472.639107, should be:62719007584.295349, error:11111.656243
19:46:28 T:139718574470912   DEBUG: CDVDPlayerAudio:: Discontinuity2 -
was:62725295876.976349, should be:62725306470.191048, error:10593.214698
19:46:35 T:139718574470912   DEBUG: CDVDPlayerAudio:: Discontinuity2 -
was:62731698477.715050, should be:62731709235.032417, error:10757.317365
19:46:38 T:139719056176896   DEBUG: Thread JobWorker 139719056176896
terminating (autodelete)
19:46:41 T:139718574470912   DEBUG: CDVDPlayerAudio:: Discontinuity2 -
was:62738297284.064415, should be:62738308465.384331, error:11181.319916
19:46:48 T:139718574470912   DEBUG: CDVDPlayerAudio:: Discontinuity2 -
was:62744796455.484329, should be:62744807397.750954, error:10942.266624


You are receiving this mail because:
  • You are the assignee for the bug.
--1384800710.d44FE0.6076-- --===============1008913788== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1008913788==--