Bug 406530 - Elisa-git music playback stutters
Summary: Elisa-git music playback stutters
Status: RESOLVED WORKSFORME
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-14 13:08 UTC by Rainer Finke
Modified: 2020-11-11 22:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Finke 2019-04-14 13:08:28 UTC
Elisa-git (2019-04-14) music playback stutters

STEPS TO REPRODUCE
1. Compile Elisa from git
2. Import library

OBSERVED RESULT
Music playback stutters

EXPECTED RESULT
Music is played fine

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.13.0
Kernel Version: 5.0.7-arch1-1-ARCH
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 1700 Eight-Core Processor
Memory: 31,4 GiB of RAM
Comment 1 Nate Graham 2019-04-15 13:32:48 UTC
Cannot reproduce with the following software & hardware FWIW:

Operating System: Manjaro Linux 
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0 (or git master)
Qt Version: 5.12.2
Kernel Version: 4.19.32-1-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 7.7 GiB of RAM


Notable differences are that the reporter is using a newer Qt and Kernel.
Comment 2 Nate Graham 2019-08-05 16:49:28 UTC
Now using Qt 5.13 and still cannot reproduce.
Comment 3 Öyvind Saether 2019-12-20 20:54:07 UTC
elisa-git will stutter on playback if it is compiled with the VLC backend and a networked Pulseaudio setup is used. It can be worked around compile-time by simply not having libblc installed - which makes Elisa "fall back" to QtMultimedia - which seems to work just fine.

VLC has the exact same problem if it's playing to a local PulseAudio instance which has a remote sink on another machine as output. It's 100% reproducible in both elisa (when compiled with libvlc) and VLC. 

This bug can simply be closed if Rainer Finke is using a similar setup and Elisa is/was compiled against libvlc.
Comment 4 Matthieu Gallien 2019-12-20 21:46:39 UTC
(In reply to Öyvind Saether from comment #3)
> elisa-git will stutter on playback if it is compiled with the VLC backend
> and a networked Pulseaudio setup is used. It can be worked around
> compile-time by simply not having libblc installed - which makes Elisa "fall
> back" to QtMultimedia - which seems to work just fine.
> 
> VLC has the exact same problem if it's playing to a local PulseAudio
> instance which has a remote sink on another machine as output. It's 100%
> reproducible in both elisa (when compiled with libvlc) and VLC. 
> 
> This bug can simply be closed if Rainer Finke is using a similar setup and
> Elisa is/was compiled against libvlc.

Thanks a lot for the information.

Did you already reported it to VLC project ?
Comment 5 Nate Graham 2020-11-11 05:14:57 UTC
Rainier, were you using a networked pulseaudio and/or the VLC backend?
Comment 6 Rainer Finke 2020-11-11 22:48:44 UTC
Nate, I remember that I've used the vlc backend in the past, but not exactly when I switched to gstreamer to use pipewire on Wayland. So I can only assume that this might have been the issue. Just now I've compiled Elisa-git and playback was fine. I propose to close this bug.