dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 64503] audio glitches when running at 24hz/24p
Date: Thu, 16 May 2013 22:10:54 +0000	[thread overview]
Message-ID: <bug-64503-502-dd665QZgyE@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-64503-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2519 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=64503

--- Comment #14 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to comment #0)
> (originally reported to Fedora:
> https://bugzilla.redhat.com/show_bug.cgi?id=954009)
> 
> I've recently started trying out 24 Hz again as my TV handles it better, and
> XBMC is finally at a point where they can keep things synced up when playing
> at exactly the monitor refresh rate.
> 
> Unfortunately that broke the HDMI audio output. If I try to output audio
> when the refresh rate is at 24 Hz, the receiver will lose audio sync every
> few minutes, resulting in silence until it regains sync.
> 
> I've tried the following:
> 
>  - Sending audio over SPDIF from the onboard audio to the same receiver
> works fine. Another cable though, and cannot handle high-bitrate formats, so
> hardly a long term solution.
> 
>  - Audio format doesn't seem to matter. I get glitches with PCM, AC3 and
> DTS. DTS is the worst, but that might just be because it requires more
> effort to sync back up again.
> 
>  - It's not xbmc that gets confused as sending audio from an entirely
> different program results in the same audio glitches (I tried mplayer with
> -vo null in the background).
> 
>  - Doesn't seem to be a application buffering issue as I see no spikes in
> either xbmc's or mplayer's sync statistics when the glitch appears.
> 
> 
> This is with kernel-3.8.7-201.fc18.x86_64.

Well I guess my bare bones LFS setup is very different to fedora, but I can't
reproduce this.

Kernel drm-next recent-ish with radeon HD4890. Can only test PCM into TV with
mplayer + alsa (pulse not installed)

cpufreq set to performance, GPU on low. TV screen set below monitor screen.

Tried 11 minute 44.1k CD track and 20 mins of blu-ray -vo vdpau 48k stereo and
didn't hear any glitches at all. Of course blu-ray was 23.976 and modeline was
24, but I doubt that's relevant, mplayer will tweak video rate to keep audio
sync and -framedrop was given.

FWIW this is my 24Hz line as shown by xrandr --verbose, maybe yours is
different?

1920x1080 (0x2cd)   74.2MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock   27.0KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   24.0Hz

Having never used pulse I don't know if it's easy to bypass (assuming you are
using it),

mplayer -ao alsa:device=hw=1.3 may work (assumes cat /proc/asound/cards shows
HDMI as 1)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3515 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2013-05-16 22:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-12 18:21 [Bug 64503] New: audio glitches when running at 24hz/24p bugzilla-daemon
2013-05-13  8:19 ` [Bug 64503] " bugzilla-daemon
2013-05-13  9:03 ` bugzilla-daemon
2013-05-13 10:19 ` bugzilla-daemon
2013-05-13 11:40 ` bugzilla-daemon
2013-05-13 11:56 ` bugzilla-daemon
2013-05-13 14:41 ` bugzilla-daemon
2013-05-13 15:05 ` bugzilla-daemon
2013-05-13 15:27 ` bugzilla-daemon
2013-05-13 15:29 ` bugzilla-daemon
2013-05-13 15:37 ` bugzilla-daemon
2013-05-16 19:11 ` bugzilla-daemon
2013-05-16 19:40 ` bugzilla-daemon
2013-05-16 19:42 ` bugzilla-daemon
2013-05-16 22:10 ` bugzilla-daemon [this message]
2013-05-17 17:25 ` bugzilla-daemon
2013-07-04 16:47 ` bugzilla-daemon
2013-07-04 16:52 ` bugzilla-daemon
2013-07-07 11:43 ` bugzilla-daemon
2013-08-01 22:28 ` bugzilla-daemon
2013-08-02 14:53 ` bugzilla-daemon
2013-08-02 15:38 ` bugzilla-daemon
2013-08-02 16:35 ` bugzilla-daemon
2013-08-03 10:49 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64503-502-dd665QZgyE@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox