HDMI And Sound Optical Output Not Working

I just installed Debian 8 on a new ASUS z87-a and most things work fine right out of the box. However even though DVI and regular sound output work fine, I tried the HDMI connection but I have no sound and the image is just a blue screen. I tried also the sound optical output and got no sound either. Is there some special drivers that need to be installed for HDMI and SPDIF to work?


Similar Content



No System Sound Setting On Debian With Xfce Desktop

I have installed a new Debian OS to try out the xfce desktop.
My radeon hdmi sound card needs non-free drivers and so I have no sound.
On my previous debian install with gnome desktop, I found a number of changes I had to make to get the sound working.

I have done all this with this new install with xfce.
However, one thing I haven't done yet is to change the System settings-Sound settings to use the hdmi sound card.
The problem is the xfce desktop doesn't have an icon for sound settings under System settings.

This is a bit weird. So I'm wondering if xfce has installed correctly or if it's missing a package so the System sound settings will show up.
Does anyone know what's going on?

No Sound On Debian Live Usb Using Pavucontrol And ATI RS880 [Radeon HD 4200] Audio

Hello everyone.
The sound isn't working on my debian live usb.
I've installed pavucontrol hoping that this would turn on the sound somehow. But it hasn't.

The program is showing RS880 HDMI audio [Radeon HD 4200] as my output device.
The play back bar moves when I play video on youtube but there is no sound.
On the configuration tab, I've tried all the options under 'built-in audio' - but none of these seem to work.


aplay -l

Code:
 
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Don't know why there are 3 playback devices...

lspci | grep -i audio

Code:
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series]

Not sure why there appears to be two sound cards...

On a Ubuntu site about a similar problem with the same sound card, they suggest creating /etc/asound.conf and adding code to it http://ubuntuforums.org/showthread.php?t=1647400
However, at this point, I'm a bit lost.
Can someone help please?

No Sound ALSA On Ubuntu 12.04

Hi I a running Ubunto 12.04 on a HP PC with an onboard intel analaog sound card

(ALC662) and a HDMI connection into my TV.
I use this PC for Mythtv and Kodi using the sound over HDMI which works a treat in MythTV however I cannot get the sound to work on Kodi, Firefox or any other app which I presume is down to misconfigured ALSA setup, I had this working previously but it stopped and I am not sure why, possible updates.


sudo aplay -L lists;

Home directory /home/tomc not ours.
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
hdmi_complete
sysdefault:CARD=Intel
HDA Intel, ALC662 rev1 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Hardware device with all software conversions

aplay -D plughw:1,7 /home/tomc/adios.wav will play my sample wav file though the

HDMI.


Heres my /etc/asound.conf


pcm.hdmi_hw {
type hw
card 1 # <--- card number
device 7 # <--- device number
}

pcm.hdmi_complete {
type softvol
slave.pcm hdmi_hw
control.name hdmi_volume
control.card 1
}

pcm.!default hdmi_complete


Any help would be greatly appreciated as I dont fully understand ALSA and its

driving me up the wall :-)

Thanks
TomC

Sound Suddenly Stops Working

Dear all,

I have recently upgrade my distribution, everything worked fine except for the sound system.

The audio stops working after a while. I lose the sound after several minutes of Skype use or while watching videos in my browser, it just happens....

But not only Skype or video audio stops, all sounds stop as well. I need to reboot the system to get the sound back, and then the same, at certain point all sounds disappear.

I tried many things that I found (reinstall alsa, kill and restart pulseaudio, install pavucontrol) but none of them seems to work.

This is the result of aplay -l

