Hello.
Here’s my new thread. I needed a couple days to test as much as I could before writing this post.
I have a sound issue on 1 machine with openSUSE 11.1 and KDE (4.1 and 4.2).
I cannot hear anything anymore out of my speakers after login/logout once in KDE. Sound worked before with all WMs under X (twm, ctwm, icewm, etc ), Gnome, Xfce, as well as in the console (while booting in runlevel 3 ) before and after running X. As soon as I start KDE, the sound device get muted … for ever, as if I would have turned off the speakers. I means that KDE (Phonon ?) must have left it in an usuable state : changed an access right ? created a wrong link ? or modified a property somewhere where it was not supposed to.
To isolate and reproduce the problem, I conducted several installs of openSUSE 11.1 on 4 machines, all of them with the same sound chip:
- box1: M2NPV-VM (bios rev 140) + AMD Sempron 3200+ (single core, 64 bit)
- box2: M2NPV-VM (bios rev 140) + AMD Athlon X2 3800+
- box3: P5QL PRO + Intel Core2 Duo E8400
- box4: A7V266-E + AMD Athlon XP1770+ (i386)
box4 is a rather old 32bit system but one of the best mainboards you could get ten years ago.
The problem affects only box1.
Boxes 1, 2 and 3 have onboard sound disabled and a PCI C-Media CMI8738. The models/revisions are slightly different from one card to another. It might not be relevant, since changing the soundcard in box1 didn’t solve the issue. Box 4 has a CMI8738 on board.
Sound was OK before I started KDE : listening to mp3 with mpg123, listening to audio streams and watching videos with mplayer, watching and hearing Flash videos in FF as well. I reproduced the same error after several fresh installs.
The following attempts to fix the problem didn’t have any effect:
- rebooting
- installing KDE 4.2 instead of KDE 4. 1
- installing drivers from the alsa/alsa-update repository
- replacing the soundcard in box1 with a similar one ( BTW inserted in another PCI slot)
- flashing the BIOS of box1 (I only did that, so it would match the one in box2)
- playing with alsamixer or other mixer programs (all levels look ok, nobody’s muted)
- reconfiguring with alsaconf.
I suspect KDE to have picked a wrong device/channel and set it as the default at a level where a desktop environment is not supposed to intervene. Despite the fact that I don’t understand what it exactly did, I find that behaviour rather unacceptable (but I might have missed something). Back in Gnome, I can hear sound in Sound Preferences by choosing PCI 2nd DAC (Alsa) on the device rather than autodetect or PCI DAC/ADC (which I guess would be right and what KDE may have changed). But changing that setting doesn’t seem to affect programs output and wouldn’t probably do anything outside of Gnome.
I would’nt mind not having sound in KDE but I would like to be able to get back the sound as it was before KDE screwed it up, other than by reinstalling openSUSE.
So my simple question: what did KDE (Phonon ?) do to the sound devicel ? With that answer, I could probably find a way to prevent it to happen or reverse the sound state to its default. Comparing the listings of /etc and /dev before and after KDE didn’t bring any usefull information.
Box1 would have sound under openSUSE if I would reinstall the system and never use KDE. But I would’nt call it a satisfactory solution. Other Linux and Unixes installed on that machine do not have sound issues.
Thanks for any advice.