INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: hda - hdmi: ATI/AMD multi-channel and HBR support  (Read 3383 times)

Mike Noe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 792
hda - hdmi: ATI/AMD multi-channel and HBR support
« on: October 13, 2013, 12:24:40 pm »

Just a quick FYI for those on AMD GPUs that might be wondering about the HDMI audio situation...

Since the last doc dump from AMD, there's been some activity and some patches have already made it to testing.

I just built and installed the 3.12.RC4 kernel with the ALSA patches and alsacap shows the good stuff and MC seems fine with the multi-channel PCM output....can't get sound yet, but it's a known issue.  I guess this stuff won't get in until 3.13 kernel unless there's a back-port.  openSUSE 13.1Factory/AMD HD6570 on this box...

Code: [Select]
ike@linux-94gx:~> alsacap
*** Scanning for playback devices ***
Card 0, ID `SB', name `HDA ATI SB'
  Device 0, ID `VT1708S Analog', name `VT1708S Analog', 1 subdevices (1 available)
    2..8 channels, sampling rate 44100..192000 Hz
    Sample formats: S16_LE, S32_LE
      Subdevice 0, name `subdevice #0'
  Device 1, ID `VT1708S Digital', name `VT1708S Digital', 1 subdevices (1 available)
    2 channels, sampling rate 44100..192000 Hz
    Sample formats: S16_LE, S32_LE
      Subdevice 0, name `subdevice #0'
Card 1, ID `Generic', name `HD-Audio Generic'
  Device 3, ID `HDMI 0', name `HDMI 0', 1 subdevices (1 available)
    2..8 channels, sampling rate 32000..192000 Hz
    Sample formats: S16_LE, S32_LE
      Subdevice 0, name `subdevice #0'
Logged
openSUSE TW/Plasma5 x86_64 | Win10Pro/RX560
S.M.S.L USB-DAC => Transcendent GG Pre (kit) => Transcendent mono OTLs (kit)
(heavily modded) Hammer Dynamics Super-12s (kit)
(optionally) VonSchweikert VR8s

Mike Noe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 792
Re: hda - hdmi: ATI/AMD multi-channel and HBR support
« Reply #1 on: October 15, 2013, 10:59:20 am »

So, I finally had time to try this out with MC.  It appears to work.  Here is what I did on openSuse(should be similar on other distros):

1.  Clean install, openSuse RC1
2.  Redirect repo for Kernel Head (gets to kernel 3.12RC4
3.  Download kernel 3.12RC5 from kernel.org
4.  Unzip, patch with atihdmi5.patch
5.  Change /sound/pci/hda/hda_local.h
Code: [Select]
Please change 0x1002791a to 0x1002aa01 in this part in the end of
sound/pci/hda/hda_local.h:

#define is_amdhdmi_rev3(codec) \
((codec)->vendor_id == 0x1002791a && ((codec)->revisi
6.  Used my RC4 .config, changed "suffix"
7.  build and install
8.  Reboot, then:  xrandr --output HDMI-0 --set audio auto
9.  Run MC, set output format in DSP...

There is a potential bug with 13.1 on a non-standard partition install, I haven't had time to check yet, but this was done with a "standard" 3 part install (swap/root/home).

So far, I've tested multichannel (5.1), two channel w/upsampling etc.

Gotta say, I never expected to get MC on linux with full multichannel support with AMD/HDMI by the middle of Oct.  Joyous, to be sure.

Thx for the hard work so far, JRiver folks.

PS.  An interesting read at Phoronix re: the 3.12 kernel coming...
Logged
openSUSE TW/Plasma5 x86_64 | Win10Pro/RX560
S.M.S.L USB-DAC => Transcendent GG Pre (kit) => Transcendent mono OTLs (kit)
(heavily modded) Hammer Dynamics Super-12s (kit)
(optionally) VonSchweikert VR8s

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7914
  • Long cold Winter...
Re: hda - hdmi: ATI/AMD multi-channel and HBR support
« Reply #2 on: October 15, 2013, 05:34:40 pm »

Personally, I'm wondering how viable AMD's TrueAudio DSP will become... or what it'll mess up. :P
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Mike Noe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 792
Re: hda - hdmi: ATI/AMD multi-channel and HBR support
« Reply #3 on: October 15, 2013, 05:48:51 pm »

Well, after watching the presentation a couple of weeks ago, seems like it's oriented towards the game developers first and formost, which is fine.  For music "purists" I'm not sure what it will really bring to the table....if anything.

OT, got multi-channel working, but the channel maps are messed up somehow, speaker-test works but MC and VLC (so far) are not quite right.  VLC plays the front left in the rear left and MC leaves the right rear blank....more to come.
Logged
openSUSE TW/Plasma5 x86_64 | Win10Pro/RX560
S.M.S.L USB-DAC => Transcendent GG Pre (kit) => Transcendent mono OTLs (kit)
(heavily modded) Hammer Dynamics Super-12s (kit)
(optionally) VonSchweikert VR8s

Mike Noe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 792
Re: hda - hdmi: ATI/AMD multi-channel and HBR support
« Reply #4 on: November 19, 2013, 09:43:11 am »

So, for AMD GPU users, HDMI multichannel seems to be working (?finally?) with linux-next (3.13 will be the kernel release) and MC cranks right up and starts playing, and the channel mapping issues appear to be fixed.   I'm testing on openSUSE 13.1 with the vanilla-linux-next from kernel.opensuse.org with an AMD Turks and an older Llano APU.
Logged
openSUSE TW/Plasma5 x86_64 | Win10Pro/RX560
S.M.S.L USB-DAC => Transcendent GG Pre (kit) => Transcendent mono OTLs (kit)
(heavily modded) Hammer Dynamics Super-12s (kit)
(optionally) VonSchweikert VR8s

Neco

  • World Citizen
  • ***
  • Posts: 182
Re: hda - hdmi: ATI/AMD multi-channel and HBR support
« Reply #5 on: November 28, 2013, 06:36:44 am »

I just listened to a Demo and I have to say  AMD TrueAudio seems pretty awesome for what it can do over 2 channel Stereo.

It would be really neat if this could be used in Media Center at all.

AMD is in a unique position to be able to promote their  API  since they have hadware with this stuff being used in the new console systems.   There have been claims you could see huge improvements in GPU operations as well, but the audio merits alone are pretty neat.
Logged
Pages: [1]   Go Up