card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC889 Digital [ALC889 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

The weird thing is that the audio meter of the output sound from pavucontrol shows signal. The bar moves when receiving sound but no sound can be listened.

Typing pulseaudio with or without sound gives me:

E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

I though the second line was telling that something went wrong, but the sound works at the beginning even with that message.

I do not know what else to do. Any help would be more than welcome since I'm really frustrated.

Thank you very much for your help.

New Graphic Card Installed: The Sound Is Now Gone. How To Solve?

hello,
I installed an ATI card into my pc, now the sound is gone. I suppose this is due to the position of that new card which is now "0" (when I start alsamixer, I see the sound default is "HD-Audio Generic" with "Chip: ATI R6xx HDMI". I dont have a screen on the HDMI. I just want to take the "Intel ICH6" with "Chip: Analog Devices AD1981B" as the default card as per previous installation.

What should I do?

cat /proc/asound/cards
Code:
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf0620000 irq 42
 1 [ICH6           ]: ICH4 - Intel ICH6
                      Intel ICH6 with AD1981B at irq 21

Thanks.

Can't Open Pavucontrol In Xfce - Sound Not Configured

I am trying to open pavucontrol in debian with the xfce desktop.
The error message is:

Code:
Connection to Pulseaudio failed. Automatic retry in 5s
In this case this is likely because PULSE_SERVER in the Environment/X11 Root Windows Properties or default-server in client.conf is misconfigured.

I am having trouble getting sound and configuring the settings.
There is no sound setting in the Settings Manager of xfce.
Also, every time I change alsamixer to my hdmi sound card it keeps going back to the default analog sound card when I exit the program.

How can I access the system settings on the desktop or do I need to change a file setting from the terminal?

New Debian 7.7 Non-free Install - Sound Not Working.

Hello everyone.
I have just installed debian stable non-free onto my hard drive but the sound isn't working.

I've been to the debian site https://wiki.debian.org/SoundConfiguration and found that 'users' don't automatically have access to audio (for security reasons).
So I did the following command as root (sudo):
Code:
adduser USER_NAME audio

Now when I am 'user', I can get sound.

I also did:
Code:
chgrp cdrom /dev/sr0
adduser USER_ID cdrom

This allows 'user' to get sound from the cdrom.

I then went onto the debian soundfaq https://wiki.debian.org/SoundFAQ

From the 'lspci -v' command, I get these 2 outputs which have the word 'audio' in it:
Code:
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series]
	Subsystem: Giga-byte Technology Device 960f
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at fdefc000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 3
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Kernel driver in use: snd_hda_intel

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
	Subsystem: Giga-byte Technology Device a102
	Flags: bus master, slow devsel, latency 32, IRQ 16
	Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Kernel driver in use: snd_hda_intel

So I have 2 sound cards.

The debian website says: 'If sound does not work for root account as well, then that means that either your sound card is not supported by Debian or it was not configured properly'.

Ok, so the first part of the statement is worrying.
So I went to the debian device driver check page http://kmuto.jp/debian/hcl/ and did 'lspci -n'.
The output can be pasted onto their web page and debian will say if the sound cards are supported.
The web page shows that the sound cards are supported:

Quote:
10024383 Yes Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) snd-hda-intel v2.6.25
10029715 Yes Advanced Micro Devices [AMD] nee ATI RS880 [Radeon HD 4250] radeon v2.6.35-
1002970f Yes Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series] snd-hda-intel v2.6.27-
So now I'm guessing that my sound cards are 'not configured properly'. But I've run a Youtube video and then changed the sound cards under alsamixer and I still don't get sound.
Is there is a simple solution to this please? Thank you in advance.

CentOS 6 - No Sound For Non-root Users

Working with CentOS 6.6. When logged on as root, sound works fine and 'Preferences -> Sound -> Hardware' shows the 'Internal SOund" device. When logged on as normal user, no sound and 'Preferences -> Sound -> Hardware' offeres no choices. What do I need to twiddle to enable sound for normal (i.e. non-root) users?

Sourround Sound Not Working On Linux Mint 17.1

Hello

I have linux mint 17.1 cinnamon installed on my computer, but the surround sound is not working (I only get stereo from two speakers)

When I run lspci I can see that my card is called

C-Media Electronics Inc CMI8738/CMI8768 PCI Audio (rev 10)

there is another embeded card that came with my computer called

[AMD/ATI] Trinity HDMI Audio Controller

but I have my speakers hooked up to the first one and I have selected this card in the "output device" option on the lower right hand side of the screen, and I have selected the sound setting "analgog 4.0 surround".

My surround sound used to work when I had windows xp and xubuntu installed on an older computer with the same surround sound card attached. So I can't understand why it is not working now.

