LMMS / LMMS/lmms

[1.0.95] LMMS doesn't reconnect to JACK ports after kicked from JACK (Opening/Closing Zyn GUI)

Open
#1,240 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

![lmmsjack](https://cloud.githubusercontent.com/assets/491704/4780700/439c1bc6-5c74-11e4-807c-ad23de7a0c49.png)

After recent update form KX Studio, I've noticed that LMMS doesn't handle something it handled in the past - JACK timeout kicks.

When I open up ZynAddSubFX GUI, lots of stuff happens - LMMS disconnects from JACK, recording screencasting applications loose A/V sync or crash.

LMMS always have been reconnecting to JACK (system:playback_1, system:playback_2).

Now it's worse than before - I never had LMMS crash Marteen Baert's Simple Screen Recorder (https://github.com/MaartenBaert/ssr). It was the ONLY screencasting tool that didn't loose A/V sync or crash when I opened/closed Zyn GUI in LMMS while recording a video. Now SSR can't handle it too (the audio thread crashes, then the whole program crashes) I wonder if LMMS changed so much in this regard or SSR has a new problem too.

To reproduce:
1. Run LMMS with JACK interface;
2. Open/Close Zyn several times while playing music;
3. Wait until you hear silence;
4. Reconnect LMMS manually to JACK system output;
5. Repeat from 2.

BTW: Is there a way to make Zyn GUI opening/closing not such an earthquake to the whole system? It'd be much easier to record LMMS screencasts (I'd release much more videos if this wasn't a problem - it's a showstopper).

PS: Maybe increasing JACK client timeout would fix this issue for me? It was 500 ms I kicked it up to 2000 ms.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the JACK interface while opening and closing the Zyn GUI repeatedly, then inspect LMMS's JACK connection handling around the point where audio falls silent. Done means LMMS reconnects to the JACK system outputs after the Zyn GUI cycle without requiring manual reconnection.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.