Tassadar Posted July 19, 2013 Posted July 19, 2013 Hi all, I've a problem with a computer based on a AMD Zacate E350 APU (Asrock E350M1). I've install Kubuntu 13.04 and latest Catalyst 13.06 BETA drivers. I know installing an AMD Beta driver on Linux seems to be a suicide, when stable drivers have many problems, but the truth is that the combination Kubuntu 13.06 + AMD 13,06 beta works good even with Trinity APUs. My problem is very simple, when I go to Phonom I can't select HDMI audio output, and I've only analog and SPDIF. It can't be a hardware problem since I've try Openelec and it has HDMI audio with no problems. I've try to enable SPDIF audio in alsamixer (no idea of relation, but I've read this in a forum), but problem persist. It seems like HDMI audio is disabled by defaulf, what is weird when I've try just same software combination on a Trinity APU and works ok; but Zacate doesn't. Any idea or help?? Many thanks in advance
Tassadar Posted July 20, 2013 Author Posted July 20, 2013 Many thanks for your interest, Geoff, lsmod elhtpc@elhtpc:~$ lsmod Module Size Used by parport_pc 28152 0 ppdev 17073 0 bnep 18036 2 rfcomm 42641 0 bluetooth 228619 10 bnep,rfcomm ir_lirc_codec 12859 0 lirc_dev 19166 1 ir_lirc_codec ir_mce_kbd_decoder 12723 0 ir_sanyo_decoder 12513 0 ir_sony_decoder 12510 0 ir_jvc_decoder 12507 0 ir_rc6_decoder 12507 0 ir_rc5_decoder 12507 0 ir_nec_decoder 12507 0 rc_rc6_mce 12502 0 nuvoton_cir 17822 0 fglrx 6728820 63 rc_core 22214 11 nuvoton_cir,ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder,rc_rc6_mce snd_hda_codec_realtek 78399 1 snd_hda_codec_hdmi 36913 1 snd_hda_intel 39619 3 snd_hda_codec 136453 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel snd_hwdep 13602 1 snd_hda_codec snd_pcm 97451 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_page_alloc 18710 2 snd_pcm,snd_hda_intel snd_seq_midi 13324 0 snd_seq_midi_event 14899 1 snd_seq_midi kvm_amd 59717 0 snd_rawmidi 30180 1 snd_seq_midi kvm 443165 1 kvm_amd snd_seq 61554 2 snd_seq_midi_event,snd_seq_midi snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi snd_timer 29425 2 snd_pcm,snd_seq mac_hid 13205 0 snd 68876 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device sp5100_tco 13735 0 i2c_piix4 13266 0 microcode 22881 0 amd_iommu_v2 19068 1 fglrx k10temp 13126 0 serio_raw 13215 0 soundcore 12680 1 snd lp 17759 0 parport 46345 3 lp,ppdev,parport_pc vesafb 13828 1 pata_acpi 13038 0 hid_generic 12540 0 usbhid 47074 0 hid 101002 2 hid_generic,usbhid r8169 67446 0 video 19390 0 pata_atiixp 13242 0 ahci 25731 2 libahci 31364 1 ahci [/Quote] lspci 00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex 00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] 00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] 00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port 00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40) 00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42) 00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40) 00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40) 00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40) 00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller 00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0) 00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1) 00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43) 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4 00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6 00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5 00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06) [/Quote]
Geoff Posted July 20, 2013 Posted July 20, 2013 (edited) Audio support for ATI Evergreen chipsets are only available in kernel 3.3 and newer. If you are on a 3.3 kernel ensure you're passing 'radeon.audio=1' as a boot time paramter (HDMI audio is disabled by default). Edited July 20, 2013 by Geoff
Tassadar Posted July 21, 2013 Author Posted July 21, 2013 Many thanks again, Geoff I've do this: sudo kate /etc/default/grub Change the following line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.audio=1" exit and save Sudo update grub[/Quote] When I restart and open Phonon it shows a message about some devices (only analog sound, no HDMI at all) have been disabled and blah blah, no matter what I do, HDMI sound doesn't appear I Even have install pavucontrol and open pulseaudio, in configuration I've the same options that I get in phonon (no HDMI at all) and in output devices I've only analog Any ideas???? Many thanks in advance
Geoff Posted July 21, 2013 Posted July 21, 2013 (edited) Post the output from 'aplay -l' and 'uname -a' The correct command to update your grub menus is 'sudo update-grub', not what you wrote. Edited July 21, 2013 by Geoff
Tassadar Posted July 22, 2013 Author Posted July 22, 2013 Many thanks again, Geoff I've just try "sudo update-grub" and nothing changes I copy the result of 'aplay -l' and 'uname -a' 'aplay -l' elhtpc@elhtpc:~$ aplay -l **** Lista de PLAYBACK dispositivos hardware **** tarjeta 0: Generic [HD-Audio Generic], dispositivo 3: HDMI 0 [HDMI 0] Subdispositivos: 1/1 Subdispositivo #0: subdevice #0 tarjeta 1: SB [HDA ATI SB], dispositivo 0: ALC892 Analog [ALC892 Analog] Subdispositivos: 1/1 Subdispositivo #0: subdevice #0 tarjeta 1: SB [HDA ATI SB], dispositivo 1: ALC892 Digital [ALC892 Digital] Subdispositivos: 1/1 Subdispositivo #0: subdevice #0 'uname -a' Linux elhtpc 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Many many thanks for your interest Tassadar
Geoff Posted July 22, 2013 Posted July 22, 2013 from the aplay output, your HDMI is working at kernel/hardware level. Any alsa compatible application should be able to see it (try using aplay to play audio through the device to test).
Tassadar Posted July 22, 2013 Author Posted July 22, 2013 It appears on alsamixer as HD-Audio Generic with ATI Rxx HDMI chip, but it's not selectable on phonom or pavucontrol Is it normal that it says something like "Element: S/PDIF [Off]" in the same alsamixer Window of the HDMI??? I think SPDIF is different from HDMI and should not appear as part of HDMI.... Many thanks
Geoff Posted July 22, 2013 Posted July 22, 2013 I believe pulseaudio is confused. This is hardly unknown. You will have to hand edit your pulse audio configs to fix this.
Tassadar Posted July 23, 2013 Author Posted July 23, 2013 Oh my god! xD The truth is I'm a newguy on Linux, how can I do this? Many Thanks
Tassadar Posted July 24, 2013 Author Posted July 24, 2013 Many thanks again for the answer, Geoff, This file doesn't exist in this location, there is a asound.conf but it's in /usr/share/xbmc/system, its content is: # downmixing to 2 channels pcm.xbmc_71to2 { @args.0 SLAVE @args.SLAVE { type string default "default" } type plug slave.pcm $SLAVE slave.channels 2 route_policy duplicate ttable.0.0 1 # front left speaker ttable.1.1 1 # front right speaker ttable.2.0 0.7 # rear left speaker ttable.3.1 0.7 # rear right speaker ttable.4.0 0.7 # center to left mapping ttable.4.1 0.7 # center to right mapping ttable.5.0 0.5 # LFE (base) to left mapping ttable.5.1 0.5 # LFE to right mapping ttable.6.0 0.6 # SL to left mapping ttable.7.0 0.6 # SR to right mapping } # downmixing to 2 channels pcm.xbmc_51to2 { @args.0 SLAVE @args.SLAVE { type string default "default" } type plug slave.pcm $SLAVE slave.channels 2 route_policy duplicate ttable.0.0 1 # front left speaker ttable.1.1 1 # front right speaker ttable.2.0 0.7 # rear left speaker ttable.3.1 0.7 # rear right speaker ttable.4.0 0.7 # center to left mapping ttable.4.1 0.7 # center to right mapping ttable.5.0 0.5 # LFE (base) to left mapping ttable.5.1 0.5 # LFE to right mapping } # downmixing to 2 channels pcm.xbmc_50to2 { @args.0 SLAVE @args.SLAVE { type string default "default" } type plug slave.pcm $SLAVE slave.channels 2 route_policy duplicate ttable.0.0 1 # front left speaker ttable.1.1 1 # front right speaker ttable.2.0 0.7 # rear left speaker ttable.3.1 0.7 # rear right speaker ttable.4.0 0.7 # center to left mapping ttable.4.1 0.7 # center to right mapping } [/Quote] There also an asound.conf_jack and asound.conf_oss in the folder /usr/share/doc/libasound2-plugins/examples and their contents are: asound.conf_jack pcm.myjack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_1 } } # Usage: aplay -Dplug:myjack foo.wav [/Quote] asound.conf_oss pcm.myoss { type oss device /dev/dsp } # Usage: aplay -Dplug:myoss foo.wav [/Quote] Many Thanks for the help
Tassadar Posted July 24, 2013 Author Posted July 24, 2013 Thanks again, Geoff, This is the result: elhtpc@elhtpc:~$ pactl list cards Placa #0 Nombre: alsa_card.pci-0000_00_14.2 Controlador: module-alsa-card.c Módulo dueño: 4 Propiedades: alsa.card = "1" alsa.card_name = "HDA ATI SB" alsa.long_card_name = "HDA ATI SB at 0xfeb40000 irq 16" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:14.2" sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1" device.bus = "pci" device.vendor.id = "1002" device.vendor.name = "Advanced Micro Devices [AMD] nee ATI" device.product.name = "SBx00 Azalia (Intel HDA)" device.form_factor = "internal" device.string = "1" device.description = "Audio Interno" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Perfiles: input:analog-stereo: Estéreo analógico Entrada (sinks: 0, sources: 1, priority. 60) output:analog-stereo: Estéreo analógico Salida (sinks: 1, sources: 0, priority. 6000) output:analog-stereo+input:analog-stereo: Estéreo Analógico Dúplex (sinks: 1, sources: 1, priority. 6060) output:analog-surround-40: Analógico envolvente 4.0 Salida (sinks: 1, sources: 0, priority. 700) output:analog-surround-40+input:analog-stereo: Analógico envolvente 4.0 Salida + Estéreo analógico Entrada (sinks: 1, sources: 1, priority. 760) output:analog-surround-41: Analógico envolvente 4.1 Salida (sinks: 1, sources: 0, priority. 800) output:analog-surround-41+input:analog-stereo: Analógico envolvente 4.1 Salida + Estéreo analógico Entrada (sinks: 1, sources: 1, priority. 860) output:analog-surround-50: Analógico envolvente 5.0 Salida (sinks: 1, sources: 0, priority. 700) output:analog-surround-50+input:analog-stereo: Analógico envolvente 5.0 Salida + Estéreo analógico Entrada (sinks: 1, sources: 1, priority. 760) output:analog-surround-51: Analógico envolvente 5.1 Salida (sinks: 1, sources: 0, priority. 800) output:analog-surround-51+input:analog-stereo: Analógico envolvente 5.1 Salida + Estéreo analógico Entrada (sinks: 1, sources: 1, priority. 860) output:iec958-stereo: Estéreo Digital (IEC958) Salida (sinks: 1, sources: 0, priority. 5500) output:iec958-stereo+input:analog-stereo: Estéreo Digital (IEC958) Salida + Estéreo analógico Entrada (sinks: 1, sources: 1, priority. 5560) off: Apagado (sinks: 0, sources: 0, priority. 0) Perfil activo: output:analog-stereo+input:analog-stereo Puertos: analog-input-microphone-front: Micrófono frontal (priority: 8500, latency offset: 0 usec, not available) Propiedades: device.icon_name = "audio-input-microphone" Parte del perfil(es): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo analog-input-microphone-rear: Micrófono trasero (priority: 8200, latency offset: 0 usec, not available) Propiedades: device.icon_name = "audio-input-microphone" Parte del perfil(es): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo analog-input-linein: En lÃnea (priority: 8100, latency offset: 0 usec, not available) Parte del perfil(es): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo analog-output: Salida analógica (priority: 9900, latency offset: 0 usec) Parte del perfil(es): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo analog-output-headphones: Auriculares analógicos (priority: 9000, latency offset: 0 usec, not available) Propiedades: device.icon_name = "audio-headphones" Parte del perfil(es): output:analog-stereo, output:analog-stereo+input:analog-stereo iec958-stereo-output: Salida digital (S/PDIF) (priority: 0, latency offset: 0 usec) Parte del perfil(es): output:iec958-stereo, output:iec958-stereo+input:analog-stereo Many thanks again
Geoff Posted July 24, 2013 Posted July 24, 2013 (edited) Ok, as I suspected pulseaudio doesn't know about your HDMI audio. This sounds a lot like this kernel bug. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173769 Additionally this blog post seems relevant. http://www.benjiegillam.com/2008/10/working-hdmi-audio-on-ati-graphics-card/ Edited July 24, 2013 by Geoff
Tassadar Posted July 30, 2013 Author Posted July 30, 2013 Ok, as I suspected pulseaudio doesn't know about your HDMI audio. This sounds a lot like this kernel bug. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173769 Additionally this blog post seems relevant. Working: HDMI Audio on ATI Graphics Card - about:benjie Many many thanks for your helping and interest, Geoff Yesterday I updated kernel to 3.9.0 and not I can select "HDMI sterereo output". I have no option for 5.1, but I don't know if it's normal or not. In any case, HDMI output works. I didn't try a newer kernel version since I don't know it thoses will work of with AMD fglrx drivers. Many thanks again. Tassadar
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now