[jitsi-dev] Pulse Audio - crackling sound


#1

Hi,

... I tried to establish a connection and had terrible sound quality. It sounds interrupted and crackling.

I then tried to set sound output to Javasound which worked for a couple of seconds and then froze completely.

The next idea was to change the JRE to the SUN's version. No avail.

Only setting the sound to Alsa had some effect as - after a while logging error messages - I get clear sound. (not as good as my other machines - but at least understandable)

The following logs occur:

Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
21:07:07.593 SCHWERWIEGEND: util.UtilActivator.uncaughtException().88 An uncaught exception occurred in thread=Thread[Timer-13,6,main] and message was: null
java.lang.NullPointerException
  at org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
  at org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
  at java.util.TimerThread.mainLoop(Unknown Source)
  at java.util.TimerThread.run(Unknown Source)

What's wrong here? My environment:

lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Stepping: 7
CPU MHz: 1600.000
BogoMIPS: 6799.76
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos [AMD RADEON HD 6450]
01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD RADEON HD 6450]
03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev 01)

Jitsi version is 3770

Thank you for your help
Conrad


#2

Can it have anything todo with the soundcard? Basically, intel hda
sound with pulseaudio stopped working in Linux around kernel 3.0. I
have some posts on my blog for it. I got some improvements with
rt-kernel but finally switched to a usb-soundcard having spent too
much work on figuring it out (actually in my setup jitsi usually
performed much better than skype, so if you want to reproduce the
error, compare also with the results in skype).
Does your sound work normally (try to record and play in audacity)?

Hope this helps,
Ulno

···

On Tue, Nov 15, 2011 at 15:30, Conrad Beckert <conrad_videokonferenz@gmx.de> wrote:

Hi,

... I tried to establish a connection and had terrible sound quality. It sounds interrupted and crackling.

I then tried to set sound output to Javasound which worked for a couple of seconds and then froze completely.

The next idea was to change the JRE to the SUN's version. No avail.

Only setting the sound to Alsa had some effect as - after a while logging error messages - I get clear sound. (not as good as my other machines - but at least understandable)

The following logs occur:

Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
21:07:07.593 SCHWERWIEGEND: util.UtilActivator.uncaughtException().88 An uncaught exception occurred in thread=Thread[Timer-13,6,main] and message was: null
java.lang.NullPointerException
at org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
at org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)

What's wrong here? My environment:

lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Stepping: 7
CPU MHz: 1600.000
BogoMIPS: 6799.76
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos [AMD RADEON HD 6450]
01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD RADEON HD 6450]
03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev 01)

Jitsi version is 3770

Thank you for your help
Conrad


#3

Hello,
This is an age old issue with Jitsi. I had the same experience as you. My primary issue was high CPU usage coupled with crackling sound. It happened to me (and others) with all Ubuntu versions 9.04-10.04 and Debian testing (Squeeze/Wheezy up to kernel 3.0) when i used PulseAudio. It happened on all machines i tried it on (Dell Optiplex 755, Dell Inspiron D630 with Core2Duo CPU, AMD MCP78S chipset with Athlon II) so its not a specific hardware issue.
Now, as i use Debian i have the choice to not use PulseAudio and this way it works very well (with ALSA) - i have almost crystal clear audio (some very very seldom crackling when i talk to lower bandwidth connections).
The issue is that some newer distros like Ubuntu use PulseAudio as their main audio manager and uninstalling it is a pain (i only have experience with Ubuntu up to 9.10) and definitely not for unexperienced users.

I tried different settings in puseaudios config files but none helped so far.

···

On Tue, 15 Nov 2011 22:30:20 +0200, Conrad Beckert <conrad_videokonferenz@gmx.de> wrote:

Hi,

... I tried to establish a connection and had terrible sound quality. It sounds interrupted and crackling.

I then tried to set sound output to Javasound which worked for a couple of seconds and then froze completely.

The next idea was to change the JRE to the SUN's version. No avail.

Only setting the sound to Alsa had some effect as - after a while logging error messages - I get clear sound. (not as good as my other machines - but at least understandable)

The following logs occur:

Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
21:07:07.593 SCHWERWIEGEND: util.UtilActivator.uncaughtException().88 An uncaught exception occurred in thread=Thread[Timer-13,6,main] and message was: null
java.lang.NullPointerException
  at org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
  at org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
  at java.util.TimerThread.mainLoop(Unknown Source)
  at java.util.TimerThread.run(Unknown Source)

What's wrong here? My environment:

lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Stepping: 7
CPU MHz: 1600.000
BogoMIPS: 6799.76
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos [AMD RADEON HD 6450]
01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD RADEON HD 6450]
03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev 01)

Jitsi version is 3770

Thank you for your help
Conrad

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#4

Basically confirming Laszlo (also running debian), however, I am
still trying to make pulseaudio work (it just becomes more and more
difficult) and it definitely works better with some soundcards. The
worst seems to be hda audio.
Sometimes it might be easier to just grab a usb-headset than
de-installing pulse-audio -- too much is dependent today on it.
Also try running jitsi as pasuspend jitsi (will basically disable
pulseaudio and sound for all other apps while jitsi is running).

Good luck and report back,
Ulno

···

On Tue, Nov 15, 2011 at 15:48, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

Hello,
This is an age old issue with Jitsi. I had the same experience as you. My
primary issue was high CPU usage coupled with crackling sound. It happened
to me (and others) with all Ubuntu versions 9.04-10.04 and Debian testing
(Squeeze/Wheezy up to kernel 3.0) when i used PulseAudio. It happened on all
machines i tried it on (Dell Optiplex 755, Dell Inspiron D630 with Core2Duo
CPU, AMD MCP78S chipset with Athlon II) so its not a specific hardware
issue.
Now, as i use Debian i have the choice to not use PulseAudio and this way it
works very well (with ALSA) - i have almost crystal clear audio (some very
very seldom crackling when i talk to lower bandwidth connections).
The issue is that some newer distros like Ubuntu use PulseAudio as their
main audio manager and uninstalling it is a pain (i only have experience
with Ubuntu up to 9.10) and definitely not for unexperienced users.

I tried different settings in puseaudios config files but none helped so
far.

On Tue, 15 Nov 2011 22:30:20 +0200, Conrad Beckert > <conrad_videokonferenz@gmx.de> wrote:

Hi,

... I tried to establish a connection and had terrible sound quality. It
sounds interrupted and crackling.

