LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   no sound anymore (https://www.linuxquestions.org/questions/linux-desktop-74/no-sound-anymore-675662/)

carlyno 10-11-2008 07:25 AM

no sound anymore
 
Hello,
Code:

uname -a
Linux littleindian 2.6.25-gentoo-r8 #1 SMP Sun Oct 5 12:51:06 CEST 2008 i686
Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

Sound used to perfectly work out of all softwares providing it (amarok, vlc,
firefox...), untill...
Symptoms :
when amarok is fired, pop up window saying "XINE was unable to initialize any
audio-drivers".
no sound comes out anymore from vlc , Quake3, or firefox, when on youtube for
example . Video's fine thought.
when sounds tests are played with gnome sound manager: "audiotestsrc wave=sine
freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Internal GStreamer
error: state change failed. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer" when Alsa is chosen.
BUT, when OSS is chosen, I get the "beep" that means fine.
What I've checked so far:
Alsaconf had no issue dealing with my sound card. Alsamixer works fine.
Re-emerged media-libs/xine-lib, sys-apps/xinetd, x11-libs/libXinerama,
x11-proto/xineramaproto, gstreamer,gst-* plugins with no positive result.
Code:

cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.16rc2 emulation code)
Kernel: Linux littleindian 2.6.25-gentoo-r8 #1 SMP Sat Oct 4 08:55:09 CEST 2008
i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Avance Logic ALS4000 at 0xec00, irq 19

Audio devices:
0:  (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: Avance Logic ALS4000 MIDI

Timers:
7: system timer

Mixers:
0: ALS4000

cat /proc/asound/cards
 0 [ALS4000        ]: ALS4000 - Avance Logic ALS4000
                      Avance Logic ALS4000 at 0xec00, irq 19

Code:

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31 16:40:16
2008 UTC).
lsmod
Module                  Size  Used by
snd_seq_midi            9248  0
snd_opl3_synth        12548  0
snd_seq_midi_emul      7680  1 snd_opl3_synth
snd_seq_oss            24960  0
snd_seq_midi_event      7552  2 snd_seq_midi,snd_seq_oss
snd_seq                34672  7
snd_seq_midi,snd_opl3_synth,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            32416  0
snd_mixer_oss          15488  1 snd_pcm_oss
snd_als4000            13152  1
snd_sb_common          12672  1 snd_als4000
snd_pcm                44164  2 snd_pcm_oss,snd_als4000
snd_page_alloc        10376  1 snd_pcm
snd_opl3_lib          10880  2 snd_opl3_synth,snd_als4000
snd_timer              18056  3 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep              9860  1 snd_opl3_lib
snd_mpu401_uart        8704  1 snd_als4000
snd_rawmidi            17952  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device          8332  6
snd_seq_midi,snd_opl3_synth,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd                    33316  16
snd_opl3_synth,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_als4000,snd_sb_common,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device

# /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                             
                                                                             
                                          [ ok ]
 * Killing processes using ALSA ...                                           
                                                                             
                                          [ ok ]
 * Unloading ALSA modules ...                                                 
                                                                             
                                          [ ok ]
 * Loading ALSA modules ...
 *  Loading: snd-card-0 ...                                                 
                                                                             
                                          [ ok ]
 *  Loading: snd-pcm-oss ...                                                 
                                                                             
                                          [ ok ]
 *  Loading: snd-seq-oss ...                                                 
                                                                             
                                          [ ok ]
 *  Loading: snd-opl3-synth ...                                             
                                                                             
                                          [ ok ]
 *  Loading: snd-seq-midi ...                                               
                                                                             
                                          [ ok ]
 * Restoring Mixer Levels ...                                                 
                                                                             
                                          [ ok ]
# gstreamer-properties
...
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'pulsesink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'v4l2src'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Skipping unavailable plugin 'pulsesrc'
gstreamer-properties-Message: Error running pipeline 'ALSA - Advanced Linux
Sound Architecture': Could not open audio device for playback.
[gstalsasink.c(697): gst_alsasink_open (): /pipeline0/alsasink3:
Playback open error on device 'default': No such device or address]


groups
wheel audio cdrom video users games apache ftp carlino plugdev

Code:

# gst-launch-0.10 -v filesrc location="01-aborted-the_chondrin_enigma.mp3" !
mad ! audioconvert ! audioresample ! alsasink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/alsasink0: Could not open audio device for
playback.
Additional debug info:
gstalsasink.c(697): gst_alsasink_open (): /pipeline0/alsasink0:
Playback open error on device 'default': No such device or address
Setting pipeline to NULL ...
FREEING pipeline ...

What I've been doing before I notice this issue:
install nvidia drivers for graphic card 6600 GT
install Quake3
upgrade kernel
--All this went fine, and I'm positive, sound was working, since I played Q3
with it.--
run "emerge -pv --update --newuse --deep world" --> 40 components had to be
recompiled.
install PlayOnLinux.
Any idea ? Thanx

deepsix 10-22-2008 02:02 AM

just a few things that may or may not help....
 
1. make sure no other application is hung in the background tying up the soundcard (ie: apps that utilize the sound card) "htop" works great for this.
2. make sure the speakers are on and hooked up right.
3. as root run ldconfig
4. have you rebooted yet? (new kernel ... needs reboot)
5. run lsmod on a terminal to see if the module for your sound card is loaded. (or if your distro has a pretty utility to do this use that) but make sure youve rebooted since the new kernel install or you may not get accurate results


after you have tried those things...write back

carlyno 10-26-2008 08:07 AM

1.
Code:

top | grep alsa*
doesn't return anything
2. sure they are
3. ldconfig .... run as root, nothing special happened
4.I did reboot a bunch of time since the issue occurred, just using that box everyday
5.lsmod outup is shown in previous thread above.

I did filled a bug report right here : http://bugzilla.gnome.org/show_bug.cgi?id=555902.

This issue is still hanging, and I'm just getting desperate...


All times are GMT -5. The time now is 09:34 PM.