This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] No more sound since upgrade to KDE 4.2.2

Tags: None
(comma "," separated)
grosguillaume
Registered Member
Posts
38
Karma
0
Hi everyone.

With KDE 4.2.1 (and less), i always have sound on my laptop (Intel 828201 CA-ICH3 with ALC200,200P) but since i make an upgrade to KDE4.2.2, no more sound.

When trying to test (SystemSettings/Multimedia), i have a Phonon pop-up saying that the Intel 828201 CA-ICH3 is not working.

Can someone help me, please ?

Thank's for answering !

Guillaume
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Do non Phonon applications work? And is a new user affected?
If the answer to both is yes, please ensure that all KDE related packages are updated, and the correct backend has been selected in System Settings > Multimedia.

If the answer to the first question is no, then your systems configuration has been changed. Usually there is an 'audio' group that you will need to be a member of for sound to work.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
grosguillaume
Registered Member
Posts
38
Karma
0
bcooksley wrote:If the answer to the first question is no, then your systems configuration has been changed. Usually there is an 'audio' group that you will need to be a member of for sound to work.


Thank's for taking time to answer.
As you thought, the answer to your first question is no...

The soundcardinfo.sh script on Phonon's web site tells this :
/proc/asound/cards:
0 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3
Intel 82801CA-ICH3 with ALC200,200P at irq 11
1 [Modem ]: ICH-MODEM - Intel 82801CA-ICH3 Modem
Intel 82801CA-ICH3 Modem at irq 11

/proc/asound/pcm:
00-01: Intel ICH - MIC ADC : Intel 82801CA-ICH3 - MIC ADC : capture 1
00-00: Intel ICH : Intel 82801CA-ICH3 : playback 1 : capture 1
01-00: Intel ICH - Modem : Intel 82801CA-ICH3 Modem - Modem : playback 1 : capture 1

/proc/asound/card0/codec97#0/ac97#?-?:
0-0/0: Realtek ALC200,200P rev 0

PCI Subsys Vendor: 0x1558
PCI Subsys Device: 0x8880

Capabilities : -headphone out-
DAC resolution : 18-bit
ADC resolution : 18-bit
3D enhancement : Realtek 3D Stereo Enhancement

Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Extended ID : codec=0 rev=1 AMAP DSA=0 SPDIF VRA
Extended status : SPCV SPDIF=7/8 SPDIF VRA
PCM front DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz

/proc/asound/card1/codec97#0/ac97#?-?:
cat: /proc/asound/card1/codec97#0/ac97#?-?: Aucun fichier ou dossier de ce type

.......

# Intel Corporation 82801CA/CAM AC CLEVO/KAPOK Computer Intel 82801CA-ICH3 Modem Intel 82801CA-ICH3 Modem - Modem
[pci:8086:2486:1558:1800:both:oss]
name=Intel 82801CA-ICH3 Modem (Intel 82801CA-ICH3 Modem - Modem)
initialPreference=20

# Intel Corporation 82801CA/CAM AC CLEVO/KAPOK Computer Intel 82801CA-ICH3 Modem Intel 82801CA-ICH3 Modem - Modem
[pci:8086:2486:1558:1800:capture:alsa:0]
name=Intel 82801CA-ICH3 Modem (Intel 82801CA-ICH3 Modem - Modem)
initialPreference=35

# Intel Corporation 82801CA/CAM AC CLEVO/KAPOK Computer Intel 82801CA-ICH3 Modem Intel 82801CA-ICH3 Modem - Modem
[pci:8086:2486:1558:1800:playback:alsa:0]
name=Intel 82801CA-ICH3 Modem (Intel 82801CA-ICH3 Modem - Modem)
initialPreference=35

# Intel Corporation 82801CA/CAM AC CLEVO/KAPOK Computer Intel 82801CA-ICH3 with ALC200,200P Intel 82801CA-ICH3 - MIC ADC
[pci:8086:2485:1558:8880:capture:alsa:1]
name=Intel 82801CA-ICH3 with ALC200,200P (Intel 82801CA-ICH3 - MIC ADC)
initialPreference=35

# Intel Corporation 82801CA/CAM AC CLEVO/KAPOK Computer Intel 82801CA-ICH3 with ALC200,200P Intel 82801CA-ICH3
[pci:8086:2485:1558:8880:both:oss]
name=Intel 82801CA-ICH3 with ALC200,200P (Intel 82801CA-ICH3)
initialPreference=20

# Intel Corporation 82801CA/CAM AC CLEVO/KAPOK Computer Intel 82801CA-ICH3 with ALC200,200P Intel 82801CA-ICH3
[pci:8086:2485:1558:8880:capture:alsa:0]
name=Intel 82801CA-ICH3 with ALC200,200P (Intel 82801CA-ICH3)
initialPreference=35

# Intel Corporation 82801CA/CAM AC CLEVO/KAPOK Computer Intel 82801CA-ICH3 with ALC200,200P Intel 82801CA-ICH3
[pci:8086:2485:1558:8880:playback:alsa:0]
name=Intel 82801CA-ICH3 with ALC200,200P (Intel 82801CA-ICH3)
initialPreference=35


lsmod | grep snd says :

debian:/home/guillaume# lsmod | grep snd
snd_intel8x0m 12492 0
snd_intel8x0 26268 2
snd_ac97_codec 88484 2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss 32800 1
snd_mixer_oss 12320 1 snd_pcm_oss
ac97_bus 1728 1 snd_ac97_codec
snd_pcm 62596 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 2660 0
snd_seq_oss 24992 0
snd_seq_midi 5728 0
snd_rawmidi 18496 1 snd_seq_midi
snd_seq_midi_event 6432 2 snd_seq_oss,snd_seq_midi
snd_seq 41456 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 17800 2 snd_pcm,snd_seq
snd_seq_device 6380 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 45604 13 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 6368 2 snd
snd_page_alloc 7816 3 snd_intel8x0m,snd_intel8x0,snd_pcm