I then tried to set sound output to Javasound which worked for a couple of
seconds and then froze completely.

The next idea was to change the JRE to the SUN's version. No avail.

Only setting the sound to Alsa had some effect as - after a while logging
error messages - I get clear sound. (not as good as my other machines - but
at least understandable)

The following logs occur:

Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
warning: The VAD has been replaced by a hack pending a complete rewrite
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1038
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
21:07:07.593 SCHWERWIEGEND: util.UtilActivator.uncaughtException().88 An
uncaught exception occurred in thread=Thread[Timer-13,6,main] and message
was: null
java.lang.NullPointerException
at org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
at
org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)

What's wrong here? My environment:

lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Stepping: 7
CPU MHz: 1600.000
BogoMIPS: 6799.76
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core
Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series
Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC
Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset
Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus
Controller (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos [AMD
RADEON HD 6450]
01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD
RADEON HD 6450]
03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB
Host Controller
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet controller (rev 06)
07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev 01)

Jitsi version is 3770

Thank you for your help
Conrad

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#5

Does recording and playing of sound with audacity work on the Oneric
(even if you say perfectly)?

Ulno

···

On Tue, Nov 15, 2011 at 16:28, Conrad Beckert <conrad_videokonferenz@gmx.de> wrote:

The strange thing is that Jitsi is fine on my other machine with Ubuntu Maverick and a smaller processor. The pulse audio on the Oneric machine works too - perfectly. But not with Jitsi.

What's wrong?
Conrad

-------- Original-Nachricht --------

Datum: Tue, 15 Nov 2011 15:56:50 -0500
Von: Ulrich Norbisrath <sipcom@ulno.net>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound

Basically confirming Laszlo (also running debian), however, I am
still trying to make pulseaudio work (it just becomes more and more
difficult) and it definitely works better with some soundcards. The
worst seems to be hda audio.
Sometimes it might be easier to just grab a usb-headset than
de-installing pulse-audio -- too much is dependent today on it.
Also try running jitsi as pasuspend jitsi (will basically disable
pulseaudio and sound for all other apps while jitsi is running).

Good luck and report back,
Ulno

On Tue, Nov 15, 2011 at 15:48, Kertesz Laszlo <laszlo.kertesz@gmail.com> >> wrote:
> Hello,
> This is an age old issue with Jitsi. I had the same experience as you.
My
> primary issue was high CPU usage coupled with crackling sound. It
happened
> to me (and others) with all Ubuntu versions 9.04-10.04 and Debian
testing
> (Squeeze/Wheezy up to kernel 3.0) when i used PulseAudio. It happened on
all
> machines i tried it on (Dell Optiplex 755, Dell Inspiron D630 with
Core2Duo
> CPU, AMD MCP78S chipset with Athlon II) so its not a specific hardware
> issue.
> Now, as i use Debian i have the choice to not use PulseAudio and this
way it
> works very well (with ALSA) - i have almost crystal clear audio (some
very
> very seldom crackling when i talk to lower bandwidth connections).
> The issue is that some newer distros like Ubuntu use PulseAudio as their
> main audio manager and uninstalling it is a pain (i only have experience
> with Ubuntu up to 9.10) and definitely not for unexperienced users.
>
> I tried different settings in puseaudios config files but none helped so
> far.
>
> On Tue, 15 Nov 2011 22:30:20 +0200, Conrad Beckert >> > <conrad_videokonferenz@gmx.de> wrote:
>
>> Hi,
>>
>> ... I tried to establish a connection and had terrible sound quality.
It
>> sounds interrupted and crackling.
>>
>> I then tried to set sound output to Javasound which worked for a couple
of
>> seconds and then froze completely.
>>
>> The next idea was to change the JRE to the SUN's version. No avail.
>>
>> Only setting the sound to Alsa had some effect as - after a while
logging
>> error messages - I get clear sound. (not as good as my other machines -
but
>> at least understandable)
>>
>> The following logs occur:
>>
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> warning: The VAD has been replaced by a hack pending a complete rewrite
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> warning: The VAD has been replaced by a hack pending a complete rewrite
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> 21:07:07.593 SCHWERWIEGEND: util.UtilActivator.uncaughtException().88
An
>> uncaught exception occurred in thread=Thread[Timer-13,6,main] and
message
>> was: null
>> java.lang.NullPointerException
>> at
org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
>> at
>>
org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
>> at java.util.TimerThread.mainLoop(Unknown Source)
>> at java.util.TimerThread.run(Unknown Source)
>>
>>
>> What's wrong here? My environment:
>>
>>
>> lscpu
>> Architecture: x86_64
>> CPU op-mode(s): 32-bit, 64-bit
>> Byte Order: Little Endian
>> CPU(s): 8
>> On-line CPU(s) list: 0-7
>> Thread(s) per core: 2
>> Core(s) per socket: 4
>> CPU socket(s): 1
>> NUMA node(s): 1
>> Vendor ID: GenuineIntel
>> CPU family: 6
>> Model: 42
>> Stepping: 7
>> CPU MHz: 1600.000
>> BogoMIPS: 6799.76
>> Virtualization: VT-x
>> L1d cache: 32K
>> L1i cache: 32K
>> L2 cache: 256K
>> L3 cache: 8192K
>> NUMA node0 CPU(s): 0-7
>>
>>
>>
>> lspci
>> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
>> Family DRAM Controller (rev 09)
>> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core
>> Processor Family PCI Express Root Port (rev 09)
>> 00:16.0 Communication controller: Intel Corporation 6 Series/C200
Series
>> Chipset Family MEI Controller #1 (rev 04)
>> 00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family USB Enhanced Host Controller #2 (rev 05)
>> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
>> Family High Definition Audio Controller (rev 05)
>> 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 1 (rev b5)
>> 00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
>> 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 4 (rev b5)
>> 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 5 (rev b5)
>> 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 6 (rev b5)
>> 00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family USB Enhanced Host Controller #1 (rev 05)
>> 00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC
>> Controller (rev 05)
>> 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family 6 port SATA AHCI Controller (rev 05)
>> 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
SMBus
>> Controller (rev 05)
>> 01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos [AMD
>> RADEON HD 6450]
>> 01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD
>> RADEON HD 6450]
>> 03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
>> 05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB
>> Host Controller
>> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B
>> PCI Express Gigabit Ethernet controller (rev 06)
>> 07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev 01)
>>
>>
>>
>> Jitsi version is 3770
>>
>>
>> Thank you for your help
>> Conrad
>>
>>
>
>
> --
> O zi buna,
>
> Kertesz Laszlo
>
>
>
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#6

