Skype sound issues

Questions about software.
LowTekkCyborg
Posts: 18
Joined: 07 Nov 2013 03:29

Skype sound issues

Postby LowTekkCyborg » 27 Nov 2013 12:49

Almost as soon as I did a reload using SolydX, I installed Skype as part of my standard setup, and for the first time in years, I'm having sound problems. Sometimes it would give the Skype startup sound when it loads, but most of the time it's silent as a tomb, and the moment I send a message to someone on my contacts list, I get a loud buzz that does not end until I either mute the output using the mixer or close the application altogether. This persisted even after I installed Mate, which is even more confusing, because Mate never gave me issues in regard to sound even when XFCE did. The only answer I can think of is to install ALSA and be done with it, but I'm not sure how to do it now. There's no metapackage and no readily available answer as to how to do it manually in SolydX.

Guess I've gotten lazy over the past five years... Linux in general has such good hardware support, I haven't had to get my hands dirty very often. Any help getting it running again without breaking something else(like Wine audio playback) would be greatly appreciated.


On a side note, I was able to install Wizard 101 using Wine via the PlayOnLinux metapackage with just a few mouse clicks, and the gameplay is flawless! I've NEVER had Wine run a game so perfectly right out of the box! Hats off to the SolydX dev team!
Rusted parts, trashpicked computers, and a dirty mind... life is good in the Dirty South

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Skype sound issues

Postby zerozero » 27 Nov 2013 13:43

that is a known issue between skype and pulseaudio4.
reported here
http://arunraghavan.net/2013/08/pulseau ... and-skype/
try this
http://www.webupd8.org/2013/10/get-soun ... buntu.html (solution b)
bliss of ignorance

User avatar
martrant
Posts: 10
Joined: 21 Nov 2013 19:08

Re: Skype sound issues

Postby martrant » 27 Nov 2013 19:36

Speaking of Skype, another known glitch that affects Skype is that it won't provide
video unless invoked in a special way. Here's how:

Create a script file ( sudo mousepad /usr/local/bin/skype )
which will contain the 2 lines:

#!/bin/bash
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/bin/skype

and make that script executable ( sudo chmod a+x /usr/local/bin/skype )

The reason for this hack is that Skype video is not (yet) compatible with
"Video2 for Linux" so it has to be instructed to use "Video1 for Linux" instead.

As it is well-known, executables in /usr/local/bin/ take PRECEDENCE
over executables with the same name in /usr/bin/

By naming the /usr/local/bin script as "skype" (i.e., same filename as
the actual binary executable /usr/bin/skype), does not have to modify
the file /usr/share/applications/skype.desktop that click-invokes Skype
from the menu "Internet"

This setup was tested successfully and video was indeed available in Skype
(test it yourself by launching Skype as described here. then, when logged in
Skype,hit control-O to launch Skype's Options --> Video Devices and admire
yourself in the opened video 8-) )

However, as there's now the aforementioned sound problem, the surrogate
script that the user needs create (/usr/local/bin/skype, as mentioned above)
which invokes Skype should be modified to be:


#!/bin/bash
PULSE_LATENCY_MSEC=60 LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/bin/skype

LowTekkCyborg
Posts: 18
Joined: 07 Nov 2013 03:29

Re: Skype sound issues

Postby LowTekkCyborg » 27 Nov 2013 19:40

Tried both fixes offered in the link posted in your reply... no dice. It went from no sound at startup and a loud buzz as soon as I sent a message to no sound at all.
Rusted parts, trashpicked computers, and a dirty mind... life is good in the Dirty South

User avatar
fleabus
Posts: 1227
Joined: 16 Sep 2013 04:24
Location: Winchester, VA USA

Re: Skype sound issues

Postby fleabus » 27 Nov 2013 19:42

martrant wrote: As it is well-known, executables in /usr/local/bin/ take PRECEDENCE
over executables with the same name in /usr/bin/
Good info. Thanks martrant.

-- Dave

LowTekkCyborg
Posts: 18
Joined: 07 Nov 2013 03:29

Re: Skype sound issues

Postby LowTekkCyborg » 27 Nov 2013 19:48

I'm starting to wonder if Skype itself is somehow broken, martrant, because your fix didn't work either.
Rusted parts, trashpicked computers, and a dirty mind... life is good in the Dirty South

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Skype sound issues

Postby zerozero » 27 Nov 2013 19:59

what skype version you have installed

Code: Select all

apt policy skype
tells us what?
bliss of ignorance

User avatar
martrant
Posts: 10
Joined: 21 Nov 2013 19:08

Re: Skype sound issues

Postby martrant » 27 Nov 2013 20:04

LowTekkCyborg wrote:Tried both fixes offered in the link posted in your reply... no dice. It went from no sound at startup and a loud buzz as soon as I sent a message to no sound at all.
Hmm, could be that your sound problem is ultimately unrelated to the glitch
that the PULSE_LATENCY... hack is trying to resolve. I take it that you installed
Skype from the repos and not by gdebi-ing some downloaded .deb, right?
Personally (32-bit SolydX, Skype from the repos) I do not have any sound problem,
only the video problem (for which I found out about this LD_PRELOAD... hack
when I was running Xubuntu 12.04 - at that time I had to install Skype from
a downloaded .deb myself.) Given that Skype is now a Microsoft enterprize,
we'd get prepared for even more breakages in the near future. As a precaution
I've also installed Viber to call and text my contacts (the 32-bit Windows version,
under WINE, although there is now a 64-bit native Linux version.) The only
problem is you have to have Viber already installed in your smartphone before
you can use it on the desktop.

