SUMMARY Fresh Fedora 35 KDE install, Haruna from Flatpak stutter and is basically unusable STEPS TO REPRODUCE 1. Install Haruna from Flatpak 2. Play any .mp4 file OBSERVED RESULT The whole application is laggy and the video played is so slow that is impossible to watch EXPECTED RESULT Video plays normally and the whole app (i.e. settings or interacting with any element) should work normally SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 35 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90 Qt Version: 5.15.2
Created attachment 147042 [details] haruna - idle Sometime i've face this issue too, so i confirm that but my main issue is haruna use high resouces on gpu render and cpu usage even on idle (just open haruna without open anyfile) and when i test it to play 360p video sometime make aplication very laggy and almost resonsive. This affect both in x11 and wayland session. Here i don't use haruna from flatpak but native archlinux package build from aur/haruna-git. To be honest i've found this issue since my first time use haruna a year ago since version 0.6.x and i also remember before it moved to invent kde repo, so hopefully this issue can fixed soon. Software Operating System: Arch Linux KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.10-zen1-1-zen (64-bit) Graphics Platform: X11 Hardware Processors: 4 × Intel® Core™ i3-2370M CPU @ 2.40GHz Memory: 5.7 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 3000
Created attachment 147043 [details] haruna - playing 360p video with hardware decoding enabled
(In reply to giuseppe from comment #0) Have you used it before, other distro or package? Wayland or X11? What resolution is the file you are trying to play? What is your hardware CPU, GPU (if nvidia which drivers)? It doesn't work to well on low end hardware https://bugs.kde.org/show_bug.cgi?id=442132 I'm also using the flatpak version and it works without problems.
(In reply to Wachid Adi Nugroho from comment #1) Can't reproduce on my system. I left it open for a day and it's using ~500 MB of RAM and 0.2% CPU, with a full hd file loaded. Is the interface (like opening the playlist) laggy too or just the video?
(In reply to george fb from comment #4) > (In reply to Wachid Adi Nugroho from comment #1) I don't have issue with ram usage it use around 100 MiB and i think it's normal but my issue is with the suspicious high gpu render even when i don't play anything (just open the haruna app). Could it problem with the kirigami framework? I'm monitoring it use `intel_gpu_top` since i use intel gpu, if you use different card maybe use one of this: `nvidia-smi`, `nvidia-settings`, `nvtop`, `aticonfig`, `radeontop`. https://rk.edu.pl/en/monitoring-amd-intel-and-nvidia-graphics-card-usage-under-linux/ https://www.cyberciti.biz/open-source/command-line-hacks/linux-gpu-monitoring-and-diagnostic-commands/ Lagging on the interface just happen sometimes, but when playing video it must happen (the video not the interface)
Git commit 8940fae382e7fd50fc61572bb8c8362bac0c98a9 by George Florea Bănuș. Committed on 25/02/2022 at 17:35. Pushed by georgefb into branch 'master'. fix: don't run animation when component is hidden M +1 -1 src/qml/MpvVideo.qml https://invent.kde.org/multimedia/haruna/commit/8940fae382e7fd50fc61572bb8c8362bac0c98a9
(In reply to Wachid Adi Nugroho from comment #5) I pushed a commit that should fix your "high resources on gpu render and cpu usage on idle" problem. If you can compile from source please test it.
(In reply to george fb from comment #7) > (In reply to Wachid Adi Nugroho from comment #5) Just test it, thanks it's fixed the high gpu render issue on idle but when playing video high gpu render issue still there, for the comparison: mpv : render3d 4% power 0.5 Watt haruna : render3d 8% power 3.5 Watt that's a huge difference, 7 times on power consumption.
(In reply to george fb from comment #3) Sorry I thought it was more common and not really hardware dependent. > (In reply to giuseppe from comment #0) > > Have you used it before, other distro or package? Wayland or X11? I used it a lot before without any problems. I've always used it in Wayland either in Manjaro and in Fedora, in Manjaro from Aur and in Fedora Flatpak (current situation). Always worked until some weeks before I posted the bug report. > What resolution is the file you are trying to play? What is your hardware The file i try to play is an .mp4 at 512 x 384 but also other files. > CPU, GPU (if nvidia which drivers)? CPU: intel core i7 1065g7 with integrated Iris Plus graphic > It doesn't work to well on low end hardware > https://bugs.kde.org/show_bug.cgi?id=442132 > > I'm also using the flatpak version and it works without problems. I tried to delete haruna cache and config in ~/.var/app/org.kde.haruna also tried to reinstall the Flatpak but nothing worked. Even if I just open Haruna with no video the whole app is slow
If it only happens to the flatpak version try to install a previous version. First run `flatpak remote-info --log flathub org.kde.haruna` then `sudo flatpak update --commit=commit_id org.kde.haruna`, replace commit_id with the actual commit id returned in first command. Try a few different versions. https://unix.stackexchange.com/questions/552688/is-it-possible-to-roll-back-a-flatpak-update
(In reply to george fb from comment #10) Commit: 660b69c738c735882e4e710f9dcf7d061df2afe85e3ef119706cfb659bbb888a Subject: Fix icon (00fdaa32) Date: 2021-12-13 04:36:43 +0000 Result: laggy and slow interface and video Commit: f1fdadab1552454a078cb0f7ee80d8532c86eb8b44f3b1d64f791980e0403edd Subject: Update mpv and yt-dlp (b1629295) Date: 2021-11-22 14:26:01 +0000 Result: no icon, not opening Commit: d40f0869950b1f32de950ba47278865713cf6d97ed4ad8fbb1c1f6959e6ae89d Subject: Update Haruna to 0.7.3 (863e4f83) Date: 2021-11-03 19:25:24 +0000 Result: no icon, not opening Commit: 2ab077fcc0b674ca764cf53e39439f418dcc16461dd8ea052c36f0704a87708a Subject: Update to 0.7.2 (09263d32) Date: 2021-09-29 07:48:21 +0000 Result: works fine Commit: a07e4e2d44123d18fd8d06b131cfecc29b5de959e2c4d3182d25b8ae6103836a Subject: Update to 0.7.1 (4b460b00) Date: 2021-09-16 16:39:25 +0000 Result: works fine To be honest I remember it clearly working on my hardware and with Fedora after the update that brought back the missing icon. It can actually be a problem that it doesn't play nice with other flatpak runtimes?
I just tried with the beta version. So this one works, but the icon is missing again, even after a reboot.
The beta wasn't updated in a while. I updated it now to the latest commit and should be available in maximum 1 hour. I'll install Fedora on my Intel PC and check if I can reproduce your issues there.
Tested on Fedora and the stable version had indeed issues, but the beta seems fine. Please test yourself and let me know.
(In reply to george fb from comment #14) Can confirm the beta is working as expected now. I wonder why this wasn't reported earlier since I don't think it's an uncommon hardware/software setup
(In reply to Wachid Adi Nugroho from comment #8) > > Just test it, thanks it's fixed the high gpu render issue on idle but when > playing video high gpu render issue still there, for the comparison: > mpv : render3d 4% power 0.5 Watt > haruna : render3d 8% power 3.5 Watt > that's a huge difference, 7 times on power consumption. Please open a new bug and post your mpv and haruna configs (check so they dont contain any personal data, like file names and paths).
(In reply to giuseppe from comment #15) > (In reply to george fb from comment #14) > Can confirm the beta is working as expected now. I wonder why this wasn't > reported earlier since I don't think it's an uncommon hardware/software setup Maybe they didn't care to report it and just used something else. Also it doesn't happen on all distros. Anyway, a new version should come soon.