The strange thing is that Jitsi is fine on my other machine with Ubuntu Maverick and a smaller processor. The pulse audio on the Oneric machine works too - perfectly. But not with Jitsi.

What's wrong?
Conrad

-------- Original-Nachricht --------

···

Datum: Tue, 15 Nov 2011 15:56:50 -0500
Von: Ulrich Norbisrath <sipcom@ulno.net>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound

Basically confirming Laszlo (also running debian), however, I am
still trying to make pulseaudio work (it just becomes more and more
difficult) and it definitely works better with some soundcards. The
worst seems to be hda audio.
Sometimes it might be easier to just grab a usb-headset than
de-installing pulse-audio -- too much is dependent today on it.
Also try running jitsi as pasuspend jitsi (will basically disable
pulseaudio and sound for all other apps while jitsi is running).

Good luck and report back,
Ulno

On Tue, Nov 15, 2011 at 15:48, Kertesz Laszlo <laszlo.kertesz@gmail.com> > wrote:
> Hello,
> This is an age old issue with Jitsi. I had the same experience as you.
My
> primary issue was high CPU usage coupled with crackling sound. It
happened
> to me (and others) with all Ubuntu versions 9.04-10.04 and Debian
testing
> (Squeeze/Wheezy up to kernel 3.0) when i used PulseAudio. It happened on
all
> machines i tried it on (Dell Optiplex 755, Dell Inspiron D630 with
Core2Duo
> CPU, AMD MCP78S chipset with Athlon II) so its not a specific hardware
> issue.
> Now, as i use Debian i have the choice to not use PulseAudio and this
way it
> works very well (with ALSA) - i have almost crystal clear audio (some
very
> very seldom crackling when i talk to lower bandwidth connections).
> The issue is that some newer distros like Ubuntu use PulseAudio as their
> main audio manager and uninstalling it is a pain (i only have experience
> with Ubuntu up to 9.10) and definitely not for unexperienced users.
>
> I tried different settings in puseaudios config files but none helped so
> far.
>
> On Tue, 15 Nov 2011 22:30:20 +0200, Conrad Beckert > > <conrad_videokonferenz@gmx.de> wrote:
>
>> Hi,
>>
>> ... I tried to establish a connection and had terrible sound quality.
It
>> sounds interrupted and crackling.
>>
>> I then tried to set sound output to Javasound which worked for a couple
of
>> seconds and then froze completely.
>>
>> The next idea was to change the JRE to the SUN's version. No avail.
>>
>> Only setting the sound to Alsa had some effect as - after a while
logging
>> error messages - I get clear sound. (not as good as my other machines -
but
>> at least understandable)
>>
>> The following logs occur:
>>
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> warning: The VAD has been replaced by a hack pending a complete rewrite
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> warning: The VAD has been replaced by a hack pending a complete rewrite
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
1038
>> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> 21:07:07.593 SCHWERWIEGEND: util.UtilActivator.uncaughtException().88
An
>> uncaught exception occurred in thread=Thread[Timer-13,6,main] and
message
>> was: null
>> java.lang.NullPointerException
>> at
org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
>> at
>>
org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
>> at java.util.TimerThread.mainLoop(Unknown Source)
>> at java.util.TimerThread.run(Unknown Source)
>>
>>
>> What's wrong here? My environment:
>>
>>
>> lscpu
>> Architecture: x86_64
>> CPU op-mode(s): 32-bit, 64-bit
>> Byte Order: Little Endian
>> CPU(s): 8
>> On-line CPU(s) list: 0-7
>> Thread(s) per core: 2
>> Core(s) per socket: 4
>> CPU socket(s): 1
>> NUMA node(s): 1
>> Vendor ID: GenuineIntel
>> CPU family: 6
>> Model: 42
>> Stepping: 7
>> CPU MHz: 1600.000
>> BogoMIPS: 6799.76
>> Virtualization: VT-x
>> L1d cache: 32K
>> L1i cache: 32K
>> L2 cache: 256K
>> L3 cache: 8192K
>> NUMA node0 CPU(s): 0-7
>>
>>
>>
>> lspci
>> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
>> Family DRAM Controller (rev 09)
>> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core
>> Processor Family PCI Express Root Port (rev 09)
>> 00:16.0 Communication controller: Intel Corporation 6 Series/C200
Series
>> Chipset Family MEI Controller #1 (rev 04)
>> 00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family USB Enhanced Host Controller #2 (rev 05)
>> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
>> Family High Definition Audio Controller (rev 05)
>> 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 1 (rev b5)
>> 00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
>> 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 4 (rev b5)
>> 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 5 (rev b5)
>> 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family
>> PCI Express Root Port 6 (rev b5)
>> 00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family USB Enhanced Host Controller #1 (rev 05)
>> 00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC
>> Controller (rev 05)
>> 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family 6 port SATA AHCI Controller (rev 05)
>> 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
SMBus
>> Controller (rev 05)
>> 01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos [AMD
>> RADEON HD 6450]
>> 01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD
>> RADEON HD 6450]
>> 03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
>> 05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB
>> Host Controller
>> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B
>> PCI Express Gigabit Ethernet controller (rev 06)
>> 07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev 01)
>>
>>
>>
>> Jitsi version is 3770
>>
>>
>> Thank you for your help
>> Conrad
>>
>>
>
>
> --
> O zi buna,
>
> Kertesz Laszlo
>
>
>
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#7

well not exactly Audacity - but both recordMyDesktop and Gnome Desktop Recorder work fine (as used in real use cases)

Only Jitsi is sounds crackling.

Conrad

-------- Original-Nachricht --------

···

Datum: Tue, 15 Nov 2011 16:38:22 -0500
Von: Ulrich Norbisrath <sipcom@ulno.net>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound

Does recording and playing of sound with audacity work on the Oneric
(even if you say perfectly)?

Ulno

