Large files playback stutters on Linux
Hello! Glad to see there has been a lot of positive updates since I last used Museeks! However, I've run into a new issue on my Linux Mint 22.1 (kernel build6.8.0-84-generic, Museeks 0.23.1) where audio seems to "skip" as if it's distorted or has playback issues, I'm not sure. It tends to skip every other second or so. I don't have this issue on other audio programs, only Museeks.
I have my music mounted in its own folder from over the network via Samba on my NAS server; don't know if this helps but it hasn't been an issue before.
Hello there!
I have tested Museeks on Mint 22.1 a couple of weeks ago and things seemed to work fine. Can you make sure your system is up to date?
How does your Samba setup look like exactly? Samba is not directly supported to load files, but I suspect this could be the issue, with Museeks not streaming enough data from the file due to the Samba setup.
I have a few ideas I can try and eventually give you a test binary and you can tell me if it's better.
I'm seeing the same issue with my music on the NAS. Sometimes the program can hang for quite a bit. This used to work fine.
Can you share your exact setup so I can try to reproduce it? Is it a network drive or something else? How did you add the music to the library etc?
The NAS is a raspberry pi 4 running open media vault. The drive is connected via USB and uses NFS (3, 4, 4.1, 4.2).
The drive is mounted with sudo mount 192.168.0.220:/export/NAS /mnt/;.
Music is added through settings with folder /mnt/Music/
I have been experiencing the same problem but it occurs no matter where the files are located on the system I'm on Arch Linux 6.16.10-zen1-1-zen my museeks version is 0.23.0
To anyone facing this, can you try previous versions of Museeks and tell me if it happens there too?
Also, you can also try Museeks 0.13.1, which was based on Electron and should probably behave differently.
Assuming the issue is because of the drop of electron for a more lightweight solution, I have an idea what could cause this, but I need to spend some time experimenting there. TLDR is the way we load audio files on Linux is different compared to Windows/Mac due to an upstream issue, so ill have to see if I can find another workaround.
Museeks 0.13.1 seems to work fine without any audio skips.
Zorin OS 17.3 (using x86_64 AppImage)
13.1 works I've also noticed most mp3 files play ok or nearly ok. The skipping happens with larger flac or wav files
I can reproduce the issue on large Flac files (big audio stuttering). I will investigate ways to fix that
I've got the same issue, I updated from V21 directly to 23, and my music folder lives on my nas over SMB. I am on Mint 22.2. It happens with all mp3's and flacs alike. at around 3 seconds it jumps to the 30 second point of the song and is stutter y from there. On the appimage, deb and flatpak versions. I just tried v22.3 and that seems to work fine
Hello there!
I have tested Museeks on Mint 22.1 a couple of weeks ago and things seemed to work fine. Can you make sure your system is up to date?
How does your Samba setup look like exactly? Samba is not directly supported to load files, but I suspect this could be the issue, with Museeks not streaming enough data from the file due to the Samba setup.
I have a few ideas I can try and eventually give you a test binary and you can tell me if it's better.
So I don't use smb protocol to directly play files on Museeks as you'd might think. Instead, my NAS smb// drives are mounted via fstab + cifs on my machine. The Music library on my NAS drive is then mounted as its own directory (For easy mounting). It's then syslink'd to my Music/ directory in my home folder (So programs/apps use the default Music location and it sees my entire library without manually fine tuning anything). I'm also running my entire network on 2.5GBp net cards.
I've never had an issue with this setup with any app/software before, and it worked just fine with the last previous versions of Museeks, even when I had my original 1GB netcard setup with much slower network speed. I'm currently using Audacious as my music player with the same setup.
As of today, and updating/reinstalling Museeks, I still have the same audio stutter issue. It's like every 3-4 seconds it skips forward 3-5 seconds on any audio of any size.
Does it happen with all the files?
- If not, can you send me one of these files?
- If yes, can you share more information about your setup (DE, distro, etc)
Really sorry for that folks, this is an upstream issue in a lib used by Museeks, I've tried workarounds without success, and one way to fix it would be to re-architecture all the audio playback. I really need to sit down and experiment on how to fix that.
I can also add some more details since I seem to have the exact same issue:
- Happens on all files, mp3's FLAC's. not just big files.
- Issue is new in v23. V22.3 still works fine.
- I mounted my nas in 2 ways, no difference. so both over SMB and NFS
- I am on Mint 22.2 Cinnamon