Help - Search - Members - Calendar
Full Version: audio playback problem
Skype Community > English > Skype for Linux
Progeny
Hi,
I'm using gentoo and i've emerged the latest version on skype from portage.
If I run skype as root, I'm able to listen sounds and use mic., but it doesn't work if I run skype as user.
The user in witch i run skype is in groups audio,video,wheel...

Running by user other application like xmms, i'm able to listen sounds...
I'm using KDE 3.5 with artsd, full duplex mode is enabled.. I use ALSA libraries.. uhm.. I tried too to run skype with artsd -m /opt/skype/skype but with no changes, the problem still remain sadsmile.png

QUOTE
rwxrwx 1 root root 9 Sep 7 09:37 /dev/dsp -> sound/dsp

progeny@inferno ~ $ ls -lash /dev/sound/
total 0
0 drwxr-xr-x 2 root root 160 Sep 7 09:37 .
0 drwxr-xr-x 16 root root 3.6K Sep 7 09:37 ..
0 crw-rw---- 1 root audio 14, 12 Sep 7 09:37 adsp
0 crw-rw---- 1 root audio 14, 4 Sep 7 09:37 audio
0 crw-rw---- 1 root audio 14, 3 Sep 7 09:37 dsp
0 crw-rw---- 1 root audio 14, 0 Sep 7 09:37 mixer
0 crw-rw---- 1 root audio 14, 1 Sep 7 09:37 sequencer
0 crw-rw---- 1 root audio 14, 8 Sep 7 09:37 sequencer2

progeny@inferno ~ $ groups progeny
wheel audio dialout tape video users vmware games


if I run "cat /dev/urandom >> /dev/dsp" as normal user, I listen the sound...

however, skype says "audio playback problem"... anyone can suggest to me a solution?
John Do
QUOTE(Progeny @ Fri Sep 7 2007, 10:34) [snapback]438544[/snapback]

[...]
I'm using KDE 3.5 with artsd, full duplex mode is enabled..
[...]

however, skype says "audio playback problem"... anyone can suggest to me a solution?

Try disabling artsd.
Progeny
QUOTE(John Do @ Fri Sep 7 2007, 12:53) [snapback]438615[/snapback]

Try disabling artsd.


nothing has changed...
Andypoo
Hi -- just wanted to confirm which version of Skype you are currently running, and if you had configured a specific sound card device in the client, or are using default? Let me know and we can go from there.

Also, using programs like artsdsp, etc to run Skype is no longer necessary.

Thanks,
Andy.
Progeny
QUOTE(Andypoo @ Fri Sep 7 2007, 19:36) [snapback]438751[/snapback]

Hi -- just wanted to confirm which version of Skype you are currently running, and if you had configured a specific sound card device in the client, or are using default? Let me know and we can go from there.

Also, using programs like artsdsp, etc to run Skype is no longer necessary.

Thanks,
Andy.


Hi, the version of skype I use is 1.4.0.99.
If I run skype as root, I can use any sound card device in the client and it works... either default and hw:8237,0

May be this info will be helpful..
QUOTE

inferno progeny # cat /proc/asound/cards
0 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with CMI9761A+ at 0xd000, irq 19
inferno progeny # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).
inferno progeny # cat /proc/asound/devices
Display all 136 possibilities? (y or n)
inferno progeny # cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
33: : timer


QUOTE
inferno progeny # cat /etc/modules.d/alsa
# Alsa kernel modules' configuration file.

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias char-major-116 snd
alias char-major-14 soundcore

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1
options snd-pcm-oss nonblock_open=1

# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14 ---
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
Progeny
up
berkus
Are you sure that /opt/skype/skype is the actual skype binary and not a leftover wrapper script?
Progeny
inferno progeny # ls -lash /opt/skype/skype
17M -rwxr-xr-x 1 root audio 17M Sep 6 21:02 /opt/skype/skype

yeah, sure.
Gustavo Felisberto
Try this:
cd /tmp
tar xvfj /usr/portage/distfiles/skype-1.4.0.99.tar.bz2
cd skype-1.4.0.99/
./skype

If you need please change to the static version.
And see if it works. Also please attach your emerge --info > emerge-info.txt
Progeny
it doesn't work... sadsmile.png
there is a way to watch skype's logs? may be helpful... I have to create "Logs" dir in order to enable skype's logging? and after.. who can read it? they are binaries, not plain text!
Gustavo Felisberto
QUOTE(Progeny @ Mon Sep 17 2007, 18:20) [snapback]442329[/snapback]

it doesn't work... sadsmile.png
there is a way to watch skype's logs? may be helpful... I have to create "Logs" dir in order to enable skype's logging? and after.. who can read it? they are binaries, not plain text!


Only skype can read them. Please add me to your skype contact list and I will try to debug this issue with you. I am the gentoo developer in charge of skype ebuilds.
Progeny
Hi, I've just added you on my contacts list.
Yeah, I know that I cannot read the log, but I don't find a skype's function to read it.
Reading other posts I apologize that skype's developer can read it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.