On Tue, Nov 15, 2011 at 16:28, Conrad Beckert > <conrad_videokonferenz@gmx.de> wrote:
> The strange thing is that Jitsi is fine on my other machine with Ubuntu
Maverick and a smaller processor. The pulse audio on the Oneric machine
works too - perfectly. But not with Jitsi.
>
> What's wrong?
> Conrad
>
>
> -------- Original-Nachricht --------
>> Datum: Tue, 15 Nov 2011 15:56:50 -0500
>> Von: Ulrich Norbisrath <sipcom@ulno.net>
>> An: dev@jitsi.java.net
>> Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound
>
>> Basically confirming Laszlo (also running debian), however, I am
>> still trying to make pulseaudio work (it just becomes more and more
>> difficult) and it definitely works better with some soundcards. The
>> worst seems to be hda audio.
>> Sometimes it might be easier to just grab a usb-headset than
>> de-installing pulse-audio -- too much is dependent today on it.
>> Also try running jitsi as pasuspend jitsi (will basically disable
>> pulseaudio and sound for all other apps while jitsi is running).
>>
>> Good luck and report back,
>> Ulno
>>
>> On Tue, Nov 15, 2011 at 15:48, Kertesz Laszlo > <laszlo.kertesz@gmail.com> > >> wrote:
>> > Hello,
>> > This is an age old issue with Jitsi. I had the same experience as
you.
>> My
>> > primary issue was high CPU usage coupled with crackling sound. It
>> happened
>> > to me (and others) with all Ubuntu versions 9.04-10.04 and Debian
>> testing
>> > (Squeeze/Wheezy up to kernel 3.0) when i used PulseAudio. It happened
on
>> all
>> > machines i tried it on (Dell Optiplex 755, Dell Inspiron D630 with
>> Core2Duo
>> > CPU, AMD MCP78S chipset with Athlon II) so its not a specific
hardware
>> > issue.
>> > Now, as i use Debian i have the choice to not use PulseAudio and this
>> way it
>> > works very well (with ALSA) - i have almost crystal clear audio (some
>> very
>> > very seldom crackling when i talk to lower bandwidth connections).
>> > The issue is that some newer distros like Ubuntu use PulseAudio as
their
>> > main audio manager and uninstalling it is a pain (i only have
experience
>> > with Ubuntu up to 9.10) and definitely not for unexperienced users.
>> >
>> > I tried different settings in puseaudios config files but none helped
so
>> > far.
>> >
>> > On Tue, 15 Nov 2011 22:30:20 +0200, Conrad Beckert > >> > <conrad_videokonferenz@gmx.de> wrote:
>> >
>> >> Hi,
>> >>
>> >> ... I tried to establish a connection and had terrible sound
quality.
>> It
>> >> sounds interrupted and crackling.
>> >>
>> >> I then tried to set sound output to Javasound which worked for a
couple
>> of
>> >> seconds and then froze completely.
>> >>
>> >> The next idea was to change the JRE to the SUN's version. No avail.
>> >>
>> >> Only setting the sound to Alsa had some effect as - after a while
>> logging
>> >> error messages - I get clear sound. (not as good as my other
machines -
>> but
>> >> at least understandable)
>> >>
>> >> The following logs occur:
>> >>
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> warning: The VAD has been replaced by a hack pending a complete
rewrite
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> warning: The VAD has been replaced by a hack pending a complete
rewrite
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> 21:07:07.593 SCHWERWIEGEND:
util.UtilActivator.uncaughtException().88
>> An
>> >> uncaught exception occurred in thread=Thread[Timer-13,6,main] and
>> message
>> >> was: null
>> >> java.lang.NullPointerException
>> >> at
>> org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
>> >> at
>> >>
>>
org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
>> >> at java.util.TimerThread.mainLoop(Unknown Source)
>> >> at java.util.TimerThread.run(Unknown Source)
>> >>
>> >>
>> >> What's wrong here? My environment:
>> >>
>> >>
>> >> lscpu
>> >> Architecture: x86_64
>> >> CPU op-mode(s): 32-bit, 64-bit
>> >> Byte Order: Little Endian
>> >> CPU(s): 8
>> >> On-line CPU(s) list: 0-7
>> >> Thread(s) per core: 2
>> >> Core(s) per socket: 4
>> >> CPU socket(s): 1
>> >> NUMA node(s): 1
>> >> Vendor ID: GenuineIntel
>> >> CPU family: 6
>> >> Model: 42
>> >> Stepping: 7
>> >> CPU MHz: 1600.000
>> >> BogoMIPS: 6799.76
>> >> Virtualization: VT-x
>> >> L1d cache: 32K
>> >> L1i cache: 32K
>> >> L2 cache: 256K
>> >> L3 cache: 8192K
>> >> NUMA node0 CPU(s): 0-7
>> >>
>> >>
>> >>
>> >> lspci
>> >> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
>> >> Family DRAM Controller (rev 09)
>> >> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation
Core
>> >> Processor Family PCI Express Root Port (rev 09)
>> >> 00:16.0 Communication controller: Intel Corporation 6 Series/C200
>> Series
>> >> Chipset Family MEI Controller #1 (rev 04)
>> >> 00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family USB Enhanced Host Controller #2 (rev 05)
>> >> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
>> >> Family High Definition Audio Controller (rev 05)
>> >> 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 1 (rev b5)
>> >> 00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
>> >> 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 4 (rev b5)
>> >> 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 5 (rev b5)
>> >> 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 6 (rev b5)
>> >> 00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family USB Enhanced Host Controller #1 (rev 05)
>> >> 00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC
>> >> Controller (rev 05)
>> >> 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family 6 port SATA AHCI Controller (rev 05)
>> >> 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
>> SMBus
>> >> Controller (rev 05)
>> >> 01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos
[AMD
>> >> RADEON HD 6450]
>> >> 01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD
>> >> RADEON HD 6450]
>> >> 03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
>> >> 05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed
USB
>> >> Host Controller
>> >> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>> RTL8111/8168B
>> >> PCI Express Gigabit Ethernet controller (rev 06)
>> >> 07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev
01)
>> >>
>> >>
>> >>
>> >> Jitsi version is 3770
>> >>
>> >>
>> >> Thank you for your help
>> >> Conrad
>> >>
>> >>
>> >
>> >
>> > --
>> > O zi buna,
>> >
>> > Kertesz Laszlo
>> >
>> >
>> >
>> > Using Opera's revolutionary email client: http://www.opera.com/mail/
>> >
>>
>>
>>
>> --
>> title+name: Dr. Ulrich Norbisrath
>> web: http://ulno.net; address+phone+fax: http://ulno.net/contact
>> google:unorbisrath@gmail.com; icq:46786247
>> mailto:ulno@ulno.net
>

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#8

