You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After experiencing some upstream issues with the AppImage format, @Samueru-sama was kind enough to showcase the ability to move our AppImage creation to a new toolset...
wayland-hook.sh AppImages made with linuxdeploy or go-appimage are notoriously broken in wayland, and the reason is actually refusal from probonopd to support wayland. This is a well known fact and I don't think I need to link to the many controversies regarding that.
probono doesn't maintain linuxdeploy (TheAssassin does); our wayland support is decent actually, but there are some minor UX bugs that we haven't had time to dive into yet.
I tried to add wine32 to the build process
Thanks for trying... yeah I had forgotten you were building on arch. We've been discussing this here: #8041 and here (Discord). Long story short, we know the writing is on the wall and we're not sure what to do, but it's more related to arch choosing the new wow64 mode (which is awesome, but happens to break our 32-bit bridge). We can track this in #8041 because eventually all distros will go this route.
Turns out carla depends on a matching version of pyqt5, which means python and carla need to be added manually since sharun deploys python using uv and the version of pyqt5 ends up being slightly different and it breaks lol
Hmm... I would not expect python to be deployed with the AppImage, since it's a dependency of Carla (not LMMS).
jack-hook.sh We can just bundle jack here, we already do that often with pipewire (which again appimages made with the older tooling cant do).
Ok... I'll believe this when I test it. 😅
vbox-hook.sh LIBGL_ALWAYS_SOFTWARE=1 is likely needed here because OpenGL is not being bundled, we already handle this with sharun.
Hmm... I'm starting to grow weary of how many decision sharun is trying to make for us.
Thanks for building the AppImage; I'll test the and report back.
@messmerd FYI.. Nevermind, I think this is working just fine, it's just missing the wrapper script.
Remote plugin '/tmp/.mount_lmms-remp15827696791730005933/lib/lmms/RemoteVstPlugin64' not found
Probably the same cause as Zyn above.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Automatic start of JACK server is disabled at configure time
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
jack_client_open() failed, Status: 0x11
Overall operation failed. JACK dependencies might need to be installed.
Could not connect to JACK server.
Our nightly appimages don't do this (the messages say JACK server starting in realtime mode with priority 10, although I'm not a JACK user, so I can't say with certainty how well nightly AppImages work.
Version 1.3.0-alpha.1.889+44a68b8 (unknown platform/unknown processor, Qt 5.15.17, GCC 15.2.1 20250813).
This may be something with our platform detection logic, or perhaps something that we do a bit late (in the packaging phase rather than the build phase).
As a bit of an aside... what's interesting (and also worrisome) about this quick-sharun/AnyLinux approach is that we completely lose the ability to control any packaging decisions. I'm not very comfortable with this. It also seems to place a strict dependency on ArchLinux for building (this means people won't be able to build their own AppImages on any other distros -- or worse -- LMMS maintains two separate packaging scripts). I share these thoughts as important 'food for thought' sentiments, because our philosophy has always been to encourage others to build and distribute LMMS, so the tooling being widely available is a huge part of that.
[carla] Trying to start carla-plugin using "/tmp/.mount_lmms-remp15827696791730005933/shared/share/carla/resources/carla-plugin-patchbay"
[carla] exec failed: No such file or directory
[carla] waitForClientFirstMessage() - read returned 0
[carla] Trying to start carla-plugin using "/tmp/.mount_lmms-remp15827696791730005933/shared/share/carla/resources/carla-plugin-patchbay"
[carla] exec failed: No such file or directory
[carla] waitForClientFirstMessage() - read returned 0
probono doesn't maintain linuxdeploy (TheAssassin does); our wayland support is decent actually, but there are some minor UX bugs that we haven't had time to dive into yet.
Hmm... I would not expect python to be deployed with the AppImage, since it's a dependency of Carla (not LMMS).
I'm not sure how needed some dependencies here are, I made sure to bundle carla to the point that I can run the carla script on alpine linux:
Our nightly appimages don't do this (the messages say JACK server starting in realtime mode with priority 10, although I'm not a JACK user, so I can't say with certainty how well nightly AppImages work.
I get those messages with the AUR package on my system 🤔
/usr/bin/lmms
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Automatic start of JACK server is disabled at configure time
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
jack_client_open() failed, Status: 0x11
Overall operation failed. JACK dependencies might need to be installed.
Could not connect to JACK server.
No audio-driver working - falling back to dummy-audio-driver
You can render your songs and listen to the output files...
Cannot load library /usr/lib/lmms/libcarlabase.so: (libcarla_native-plugin.so: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/lmms/libcarlapatchbay.so: (libcarlabase.so: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/lmms/libcarlarack.so: (libcarlabase.so: cannot open shared object file: No such file or directory)
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Automatic start of JACK server is disabled at configure time
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
jack_client_open() failed, Status: 0x11
Overall operation failed. JACK dependencies might need to be installed.
Could not connect to JACK server.
As a bit of an aside... what's interesting (and also worrisome) about this quick-sharun/AnyLinux approach is that we completely lose the ability to control any packaging decisions. I'm not very comfortable with this. It also seems to place a strict dependency on ArchLinux for building
Eden for example was using Ubuntu to make its appimage with sharun, later moved to archlinux with the debloated packages, that alone reduced the appimage from 160 MiB to ~90 MiB, the current releases are ~60 MiB but that is because they later changed the build process to link ffmpeg statically which helps a lot here.
Disclaimer, if you are wondering why eden makes multiple different appimage releases, it is because they target different cpu architecture levels like x86_64_v3 not due to AppImage compat issues.
More errors:
[carla] Trying to start carla-plugin using "/tmp/.mount_lmms-remp15827696791730005933/shared/share/carla/resources/carla-plugin-patchbay"
[carla] exec failed: No such file or directory
[carla] waitForClientFirstMessage() - read returned 0
[carla] Trying to start carla-plugin using "/tmp/.mount_lmms-remp15827696791730005933/shared/share/carla/resources/carla-plugin-patchbay"
[carla] exec failed: No such file or directory
[carla] waitForClientFirstMessage() - read returned 0
Note that Carla loads just fine on nightly.
Yeah there is bug here, there is no such thing as shared/share directory with sharun. Should be fixed with a relative symlink in shared in any case.
Yeah there is bug here, there is no such thing as shared/share directory with sharun. Should be fixed with a relative symlink in shared in any case.
These are the issues I'm concerned about. We don't bundle Carla and likely never will. We use the system-provided Carla. We use weak-linking (much like weakjack). We don't want it.
We don't want jack either... we just bundle it conditionally to prevent a crash for when it's missing. I feel like our strategy should be preferred here.
You can use sharun directly on any linux distro.
This is great news and assuming this works for distros like Ubuntu 20.04 we can make a WIP branch that uses it. I'm even OK switching completely away from linuxdeploy, but as the (mostly sole) person that's been working with these packaging tools here, I firmly believe that any solution that promises to fix our workaround is selling snake oil lol. Seriously though, this quick-sharun is amazing, but it's taken us years to get some of our features working as well as they do, so I think there's some items which we do better such as using the system's jack libraries (conditionally, when available), using the system's carla version (conditionally, when available). We also ran into libreadline issues that I expect to rear their ugly head once RemoteVstPlugin64.exe.so starts working, but this might be fixed with the static runtime, so more testing will be needed to know for sure.
later moved to archlinux with the debloated packages, that alone reduced the appimage from 160 MiB to ~90 MiB,
To clarify we're happy with using any distro for our releases, my concern is about local reproducibility, for one-offs (which it sounds like quick-sharun supports). Using Arch fixes so many of our outdated dependency issues that I think this strategy is the winning long-game.
Alright here is what is causing the shared/share issue with carla:
That symlink is broken and resolves to that non existent path.
We use the system-provided Carla. We use weak-linking (much like weakjack). We don't want it.
Does lmms call carla by running the multiple scripts it provides? or does it directly open its libraries.
If it is the later, it is not possible to avoid bundling carla here heads up.
sharun bundles glibc, which is what needs to be done to allow these AppImages to work anywhere from ubuntu 14.04 to alpine linux, however that limits you in what libraries you can open from the host.
Because if the host libraries link to a glibc version that is newer than the one of the AppImage, then it is going to break with symbol errors. In theory we could switch to using the glibc of the host at runtime when we detect that it is a newer version and we are on a glibc system but that hasn't been implemented in sharun not to mention this will never work on non glibc systems as well
Does lmms call carla by running the multiple scripts it provides
Yes.
if the host libraries link to a glibc version that is newer than the one of the AppImage, then it is going to break with symbol errors
Gotcha. Well, JACK as an example runs as a daemon on the PC and the client has never worked for me when I try to bundle it. The AnyLinux appimages seems to suffer this too. I don't know the undeworkings of WHY (and I don't use JACK personally) but these are the roadblocks that will make it hard to decide how best to move forward.
Coming from other projects (and other OSs), I find this glibc mess in Linux quite sad. From a project perspective, I'm fine with a trade-off between latest libs and backwards compat and that's something we've always had to weigh, but I'm not sure if we're OK with losing JACK support. I'm also curious how the VST bridge ends up, once it's working. I can probably extract and test that now...
I've fought adamantly against bundling Carla and Wine and I feel that as a project, we need to maintain this position.
Gotcha. Well, JACK as an example runs as a daemon on the PC and the client has never worked for me when I try to bundle it
Jack should work just fine.
Yesterday I read the manpage and jack where it mentions JACK_DRIVER_DIR and added the required changes.
The errors you have with jack are also errors that I have when running the AUR package on my system, will later try to inform myself better once I can get jack to work any debugging it is just checking with strace to see if the bundled jack libs are being used or not.
It is possible JACK_DRIVER_DIR is turned off at build time, I already had a similar problem with p11-kit and the solution ended up being binary patching because the env variables are not used unless recompiled.
If flatpak or snap can ship jack then it can be done in an AppImage as well, this idea of libs/binaries that cannot be bundled comes from the old appimage tooling.
Alright I managed to install and start the jack daemon on my system.
It works? I didn't have to change anything in the AppImage:
I still have a few errors:
Cannot lock down 107341340 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5) (1: Operation not permitted)
but those errors also happen with the AUR package directly. So it is likely me that I need to configure jack better.
Also the carla issue should be fixed already by pkgforge-dev/Anylinux-AppImages@f1b77e5 I know you don't want it to be added but would be good to know if it works, python deployment is the only thing that gives us issues lol
Also the carla issue should be fixed already by pkgforge-dev/Anylinux-AppImages@f1b77e5 I know you don't want it to be added but would be good to know if it works, python deployment is the only thing that gives us issues lol
Yes, it works. You can safely remove it now. 😆 We may be (eventually) receptive to adding Carla in this fashion, so a TODO may be in order... assuming you're building it from scratch it'll use the same Qt runtime as LMMS which was a big factor in not wanting to bundle it initially. I still don't want Python in the package, but beggars can't be choosers.
With regards to JACK, still no go (Ubuntu 24.04)
Automatic start of JACK server is disabled at configure time
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
jack_client_open() failed, Status: 0x11
Overall operation failed. JACK dependencies might need to be installed.
Meanwhile on our master branch:
JACK server starting in realtime mode with priority 10
it'll use the same Qt runtime as LMMS which was a big factor in not wanting to bundle it initially. I still don't want Python in the package, but beggars can't be choosers.
If you are worried about the size of python, note that PyQt5 can be debloated greatly, just that I did not do that because I need first make sure everything works before.
Automatic start of JACK server is disabled at configure time
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
jack_client_open() failed, Status: 0x11
Overall operation failed. JACK dependencies might need to be installed.
Meanwhile on our master branch:
JACK server starting in realtime mode with priority 10
Went to check the master appimage but it does not work on my Artix linux system:
And the same issue happens if I try from my ubuntu 24.04 container:
Yes, USE_HOST_LIBJACK=1 fixes the pops and clicks, thank you! Can you please make this default?
Yes but that would be only for lmms in that case. (though I have my reservations which I explain down below)
Also, the "stability" message is quite misleading considering this improves playback on Ubuntu
In this case I'm talking about the stability of the application itself, using libraries from the host will never be 100% stable hence that message is given.
We actually been able to use the nvidia driver of the host, since nvidia releases its driver as a proprietary blob that distro cannot modify, but even that has had issues like this nonsense which is not even fault of nvidia...
what if in the future applications that link to libjack need something that is not present in older version of libjack? and turns out that causes a crash when you attempt to use the libjack of the host? I do not think it is a good idea to have this behaviour enabled by default, it should only be enabled by users that have issues using pipewire-jack.
but I would still would recommend that you place something in the scripts to let the user know what hook is making these decisions
sure.
Hmm... what is this doing? Reads a bit sus 😏, maybe I'm reading it wrong?
The script places the libjack dirs only in a directory in HOST_LIBJACK_DIR=${HOST_LIBJACK_DIR:-${TMPDIR:-/tmp}/.hostlibjack}
This is needed because we want make the libjack.so of the host load first and nothing else, the --library-path flag in the dynamic linker only works with directories and not individual libs.
the script actually lets the user define the location of HOST_LIBJACK_DIR but I'm thinking this is a bad idea because they can just set it to /usr/lib lol
I already had an incident where someone thought it was a good idea to have QT_PLUGIN_PATH exported in their shell profle so yeah I can see this happening totally lol.
what if in the future applications that link to libjack need something that is not present in older version of libjack?
We use weakjack for this purpose.
it should only be enabled by users that have issues using pipewire-jack.
Which in my testing is most users. Until we fix the pops and clicks with pipewire, it's useless to us. We really can't ship it this way.
The script places the libjack dirs only in a directory in tmp
Whoops, sorry, skill issue on my part... Read it wrong. Disregard. Initial glance looked like it was (trying) to copy to a system directory... I knew this was not possible.
I already had an incident where someone thought it was a good idea to have QT_PLUGIN_PATH exported in their shell profle so yeah I can see this happening totally lol.
Yeah that mutation made my eyes go crossed for a bit. Shell scripting sucks.
@tresf The appimage has been updated to include suil.
It is unlikely that you SUIL_MODULE_DIR would need to be set, quick-sharun actually checks for hardcoded paths to /usr/lib in the libraries it bundles and patches that away.
I'm also not sure what suil-0 is for exactly, I noticed it has libraries that link to gtk3 and qt6, are these wanted? it is not possible to bundle both qt6 and qt5 at the same time btw.
I'm also not sure what suil-0 is for exactly, I noticed it has libraries that link to gtk3 and qt6, are these wanted? it is not possible to bundle both qt6 and qt5 at the same time btw.
It's a bug, discussed here: #8118 (comment). In short, we shouldn't be bundling anything except Qt5|Qt6, depending.
It looks like the quick-sharun AppImage fixes a minor issue with taskbar icons.
In the current AppImages, detaching a window causes the LMMS taskbar icon to change to the icon of the most recently detached window, while in the quick-sharun AppImages, all windows keep the LMMS logo for their taskbar icon.
@Samueru-sama Is this difference in behavior something you expect, and is there any way you know of to fix it in the current AppImages?
@Samueru-sama
Back in June, the lmms-git AUR package switched to Qt6 (see here), so the quick-sharun AppImage will need to adjust the suil modules in make-appimage.sh:
Also, it looks like the AUR package (and presumably quick-sharun) builds LMMS in the Release configuration rather than RelWithDebInfo. There's currently an issue with Release builds which can cause audio issues like clicks or pops. Maybe if you built it with the RelWithDebInfo configuration, it would fix the clicks and pops with JACK? (fingers crossed)
And lastly, #8464 introduced the TARGET_UARCH CMake option for selecting a target microarchitecture. It defaults to -march=native if unspecified which probably isn't what we want for an AppImage since it would target whatever CPU capabilities the build machine happens to have. You could set it to -DTARGET_UARCH=official instead to target the minimum x86_64 or arm64 microarchitecture level that official lmms.io downloads use.
@Samueru-sama Back in June, the lmms-git AUR package switched to Qt6 (see here), so the quick-sharun AppImage will need to adjust the suil modules in make-appimage.sh:
/usr/lib/suil-*/qt5.so \
/usr/lib/suil-*/qt6.so \
Updated
Also, it looks like the AUR package (and presumably quick-sharun) builds LMMS in the Release configuration rather than RelWithDebInfo. There's currently an issue with Release builds which can cause audio issues like clicks or pops. Maybe if you built it with the RelWithDebInfo configuration, it would fix the clicks and pops with JACK? (fingers crossed)
Are you sure the problem is that? Because that's a bug that would affect distro packages as well.
And lastly, #8464 introduced the TARGET_UARCH CMake option for selecting a target microarchitecture. It defaults to -march=native if unspecified which probably isn't what we want for an AppImage since it would target whatever CPU capabilities the build machine happens to have. You could set it to -DTARGET_UARCH=official instead to target the minimum x86_64 or arm64 microarchitecture level that official lmms.io downloads use.
Eh I wouldn't use -march=native by default, it means the chaotic aur package is now broken on older systems by this change, and distro packages would need to be notificed about this change as well.
Let me know if you intend on keeping -march=native as the default behaviour so I can add the sed to fix the aur package.
Also note that pushes in the AUR have been disabled for about a week now due to a malware incident, so the AUR packager is unable to fix this until the restriction is lifted.
There's probably some UB present somewhere which causes issues for -O3 optimizations. That's my guess anyway.
Eh I wouldn't use -march=native by default, it means the chaotic aur package is now broken on older systems by this change, and distro packages would need to be notificed about this change as well.
My intention was that people building it locally could get better-optimized builds by default, but yeah I see it could be a pain for distro package maintainers who don't know about it. I'll see about changing it back to -DTARGET_UARCH=none by default.
I talked to one of the lmms-git AUR package maintainers yesterday and got them to set the TARGET_UARCH option explicitly as well as build using the RelWithDebInfo configuration for now (commit). They're using -DTARGET_UARCH=native, so that would need to be replaced with "official" via sed.
There's probably some UB present somewhere which causes issues for -O3 optimizations. That's my guess anyway.
Check adding -fno-strict-aliasing to your cflags, that will likely fix the UB, we ran into this problem with Mesa and GTK4 and -fno-strict-aliasing fixes the issue.
btw switching to Qt6 is likely to run into issue with Carla which is still using Qt5. We don't have means to deploy two different versions of Qt in the same AppImage.
Activity
tresf commentedon Oct 23, 2025
probono doesn't maintain linuxdeploy (TheAssassin does); our wayland support is decent actually, but there are some minor UX bugs that we haven't had time to dive into yet.
Thanks for trying... yeah I had forgotten you were building on arch. We've been discussing this here: #8041 and here (Discord). Long story short, we know the writing is on the wall and we're not sure what to do, but it's more related to arch choosing the new wow64 mode (which is awesome, but happens to break our 32-bit bridge). We can track this in #8041 because eventually all distros will go this route.
Hmm... I would not expect python to be deployed with the AppImage, since it's a dependency of Carla (not LMMS).
Ok... I'll believe this when I test it. 😅
Hmm... I'm starting to grow weary of how many decision sharun is trying to make for us.
Thanks for building the AppImage; I'll test the and report back.
tresf commentedon Oct 23, 2025
So some errors...
I think is leftover from linuxdeploy/linuxdeploy#305, specifically (probably) should have been addressed here, but was missed:
@messmerd FYI.. Nevermind, I think this is working just fine, it's just missing the wrapper script.Probably the same cause as Zyn above.
Our nightly appimages don't do this (the messages say
JACK server starting in realtime mode with priority 10, although I'm not a JACK user, so I can't say with certainty how well nightly AppImages work.This may be something with our platform detection logic, or perhaps something that we do a bit late (in the packaging phase rather than the build phase).
As a bit of an aside... what's interesting (and also worrisome) about this quick-sharun/AnyLinux approach is that we completely lose the ability to control any packaging decisions. I'm not very comfortable with this. It also seems to place a strict dependency on ArchLinux for building (this means people won't be able to build their own AppImages on any other distros -- or worse -- LMMS maintains two separate packaging scripts). I share these thoughts as important 'food for thought' sentiments, because our philosophy has always been to encourage others to build and distribute LMMS, so the tooling being widely available is a huge part of that.
tresf commentedon Oct 23, 2025
More errors:
Note that Carla loads just fine on nightly.
Samueru-sama commentedon Oct 23, 2025
Got it, I was thinking of linuxdeploy-qt
I'm not sure how needed some dependencies here are, I made sure to bundle carla to the point that I can run the carla script on alpine linux:
I get those messages with the AUR package on my system 🤔
You can use sharun directly on any linux distro. See this thing probono himself made lol
Also CPU-X where while it uses archlinux, it is done manually with
lib4binwithoutquick-sharunHowever it is very ideal to use archlinux, because I make these packages that help reduce the size of the final appimage a lot.
Eden for example was using Ubuntu to make its appimage with sharun, later moved to archlinux with the debloated packages, that alone reduced the appimage from 160 MiB to ~90 MiB, the current releases are ~60 MiB but that is because they later changed the build process to link ffmpeg statically which helps a lot here.
Disclaimer, if you are wondering why eden makes multiple different appimage releases, it is because they target different cpu architecture levels like
x86_64_v3not due to AppImage compat issues.Yeah there is bug here, there is no such thing as
shared/sharedirectory with sharun. Should be fixed with a relative symlink insharedin any case.tresf commentedon Oct 23, 2025
These are the issues I'm concerned about. We don't bundle Carla and likely never will. We use the system-provided Carla. We use weak-linking (much like weakjack). We don't want it.
We don't want jack either... we just bundle it conditionally to prevent a crash for when it's missing. I feel like our strategy should be preferred here.
This is great news and assuming this works for distros like Ubuntu 20.04 we can make a WIP branch that uses it. I'm even OK switching completely away from
linuxdeploy, but as the (mostly sole) person that's been working with these packaging tools here, I firmly believe that any solution that promises to fix our workaround is selling snake oil lol. Seriously though, this quick-sharun is amazing, but it's taken us years to get some of our features working as well as they do, so I think there's some items which we do better such as using the system's jack libraries (conditionally, when available), using the system's carla version (conditionally, when available). We also ran into libreadline issues that I expect to rear their ugly head onceRemoteVstPlugin64.exe.sostarts working, but this might be fixed with the static runtime, so more testing will be needed to know for sure.tresf commentedon Oct 23, 2025
To clarify we're happy with using any distro for our releases, my concern is about local reproducibility, for one-offs (which it sounds like quick-sharun supports). Using Arch fixes so many of our outdated dependency issues that I think this strategy is the winning long-game.
Samueru-sama commentedon Oct 23, 2025
Alright here is what is causing the
shared/shareissue with carla:That symlink is broken and resolves to that non existent path.
Does lmms call carla by running the multiple scripts it provides? or does it directly open its libraries.
If it is the later, it is not possible to avoid bundling carla here heads up.
sharun bundles glibc, which is what needs to be done to allow these AppImages to work anywhere from ubuntu 14.04 to alpine linux, however that limits you in what libraries you can open from the host.
Because if the host libraries link to a glibc version that is newer than the one of the AppImage, then it is going to break with symbol errors. In theory we could switch to using the glibc of the host at runtime when we detect that it is a newer version and we are on a glibc system but that hasn't been implemented in sharun not to mention this will never work on non glibc systems as well
tresf commentedon Oct 23, 2025
Yes.
Gotcha. Well, JACK as an example runs as a daemon on the PC and the client has never worked for me when I try to bundle it. The AnyLinux appimages seems to suffer this too. I don't know the undeworkings of WHY (and I don't use JACK personally) but these are the roadblocks that will make it hard to decide how best to move forward.
Coming from other projects (and other OSs), I find this glibc mess in Linux quite sad. From a project perspective, I'm fine with a trade-off between latest libs and backwards compat and that's something we've always had to weigh, but I'm not sure if we're OK with losing JACK support. I'm also curious how the VST bridge ends up, once it's working. I can probably extract and test that now...
I've fought adamantly against bundling Carla and Wine and I feel that as a project, we need to maintain this position.
tresf commentedon Oct 23, 2025
Ok, this works just fine! For some reason it's missing the
RemoteVstPlugin64wrapper script. It looks like this.Samueru-sama commentedon Oct 23, 2025
Jack should work just fine.
Yesterday I read the manpage and jack where it mentions
JACK_DRIVER_DIRand added the required changes.The errors you have with jack are also errors that I have when running the AUR package on my system, will later try to inform myself better once I can get jack to work any debugging it is just checking with
straceto see if the bundled jack libs are being used or not.It is possible
JACK_DRIVER_DIRis turned off at build time, I already had a similar problem with p11-kit and the solution ended up being binary patching because the env variables are not used unless recompiled.If flatpak or snap can ship jack then it can be done in an AppImage as well, this idea of libs/binaries that cannot be bundled comes from the old appimage tooling.
Samueru-sama commentedon Oct 23, 2025
Alright I managed to install and start the jack daemon on my system.
It works? I didn't have to change anything in the AppImage:
I still have a few errors:
but those errors also happen with the AUR package directly. So it is likely me that I need to configure jack better.
Also the carla issue should be fixed already by pkgforge-dev/Anylinux-AppImages@f1b77e5 I know you don't want it to be added but would be good to know if it works, python deployment is the only thing that gives us issues lol
tresf commentedon Oct 24, 2025
Yes, it works. You can safely remove it now. 😆 We may be (eventually) receptive to adding Carla in this fashion, so a TODO may be in order... assuming you're building it from scratch it'll use the same Qt runtime as LMMS which was a big factor in not wanting to bundle it initially. I still don't want Python in the package, but beggars can't be choosers.
With regards to JACK, still no go (Ubuntu 24.04)
Meanwhile on our master branch:
Samueru-sama commentedon Oct 24, 2025
If you are worried about the size of python, note that PyQt5 can be debloated greatly, just that I did not do that because I need first make sure everything works before.
See puddletag for example
Went to check the master appimage but it does not work on my Artix linux system:
And the same issue happens if I try from my ubuntu 24.04 container:
57 remaining items
Samueru-sama commentedon Nov 21, 2025
Yes but that would be only for lmms in that case. (though I have my reservations which I explain down below)
In this case I'm talking about the stability of the application itself, using libraries from the host will never be 100% stable hence that message is given.
We actually been able to use the nvidia driver of the host, since nvidia releases its driver as a proprietary blob that distro cannot modify, but even that has had issues like this nonsense which is not even fault of nvidia...
what if in the future applications that link to libjack need something that is not present in older version of libjack? and turns out that causes a crash when you attempt to use the libjack of the host? I do not think it is a good idea to have this behaviour enabled by default, it should only be enabled by users that have issues using pipewire-jack.
sure.
The script places the libjack dirs only in a directory in
HOST_LIBJACK_DIR=${HOST_LIBJACK_DIR:-${TMPDIR:-/tmp}/.hostlibjack}This is needed because we want make the libjack.so of the host load first and nothing else, the
--library-pathflag in the dynamic linker only works with directories and not individual libs.the script actually lets the user define the location of
HOST_LIBJACK_DIRbut I'm thinking this is a bad idea because they can just set it to/usr/liblolI already had an incident where someone thought it was a good idea to have
QT_PLUGIN_PATHexported in their shell profle so yeah I can see this happening totally lol.tresf commentedon Nov 21, 2025
We use weakjack for this purpose.
Which in my testing is most users. Until we fix the pops and clicks with pipewire, it's useless to us. We really can't ship it this way.
Whoops, sorry, skill issue on my part... Read it wrong. Disregard. Initial glance looked like it was (trying) to copy to a system directory... I knew this was not possible.
Yeah that mutation made my eyes go crossed for a bit. Shell scripting sucks.
Samueru-sama commentedon Dec 6, 2025
@tresf I did a test on alpine linux installing qjackctl there and using the host libjack with the appimage.
It actually worked somehow despite the massive difference in libc, so I removed the warning for good.
tresf commentedon Dec 7, 2025
Thanks for testing! That's pretty cool!
Samueru-sama commentedon Dec 13, 2025
@tresf The appimage has been updated to include suil.
It is unlikely that you
SUIL_MODULE_DIRwould need to be set,quick-sharunactually checks for hardcoded paths to/usr/libin the libraries it bundles and patches that away.I'm also not sure what
suil-0is for exactly, I noticed it has libraries that link to gtk3 and qt6, are these wanted? it is not possible to bundle both qt6 and qt5 at the same time btw.tresf commentedon Dec 14, 2025
It's a bug, discussed here: #8118 (comment). In short, we shouldn't be bundling anything except Qt5|Qt6, depending.
Samueru-sama commentedon Dec 15, 2025
updated
messmerd commentedon Mar 23, 2026
@Samueru-sama
I fixed a JACK-related startup issue in #8299. Might be related to the issue you had here, but I'm not sure.
Samueru-sama commentedon Mar 25, 2026
iirc all the jack issues were fixed already here.
messmerd commentedon Aug 7, 2026
It looks like the quick-sharun AppImage fixes a minor issue with taskbar icons.
In the current AppImages, detaching a window causes the LMMS taskbar icon to change to the icon of the most recently detached window, while in the quick-sharun AppImages, all windows keep the LMMS logo for their taskbar icon.
@Samueru-sama Is this difference in behavior something you expect, and is there any way you know of to fix it in the current AppImages?
messmerd commentedon Aug 11, 2026
@Samueru-sama
Back in June, the
lmms-gitAUR package switched to Qt6 (see here), so the quick-sharun AppImage will need to adjust thesuilmodules inmake-appimage.sh:Also, it looks like the AUR package (and presumably quick-sharun) builds LMMS in the Release configuration rather than RelWithDebInfo. There's currently an issue with Release builds which can cause audio issues like clicks or pops. Maybe if you built it with the RelWithDebInfo configuration, it would fix the clicks and pops with JACK? (fingers crossed)
And lastly, #8464 introduced the
TARGET_UARCHCMake option for selecting a target microarchitecture. It defaults to-march=nativeif unspecified which probably isn't what we want for an AppImage since it would target whatever CPU capabilities the build machine happens to have. You could set it to-DTARGET_UARCH=officialinstead to target the minimum x86_64 or arm64 microarchitecture level that official lmms.io downloads use.Samueru-sama commentedon Aug 11, 2026
Updated
Are you sure the problem is that? Because that's a bug that would affect distro packages as well.
Eh I wouldn't use
-march=nativeby default, it means the chaotic aur package is now broken on older systems by this change, and distro packages would need to be notificed about this change as well.Let me know if you intend on keeping
-march=nativeas the default behaviour so I can add thesedto fix the aur package.Also note that pushes in the AUR have been disabled for about a week now due to a malware incident, so the AUR packager is unable to fix this until the restriction is lifted.
messmerd commentedon Aug 12, 2026
Yes, @rubiefawn did some testing recently and found the
Releasebuild had some clicks and pops whileRelWithDebInfodidn't. (discussion & demonstration on Discord)There's probably some UB present somewhere which causes issues for
-O3optimizations. That's my guess anyway.My intention was that people building it locally could get better-optimized builds by default, but yeah I see it could be a pain for distro package maintainers who don't know about it. I'll see about changing it back to
-DTARGET_UARCH=noneby default.I talked to one of the lmms-git AUR package maintainers yesterday and got them to set the
TARGET_UARCHoption explicitly as well as build using theRelWithDebInfoconfiguration for now (commit). They're using-DTARGET_UARCH=native, so that would need to be replaced with "official" via sed.Samueru-sama commentedon Aug 12, 2026
Check adding
-fno-strict-aliasingto your cflags, that will likely fix the UB, we ran into this problem with Mesa and GTK4 and-fno-strict-aliasingfixes the issue.EDIT: Pushes have been restored in the AUR btw
Samueru-sama commentedon Aug 25, 2026
btw switching to Qt6 is likely to run into issue with Carla which is still using Qt5. We don't have means to deploy two different versions of Qt in the same AppImage.