[Bug 46713] New: HDMI audio played back at a wrong rate

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 28 03:13:42 PST 2012


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 at lists.freedesktop.org
        ReportedBy: tvrtko.ursulin at 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.


More information about the dri-devel mailing list