Ok, for me recording never works with internal sound card with
pulseaudio since kernel 3.0. I had crackling with my usb sound card in
some applications too (jitsi, wine, audacity, musescore, skype). This
went away after I switched to a realtime kernel.
Have you tried using jitsi with pasuspend?

Ulno

···

On Tue, Nov 15, 2011 at 17:18, Conrad Beckert <conrad_videokonferenz@gmx.de> wrote:

well not exactly Audacity - but both recordMyDesktop and Gnome Desktop Recorder work fine (as used in real use cases)

Only Jitsi is sounds crackling.

Conrad

-------- Original-Nachricht --------

Datum: Tue, 15 Nov 2011 16:38:22 -0500
Von: Ulrich Norbisrath <sipcom@ulno.net>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound

Does recording and playing of sound with audacity work on the Oneric
(even if you say perfectly)?

Ulno

On Tue, Nov 15, 2011 at 16:28, Conrad Beckert >> <conrad_videokonferenz@gmx.de> wrote:
> The strange thing is that Jitsi is fine on my other machine with Ubuntu
Maverick and a smaller processor. The pulse audio on the Oneric machine
works too - perfectly. But not with Jitsi.
>
> What's wrong?
> Conrad
>
>
> -------- Original-Nachricht --------
>> Datum: Tue, 15 Nov 2011 15:56:50 -0500
>> Von: Ulrich Norbisrath <sipcom@ulno.net>
>> An: dev@jitsi.java.net
>> Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound
>
>> Basically confirming Laszlo (also running debian), however, I am
>> still trying to make pulseaudio work (it just becomes more and more
>> difficult) and it definitely works better with some soundcards. The
>> worst seems to be hda audio.
>> Sometimes it might be easier to just grab a usb-headset than
>> de-installing pulse-audio -- too much is dependent today on it.
>> Also try running jitsi as pasuspend jitsi (will basically disable
>> pulseaudio and sound for all other apps while jitsi is running).
>>
>> Good luck and report back,
>> Ulno
>>
>> On Tue, Nov 15, 2011 at 15:48, Kertesz Laszlo >> <laszlo.kertesz@gmail.com> >> >> wrote:
>> > Hello,
>> > This is an age old issue with Jitsi. I had the same experience as
you.
>> My
>> > primary issue was high CPU usage coupled with crackling sound. It
>> happened
>> > to me (and others) with all Ubuntu versions 9.04-10.04 and Debian
>> testing
>> > (Squeeze/Wheezy up to kernel 3.0) when i used PulseAudio. It happened
on
>> all
>> > machines i tried it on (Dell Optiplex 755, Dell Inspiron D630 with
>> Core2Duo
>> > CPU, AMD MCP78S chipset with Athlon II) so its not a specific
hardware
>> > issue.
>> > Now, as i use Debian i have the choice to not use PulseAudio and this
>> way it
>> > works very well (with ALSA) - i have almost crystal clear audio (some
>> very
>> > very seldom crackling when i talk to lower bandwidth connections).
>> > The issue is that some newer distros like Ubuntu use PulseAudio as
their
>> > main audio manager and uninstalling it is a pain (i only have
experience
>> > with Ubuntu up to 9.10) and definitely not for unexperienced users.
>> >
>> > I tried different settings in puseaudios config files but none helped
so
>> > far.
>> >
>> > On Tue, 15 Nov 2011 22:30:20 +0200, Conrad Beckert >> >> > <conrad_videokonferenz@gmx.de> wrote:
>> >
>> >> Hi,
>> >>
>> >> ... I tried to establish a connection and had terrible sound
quality.
>> It
>> >> sounds interrupted and crackling.
>> >>
>> >> I then tried to set sound output to Javasound which worked for a
couple
>> of
>> >> seconds and then froze completely.
>> >>
>> >> The next idea was to change the JRE to the SUN's version. No avail.
>> >>
>> >> Only setting the sound to Alsa had some effect as - after a while
>> logging
>> >> error messages - I get clear sound. (not as good as my other
machines -
>> but
>> >> at least understandable)
>> >>
>> >> The following logs occur:
>> >>
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> warning: The VAD has been replaced by a hack pending a complete
rewrite
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> warning: The VAD has been replaced by a hack pending a complete
rewrite
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line:
>> 1038
>> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed
in
>> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> 21:07:07.593 SCHWERWIEGEND:
util.UtilActivator.uncaughtException().88
>> An
>> >> uncaught exception occurred in thread=Thread[Timer-13,6,main] and
>> message
>> >> was: null
>> >> java.lang.NullPointerException
>> >> at
>> org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
>> >> at
>> >>
>>
org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
>> >> at java.util.TimerThread.mainLoop(Unknown Source)
>> >> at java.util.TimerThread.run(Unknown Source)
>> >>
>> >>
>> >> What's wrong here? My environment:
>> >>
>> >>
>> >> lscpu
>> >> Architecture: x86_64
>> >> CPU op-mode(s): 32-bit, 64-bit
>> >> Byte Order: Little Endian
>> >> CPU(s): 8
>> >> On-line CPU(s) list: 0-7
>> >> Thread(s) per core: 2
>> >> Core(s) per socket: 4
>> >> CPU socket(s): 1
>> >> NUMA node(s): 1
>> >> Vendor ID: GenuineIntel
>> >> CPU family: 6
>> >> Model: 42
>> >> Stepping: 7
>> >> CPU MHz: 1600.000
>> >> BogoMIPS: 6799.76
>> >> Virtualization: VT-x
>> >> L1d cache: 32K
>> >> L1i cache: 32K
>> >> L2 cache: 256K
>> >> L3 cache: 8192K
>> >> NUMA node0 CPU(s): 0-7
>> >>
>> >>
>> >>
>> >> lspci
>> >> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
>> >> Family DRAM Controller (rev 09)
>> >> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation
Core
>> >> Processor Family PCI Express Root Port (rev 09)
>> >> 00:16.0 Communication controller: Intel Corporation 6 Series/C200
>> Series
>> >> Chipset Family MEI Controller #1 (rev 04)
>> >> 00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family USB Enhanced Host Controller #2 (rev 05)
>> >> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
>> >> Family High Definition Audio Controller (rev 05)
>> >> 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 1 (rev b5)
>> >> 00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
>> >> 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 4 (rev b5)
>> >> 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 5 (rev b5)
>> >> 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family
>> >> PCI Express Root Port 6 (rev b5)
>> >> 00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family USB Enhanced Host Controller #1 (rev 05)
>> >> 00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC
>> >> Controller (rev 05)
>> >> 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family 6 port SATA AHCI Controller (rev 05)
>> >> 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
>> SMBus
>> >> Controller (rev 05)
>> >> 01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos
[AMD
>> >> RADEON HD 6450]
>> >> 01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio [AMD
>> >> RADEON HD 6450]
>> >> 03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
>> >> 05:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed
USB
>> >> Host Controller
>> >> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>> RTL8111/8168B
>> >> PCI Express Gigabit Ethernet controller (rev 06)
>> >> 07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev
01)
>> >>
>> >>
>> >>
>> >> Jitsi version is 3770
>> >>
>> >>
>> >> Thank you for your help
>> >> Conrad
>> >>
>> >>
>> >
>> >
>> > --
>> > O zi buna,
>> >
>> > Kertesz Laszlo
>> >
>> >
>> >
>> > Using Opera's revolutionary email client: http://www.opera.com/mail/
>> >
>>
>>
>>
>> --
>> title+name: Dr. Ulrich Norbisrath
>> web: http://ulno.net; address+phone+fax: http://ulno.net/contact
>> google:unorbisrath@gmail.com; icq:46786247
>> mailto:ulno@ulno.net
>

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#9

