Alsa loses AC'97 SPDIF output in Feisty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Every now and then the sound output through PSDIF is lost. Re-installing alsa sometimes helps, sometimes not. Sometimes tweaking alsamixer settings back and forth helps, sometimes not. The last soundloss cound not be fixed with either of the above.
When the problem occurs, only multichannel (DVD) content audio can be heard when playing it in totem or xine, or sometimes totem only. No any kind of stereo or mono content provides sound out of the system.
The other indicator on the problem is that the input signal indicator in the amplifier disappears.
After the problem appears, the indicator appears when multichannel media is played and disappears again when
the media is exited.
If stereo content is played (with xine, totem, mythtv etc) there is no sound output from the Ubuntu setup.
Switching the IEC958 in alsamixer does not help.
The problem appears without
- any HW re-configuration
- rebooting
- software installation/
- changing audio settings in the system itself of programs listed above
usually after running xine, totem and/or mythtv-frontend several times in the sytem
System: Asus P4P-800E, Ubuntu Feisty with SPDIF connection to amplifier.
uname -a:
Linux <hostname> 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux
lspci -v:
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Unknown device 812a
Flags: bus master, medium devsel, latency 0, IRQ 22
I/O ports at e800 [size=256]
I/O ports at ee80 [size=64]
Memory at febff800 (32-bit, non-prefetchable) [size=512]
Memory at febff400 (32-bit, non-prefetchable) [size=256]
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
lsmod|grep snd:
snd_intel8x0 34332 1
snd_ac97_codec 98464 1 snd_intel8x0
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 3 snd_intel8x0,
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
snd_seq_midi 9600 0
snd_rawmidi 25472 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_
snd_seq 52592 6 snd_seq_
snd_timer 23684 2 snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_
snd 54020 12 snd_intel8x0,
soundcore 8672 1 snd
snd_page_alloc 10888 2 snd_intel8x0,
Alsamixer:
Only Master and IEC958 enabled
cat /proc/asound/
0 snd_intel8x0
Alsa drivers installed as described in chapter ' Getting the ALSA drivers from a *fresh* kernel' in
<http://
System -> Preferences -> Sounds, Devices-tab: Everything set to ALSA
totem -> Edit -> Preferences -> Audio output type: AC3 passthrough
xine -> Settings -> Setup -> Audio -> Speaker arrangement: Pass Through
mythfrontend -> Utilities/Setup -> Setup -> General/Audio
Audio output device: ALSA:default
Passthrough output device: Default
Enable AC3 to SPDIF passthrough -checkbox checked
Enable DTS to SPDIF passthrough -checkbox checked
With more digging it looks like that when totem is exited (always dumps a core), it sometimes somehow changes the alsa default device. So the problem seems to be totem?