Announcement

Collapse
No announcement yet.

amdgpu audio

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

  • amdgpu audio

    Hello,
    i want audio, my screen is connected with hdmi to card, and 1 cable speaker to screen on green output.

    My card is r9 280x
    Xorg use amdgpu.
    Here is my boot cmdline: amdgpu.si_support=1 radeon.si_support=0 amdgpu.dc=1 amdgpu.audio=1


    In alsamixer i have:
    0 HDA Intel PCH (my motherboard audio)
    1 HDA ATI HDMI (I think is audio hdmi)

    In menu 1, i have only S/PDIF 0 to 5, no master, front, etc
    Menu 1 is default (in alsamiser/session for this user) set with .asoundrc and i dont have sound.

    What i am wrong ?
    Last edited by kripteks; 11-30-2017, 12:16 PM.

  • #2
    If you want to use hdmi audio type aplay -l to see your hdmi audio card and deviceid. With command aplay -D plughw:card,deviceid /usr/share/sounds/alsa/Front_Center.wav you can test which one outputs audio.

    Set hdmi audio output as default, use the aplay -l command and create ~/.asoundrc, an example of my RX560 system:
    Code:
    pcm.!default{
            type hw
            card 0
            device 9
    }
    reboot and use default audio device with vlc. You need to compile the kernel with amdgpu SI support enabled and check if your card is mention in help text:
    CONFIG_DRM_AMD_DC_PRE_VEGA:

    Choose this option to enable the new DC support for older asics
    by default. This includes Polaris, Carrizo, Tonga, Bonaire,
    and Hawaii.
    Last edited by debianxfce; 11-30-2017, 12:44 PM.

    Comment


    • #3
      Great its work.

      I have tested with this asoundrc:
      Code:
      pcm.!default {
          type hw
          card 0
          device 0
      }
      ctl.!default {
          type hw
          card 0
          device 0
      }
      With all device number listed but not work, after remove ctl lines its worked with pcm device 3.

      Thank you.

      Comment


      • #4
        I don't think DC includes support for your R9 280x - AFAIK only CI and up are covered.

        Comment

        Working...
        X