Good idea - this is what happend:

(No sound at all but error messages)

Conrad

pasuspender jitsi
23:32:26.485 SCHWERWIEGEND: impl.contactlist.MetaContactListServiceImpl.loadStoredMetaContact().2954 Found an empty meta contact. Throwing an exception so that the storage manager would remove it.
Expression 'paTimedOut' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3146
Expression 'self->capture.ready || self->playback.ready' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3371
Expression 'PaAlsaStream_SetUpBuffers( stream, &framesGot, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3768
Expression 'paTimedOut' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3146
Expression 'self->capture.ready || self->playback.ready' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3371
Expression 'PaAlsaStream_SetUpBuffers( stream, &framesGot, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3768
Expression 'paTimedOut' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3146
Expression 'self->capture.ready || self->playback.ready' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3371
Expression 'PaAlsaStream_SetUpBuffers( stream, &framesGot, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3768
Expression 'paTimedOut' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3146
Expression 'self->capture.ready || self->playback.ready' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3371
Expression 'PaAlsaStream_SetUpBuffers( stream, &framesGot, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3768
Expression 'paTimedOut' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3146
Expression 'self->capture.ready || self->playback.ready' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3371
Expression 'PaAlsaStream_SetUpBuffers( stream, &framesGot, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3768
Expression 'paTimedOut' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3146
Expression 'self->capture.ready || self->playback.ready' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3371
Expression 'PaAlsaStream_SetUpBuffers( stream, &framesGot, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3768
Expression 'paTimedOut' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3146
Expression 'self->capture.ready || self->playback.ready' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3371
Expression 'PaAlsaStream_SetUpBuffers( stream, &framesGot, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3768

-------- Original-Nachricht --------

···

Datum: Tue, 15 Nov 2011 17:27:32 -0500
Von: Ulrich Norbisrath <sipcom@ulno.net>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound

Ok, for me recording never works with internal sound card with
pulseaudio since kernel 3.0. I had crackling with my usb sound card in
some applications too (jitsi, wine, audacity, musescore, skype). This
went away after I switched to a realtime kernel.
Have you tried using jitsi with pasuspend?

Ulno