If it can help...

Guillaume
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you open Konsole, then type in 'alsamixer', you should see a variety of vertical bars ( with names such as 'Master', 'PCM', etc ) and you should be able to adjust them with the arrow keys on your keyboard.

If you recieve an "access denied" message, could you please post the output of these two commands?
Code: Select all
groups
ls -la /dev/snd/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
grosguillaume
Registered Member
Posts
38
Karma
0
bcooksley wrote:If you open Konsole, then type in 'alsamixer', you should see a variety of vertical bars ( with names such as 'Master', 'PCM', etc ) and you should be able to adjust them with the arrow keys on your keyboard.

Yes, it's the first thing i tried.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I am suspecting a permissions problem... could you please provide the output of these two commands?
can you also try downloading a WAV file and playing it through "aplay" or an MP3 through "mpg123" and see if that works? ( Please post any error messages )

Code: Select all
groups
ls -la /dev/snd/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
grosguillaume
Registered Member
Posts
38
Karma
0
bcooksley wrote:I am suspecting a permissions problem... could you please provide the output of these two commands?


guillaume@debian:~$ groups
guillaume dialout cdrom floppy audio video plugdev powerdev scanner netdev


guillaume@debian:~$ ls -la /dev/snd/
total 0
drwxr-xr-x 2 root root 220 avr 10 08:03 .
drwxr-xr-x 15 root root 4380 avr 10 08:08 ..
crw-rw----+ 1 root audio 116, 0 avr 10 08:03 controlC0
crw-rw----+ 1 root audio 116, 32 avr 10 08:03 controlC1
crw-rw----+ 1 root audio 116, 24 avr 10 08:03 pcmC0D0c
crw-rw----+ 1 root audio 116, 16 avr 10 08:03 pcmC0D0p
crw-rw----+ 1 root audio 116, 25 avr 10 08:03 pcmC0D1c
crw-rw----+ 1 root audio 116, 56 avr 10 08:03 pcmC1D0c
crw-rw----+ 1 root audio 116, 48 avr 10 08:03 pcmC1D0p
crw-rw----+ 1 root audio 116, 1 avr 10 08:03 seq
crw-rw----+ 1 root audio 116, 33 avr 10 08:03 timer


bcooksley wrote:can you also try downloading a WAV file and playing it through "aplay" or an MP3 through "mpg123" and see if that works? ( Please post any error messages )


For the .wav with aplay :
guillaume@debian:~$ aplay 698.wav
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
aplay: main:590: audio open error: Périphérique ou ressource occupé"


For the .mp3 with mpg123 :
guillaume@debian:~$ mpg123 698.mp3
/dev/dsp: Device or resource busy
[jack.c:201] error: Failed to open jack client: 0x1
[pulse.c:85] error: Failed to open pulse audio output: Connection refused
[audio.c:562] error: failed to open audio device
[audio.c:179] error: Unable to find a working output module in this list: alsa,oss,esd,jack,pulse,nas,arts
[audio.c:464] error: Failed to open audio output module
[mpg123.c:775] error: Failed to initialize output, goodbye.


Guillaume
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is related to Pulseaudio locking the audio device. If you use it, you need to ensure that it is functional, otherwise I would recommend uninstalling it. As a quick check, try running "killall pulseaudio" then trying to play sound using aplay / mpg123.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
grosguillaume
Registered Member
Posts
38
Karma
0
bcooksley wrote:It is related to Pulseaudio locking the audio device. If you use it, you need to ensure that it is functional, otherwise I would recommend uninstalling it. As a quick check, try running "killall pulseaudio" then trying to play sound using aplay / mpg123.


No processus kill when running killall pulseaudio !
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
These two commands will tell you the processes which are using the Audio devices:
Code: Select all
lsof | grep /dev/dsp
lsof | grep /dev/snd


Please post their output here. This is now likely to be related to an ALSA DMix issue.

Last edited by bcooksley on Fri Apr 10, 2009 10:45 am, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
grosguillaume
Registered Member
Posts
38
Karma
0
bcooksley wrote:These two commands will tell you the processes which are using the Audio devices:
Code: Select all
lsof | grep /dev/dsp
lsof | grep /dev/snd


Please post their output here. This is now likely to be related to an ALSA DMix issue.


guillaume@debian:~$ lsof | grep /dev/dsp
knotify4 3532 guillaume 13w CHR 14,3 0t0 6509 /dev/dsp


guillaume@debian:~$ lsof | grep /dev/snd
kmix 3565 guillaume 10u CHR 116,0 0t0 6532 /dev/snd/controlC0

Last edited by grosguillaume on Fri Apr 10, 2009 10:50 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you kill knotify4, then you should be able to play sounds again.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
grosguillaume
Registered Member
Posts
38
Karma
0
bcooksley wrote:If you kill knotify4, then you should be able to play sounds again.


Bingo :thumbs_up:

Is it a bug of KNotify4 ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is supposed to release the audio device quickly, this time it appears it didn't. Please check the versions of everything related to Phonon ( backends, etc. ) are fully updated, since I have never experienced it ( on trunk anyway ) You may also want to check that DMix is correctly configured.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
DMCorsa
Registered Member
Posts
18
Karma
0
On my openSuSE 11.1 install I actually had to remove PulseAudio completely, it was definitely conflicting with sound.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]