Can anyone help me with this?

when I run

aplay -l

I get:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738 [C-Media CMI8738], device 0: CMI8738 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738 [C-Media CMI8738], device 1: CMI8738 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738 [C-Media CMI8738], device 2: CMI8738 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

inxi -Fzx
System: Host: rene-linuxmint Kernel: 3.13.0-37-generic x86_64 (64 bit, gcc: 4.8.2)
Desktop: Gnome Distro: Linux Mint 17.1 Rebecca
Machine: System: Gigabyte product: N/A
Mobo: Gigabyte model: F2A58M-DS2H version: x.x Bios: American Megatrends version: F1 date: 04/28/2014
CPU: Dual core AMD A4-4000 APU with Radeon HD Graphics (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 11977.2
Clock Speeds: 1: 1400.00 MHz 2: 1400.00 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7480D] bus-ID: 00:01.0
X.Org: 1.15.1 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz
GLX Renderer: Gallium 0.4 on AMD ARUBA GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Audio: Card-1: Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller driver: snd_hda_intel bus-ID: 00:01.1
Card-2: C-Media CMI8738/CMI8768 PCI Audio driver: snd_cmipci port: d000 bus-ID: 03:06.0
Sound: Advanced Linux Sound Architecture ver: k3.13.0-37-generic
Network: Card-1: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 02:00.0
IF: wlan0 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 ver: 2.3LK-NAPI port: e000 bus-ID: 01:00.0
IF: eth0 state: down mac: <filter>
Drives: HDD Total Size: 820.2GB (35.7% used) 1: id: /dev/sda model: WDC_WD3200AVCS size: 320.1GB
2: USB id: /dev/sdc model: MQ01ABD050 size: 500.1GB
Partition: ID: / size: 290G used: 21G (8%) fs: ext4
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 0.4C mobo: N/A gpu: -3.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 169 Uptime: 4:07 Memory: 1209.9/3068.3MB Runlevel: 2 Gcc sys: 4.8.2 Client: Shell inxi: 1.8.4


aplay -L
default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
dmix:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct sample snooping device
hw:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Hardware device with all software conversions
sysdefault:CARD=CMI8738
C-Media CMI8738, C-Media PCI DAC/ADC
Default Audio Device
front:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
Front speakers
rear:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
Rear speakers
surround40:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
4.0 Surround output to Front and Rear speakers
iec958:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
Direct sample mixing device
dmix:CARD=CMI8738,DEV=1
C-Media CMI8738, C-Media PCI 2nd DAC
Direct sample mixing device
dmix:CARD=CMI8738,DEV=2
C-Media CMI8738, C-Media PCI IEC958
Direct sample mixing device
dsnoop:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
Direct sample snooping device
dsnoop:CARD=CMI8738,DEV=1
C-Media CMI8738, C-Media PCI 2nd DAC
Direct sample snooping device
dsnoop:CARD=CMI8738,DEV=2
C-Media CMI8738, C-Media PCI IEC958
Direct sample snooping device
hw:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
Direct hardware device without any conversions
hw:CARD=CMI8738,DEV=1
C-Media CMI8738, C-Media PCI 2nd DAC
Direct hardware device without any conversions
hw:CARD=CMI8738,DEV=2
C-Media CMI8738, C-Media PCI IEC958
Direct hardware device without any conversions
plughw:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
Hardware device with all software conversions
plughw:CARD=CMI8738,DEV=1
C-Media CMI8738, C-Media PCI 2nd DAC
Hardware device with all software conversions
plughw:CARD=CMI8738,DEV=2
C-Media CMI8738, C-Media PCI IEC958
Hardware device with all software conversions

No Sound In Linux Mint

Hi
I have installed Linux Mint 17 Mate. I worked very well for many many days. However, today suddenly the sound system has stopped making any sound. Linux Mint is producing any sound, whatever audio/video player I use. How can I fix it?
Update: The sound system in Mate Control Center is making sound, however VLC/MPlayer are not producing any sound. But audacious is making sound.
PS. Other OSes are producing sounds correctly.