On Tue, Nov 15, 2011 at 17:18, Conrad Beckert > <conrad_videokonferenz@gmx.de> wrote:
> well not exactly Audacity - but both recordMyDesktop and Gnome Desktop
Recorder work fine (as used in real use cases)
>
> Only Jitsi is sounds crackling.
>
> Conrad
>
>
> -------- Original-Nachricht --------
>> Datum: Tue, 15 Nov 2011 16:38:22 -0500
>> Von: Ulrich Norbisrath <sipcom@ulno.net>
>> An: dev@jitsi.java.net
>> Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound
>
>> Does recording and playing of sound with audacity work on the Oneric
>> (even if you say perfectly)?
>>
>> Ulno
>>
>>
>>
>> On Tue, Nov 15, 2011 at 16:28, Conrad Beckert > >> <conrad_videokonferenz@gmx.de> wrote:
>> > The strange thing is that Jitsi is fine on my other machine with
Ubuntu
>> Maverick and a smaller processor. The pulse audio on the Oneric machine
>> works too - perfectly. But not with Jitsi.
>> >
>> > What's wrong?
>> > Conrad
>> >
>> >
>> > -------- Original-Nachricht --------
>> >> Datum: Tue, 15 Nov 2011 15:56:50 -0500
>> >> Von: Ulrich Norbisrath <sipcom@ulno.net>
>> >> An: dev@jitsi.java.net
>> >> Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound
>> >
>> >> Basically confirming Laszlo (also running debian), however, I am
>> >> still trying to make pulseaudio work (it just becomes more and more
>> >> difficult) and it definitely works better with some soundcards. The
>> >> worst seems to be hda audio.
>> >> Sometimes it might be easier to just grab a usb-headset than
>> >> de-installing pulse-audio -- too much is dependent today on it.
>> >> Also try running jitsi as pasuspend jitsi (will basically disable
>> >> pulseaudio and sound for all other apps while jitsi is running).
>> >>
>> >> Good luck and report back,
>> >> Ulno
>> >>
>> >> On Tue, Nov 15, 2011 at 15:48, Kertesz Laszlo > >> <laszlo.kertesz@gmail.com> > >> >> wrote:
>> >> > Hello,
>> >> > This is an age old issue with Jitsi. I had the same experience as
>> you.
>> >> My
>> >> > primary issue was high CPU usage coupled with crackling sound. It
>> >> happened
>> >> > to me (and others) with all Ubuntu versions 9.04-10.04 and Debian
>> >> testing
>> >> > (Squeeze/Wheezy up to kernel 3.0) when i used PulseAudio. It
happened
>> on
>> >> all
>> >> > machines i tried it on (Dell Optiplex 755, Dell Inspiron D630 with
>> >> Core2Duo
>> >> > CPU, AMD MCP78S chipset with Athlon II) so its not a specific
>> hardware
>> >> > issue.
>> >> > Now, as i use Debian i have the choice to not use PulseAudio and
this
>> >> way it
>> >> > works very well (with ALSA) - i have almost crystal clear audio
(some
>> >> very
>> >> > very seldom crackling when i talk to lower bandwidth connections).
>> >> > The issue is that some newer distros like Ubuntu use PulseAudio as
>> their
>> >> > main audio manager and uninstalling it is a pain (i only have
>> experience
>> >> > with Ubuntu up to 9.10) and definitely not for unexperienced
users.
>> >> >
>> >> > I tried different settings in puseaudios config files but none
helped
>> so
>> >> > far.
>> >> >
>> >> > On Tue, 15 Nov 2011 22:30:20 +0200, Conrad Beckert > >> >> > <conrad_videokonferenz@gmx.de> wrote:
>> >> >
>> >> >> Hi,
>> >> >>
>> >> >> ... I tried to establish a connection and had terrible sound
>> quality.
>> >> It
>> >> >> sounds interrupted and crackling.
>> >> >>
>> >> >> I then tried to set sound output to Javasound which worked for a
>> couple
>> >> of
>> >> >> seconds and then froze completely.
>> >> >>
>> >> >> The next idea was to change the JRE to the SUN's version. No
avail.
>> >> >>
>> >> >> Only setting the sound to Alsa had some effect as - after a while
>> >> logging
>> >> >> error messages - I get clear sound. (not as good as my other
>> machines -
>> >> but
>> >> >> at least understandable)
>> >> >>
>> >> >> The following logs occur:
>> >> >>
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> warning: The VAD has been replaced by a hack pending a complete
>> rewrite
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> warning: The VAD has been replaced by a hack pending a complete
>> rewrite
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line:
>> >> 1038
>> >> >> Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )'
failed
>> in
>> >> >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1070
>> >> >> 21:07:07.593 SCHWERWIEGEND:
>> util.UtilActivator.uncaughtException().88
>> >> An
>> >> >> uncaught exception occurred in thread=Thread[Timer-13,6,main] and
>> >> message
>> >> >> was: null
>> >> >> java.lang.NullPointerException
>> >> >> at
>> >> org.ice4j.ice.Agent.checkListStatesUpdated(Agent.java:1604)
>> >> >> at
>> >> >>
>> >>
>>
org.ice4j.ice.ConnectivityCheckClient$1.run(ConnectivityCheckClient.java:420)
>> >> >> at java.util.TimerThread.mainLoop(Unknown Source)
>> >> >> at java.util.TimerThread.run(Unknown Source)
>> >> >>
>> >> >>
>> >> >> What's wrong here? My environment:
>> >> >>
>> >> >>
>> >> >> lscpu
>> >> >> Architecture: x86_64
>> >> >> CPU op-mode(s): 32-bit, 64-bit
>> >> >> Byte Order: Little Endian
>> >> >> CPU(s): 8
>> >> >> On-line CPU(s) list: 0-7
>> >> >> Thread(s) per core: 2
>> >> >> Core(s) per socket: 4
>> >> >> CPU socket(s): 1
>> >> >> NUMA node(s): 1
>> >> >> Vendor ID: GenuineIntel
>> >> >> CPU family: 6
>> >> >> Model: 42
>> >> >> Stepping: 7
>> >> >> CPU MHz: 1600.000
>> >> >> BogoMIPS: 6799.76
>> >> >> Virtualization: VT-x
>> >> >> L1d cache: 32K
>> >> >> L1i cache: 32K
>> >> >> L2 cache: 256K
>> >> >> L3 cache: 8192K
>> >> >> NUMA node0 CPU(s): 0-7
>> >> >>
>> >> >>
>> >> >>
>> >> >> lspci
>> >> >> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core
Processor
>> >> >> Family DRAM Controller (rev 09)
>> >> >> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation
>> Core
>> >> >> Processor Family PCI Express Root Port (rev 09)
>> >> >> 00:16.0 Communication controller: Intel Corporation 6 Series/C200
>> >> Series
>> >> >> Chipset Family MEI Controller #1 (rev 04)
>> >> >> 00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series
>> Chipset
>> >> >> Family USB Enhanced Host Controller #2 (rev 05)
>> >> >> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series
Chipset
>> >> >> Family High Definition Audio Controller (rev 05)
>> >> >> 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family
>> >> >> PCI Express Root Port 1 (rev b5)
>> >> >> 00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
>> >> >> 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family
>> >> >> PCI Express Root Port 4 (rev b5)
>> >> >> 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family
>> >> >> PCI Express Root Port 5 (rev b5)
>> >> >> 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series
Chipset
>> >> Family
>> >> >> PCI Express Root Port 6 (rev b5)
>> >> >> 00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series
>> Chipset
>> >> >> Family USB Enhanced Host Controller #1 (rev 05)
>> >> >> 00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family
LPC
>> >> >> Controller (rev 05)
>> >> >> 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series
>> Chipset
>> >> >> Family 6 port SATA AHCI Controller (rev 05)
>> >> >> 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset
Family
>> >> SMBus
>> >> >> Controller (rev 05)
>> >> >> 01:00.0 VGA compatible controller: ATI Technologies Inc NI Caicos
>> [AMD
>> >> >> RADEON HD 6450]
>> >> >> 01:00.1 Audio device: ATI Technologies Inc NI Caicos HDMI Audio
[AMD
>> >> >> RADEON HD 6450]
>> >> >> 03:00.0 PCI bridge: ASMedia Technology Inc. Device 1080 (rev 01)
>> >> >> 05:00.0 USB Controller: ASMedia Technology Inc. ASM1042
SuperSpeed
>> USB
>> >> >> Host Controller
>> >> >> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>> >> RTL8111/8168B
>> >> >> PCI Express Gigabit Ethernet controller (rev 06)
>> >> >> 07:00.0 SATA controller: ASMedia Technology Inc. Device 0612 (rev
>> 01)
>> >> >>
>> >> >>
>> >> >>
>> >> >> Jitsi version is 3770
>> >> >>
>> >> >>
>> >> >> Thank you for your help
>> >> >> Conrad
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > O zi buna,
>> >> >
>> >> > Kertesz Laszlo
>> >> >
>> >> >
>> >> >
>> >> > Using Opera's revolutionary email client:
http://www.opera.com/mail/
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> title+name: Dr. Ulrich Norbisrath
>> >> web: http://ulno.net; address+phone+fax: http://ulno.net/contact
>> >> google:unorbisrath@gmail.com; icq:46786247
>> >> mailto:ulno@ulno.net
>> >
>>
>>
>>
>> --
>> title+name: Dr. Ulrich Norbisrath
>> web: http://ulno.net; address+phone+fax: http://ulno.net/contact
>> google:unorbisrath@gmail.com; icq:46786247
>> mailto:ulno@ulno.net
>

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#10

