dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 46713] New: HDMI audio played back at a wrong rate
Date: Tue, 28 Feb 2012 11:13:42 +0000	[thread overview]
Message-ID: <bug-46713-502@http.bugs.freedesktop.org/> (raw)

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

             Bug #: 46713
           Summary: HDMI audio played back at a wrong rate
    Classification: Unclassified
           Product: DRI
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: tvrtko.ursulin@onelan.co.uk


I am experiencing audio being played back at roughly 28665Hz instead of
expected 44100Hz. This rate is derived for timing for how long it takes to play
sample of a known size. Pitch of audio being played is obviously comical.

Hardware:
AMD G-T56N (Radeon HD 6310) box connected to the monitor via native HDMI
connector.

This is with kernel.org 3.3.0-rc4 kernel.

Only thing I see in kernel log with apparent relevance is this:
[   56.086500] HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   56.086526] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   56.086545] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   56.086561] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   56.127063] HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=1
[   56.127090] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   56.127109] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   56.127125] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   56.387045] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   56.387069] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   56.387086] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   56.699469] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   56.699494] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   56.699510] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   56.990752] HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   56.990777] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   56.990795] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   56.990811] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   57.001054] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.001079] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   57.001095] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   57.302064] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.302092] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   57.302108] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   57.420102] HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=1
[   57.420130] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.420149] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   57.420165] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   57.437447] HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.437471] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.437489] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   57.437505] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   57.493091] HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=1
[   57.493117] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.493136] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   57.493152] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   57.618528] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.618552] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   57.618568] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   57.919028] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   57.919059] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   57.919075] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   58.220081] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   58.220115] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   58.220131] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   58.521039] HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
[   58.521071] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force
128
[   58.521087] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   63.136948] hda-intel: IRQ timing workaround is activated for card #0.
Suggest a bigger bdl_pos_adj.

While playing back hw_info looks fine:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

cat /proc/asound/card0/pcm3p/sub0/hw_params 
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5504
buffer_size: 22016


Not sure what other info should I provide?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

             reply	other threads:[~2012-02-28 11:13 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 11:13 bugzilla-daemon [this message]
2012-02-28 11:41 ` [Bug 46713] HDMI audio played back at a wrong rate bugzilla-daemon
2012-02-28 12:16 ` bugzilla-daemon
2012-02-28 13:30 ` bugzilla-daemon
2012-02-28 13:33 ` bugzilla-daemon
2012-02-28 16:00 ` bugzilla-daemon
2012-03-08 10:10 ` bugzilla-daemon
2012-03-08 10:19 ` bugzilla-daemon
2012-03-08 13:27 ` bugzilla-daemon
2012-03-09  9:18 ` bugzilla-daemon
2012-03-09  9:27 ` bugzilla-daemon
2012-03-09  9:29 ` bugzilla-daemon
2012-03-09  9:50 ` bugzilla-daemon
2012-03-09 11:04 ` bugzilla-daemon
2012-03-12 11:27 ` bugzilla-daemon
2012-03-12 11:28 ` bugzilla-daemon
2012-03-13 19:04 ` bugzilla-daemon
2012-03-13 19:05 ` bugzilla-daemon
2012-03-14 15:09 ` bugzilla-daemon
2012-03-20 15:57 ` bugzilla-daemon
2012-03-23 17:36 ` bugzilla-daemon
2012-03-23 18:00 ` bugzilla-daemon
2012-03-23 18:24 ` bugzilla-daemon
2012-03-23 18:50 ` bugzilla-daemon
2012-04-04 15:50 ` bugzilla-daemon
2012-04-07 11:16 ` bugzilla-daemon
2012-04-07 16:51 ` bugzilla-daemon
2012-06-03 16:24 ` bugzilla-daemon
2012-06-09  8:38 ` bugzilla-daemon
2012-06-09 15:11 ` bugzilla-daemon
2012-06-09 15:33 ` bugzilla-daemon
2012-08-24 13:46 ` bugzilla-daemon
2016-06-15 12:06 ` 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-46713-502@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;
as well as URLs for NNTP newsgroup(s).