Announcement

Collapse
No announcement yet.

Anyone got sound over hdmi with 8.12?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Anyone got sound over hdmi with 8.12?

    Got a 780g mobo, gentoo, alsa-lib-1.0.18, xorg-server-1.5.3, ati-drivers-8.561 (which is 8.12).
    Code:
     # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 1: ALC883 Digital [ALC883 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    No problem getting sound out of 0:0, can't test 0:1, no sound over 1:3.
    That's the way I try to test it: alsamix -> unmute everything, startx (the image shows up on lcd tv), mplayer -ao alsa:device=hw=1.3 my.mp3.
    Nothing.

    Any suggestions would be highly appreciated. TIA.

  • #2
    I have sound over HDMI with 8.11 and earlier. Are you sure the mp3 you are attempting to play is 44Khz and not 41Khz? Digital audio must be 44Khz and 41Khz samples just won't work unless they are upconverted.

    You should be using the alsa plug plugin to do on the fly rate conversion to 48Khz.

    Following the following section of the MythTV wiki on configuring Alsa for digital sound could be useful. It includes an alsa config which creates four new devices, you would want to use digital-dmix which automatically rate converts to 48Khz, "mplayer -ao alsa:device=digital-dmix my.mp3" or something similar for mplayer.



    You would need to edit the config to change the device and card numbers, see the comments.

    Comment


    • #3
      gbee
      Thanks for your reply.
      Yes, the mp3 is 44100.
      Are you able to get sound with
      Code:
      speaker-test -c2 --device cards.pcm.iec958 --rate 44100
      speaker-test -c2 --device cards.pcm.iec958 --rate 48000
      ?
      Could you please share the following info:
      1) kernel, alsa versions
      2) alsa, xorg configs

      Thanks a bunch.
      Last edited by gsmd; 04 January 2009, 04:46 AM.

      Comment


      • #4
        Solved! http://forums.gentoo.org/viewtopic.p...361959#5361959

        Comment

        Working...
        X