Hi, guys!

Without any intent to distract you from the current discussion, I just
wanted to let you know that we intend to introduce a PulseAudio
backend. We suspect that the problem with PortAudio in Jitsi may be
related to the fact that PortAudio uses PulseAudio but not directly,
rather as Alsa. Additionally, we'd also like to try to take advantage
of other PulseAudio features through the backend such as, for example,
its echo cancellation. We're not currently able to pinpoint when
exactly we plan to go with it though (because of higher priorities).

Best regards,
Lyubomir


#11

I tried myself pasuspender and jitsi. You have to select the soundcard
under the audio-settings then too - don't take the default. Take the
alsa soundcard. Works pretty well - no cracking on usb-soundcard, but
some cracking on internal soundcard, however recording seems to work
without much crackling (trying an echo call via sip), which it does
not when using pulseaudio (with pulseaudio it's just awful).

Conrad, does this change anything work for you?

Ulno

···

On Tue, Nov 15, 2011 at 17:34, Lyubomir Marinov <lubo@jitsi.org> wrote:

Hi, guys!

Without any intent to distract you from the current discussion, I just
wanted to let you know that we intend to introduce a PulseAudio
backend. We suspect that the problem with PortAudio in Jitsi may be
related to the fact that PortAudio uses PulseAudio but not directly,
rather as Alsa. Additionally, we'd also like to try to take advantage
of other PulseAudio features through the backend such as, for example,
its echo cancellation. We're not currently able to pinpoint when
exactly we plan to go with it though (because of higher priorities).

Best regards,
Lyubomir

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#12

So there is some hope. :slight_smile: That sounds nice and prevents me from wasting my time.

Any ideas for workarounds? I wonder why setting ALSA is throwing so many error messages (please see my initial post) and why Java sound worked fine for a while and than hangs.

Thank you for your work. I can't wait for a Jitsi without sound woes :slight_smile: Keep on coding.

Conrad

-------- Original-Nachricht --------

···

Datum: Wed, 16 Nov 2011 00:34:51 +0200
Von: Lyubomir Marinov <lubo@jitsi.org>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound

Hi, guys!

Without any intent to distract you from the current discussion, I just
wanted to let you know that we intend to introduce a PulseAudio
backend. We suspect that the problem with PortAudio in Jitsi may be
related to the fact that PortAudio uses PulseAudio but not directly,
rather as Alsa. Additionally, we'd also like to try to take advantage
of other PulseAudio features through the backend such as, for example,
its echo cancellation. We're not currently able to pinpoint when
exactly we plan to go with it though (because of higher priorities).

Best regards,
Lyubomir


#13

Hi Ulrich

... setting the sound to "surround71" helps a bit - with the pasuspender. I'm not sure if I would do this in production though.

Thanks for the help. Let's see what's going on.

Greetings
Conrad

-------- Original-Nachricht --------

···

Datum: Tue, 15 Nov 2011 18:01:00 -0500
Von: Ulrich Norbisrath <sipcom@ulno.net>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: Pulse Audio - crackling sound

I tried myself pasuspender and jitsi. You have to select the soundcard
under the audio-settings then too - don't take the default. Take the
alsa soundcard. Works pretty well - no cracking on usb-soundcard, but
some cracking on internal soundcard, however recording seems to work
without much crackling (trying an echo call via sip), which it does
not when using pulseaudio (with pulseaudio it's just awful).

Conrad, does this change anything work for you?

Ulno

On Tue, Nov 15, 2011 at 17:34, Lyubomir Marinov <lubo@jitsi.org> wrote:
> Hi, guys!
>
> Without any intent to distract you from the current discussion, I just
> wanted to let you know that we intend to introduce a PulseAudio
> backend. We suspect that the problem with PortAudio in Jitsi may be
> related to the fact that PortAudio uses PulseAudio but not directly,
> rather as Alsa. Additionally, we'd also like to try to take advantage
> of other PulseAudio features through the backend such as, for example,
> its echo cancellation. We're not currently able to pinpoint when
> exactly we plan to go with it though (because of higher priorities).
>
> Best regards,
> Lyubomir
>

--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorbisrath@gmail.com; icq:46786247
mailto:ulno@ulno.net


#14

Hi all,

just my 2 cents here:

the combination of PortAudio (which is "just" a wrapper lib over several
audio systems for Windows, Linux, etc) in combination with PulseAudio often
is a "deadly" combination. Currently there is an ongoing discussion
on the PortAudio mailing list to address PortAudio / Alsa problematic, maybe
in that turn they also have a look to PortAudio / PulsAudio topic.

According to the discussions on the PortAudi list it seems that the Alsa
implementation of PortAudio is sort of "suboptimal" :slight_smile: - seems that the
implementor of that part wasn't fully aware of Alsa architecture and the
priniciples of Alsa, thus some problems occur.

Lyubomir, when going to PulsAudio (I have no experience with it, I always
de-install it :slight_smile: ): would this affect the Alsa implementation of Jitsi?
Planned (as an idea) to have Alsa (aka PortAudio) and PulseAudio in parallel?

Best regards,
Werner

···

Am 15.11.2011 23:34, schrieb Lyubomir Marinov:

Hi, guys!

Without any intent to distract you from the current discussion, I just
wanted to let you know that we intend to introduce a PulseAudio
backend. We suspect that the problem with PortAudio in Jitsi may be
related to the fact that PortAudio uses PulseAudio but not directly,
rather as Alsa. Additionally, we'd also like to try to take advantage
of other PulseAudio features through the backend such as, for example,
its echo cancellation. We're not currently able to pinpoint when
exactly we plan to go with it though (because of higher priorities).

Best regards,
Lyubomir


#15

Hey Werner,

I'd expect the PulseAudio integration in Jitsi to be implemented as an
alternative Audio System which is just like PortAudio and JavaSound
and which coexists with the others in parallel. In other words, I
would't expect PulseAudio to affect PortAudio.

Best regards,
Lyubomir

···

2011/11/19 Werner Dittmann <Werner.Dittmann@t-online.de>:

Lyubomir, when going to PulsAudio (I have no experience with it, I always
de-install it :slight_smile: ): would this affect the Alsa implementation of Jitsi?
Planned (as an idea) to have Alsa (aka PortAudio) and PulseAudio in parallel?