since a month or so I'm getting problems with sound in java-applications (mainly minecraft). I haven't started it in a while so I have no clue when exactly this happens. But it happened after I updated to pulseaudio 6 (since (mainly) StarCraft 2 (wine) got very laggy after a few minutes - due to pa everytime - so I switched to pa6 and that problem got fixed).
To summarize my problem: I have no sound - sometimes from the beginning, sometimes it takes a few seconds.
I tried multiple things:
I switched java versions (icedtea 7 (src and bin) and oracle 1.
I switched back to PA5
I tried different minecraft launchers (I don't have any other java application that makes any sound)
I tried pasuspender and padsp
I can see java registering into pa (pavucontrol sees it) but there is no sound at all (not even visual - sink doesn't matter).
Every other application I run works fine with no problems at all.
There is one issue I've found (which isn't a big deal for me): The front-Audio-Out (Headphones) isn't working anymore, I have to plug my headphones into my speakers.
I've logged my pa output so I can see that minecraft is heavily producing output there. Since it's mainly the same line, I'll just post the lines here:
Extremly often just this:
Code: Select all
( 17.105| 0.011) D: [combine] protocol-native.c: Requesting rewind due to rewrite.Code: Select all
( 17.936| 0.011) W: [pulseaudio] protocol-native.c: Client sent non-aligned memblock: index 0, length 36544, frame size: 24
( 17.936| 0.000) W: [pulseaudio] protocol-native.c: Client sent non-aligned memblock: index 36544, length 12608, frame size: 24Code: Select all
( 25.623| 0.003) D: [pulseaudio] module-combine-sink.c: [front] total=40,93ms sink=40,93ms
( 25.623| 0.000) D: [pulseaudio] module-combine-sink.c: [rear] total=40,89ms sink=40,89ms
( 25.623| 0.000) I: [pulseaudio] module-combine-sink.c: [amplified] avg total latency is 40,91 msec.
( 25.623| 0.000) I: [pulseaudio] module-combine-sink.c: [amplified] target latency is 40,93 msec.
( 25.623| 0.000) I: [pulseaudio] module-combine-sink.c: [front] new rate is 96000 Hz; ratio is 1,000; latency is 40,93 msec.
( 25.623| 0.000) I: [pulseaudio] module-combine-sink.c: [rear] new rate is 96000 Hz; ratio is 1,000; latency is 40,89 msec.Oh and I've found this once (the second line repeated multiple times):
Code: Select all
( 26.093| 0.009) D: [alsa-sink-ALC892 Analog] ratelimit.c: 587 events suppressed
( 26.093| 0.000) D: [alsa-sink-ALC892 Analog] flist.c: /var/tmp/portage/media-sound/pulseaudio-6.0/work/pulseaudio-6.0/src/pulsecore/memblockq.c: list_items flist is full (don't worry)Thanks in advance
Packages:
Code: Select all
media-sound/pulseaudio-6.0 (X alsa alsa-plugin asyncns caps dbus equalizer gdbm glib gtk ipv6 libsamplerate orc qt4 realtime ssl tcpd udev webrtc-aec)
dev-java/oracle-jre-bin/1.8.0.45 (X alsa)
media-libs/alsa-lib-1.0.29 (python)
media-plugins/alsa-plugins-1.0.29 (ffmpeg pulseaudio)
media-sounds/alsa-utils-1.0.29 (libsamplerate ncurses nls)
sys-kernel/gentoo-sources-3.19.0
