1

I am trying to add a module option for the amdgpu module, but it is seemingly ignored.

/etc/modprobe.d/amdgpu.conf contents:

options amdgpu audio=1

Relevant output from modprobe -c | grep amdgpu, indicating that the option is part of the configuration:

options amdgpu audio=1
alias pci:v00001002d00006900sv*sd*bc*sc*i* amdgpu
alias pci:v00001002d00006901sv*sd*bc*sc*i* amdgpu
alias pci:v00001002d00006902sv*sd*bc*sc*i* amdgpu
[...]

15 lines of output from systool -vm amdgpu:

Module = "amdgpu"

  Attributes:
    coresize            = "987136"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "4"
    srcversion          = "AC0EDC775DD303A402948D2"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    aspm                = "-1"
    audio               = "-1"
    bapm                = "-1"
    benchmark           = "0"
    deep_color          = "0"

As you can see, audio is still set to "-1". Am I doing something wrong?

ETA: Per Steve Roome, the card is a PowerColor PCS+ AXR9 380 4GBD5-PPDHE. (A Radeon R9 380) Output from /var/log/Xorg.0.log is here: http://paste.ubuntu.com/16124381/

Zalethon
  • 140
  • 1
  • 13
  • I rebooted the system after adding /etc/modprobe.d/amdgpu.conf. – Zalethon Apr 29 '16 at 02:32
  • You should be editing radeon.conf See https://help.ubuntu.com/community/RadeonDriver – Steve Roome Apr 29 '16 at 08:42
  • I tried that, it didn't help. – Zalethon Apr 29 '16 at 09:44
  • Please edit your question to add the model of your video card and add the contents of /var/log/Xorg.0.log using paste.ubuntu.com – Steve Roome Apr 29 '16 at 09:57
  • 1
    I have looked through the /var/log/Zorg.0.log and I cannot see any attempt to set up the HDMI audio, but it has told me that you have the TONGA chipset. I suspect HDMI audio has not been implemented yet on this chipset. Try googling "DAL Tonga AMDGPU". – Steve Roome Apr 29 '16 at 12:11
  • I will Google when I'm home, but HDMI audio must be implemented--it worked with no intervention from myself until I upgraded to 16.04. (I have a question open about that as well) Thanks for looking over the log – Zalethon Apr 29 '16 at 13:18
  • 16.0.4 uses the AMDGPU driver. Previously you were using fglrx. – Steve Roome Apr 29 '16 at 16:17
  • I have looked without success for documentation on AMDGPU and its capabilities and shortcomings, but the more information I gather on the HDMI audio issue, the more I think you are right.

    Does the lack of support for the TONGA chipset explain why amdgpu.audio is not being set by my configuration in modprobe.d?

    – Zalethon May 01 '16 at 12:37
  • 1
    That was my thinking. So you should raise a bug report on Ubuntu. You then have the choice of (1) waiting until the issue is fixed (2) use the fglrx driver (3) patch the kernel – Steve Roome May 01 '16 at 18:42
  • (2) is not doable. – hyamanieu May 26 '16 at 21:13

0 Answers0