Skype: mic does not work, but arecord works

Hi there,
after fumbling around with Sound for quite a while,
the microphone of my webcam is finally working.

Just Skype does not seem to work properly (2.1.0.81) - video works, but the mic doesn’t.

Under the options/sound devices, I can only choose “Pulse Audio Server” for all devices, also the mic.

Any idea on how to make Skype use the microphone?

Best,
Knut

carverknut wrote:

> after fumbling around with Sound for quite a while,
> the microphone of my webcam is finally working.
>
> Just Skype does not seem to work properly (2.1.0.81) - video works, but
> the mic doesn’t.
>
> Under the options/sound devices, I can only choose “Pulse Audio Server”
> for all devices, also the mic.

I have a same issue, And does not know how to fix this.

~> rpm -qa |grep ‘skype|pulse|pulseaudio’
libxine1-pulse-1.1.17-1.pm.25.1.x86_64
libpulse0-32bit-0.9.19-2.3.x86_64
libpulse0-0.9.19-2.3.x86_64
libpulse-mainloop-glib0-0.9.19-2.3.x86_64
skype-2.1.0.81-2.x86_64


WBR

Have you tried selecting different device for “Microphone” under “Sound Devices” in “Options”?

1st of all, I would recommend that you remove pulseaudio altogether. Gives nothing but headache…

Anyways, there are issues with this, one time easier to solve then another.

Ok, here it is. Open Mixer, see your “capture” level, and try it on some other app… like sound recorder. When it works, then let’s tweak skype.

In skype → sound devices, you should uncheck "allow skype to automatic… " or whatever it is written. Just dont let him mess with it.

You see 3 combo boxes. 1st one is for microphone. Select 1st from list, and other two leave default. Apply and “make test call”.
in 90% of times, just setting 1st one does the job. Sometimes, you must test all to see which one is working.

As I said on the start, I had lot of troubles because pulseAudio until I removed it.

syampillai wrote:

> Have you tried selecting different device for “Microphone” under “Sound
> Devices” in “Options”?
Definitely yes
Mic works in my headphones, but did not work in test call. I hear some
strange sounds but there unacceptable quality.


WBR

beli0135 wrote:

> 1st of all, I would recommend that you remove pulseaudio altogether.
> Gives nothing but headache…
I have no pulseaudio
~> rpm -qa |grep pulseaudio
~>
ok I will remove all pulse stuff, but as far I can remember they was
installed by some dependencies
> Ok, here it is. Open Mixer, see your “capture” level, and try it on
> some other app… like sound recorder. When it works, then let’s tweak
> skype.
I think I have it working.
kmix “capture”
http://i45.tinypic.com/2ldf7s5.jpg
> In skype → sound devices, you should uncheck "allow skype to
> automatic… " or whatever it is written. Just dont let him mess with
> it.
allready have it unchecked
> You see 3 combo boxes. 1st one is for microphone. Select 1st from list,
> and other two leave default. Apply and “make test call”.
> in 90% of times, just setting 1st one does the job. Sometimes, you must
> test all to see which one is working.
http://i49.tinypic.com/nwem1e.jpg
that work but with unacceptable quality
> As I said on the start, I had lot of troubles because pulseAudio until
> I removed it.
ok I try remove them and check one more time.

thank you in advise

WBR

didencool wrote:
> carverknut wrote:
>> Just Skype does not seem to work properly (2.1.0.81
> I have a same issue, And does not know how to fix this.

there are recent (last several weeks) threads about skype in the
applications forum…i suggest you both use the search feature to
find and read them…you might find a solution…


palladium

palladium wrote:

> there are recent (last several weeks) threads about skype in the
> applications forum…
uhm, ok let try it. this is simple with knode
opensuse.org.help.applications>
1.Webcam on Skype 2.1.0.81
(question about video)
2.skype/gnome problem?
I have an KDE not gnome

I can NOT see my own video
I can NOT see her video (just a white blank square where her video
should be)
I CAN hear her
She CAN hear me

3.Skype For Asterisk - Kernel Bug
I am not using asterisk
4. Skype behaviour moving between Arch and OpenSuSE
I am not mooving from Arch

UVC compliant webcam which worked just fine with Skype in Arch
(I realize that’s a pretty relative statement) by using the
‘LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype’ trick

Looks like that is also a problem with video

opensuse.org.help.applications.multimedia
only this thread
opensuse.org.help.hardware
opensuse.org.help.hardware.64-bit
opensuse.org.help.hardware.laptop
opensuse.org.help.applications.games
no skype

> i suggest you both use the search feature to
> find and read them…you might find a solution…

with all respect you not so right here


WBR

I’m solve problem with microphone and sound in skype (through pulseaudio on suse 11.2) by this way: http://kubuntu.ru/node/5204
pavucontrol is a program for configuration of pulse server. I choose correct devices for input and output channels of pulse and skype became totally working.

I need help… I have openSUSE 11.2 with GNOME installed on my acer aspire one ZG5 and I can’t get Skype to recognize my built-in mic on my system. In options->sound devices I am not even given a choice to select anything. Everything is preset to just “PulseAudio server (local)” with no other options in the drop down. I have read that pulse audio is **** and it should be removed but I don’t know how to remove it. Also, if I do remove it, I don’t want my system to be without sound as a result. As a side note I wanted to point out that when I had openSUSE with KDE4 installed Skype worked fine. I don’t know why it would work with KDE and not GNOME. Now, before anyone suggests to me that I should use KDE as a fix to this issue… I USE GNOME… please help if you can.

Thank you,
Drew

> i suggest you both use the search feature to
> find and read them…you might find a solution…

with all respect you not so right here


WBR[/QUOTE]

Did you ever solve this?

I have a similar problem: opensuse 11.3, kernel acer-aspire-8930g, laptop: acer aspire 8935G, kde4.4.4.

There are two sound cards: Intel ALC889 (enabled) and ATI Mobility Radeon (disabled). Kmix has ‘front mic’ selected as input source.

Microphone works perfectly in KRecord, but only produces a garbled sound in a Skype test call. I have tried all the skype device permutations available.

I am a VERY new Skype user. I set up Skype on my mother’s PC, on my PC, and my wife’s PC, all under Linux.

I recall that setting up the Mic could be a bit trickly because there were something like a dozen options/permutations to choose from in terms of the sound configuration, and it was essential to get the correct selection. My wife thought she had tried them all, but she had in fact had not. She rushed them, and it was easy to miss one (as one not only has to try the skype setting, but for each Skype setting one tries, one needs to check their mixer).

Perhaps you could provide us a screen dump of the selection choices you have in Skype, and also run the diagnositic script with your PC connected to the internet:

/usr/sbin/alsa-info.sh  

and select the SHARE/UPLOAD option and provide the website/URL address that the script provides to you (which indicates where the script output is located).

With those two outputs (Skype screen print, and URL/address from running diagnostic script) maybe we will be able to figure out what is misconfigured ? No promises thou, as I am VERY VERY VERY new to Skype.

Thanks,
My alsa-info is here:
http://www.alsa-project.org/db/?f=e7a8fa4f679ca9952edd8dd5b885421dc0a06d05

I have worked through all the permutations of sound-device and capture options and only found one combination which provides any sound: front-mic and capture in Kmix and HDA Intel, ALC889 Analog (hw:0,0) in Skype.

I did have this working in 11.2 but have recently installed (clean) 11.3 and do not have my previous notes with me!

Any help appreciated.

That diagnostic script indicates some strange things, so please bear with me and can you provide some additional clarification.

First, I note this from the script:

!!ALSA Version
!!------------

**Driver version:     1.0.23-git20101216**
Library version:    1.0.23
Utilities version:  1.0.23 

1.0.23-git-anything is not normally for openSUSE, so it suggests to me you have updated your alsa from the openSUSE packager’s multimedia repository. Sometimes when one does that they can have strange effects for sound device control, if one does not also update the other alsa applications. I can NOT tell if you did that.

So please provide also the output of:

rpm -qa '*alsa*' 

Next, I note this:

!!Modprobe options (Sound related)
!!--------------------------------

snd-hda-intel: **model=acer-aspire-8930g**
snd-hda-intel: **enable_msi=1** 

Those sort of edits were typically required in openSUSE-11.2’s /etc/modprobe.d/50-sound.conf file, but often not in 11.3’s. Are you absolutely certain they are necessary ? If not certain, what happens if you remove them ?

**ARECORD**

**ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.**
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC889 Analog [ALC889 Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1 

That error message should NOT be there. That tells me something else is incorrect in your setup. I am very puzzled why a libv4l reference should be there. Have you conducted other edits to configuration files that I can not detect from the diagnostic script ?

I confess I am currently thinking there is a risk that your efforts to :

  • update to the latest alsa version , and
  • apply special mode configurations

could be the cause of this difficulty.

My apologies if this is not the case, but I think before we spend time looking at other possibilities, it is important this be removed as a possible cause of the problems.

I did update from the multimedia repository, I believe following one of your posts thankyou, (and then disabled the repository)
here is the output of rpm -qa ‘alsa’:

alsa-devel-1.0.23-2.12.x86_64
alsa-1.0.23-2.12.x86_64
alsa-utils-1.0.23-1.8.x86_64
alsa-plugins-1.0.23-1.9.x86_64
alsa-plugins-32bit-1.0.23-1.9.x86_64
alsa-oss-1.0.17-29.2.x86_64
alsa-driver-kmp-desktop-1.0.23.20101216_k2.6.34.7_0.5-3.1.x86_64
alsa-oss-32bit-1.0.17-29.2.x86_64
alsa-firmware-1.0.23-1.2.noarch
alsamixergui-0.9.0rc1-746.1.x86_64
alsa-tools-gui-1.0.23-1.8.x86_64
pyalsa-1.0.22-1.8.x86_64
alsa-tools-1.0.23-1.8.x86_64
alsa-tools-devel-1.0.23-1.8.x86_64

I did indeed modify 50-sound.conf with:
snd-hda-intel: model=acer-aspire-8930g
snd-hda-intel: enable_msi=1

I have just retested without them.
The model description is necessary, without it I can not select ‘front mic’ and KRecord does not work.
The enable_msi=1 seems to have no effect, so I have removed it. So now still have good recordning nin KRecord, but garbled recording in Skype.

This line:
ERROR: ld.so: object ‘/usr/lib/libv4l/v4l1compat.so’ from LD_PRELOAD cannot be preloaded: ignored.
is a reult of a bash command which is necessary to make the skype webcam worrk on a 64bit system.
In bash.bashrc.local I have:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
export LD_PRELOAD

The command can be triggered when you call Skype, but if Skype is enabled on start-up I have found that I need to stop and restart it in order to get the video working. The downside is that the error message you spotted is spontaneously generated - a nuisance but I accept the trade-off.

That should not be necessary to run Skype on a 64-bit system. The 3 Linux PCs (all completely different hardware) in which I installed skype are all 64-bit and that was not necesary for any of them. I would be worried of an unintended side effect.

From where did you install Skype ?

I installed Skype by adding this repository, which then brought in all the needed dependencies:

http://download.opensuse.org/repositories/home:/broumbroum23/openSUSE_11.3_NonFree_standard/ 

I’ll look at your alsa app version shortly …

Edit: although that may be webcam specific as you note. I take it that your webcam is not a UVC webcam. Does your mic work ok if you remove those lines for an audio only test?

Can you post the contents of your 50-sound.conf file?

Reference the ALC889, I note these model options are possible (dependent on the hardware):

ALC882/883/885/888/889
======================
  3stack-dig	3-jack with SPDIF I/O
  6stack-dig	6-jack digital with SPDIF I/O
  arima		Arima W820Di1
  targa		Targa T8, MSI-1049 T8
  asus-a7j	ASUS A7J
  asus-a7m	ASUS A7M
  macpro	MacPro support
  mb5		Macbook 5,1
  macmini3	Macmini 3,1
  mba21		Macbook Air 2,1
  mbp3		Macbook Pro rev3
  imac24	iMac 24'' with jack detection
  imac91	iMac 9,1
  w2jc		ASUS W2JC
  3stack-2ch-dig	3-jack with SPDIF I/O (ALC883)
  alc883-6stack-dig	6-jack digital with SPDIF I/O (ALC883)
  3stack-6ch    3-jack 6-channel
  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
  6stack-dig-demo  6-jack digital for Intel demo board
  acer		Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
  acer-aspire	Acer Aspire 9810
  acer-aspire-4930g Acer Aspire 4930G
  acer-aspire-6530g Acer Aspire 6530G
  acer-aspire-7730g Acer Aspire 7730G
  acer-aspire-8930g Acer Aspire 8930G
  medion	Medion Laptops
  medion-md2	Medion MD2
  targa-dig	Targa/MSI
  targa-2ch-dig	Targa/MSI with 2-channel
  targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
  laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
  lenovo-101e	Lenovo 101E
  lenovo-nb0763	Lenovo NB0763
  lenovo-ms7195-dig Lenovo MS7195
  lenovo-sky	Lenovo Sky
  haier-w66	Haier W66
  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
  6stack-dell	Dell machines with 6stack (Inspiron 530)
  mitac		Mitac 8252D
  clevo-m540r	Clevo M540R (6ch + digital)
  clevo-m720	Clevo M720 laptop series
  fujitsu-pi2515 Fujitsu AMILO Pi2515
  fujitsu-xa3530 Fujitsu AMILO XA3530
  3stack-6ch-intel Intel DG33* boards
  intel-alc889a	Intel IbexPeak with ALC889A
  intel-x58	Intel DX58 with ALC889
  asus-p5q	ASUS P5Q-EM boards
  mb31		MacBook 3,1
  sony-vaio-tt  Sony VAIO TT
  auto		auto-config reading BIOS (default) 

Which is a rather long list. Out of curiousity, did you try any codes other than “acer-aspire-8930g” ? I concede that has the option name closest to your PC’s model number, but that does not always mean there may not be a better option (I concede changing the option is only a very low probability of being superior).

IMHO you should continue with the update, and not stop with an update of only alsa-driver-kmp-desktop.

I note you did not update the following, and I think you should have: alsa-devel, alsa, alsa-utils, alsa-plugins, alsa-plugins-32bit, alsa-oss, alsa-oss-32bit, alsa-firmware, alsa-tools-gui, alsa-tools, alsa-tools-devel and libasound2.

Given you still have problems, was there a reason to stop ? Possibly you were advised to do so by the openSUSE packager for sound (who packaged those and knows a lot more than I about this) ?

I put pictures on the alsa update guide to make it easier for users to see the update version TAB in the YaST Software Management page SDB:Alsa-update - openSUSE . So assuming there was no recommendation not to do so, I think you should be able to follow that and do a proper update of those apps.

50-sound.conf:
options snd-hda-intel model=acer-aspire-8930g
options snd slots=snd-hda-intel

u1Nb.0gOCIQQC_S1:82801I (ICH9 Family) HD Audio Controller

#options snd-hda-intel enable_msi=1

I also have a local file
99-local.conf:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
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

My laptop has a built in camera and mic. The LD_preload command is only necessary to stabilize the webcam in Skype (see the advice near the bottom of this page). I have also found it to be necessary with my USB camera on my desktop at home (I am travelling right now) which works like a charm. I think I originally installed Skype from a download, but I have also used broumbroum. I have setup Skype on half a dozen machines now, for myself and friends.

I have also tried model=3stack-6ch-dig 3-jack since this matches my machine. The removed all sound - no channels showed in kmix.

… ?? …
I thought you stated you removed the 'enable_msi=1" ?

I do not understand the need for that file.

I am thinking you did not update alsa fully, and hence you resorted to added a bunch of extra configuration information to make up for an incomplete update of alsa. Of course I may be wrong, but all your configuration hacks have me totally lost.

As I noted, I have only installed Skype on 3 x 64-bit PCs. Not one of them required the ‘hacks’ that you have applied. I assume it is because I was fortunate with more compatible hardware.

Anyway, there are too many configuration edits for me to understand what is taking place. I don’t think I can help. Sorry.