LowTekkCyborg
Posts: 18
Joined: 07 Nov 2013 03:29

Re: Skype sound issues

Postby LowTekkCyborg » 03 Dec 2013 19:19

zerozero wrote:what skype version you have installed

Code: Select all

apt policy skype
tells us what?
Below is the output of apt policy you requested.

skype:i386:
Installed: 4.2.0.11-1
Candidate: 4.2.0.11-1
Version table:
*** 4.2.0.11-1 0
700 http://packages.solydxk.nl/production/ solydxk/import i386 Packages
100 /var/lib/dpkg/status


As you can see, it is the latest version on the SolydXK repo. The sad truth is, I cannot switch from Skype to something else because most of the people I talk to on there are computer illiterate and those that can tell the difference between a sata port and their own bungholes won't switch to something more compatible. The Kraken..cough-cough Microsoft is already in their heads. I may have to attempt an install of the Windows version through Wine...
Rusted parts, trashpicked computers, and a dirty mind... life is good in the Dirty South

User avatar
PRafael
Posts: 21
Joined: 26 Nov 2013 20:02
Location: São Luis, Maranhão, Brazil

Re: Skype sound issues

Postby PRafael » 03 Dec 2013 23:13

Hi to all.

I've the same problem the moment that I installed Skype.

My solution: get rid of PulseAudio! I've launched Sinaptic, search for pulseaudio and desinstall everything that doesn't interfere with another package(s). Then, I've installed some ALSA packages (again, search por alsa). Now my sound in Skype works like a breeze (no hitches, no glitches).

I hope this work for you.

Regards

Paulo

EeePC 1011PX - 1Gb RAM - 320Gb HDU - SolidK 32 bit
--------------------------------------------------------------------------
Image

Dmytro
Posts: 6
Joined: 02 Dec 2013 13:49

Re: Skype sound issues

Postby Dmytro » 08 Dec 2013 12:56

PRafael wrote:Hi to all.

I've the same problem the moment that I installed Skype.

My solution: get rid of PulseAudio! I've launched Sinaptic, search for pulseaudio and desinstall everything that doesn't interfere with another package(s). Then, I've installed some ALSA packages (again, search por alsa). Now my sound in Skype works like a breeze (no hitches, no glitches).

I hope this work for you.

Regards

Paulo
PRafael, could you be more specific about the packages of alsa you installed? I removed pulseaudio and install some alsa packages, which begins with world "alsa", but now I do not have sound at all. So, I had to go back to pulseaudio.

This issue is very annoying. Please, help to fix it. I used skype on x64 linux before and it worked. There should be a solution.
Skype says this in my case:

Code: Select all

ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
but all libasound* are installed.

coco
Posts: 14
Joined: 04 Jul 2013 15:57

Re: Skype sound issues

Postby coco » 08 Dec 2013 15:34

This solved my problems sound,

sudo apt-get install libasound2-plugins:i386

Dmytro
Posts: 6
Joined: 02 Dec 2013 13:49

Re: Skype sound issues

Postby Dmytro » 08 Dec 2013 16:16

coco wrote:This solved my problems sound,

sudo apt-get install libasound2-plugins:i386
Thanks, this library helps partially. Skype does not give any error any more. However, there is still no sound. Maybe I messed up something previously as I tried different thing to make it work. I totally removed pulseaudio and then installed it again. It can be that I didn't install everything back. Keep searching...

Dmytro
Posts: 6
Joined: 02 Dec 2013 13:49

Re: Skype sound issues

Postby Dmytro » 09 Dec 2013 13:49

Well, for the moment, the solution to run skype on x64 SpolydK which works for me is this one:
1. install skype from repository
2. install libasound2-plugins:i386 with all the dependencies.
3. start skype with the command:

Code: Select all

PULSE_LATENCY_MSEC=30 skype %U
otherwise, you will have a horrible background noise.

I also recommend to check these helpful links:
https://wiki.debian.org/skype
http://community.skype.com/t5/Linux/How ... -p/1621024

pascale
Posts: 24
Joined: 05 Apr 2014 17:13

Re: Skype sound issues

Postby pascale » 10 Apr 2014 17:14

I also had a loud buzzing when sending messages with the latest version of skype (4.2.0.11-1) on SolydK.
Similar to Dmitro's suggestion, this solved my problem instantly:

1. opened the /usr/share/applications/skype.desktop in Kate with root priviledges in terminal with this line of code:
$ kdesudo kate /usr/share/applications/skype.desktop

2. Changed the Exec line to:
Exec=env PULSE_LATENCY_MSEC=60 skype %U

Saved file, restarted skype, and problem was solved right away.
I hope this helps others.

Pascale


Return to “Software”

Who is online

Users browsing this forum: No registered users and 6 guests