Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bizarre Alsasound/KDE Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
rimtrim
n00b
n00b


Joined: 03 Apr 2005
Posts: 17

PostPosted: Sun Apr 03, 2005 3:57 am    Post subject: Bizarre Alsasound/KDE Problem Reply with quote

I ran some searches and I didn't find anything that seems to address this problem...

When I initially launch KDE, I have no sound whatsoever. If I run alsamixer from the command line, it shows Master, Bass, Treble and PCM all at 100% and unmuted. If I try to run kmix from the command line, it launches, but prints the following messages to the console:

Code:
kmix: ERROR: snd_ctl_open err=No such file or directory
kmix: ERROR: snd_ctl_open err=No such file or directory


(yes, it prints it twice). Now, here's the weird part. If I run alsaconf from the command line and just let it run through the default stuff, it sees the card fine and sets everything up, and then the sound works fine. However, if I log out of KDE and then start KDE again, the weirdest thing happens. I hear the beginning of the KDE startup sound, but when the launch window gets to "Restoring Session", the sound cuts out and does not work until I run alsaconf again. This happens for both root and user running KDE. Sound card is a SoundBlaster Live Value, btw. Any ideas would be appreciated. I've been messing around with common-sense stuff and I can't figure it out.

-Andrew L
Back to top
View user's profile Send private message
rimtrim
n00b
n00b


Joined: 03 Apr 2005
Posts: 17

PostPosted: Sun Apr 03, 2005 5:42 am    Post subject: Reply with quote

Update: Now I find that, once I have the sound working, it continues working when KDE is logged in as root, even if I log on and off repeatedly, so long as I do not log in as user in the meantime. Once I've logged into KDE as user, the sounds stops working for everyone until I run alsaconf again. I don't think anything changed; I wrote the above post from memory based on what I observed when working on this problem last night, and I guess I was tired.

By the way, once the sound stops working, it is completely gone. If I try to play a wav file with aplay from a raw console command line (no KDE running, no X running, no nothing), it does NOT work when the system is in the "sound broken" state. If I fix the sound with alsaconf, I can log on and off the system as root or user and aplay things from the console to my heart's content. It's only when I start KDE as user that the sound dies.

-Andrew L
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Sun Apr 03, 2005 3:48 pm    Post subject: Reply with quote

Same problem here, on a Dell Latitude 640 (a laptop computer),
although it does NOT happen on the Dell Optiplex GX400.

It seems to me that you have pinned-down the symptoms well
enough for a bug report, if you are so willing...
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Sun Apr 03, 2005 5:42 pm    Post subject: Reply with quote

Start kmix and under settings->configure kmix make sure that "Restore volumes at login" is unchecked.
Back to top
View user's profile Send private message
rimtrim
n00b
n00b


Joined: 03 Apr 2005
Posts: 17

PostPosted: Sun Apr 03, 2005 8:36 pm    Post subject: Reply with quote

eae wrote:
Start kmix and under settings->configure kmix make sure that "Restore volumes at login" is unchecked.


Ding ding ding! This seems to be the solution. I had to make sure that option was unchecked both for root and user(s), and now everything seems to be working. It's not clear to me *why* this was the problem, because kmix always showed "volume at 100%" whether the sound was working or not. Thanks!

-Andrew L
Back to top
View user's profile Send private message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Sun Apr 03, 2005 10:13 pm    Post subject: Reply with quote

Basically kmix is broken, at least in my experience. :lol:
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Wed Apr 13, 2005 7:58 pm    Post subject: Reply with quote

eae, thank you. How did you discover that kmix caused the
problem? And how did you discover the fix?
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Thu Apr 14, 2005 12:19 pm    Post subject: Reply with quote

gentsquash wrote:
eae, thank you. How did you discover that kmix caused the
problem? And how did you discover the fix?


I asked on these forums and somebody told me that. :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum