bucklespring icon indicating copy to clipboard operation
bucklespring copied to clipboard

Process[bucklespring] does not survive suspend/sleep/unreliable continuation

Open beyond9thousand opened this issue 4 years ago • 2 comments

How do i make sure that the app survives suspends? I have tried adding it as a service but I get the following error each time I try to start/enable the service.

Failed to connect to bus: No medium found

Any suggestions are highly appreciated.

beyond9thousand avatar Feb 05 '22 09:02 beyond9thousand

Hmm, this error does not originate from bucklespring itself, so likely it's openal, libinput or libudev complaining. I think we need some more info to debug this.

  • I understand you have bucklesping running as a service, is that right?
  • Did you compile from source, run from your distro's version, a snap, or otherwise?
  • Can you try to isolate the problem: run bucklespring in the shell as a foreground application, then suspend and resume, and see what happens?

zevv avatar Feb 05 '22 10:02 zevv

@zevv

  • No, it fails to run as a service.
  • I installed it using pacman. Source (I'm running arch)
  • Ok, I will get back to you on this shortly

Edit: What I can tell you though, is that the app does resume if I come back from several hours of sleep. Anything less than that and the app just acts like a zombie in the background ie: no audio feedback but is still running as a process

beyond9thousand avatar Feb 05 '22 13:02 beyond9thousand

I confirm that bucklespring does not wake up after system suspension. As @beyond9thousand said, the process remains sleep and does not seem to recover (I didnt expect hours to check if it does recover).

However, we should blame pipeware for that. In fact, after

journalctl | grep buckle

my terminal returns this:

Dec 16 21:04:46 MyHostName pipewire-pulse[2437]: mod.protocol-pulse: client 0x555949667c20 [buckle]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)

BorjaRuizReverter avatar Dec 17 '23 00:12 BorjaRuizReverter

Just to complement my previous comment, I was using Bucklespring via Snap (on my fedora39).

However, I have recently removed that installation and made a new one via Makefile, and everything works well!

So, now I confirm the opposite :sweat_smile:. Bucklespring does survive after system sleep!

P.S: This installation via Makefile, however, yielded some errors, regarding these missing files (that the compilations does not find):

  • libfluidsynth.so.1
  • libdumb.so
  • libFLAC.so.8

which seems not to affect the performance.

Edited (a week after): The installation via Makefile produced an uncomfortable noise while using some websites (like youtube) on the internet browser. This doesnt happen with the Snap installation though. However, I finally changed again and installed this fork of bucklespring (https://copr.fedorainfracloud.org/coprs/dani/bucklespring/), which seems to work well and satisfies these 3 items:

  • No noise
  • It wakes up after suspension
  • It works as StartUp Application

BorjaRuizReverter avatar Dec 26 '23 23:12 BorjaRuizReverter