You are not logged in.

#1 2012-06-08 07:50:18

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Sound (optical) gone after upgrade [SOLVED]

Hi All,

I have had great fun after the last upgrade. First problem  nvidia driver would not load, solved by allocating more ram on the kernel line (in /boot/menu.1st
Second problem is I no longer have a visible optical sound interface (the one on the motherboard, intel chip ) The nvidia hdmi sound channel is there though ..
pavucontrol shows no optical device just nvidia hdmi ..

Anyone know how to debug this?

Last edited by bmentink (2012-06-12 06:46:13)

Offline

#2 2012-06-08 10:27:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,104

Re: Sound (optical) gone after upgrade [SOLVED]

You mention pavucontrol , so i guess you're using pulseaudio ?

The following is for alsa, but it will help to determine if your audio devices are detected correctly.

from console run :

aplay -l

and post the output.

It should look similar to this :

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

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2012-06-08 21:07:05

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Sound (optical) gone after upgrade [SOLVED]

Hi, thanks for the reply. Yes, I am using pulseaudio, it seems to be the Arch default now.
Here is the dump of devices:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Looks like card0, device 3 is what I want ... but why is it not showing up in pavucontrol now?

Offline

#4 2012-06-09 10:08:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,104

Re: Sound (optical) gone after upgrade [SOLVED]

pulseaudio is required for Gnome and a few other porgrams, but KDE, XFCE , openbox and afaik all other WM/DE can work with either pulse or alsa.

What WM/DE are you using ?

Also look for a .asoundrc file in your home folder (not sure if it's in a subdir or not) and post it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2012-06-10 02:27:53

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Sound (optical) gone after upgrade [SOLVED]

Lone_Wolf wrote:

pulseaudio is required for Gnome and a few other porgrams, but KDE, XFCE , openbox and afaik all other WM/DE can work with either pulse or alsa.

What WM/DE are you using ?

Also look for a .asoundrc file in your home folder (not sure if it's in a subdir or not) and post it.

There is no .asoundrc file and I am using Gnome3 which uses pulse I believe ..
I used analog sound briefly last night so I could watch TV (it is my media box) but on a reboot this morning, even analog has stopped working ..

Help please, TV without sound sucks big time ..

Offline

#6 2012-06-10 10:10:58

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: Sound (optical) gone after upgrade [SOLVED]

I'm experiencing the same problem. Yesterday vlc didn't have sound, today after I tried to troubleshoot it I lost the sound to everything. I use KDE with VLC as my phonon backend and S/PDIF as my connection. I did notice that there are much less options in system settings. Before the upgrade I could set my audio to S/PDIF now I can only chose from HDMI and digital.
EDIT: Well this is awkward. My sound actually works, I just didn't have the speakers turned on. But VLC still doesn't work. So there's that.

Last edited by Primoz (2012-06-10 10:44:15)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#7 2012-06-11 09:12:44

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,104

Re: Sound (optical) gone after upgrade [SOLVED]

ok, looks like we need to check the basics first.

from console run alsamixer, select the card with the s/pdif output and verify is is not muted (it should show OO at the bottom for that channel).

Note the name of the S/pdif channel, run aplay --list-pcms to make sure you have the correct pcm name for it.
then try aplay --device=pcm_name /path/to/any/soundfile
(/usr/share/sounds has many) .

If that commands outputs sound, you'll know for sure the s/pdif output is working.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2012-06-11 09:44:48

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Sound (optical) gone after upgrade [SOLVED]

Lone_Wolf wrote:

ok, looks like we need to check the basics first.

from console run alsamixer, select the card with the s/pdif output and verify is is not muted (it should show OO at the bottom for that channel).

Note the name of the S/pdif channel, run aplay --list-pcms to make sure you have the correct pcm name for it.
then try aplay --device=pcm_name /path/to/any/soundfile
(/usr/share/sounds has many) .

If that commands outputs sound, you'll know for sure the s/pdif output is working.

This is what aplay --list-pcms returns:

[bmentink@TV ~]$ aplay --list-pcms
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
    HDA Intel, ALC1200 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Digital
    HDMI Audio Output
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

As you see I only have analog and hdmi devices, no spdif ..

B.

Offline

#9 2012-06-11 10:06:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,104

Re: Sound (optical) gone after upgrade [SOLVED]

this should be the optical output of the intel chip, it seems it is detected as a hdmi output, not s/pdif.

hdmi:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Digital
    HDMI Audio Output

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2012-06-12 06:45:44

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Sound (optical) gone after upgrade [SOLVED]

Thanks for that. I set XBMC to use the "HDMI Intel device 0" and selected the usual "Optical" output and that worked ...
I have no idea why it is naming it hdmi ... that makes no sense at all .. oh well works now  .. thanks again.

Marking solved.

B.

Offline

Board footer

Powered by FluxBB