Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[solved] Pulseaudio (6) and no sound in java

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Manu311
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Wed Nov 17, 2010 11:54 am

[solved] Pulseaudio (6) and no sound in java

  • Quote

Post by Manu311 » Sun May 31, 2015 11:36 pm

Hi,

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.8)
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.
sometimes there is:

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: 24
And even less often this appears:

Code: 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.
I have to say amplified is my sink which is split into front and rear (so I can have a fixed ratio) which are piped into my real output after.

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)
So I hope someone got a clue here - if you need any more informations please tell me.
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
Last edited by Manu311 on Mon Jun 01, 2015 11:29 am, edited 1 time in total.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Mon Jun 01, 2015 9:10 am

Well, wrt. "Client sent non-aligned memblock" part: IIRC (but that was awhile ago, so it's a bit dodgy), this was a problem in pulseaudio 6, fixed in git by a series of three patches, starting with "pstream: Don't split (non-SHM) memblocks".
Top
Manu311
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Wed Nov 17, 2010 11:54 am

  • Quote

Post by Manu311 » Mon Jun 01, 2015 11:28 am

Thanks a lot - pulseaudio-9999 (6.0-115-g733e4-dirty) fixed the issue :).
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Mon Jun 01, 2015 3:10 pm

Manu311 wrote:Thanks a lot - pulseaudio-9999 (6.0-115-g733e4-dirty) fixed the issue :).
...a solution that's bound to cause more problems than it solves...:sigh:
Top
Manu311
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Wed Nov 17, 2010 11:54 am

  • Quote

Post by Manu311 » Mon Jun 01, 2015 10:19 pm

VoidMage wrote:
Manu311 wrote:Thanks a lot - pulseaudio-9999 (6.0-115-g733e4-dirty) fixed the issue :).
...a solution that's bound to cause more problems than it solves...:sigh:
there are always problems with pulseaudio :). But until there will be pulseaudio-6.1 or 7 or whatever, I'll stay like this until I find a problem with it.
Sound after all is not a fundamental function which renders my system unbootable - I can always fall back to reinstalling 6.0 or just use alsa.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic