Summary: | Videos show with ~5fps at 200% CPU, while same video on VLC is absolutely smooth | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Jens <jens-bugs.kde.org> |
Component: | Preview-Video | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version First Reported In: | 8.5.0 | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jens
2024-09-09 21:35:11 UTC
Can you share a video sample to test. Please use a cloud storage link. @Jens, are you using Wayland? Maik Wayland, yes. I just noticed, the -Qt5 version does not have this problem. Only the Qt6 build. Can you please post a log of the terminal if you play a video with the QT6 version of the Appimage? -------------------------------------------------------------------- export QT_LOGGING_RULES="digikam*=true" digikam -------------------------------------------------------------------- Maik Git commit 9a74e01d09819894241f10816ec8af14d8b479c1 by Maik Qualmann. Committed on 15/09/2024 at 09:42. Pushed by mqualmann into branch 'master'. always assign a video backend to environment variable And make the video backend platform dependent selectable in the setup. Related: bug 487031 M +9 -5 core/app/main/main.cpp M +9 -5 core/showfoto/main/main.cpp M +12 -2 core/utilities/setup/misc/systemsettings.cpp M +6 -1 core/utilities/setup/misc/systemsettings.h M +42 -5 core/utilities/setup/misc/systemsettingswidget.cpp https://invent.kde.org/graphics/digikam/-/commit/9a74e01d09819894241f10816ec8af14d8b479c1 The current Qt6 build shows endless logs of this: ~$ AppImageLauncher Applications/digiKam-8.5.0-20241007T160120-Qt6-x86-64_f4331584cdcf464b3296f3d9d04047f0.appimage ERROR: appimage_shall_not_be_integrated : Entry doesn't exists: org.kde.digikam.desktop AppImageLauncher error: appimage_shall_not_be_integrated() failed (returned -1) ERROR: appimage_is_terminal_app : Entry doesn't exists: org.kde.digikam.desktop AppImageLauncher error: appimage_is_terminal_app() failed (returned -1) -- digiKam Linux AppImage Bundle -- Use 'help' as CLI argument to know all available options for digiKam application. -- Notes: to integrate this bundle to your desktop, use AppImageLauncher. -- to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'. -- to extract the bundle contents locally, use option '--appimage-extract' on the command line. -- Detected host Linux neon-64-22.4 -- AppImage mounted directory: /tmp/.mount_digiKaQvIlPj Check library libudev.so.0 Check library libxcb-dri3.so.0 Check library libcrypto.so.1.1 Check library libssl.so.1.1 Check library libnss3.so Check library libnssutil3.so Check library libsmime3.so Check library libgmodule-2.0.so.0 Check library libgnutls.so.30 Check library libnettle.so.8 -- Preloading shared libs: :/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/libnss3.so:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-linux-gnu/libsmime3.so:/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0:/usr/lib/x86_64-linux-gnu/libgnutls.so.30:/usr/lib/x86_64-linux-gnu/libnettle.so.8 unknown: Could not find the Qt platform plugin "wayland" in "" unknown: Could not create image from "/media/250gb/valokuvat/Syksy 02-09-05 Kuusamo, inkavaaralla luonnonpuistossa suomen komeimman kosken kuvaamista/img_5766_4.jpg" unknown: Could not create image from "/media/250gb/valokuvat/Syksy 02-09-05 Kuusamo, inkavaaralla luonnonpuistossa suomen komeimman kosken kuvaamista/img_5766_4.jpg" unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) unknown: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) unknown: Sonnet: No speller backends available! unknown: Unhandled container to remove : Digikam::DigikamApp [swscaler @ 0x7ed67c004800] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67c04dc00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc74a00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed5a4000040] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc68c00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc68c00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc68c00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc68c00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc68c00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc68c00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc688c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc688c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069380] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc54b40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc54b40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc61b00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069380] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f076340] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f076340] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f076340] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f076340] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc528c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc528c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc88f80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67c04dc00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069100] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f0760c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f0760c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f0760c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f0760c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f094000] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069100] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069100] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f0760c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f0760c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f083080] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dd00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc6acc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069100] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f093f40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f0a0f00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dc00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dc00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dc00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dbc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dbc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dbc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dbc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dbc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc72400] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069100] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dbc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5dbc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc6ab80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed5a4000040] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069100] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc634c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc70500] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc70500] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc70500] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67c04dc00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67f069100] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc41cc0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc4ec80] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67cc5bc40] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67c04dc00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x7ed67c04dc00] deprecated pixel format used, make sure you did set range correctly The "deprecated pixel format used" messages are not part of the problem. I have not been able to reproduce the problem on any system so far. We will see if the problem is fixed in future Qt versions. Maik Qt 6.8.0 is out and i'm mostly ready to rebuild the Full AppImage with it. Perhaps tomorrow if time permit. Gilles Git commit cb0bd378009a9793afeb7ac804def1d7ad93942f by Maik Qualmann. Committed on 23/11/2024 at 07:40. Pushed by mqualmann into branch 'master'. add option to disable video hardware acceleration Related: bug 496484, bug 493988, bug 492060 M +13 -4 core/app/main/main.cpp M +4 -14 core/utilities/setup/misc/systemsettings.cpp M +2 -7 core/utilities/setup/misc/systemsettings.h M +10 -28 core/utilities/setup/misc/systemsettingswidget.cpp https://invent.kde.org/graphics/digikam/-/commit/cb0bd378009a9793afeb7ac804def1d7ad93942f Hi Jens, The new AppImage bundle 8.7.0 pre-release for Linux based on Qt 6.8.3 is online at usual place : https://files.kde.org/digikam/ Let's me know if the problem remain. Best regards Gilles Caulier Hi Jens, The current 8.8.0 AppImage bundle have been build with Qt 6.9.1 and ffmpeg 7.1: https://files.kde.org/digikam/ Please test if the problem is reproducible. Thanks in advance Gilles Caulier FHD movies now play fluently with the last update (updated today) but 4K movies still have 1-3fps frame rate. Both movies play fluently with VLC on the same computer. Which settings did you have in DK/Setup/Miscs/System page: - video hardware acceleration - video texture conversion - Decoding backend https://docs.digikam.org/en/setup_application/miscs_settings.html#system-settings Best regards Gilles Caulier I tried all permutations of them (on/off and GStreamer/FFmpeg). In any case, Digikam consumes all 4 cores with 100% CPU in all cases and has ~3fps with 4K media. VLC shows the same movie totally fluently with ~50% CPU load (this is on an Intel i5-4570 system). Firefox too. Sorry, I forgot to restart Digikam between settings changes. Here's the correction: - With hardware accel & texture conversion on, FFMpeg backend gets 3fps, GStreamer doesn't even start the video. - With harware accel & texture conversion off, the same behaviour. |