You are not logged in.
Hello there!
I run a 64bit system and after the most recent pulseaudio update to 4.0-1 I experience problems (lib32-libpulse is installed):
First I encounterd crackling or even no sound in skype. After searching the web / wiki I turned the timer-based scheduling off by adding tsched=0 in /etc/pulse/default.pa, so that the relevant line reads as:
load-module module-udev-detect tsched=0
This made skype happy, it works as it should. However this "hack" completely confuses the output of moc (music on console): I hear a kind of echoed crackling, and the "music" runs about 3 times faster as it should.
Removing tsched=0 makes moc work again but then the skype issue reappears.
I already tried my search-fu and found for example https://bbs.archlinux.org/viewtopic.php?id=164906 but this didn't propose a suitable fix for me, did it?
Any hints appreceated!
Last edited by ball (2013-06-12 13:35:46)
Offline
I have a similar problem since updating to pulseaudio 4.0. If i try to play for example an mp3 with vlc (or the phonon-vlc backend) via pulseaudio it is crackling, using the alsa-sink it works however. Things like ac3 audio from a movie plays fine with vlc and pulseaudio.
Adding tsched=0 fixes these problems, however then the audio in chromium is played a lot faster.
I'm using an creative xfi soundcard, so it could have something to do with the drivers.
Offline
which resampling method so you use? I had to change from ffmpeg (which previously worked very well) to speex-float-0 (which is the new default) to make everything work fine.
I have also noticed that I have no sound in skype when I connect a usb headset and try to use it _after_ the call is in progress (or still waiting to be answered), it works fine if I plug the headset beforehand.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Changing resample-method from the previously working src-sinc-best-quality to speex-float-10 fixed the issue.
Offline
Thanks for the pointers, but they did not help: I already had speex-float-0 as default resampling method for I never played with the pulseaudio configuration. Changing it to speex-float-10 doesn't help either; I tried it with and without the tsched=0 option. In all cases either skype does not work or moc does not work.
Also I don't use a USB headset, just my laptop speakers/microphone or my phone connector headset...
I use a Lenovo Thinkpad T400 laptop, so it's a very low-end soundcard.
Last edited by ball (2013-06-12 08:18:53)
Offline
https://bugs.freedesktop.org/show_bug.cgi?id=50510#c4 suggests a workaround which works for me: Remove the tsched=0 option and start skype with
$ PULSE_LATENCY_MSEC=30 skype
Offline
https://bugs.freedesktop.org/show_bug.cgi?id=50510#c4 suggests a workaround which works for me: Remove the tsched=0 option and start skype with
$ PULSE_LATENCY_MSEC=30 skype
Wow, that's a good hint ! But one question: This is working pretty well when I start Skype from the command line. But how can I tell Gnome to launch the Skype starter with this option?
I've already tried to work on the file /usr/share/applications/skype.desktop like this:
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=PULSE_LATENCY_MSEC=30 skype %U
Icon=skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/skype;
X-KDE-Protocols=skype
But that doesn't work - it just makes the skype button disppear
Last edited by swordfish (2013-06-13 18:27:38)
Arch_x64 on Thinkpad Edge E520 (Intel Core i5, 4 GB RAM, 128 GB Crucial M4 SSD) + ITX-Desktop (Asrock H77M-ITX, Intel Core i3-2120T, 8GB RAM, 64 GB Samsung 830 SSD)
Offline
create a script, e.g. "myskype" somewhere in your path with the following content
#!/bin/bash
PULSE_LATENCY_MSEC=30 skype
Then make your launcher or whatever point to this script. Untested. (And don't forget to make the script executable)
Another option would be to make the setting PULSE_LATENCY_MSEC=30 permanent and system wide via the pulseaudio configuration (or in ~/.xinit... ), but I didn't test that for any negative effects on other audio applications.
Last edited by ball (2013-06-13 20:27:18)
Offline
Same problem here. Adding "tsched=0" doesn't help. Downgrading to pulseaudio 3.0-3 helps.
Offline
Changing resample-method from the previously working src-sinc-best-quality to speex-float-10 fixed the issue.
This seemed to work for me. speex-float-0 didn't but speex-float-10 does.
Offline
Kn3cHt wrote:Changing resample-method from the previously working src-sinc-best-quality to speex-float-10 fixed the issue.
This seemed to work for me. speex-float-0 didn't but speex-float-10 does.
How do I apply that solution?
Do I have to load a module?
Offline
It is a setting you can find in /etc/pulse/daemon.conf
Offline
It doesn't work for me. In fact, I haven't found a working solution for either of my two Arch machines...
Offline
Did already try the workaround I proposed myself?
Last edited by ball (2013-06-16 22:42:03)
Offline
It works! Thanks!
In fact, one can just sudo vi `which skype` and modify the last line to read:
PULSE_LATENCY_MSEC=30 exec "$LIBDIR/skype/skype" "$@"
Offline
https://bugs.freedesktop.org/show_bug.cgi?id=50510#c4 suggests a workaround which works for me: Remove the tsched=0 option and start skype with
$ PULSE_LATENCY_MSEC=30 skype
Thanks a lot! That worked for me in Debian after chaning the Exec line of Skype's desktop file to:
Exec=bash -c "PULSE_LATENCY_MSEC=30 skype %U"
Last edited by Tsu Jan (2013-08-05 18:23:55)
Offline
I've already tried to work on the file /usr/share/applications/skype.desktop like this:
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=PULSE_LATENCY_MSEC=30 skype %U
Icon=skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/skype;
X-KDE-Protocols=skypeBut that doesn't work - it just makes the skype button disppear
The fix to make the skype.desktop link work is here http://arunraghavan.net/2013/08/pulseau … and-skype/
If you are packaging Skype for your distribution, you need to change the Exec line in your Skype .desktop file as follows:
Exec=env PULSE_LATENCY_MSEC=60 skype %U
I found that the given '60' figure worked for me better than the '30' figure.
Offline
I fixed this issue via setting phonon backend from phonon-vlc to phonon-gstream.
Offline