LMMS / LMMS/lmms

Audio stuttering on self-compiled build of LMMS

Open
#8,366 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

### System Information

GNU/Linux, Manjaro distribution

### LMMS Version(s)

1.3.0-alpha.1.972+668e80d

### Most Recent Working Version

1.3.0-alpha.1.972+668e80d

### Bug Summary

The audio stutters whenever I add a some effects in the song while I play it in self-compiled build of LMMS. Meanwhile, it does not happen on official build (Appimage).

### Expected Behaviour

Self-compiled build should have same audio quality as official build.

### Steps To Reproduce

I don't really know how to reproduce it, try to compile LMMS on your own machine maybe?

### Screenshots / Minimum Reproducible Project

Here is the stuttering I'm talking about, self-compiled build:
https://github.com/user-attachments/assets/a8a9996d-8e88-4aa7-8240-c489bb675526
Does not happen on official build:
https://github.com/user-attachments/assets/3de1a077-d346-453d-b5cf-a215bc9e9d55

Buffer size is set to 4096 frames, audio interface SDL.

I was building LMMS without having the latest updates of the system, I tried to update it, remove the files from build directory and recompile again but had same results. I didn't actually try to build pure master version with an updated system, I built the master version with some small edits of mine, I will probably try to rebuild pure master to make sure that the issue is not in the code, but most likely it won't be.

### Please search the issue tracker for existing bug reports before submitting your own.

- [x] I have searched all existing issues and confirmed that this is not a duplicate.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the stutter with a pure master build on an updated Manjaro system, using the reported 4096-frame buffer and SDL audio interface. Compare that build with the official AppImage while adding effects during playback; the issue is resolved when the differing audio behavior is identified and the self-compiled build matches the official build.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
audio-video-rtc, build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.