Announcement

Collapse
No announcement yet.

ATI Radeon HD 4550 & HDMI : only stereo (with radeonhd) !!!

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

  • ATI Radeon HD 4550 & HDMI : only stereo (with radeonhd) !!!

    Hello,

    I have an ATI Radeon HD 4550 on my Debian computer (with radeonhd driver). The card is linked to my audio-video amplifier through HDMI. Video is OK and sound is "quite" OK.
    But, it seems the audio signal is downgraded to stereo (even DD or DTS flow). Do you have any idea ?
    Here is my xorg.conf :
    Section "Device"
    Identifier "Configured Video Device"
    Driver "radeonhd"
    Option "DRI"
    Option "Audio" "on"
    Option "HDMI" "all"
    EndSection
    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection
    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    EndSection

    Thank you.

    David.

  • #2
    AFAIK the ALSA HDMI driver for Radeon cards supports only 2 PCM channels at the moment. But if your receiver can decode DD or DTS you can pass-through this signal and get your surround sound.

    For me it works like this in MPlayer:
    Code:
    mplayer -ao alsa:device=hw=HDMI,3 -afm hwac3 somefile.mkv

    Comment


    • #3
      Originally posted by thoemy View Post
      AFAIK the ALSA HDMI driver for Radeon cards supports only 2 PCM channels at the moment. But if your receiver can decode DD or DTS you can pass-through this signal and get your surround sound.

      For me it works like this in MPlayer:
      Code:
      mplayer -ao alsa:device=hw=HDMI,3 -afm hwac3 somefile.mkv
      First of all, thanks for the answer ;-)

      I've tried your solution but it does not work :-(

      Here is my result :
      # mplayer -ao alsa:device=hw=0.2 -afm hwac3 film.mkv
      MPlayer SVN-r29142-4.4.3 (C) 2000-2009 MPlayer Team
      mplayer: could not connect to socket
      mplayer: No such file or directory
      Failed to open LIRC support. You will not be able to use your remote control.

      Playing film.mkv.
      [mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Video", -vid 0
      [mkv] Track ID 2: audio (A_DTS) "French DTS", -aid 0, -alang fre
      [mkv] Will play video track 1.
      Matroska file format detected.
      VIDEO: [avc1] 1280x544 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
      open: No such file or directory
      [MGA] Couldn't open: /dev/mga_vid
      open: No such file or directory
      [MGA] Couldn't open: /dev/mga_vid
      [VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
      [VO_3DFX] Unable to open /dev/3dfx.
      [VO_XV] It seems there is no Xvideo support for your video card available.
      [VO_XV] Run 'xvinfo' to verify its Xv support and read
      [VO_XV] DOCS/HTML/en/video.html#xv!
      [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
      [VO_XV] Try -vo x11.
      ================================================== ========================
      Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
      Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
      ================================================== ========================
      ================================================== ========================
      Trying to force audio codec driver family hwac3...
      Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
      No accelerated IMDCT transform found
      hwac3: switched to DTS, 1536000 bps, 48000 Hz
      AUDIO: 48000 Hz, 2 ch, ac3, 1536.0 kbit/100.00% (ratio: 192000->192000)
      Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
      ================================================== ========================
      [AO_ALSA] alsa-lib: conf.c:4484parse_args) Unknown parameter AES0
      [AO_ALSA] alsa-lib: conf.c:4617snd_config_expand) Parse arguments error: No such file or directory
      [AO_ALSA] alsa-lib: pcm.c:2211snd_pcm_open_noupdate) Unknown PCM hw:0,2,AES0=6
      [AO_ALSA] alsa-lib: pcm_hw.c:1293snd_pcm_hw_open) open /dev/snd/pcmC0D2p failed: No such file or directory
      [AO_ALSA] Playback open error: No such file or directory
      Failed to initialize audio driver 'alsa:device=hw=0.2'
      Could not open/initialize audio device -> no sound.
      Audio: no sound
      Starting playback...
      VDec: vo config request - 1280 x 544 (preferred colorspace: Planar YV12)
      VDec: using Planar YV12 as output csp (no 0)
      Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
      VO: [x11] 1280x544 => 1280x544 Planar YV12
      [swscaler @ 0x7f6b4ca69040]using unscaled yuv420p -> rgb32 special converter
      New_Face failed. Maybe the font path is wrong.
      Please supply the text font file (~/.mplayer/subfont.ttf).
      subtitle font: load_sub_face failed.
      New_Face failed. Maybe the font path is wrong.
      Please supply the text font file (~/.mplayer/subfont.ttf).
      subtitle font: load_sub_face failed.
      V: 5.0 0/ 0 19% 8% 0.0% 0 0
      Exiting... (Quit)

      # aplay -L
      null
      Discard all samples (playback) or generate zero samples (capture)
      hdmi:CARD=HDMI
      HDA ATI HDMI, ATI HDMI
      HDMI Audio Output

      # aplay -l
      **** List of PLAYBACK Hardware Devices ****
      card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0

      Do you have another idea ?

      Thank you.

      David.

      Comment


      • #4
        Originally posted by thoemy View Post
        AFAIK the ALSA HDMI driver for Radeon cards supports only 2 PCM channels at the moment. But if your receiver can decode DD or DTS you can pass-through this signal and get your surround sound.

        For me it works like this in MPlayer:
        Code:
        mplayer -ao alsa:device=hw=HDMI,3 -afm hwac3 somefile.mkv
        When you say "ALSA HDMI driver for Radeon cards supports only 2 PCM channels", is it for all the drivers (radeonhd, catalyst, etc...) ?

        May be I can try other drivers ?

        Thank you.

        David.

        Comment


        • #5
          Originally posted by dbercot View Post
          When you say "ALSA HDMI driver for Radeon cards supports only 2 PCM channels", is it for all the drivers (radeonhd, catalyst, etc...) ?

          May be I can try other drivers ?

          Thank you.

          David.
          Yeah, I meant it like that. But if I now think about it then you could give catalyst a try. If it works then it means that I didn't understand the code I was looking at . Or that the catalyst driver does things different.

          Comment


          • #6
            Originally posted by dbercot View Post
            # mplayer -ao alsa:device=hw=0.2 -afm hwac3 film.mkv
            ...
            [AO_ALSA] alsa-lib: pcm.c:2211snd_pcm_open_noupdate) Unknown PCM hw:0,2,AES0=6
            [AO_ALSA] alsa-lib: pcm_hw.c:1293snd_pcm_hw_open) open /dev/snd/pcmC0D2p failed: No such file or directory
            [AO_ALSA] Playback open error: No such file or directory
            Failed to initialize audio driver 'alsa:device=hw=0.2'
            ...
            # aplay -l
            **** List of PLAYBACK Hardware Devices ****
            card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
            Subdevices: 1/1
            Subdevice #0: subdevice #0
            Try to use the same subdevice (3) as I did. So:
            Code:
            # mplayer -ao alsa:device=hw=0.3 -afm hwac3 film.mkv

            Comment


            • #7
              I just had a similar problem when ac3 passthrough stopped
              working. I would only get static/silence, two channels or
              mplayer crashed, depending on the device I would select.
              I have an Aureal Vortex au8830 sound card. The fix for me
              was to disable the equalizer with alsamixer. After that
              mplayer and ac3 passthrough worked again.

              Comment

              Working...
              X