Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa awful with non-root user
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
Aurin
n00b
n00b


Joined: 09 Aug 2002
Posts: 3

PostPosted: Thu Sep 19, 2002 11:29 pm    Post subject: Alsa awful with non-root user Reply with quote

I recently installed and configured Alsa with the via686 driver for an ac97 on-motherboard sound card. When I run xmms or another player as root, everything works beautifully. As any other user, the sound comes out horribly distorted with sharp spikes of static. My user account is a member of the audio group, of course.

Not sure if it will help, but lsmod looks like this:

Code:

snd-pcm-oss            35652   0  (autoclean)
snd-mixer-oss           9440   0  (autoclean) [snd-pcm-oss]
sr_mod                 11576   0  (autoclean) (unused)
snd-via686              7364   0
snd-pcm                56416   0  [snd-pcm-oss snd-via686]
snd-timer              10912   0  [snd-pcm]
snd-ac97-codec         24240   0  [snd-via686]
snd-mpu401-uart         3216   0  [snd-via686]
snd-rawmidi            13152   0  [snd-mpu401-uart]
snd-seq-device          3808   0  [snd-rawmidi]
snd                    27464   0  [snd-pcm-oss snd-mixer-oss snd-via686 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]


Most of it is deps for snd-via686, which is aliased as snd-card-0. Is there any way to get around the static? I'm about this close () to doing something really dumb like suiding xmms :roll:
Back to top
View user's profile Send private message
french tony
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2002
Posts: 148
Location: Belfast

PostPosted: Fri Sep 20, 2002 12:53 am    Post subject: Reply with quote

What does your ~/.asoudrc looks like?
could it be that the levels are set too high? you can check with alsamixer.
having both pcm and master set to 100% is bad.
Back to top
View user's profile Send private message
Aurin
n00b
n00b


Joined: 09 Aug 2002
Posts: 3

PostPosted: Fri Sep 20, 2002 2:22 pm    Post subject: Reply with quote

Nope, not both set to 100%. I tried various lower settings, and got... quieter screechy static :)

In addition, though, my computer has been locking up (no keyboard, no mouse) on reaching the XDM login screen recently. Booting another OS and deleting asound.state fixes the problem. I don't seem to have a ~/.asoundrc, even after running amixer as user.

Oh, one more thing. When I'm booting up, after loading sound card 0, I get a buch of messages like "modprobe: snd-card-1 not found," and so on through snd-card-9 or 10. Of course, none of those are aliased to anything. Not sure why the alsa init script would be going through them.

Aurin
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