Both gst-launch-1.0 and aplay work if the default device is set to
analog headphones in gnome-control-center, and do not work correctly if
the default device is set to HDMI.

I tried the following:
speaker-test -c2 -t wav -D hdmi:1,DEV=0

gst-launch-1.0 uridecodebin uri=file:///<path to music file> ! alsasink
device=hdmi:1

and the sound is too fast in both cases.

I typed dmesg: here is an excerpt of the output
[    1.341004] [drm] Radeon Display Connectors
[    1.341005] [drm] Connector 0:
[    1.341006] [drm]   VGA-1
[    1.341007] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 
0x7e4c
[    1.341008] [drm]   Encoders:
[    1.341009] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    1.341010] [drm] Connector 1:
[    1.341011] [drm]   HDMI-A-1
[    1.341012] [drm]   HPD3
[    1.341013] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 
0x7e5c
[    1.341014] [drm]   Encoders:
[    1.341015] [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
[    1.341043] [drm] radeon: power management initialized
[    1.424983] [drm] fb mappable at 0xD0142000
[    1.424985] [drm] vram apper at 0xD0000000
[    1.424986] [drm] size 8294400
[    1.424987] [drm] fb depth is 24
[    1.424988] [drm]    pitch is 7680
[    1.425089] fbcon: radeondrmfb (fb0) is primary device
[    1.431998] Console: switching to colour frame buffer device 240x67
[    1.451115] radeon 0000:01:05.0: fb0: radeondrmfb frame buffer device
[    1.451117] radeon 0000:01:05.0: registered panic notifier
[    1.451186] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:05.0 on 
minor 0

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1245226

Title:
  HDMI: audio-video playback too fast

Status in “alsa-driver” package in Ubuntu:
  Incomplete

Bug description:
  After upgrading to Ubuntu 13.10, selecting HDMI as audio output device
  is broken.

  Audio is played back at high speed. When playing back video clips, the
  video frames are also too fast.

  This is similar to an old bug I reported some time ago,
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/897008 . In that
  case, adding radeon.audio=1 to the kernel command line solved.

  Now, the configuration is unchanged since when Ubuntu 13.04 was
  running

  $cat /proc/cmdline 
  BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic 
root=UUID=10b9da6b-d735-48a7-bc45-2c1fc81183dd ro quiet splash radeon.audio=1 
vt.handoff=7

  yet audio is broken.

  Note that, when selecting headphone as audio output device, everything
  works.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-control-center 1:3.6.3-0ubuntu44
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Sun Oct 27 18:00:53 2013
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationDate: Installed on 2010-11-07 (1085 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  MarkForUpload: True
  SourcePackage: gnome-control-center
  UpgradeStatus: Upgraded to saucy on 2013-10-22 (5 days ago)
  usr_lib_gnome-control-center:
   activity-log-manager          0.9.7-0ubuntu4
   deja-dup                      27.3.1-0ubuntu1
   gnome-control-center-datetime 13.10.0+13.10.20131016.2-0ubuntu1
   gnome-control-center-signon   0.1.7~+13.10.20130724.1-0ubuntu1
   gnome-control-center-unity    1.3+13.10.20131004-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1245226/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to