You are not logged in.

#1 2007-11-02 11:10:40

voodoo.child
Member
Registered: 2007-11-01
Posts: 30

[SOLVED] sound problems as normal user

I have some problems playing movies as normal users. Sound is so bad that I can barely understand (lots of flickers every second). However when I run the same movie as root the quality of sound is very good, no flicker.

Here is what lspci says about my soundcard:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

I'm using xfce 4.4.1, alsa-lib 1.0.15-1, and kernel 2.6.23

[alexandru@alexandru-laptop movies]$ ls -1Al /dev/snd/
total 0
crw-rw-rw- 1 root audio 116,  0 Nov  2  2007 controlC0
crw-rw-rw- 1 root audio 116,  4 Nov  2  2007 hwC0D0
crw-rw-rw- 1 root audio 116,  5 Nov  2  2007 hwC0D1
crw-rw-rw- 1 root audio 116, 24 Nov  2  2007 pcmC0D0c
crw-rw-rw- 1 root audio 116, 16 Nov  2  2007 pcmC0D0p
crw-rw-rw- 1 root audio 116, 17 Nov  2  2007 pcmC0D1p
crw-rw-rw- 1 root audio 116,  1 Nov  2  2007 seq
crw-rw-rw- 1 root audio 116, 33 Nov  2  2007 timer

Last edited by voodoo.child (2007-11-04 10:32:04)


--
Alexandru

Offline

#2 2007-11-02 11:24:52

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: [SOLVED] sound problems as normal user

Have you added the user to the audio group?
gpasswd -a USERNAME audio

Also, first run alsamixer and lower pcm so its not max. There are sometimes issues with fickering if you have set it to max. If it doesnt help, try messing around in alsamixer and se if that helps.

Offline

#3 2007-11-02 11:45:55

voodoo.child
Member
Registered: 2007-11-01
Posts: 30

Re: [SOLVED] sound problems as normal user

adding user to 'audio' group doesn't solve the problem. i tried lowering volume, but still didn't work (using root works fine at maximum volume). i tried to change mplayer's audio output to also/esd but I lost all the sound. It seems that mplayers uses sdl output under normal user and alsa under root. Why isn't alsa working under normal user while alsamixer does?

Alexandru

Last edited by voodoo.child (2007-11-02 11:46:25)


--
Alexandru

Offline

#4 2007-11-02 11:55:20

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: [SOLVED] sound problems as normal user

You also need to restart for the user to be in the group.
But since the sound dies, thats maybe not the problem. Do you have the same problem using music-players like audacious or perhaps vlc?
Just trying to narrow it down to see if its a sound/permission or mplayer problem.

Offline

#5 2007-11-04 10:33:04

voodoo.child
Member
Registered: 2007-11-01
Posts: 30

Re: [SOLVED] sound problems as normal user

logging out and back in solved the problem. i also had to add user to video group because after adding it to audio group my video turned green smile

Last edited by voodoo.child (2007-11-04 10:33:38)


--
Alexandru

Offline

Board footer

Powered by FluxBB