[digiKam-users] Digikam 7.7.0 Linux: NO SOUND when playing video's

Maik Qualmann metzpinguin at gmail.com
Sat Jul 2 05:38:21 BST 2022


Gilles,

If the media player widget is created with the QtAV player in the stacked 
view, the audio device was closed. This worked fine on Windows and here with 
Pulse Audio. Closing the audio device does not seem to work with other sound 
systems under Linux or MacOS. The old state with the audio device open has now 
been restored. Alternatively, we would only have to create the QtAV player 
when entering the stacked view and delete it again when leaving.

Maik

Am Freitag, 1. Juli 2022, 18:07:33 CEST schrieb Gilles Caulier:
> Maik,
> 
> There is a problem also under MacOS. If i use 7.7.0, VLC or Youtube
> under FireFox is not able to play video. Rebooting the system fix the
> problem. If i do not start digiKam before VLC and you tube work as
> expected.
> 
> The digiKam session does not do anything with video. I just launched
> the icon-view (with no video thumbs), and stopped digiKam norally.
> 
> Sounds like the init of QtAV is the problem.
> 
> Gilles
> 
> Le jeu. 30 juin 2022 à 10:35, erik 33 <erik33 at gmail.com> a écrit :
> > Hello Giles,
> > 
> > I have here the debug output for BOTH versions of Digikam.
> > 
> > I activated the debug trace: export QT_LOGGING_RULES="digikam*=true"
> > and then run the debug app image: digiKam-7.7.0-x86-64-debug.appimage
> > 
> > I played a video file and then stopped Digikam
> > Here is the output:
> > 
> > DIGIKAM 7.7.0: (NO SOUND)
> > 
> > $ ./digiKam-7.7.0-x86-64-debug.appimage
> > 
> > qt5ct: using qt5ct plugin
> > 
> > (AppImageLauncher:6230): GLib-CRITICAL **: 10:11:58.551: g_file_test:
> > assertion 'filename != NULL' failed -- 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"'. 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 libpango-1.0.so.0
> > Check library libpangocairo-1.0.so.0
> > Check library libgmodule-2.0.so.0
> > -- Preloading shared libs:
> > :/tmp/.mount_digiKauggQYn/usr/lib/libavif.so.13:/usr/lib/x86_64-linux-gnu
> > /libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1:/usr/lib/x86_
> > 64-linux-gnu/libssl.so.1.1:/usr/lib/x86_64-linux-gnu/libnss3.so:/usr/lib/x
> > 86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-linux-gnu/libsmime3.so:/usr
> > /lib/x86_64-linux-gnu/libpango-1.0.so.0:/usr/lib/x86_64-linux-gnu/libpango
> > cairo-1.0.so.0:/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
> > [0630/101208.779019:WARNING:resource_bundle_qt.cpp(119)]
> > locale_file_path.empty() for locale
> > [0630/101208.813395:WARNING:resource_bundle_qt.cpp(119)]
> > locale_file_path.empty() for locale
> > [0630/101208.813414:WARNING:resource_bundle_qt.cpp(119)]
> > locale_file_path.empty() for locale QtAV 1.13.0(Jun 21 2022, 13:37:45)
> > Multimedia framework base on Qt and FFmpeg.
> > Distributed under the terms of LGPLv2.1 or later.
> > Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang)
> > wbsecg1 at gmail.com Donate: http://qtav.org/donate.html
> > Source: https://github.com/wang-bin/QtAV
> > Home page: http://qtav.org
> > unknown: Unhandled container to remove :  Digikam::DigikamApp
> > QThreadStorage: Thread 0x57641a0 exited after QThreadStorage 14 destroyed
> > QThreadStorage: Thread 0x57641a0 exited after QThreadStorage 11 destroyed
> > QThreadStorage: Thread 0x5764200 exited after QThreadStorage 14 destroyed
> > QThreadStorage: Thread 0x5764200 exited after QThreadStorage 11 destroyed
> > QThreadStorage: Thread 0x4fda2a0 exited after QThreadStorage 14 destroyed
> > QThreadStorage: Thread 0x4fda2a0 exited after QThreadStorage 11 destroyed
> > 
> > DIGIKAM 7.6.0: (WORKING SOUND)
> > $ ./digiKam-7.6.0-x86-64-debug.appimage
> > 
> > qt5ct: using qt5ct plugin
> > 
> > (AppImageLauncher:7295): GLib-CRITICAL **: 10:18:29.838: g_file_test:
> > assertion 'filename != NULL' failed -- 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"'. 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
> > -- Preloading shared libs:
> > :/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/lib
> > crypto.so.1.1:/usr/lib/x86_64-linux-gnu/libssl.so.1.1:/usr/lib/x86_64-linu
> > x-gnu/libnss3.so:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-
> > linux-gnu/libsmime3.so
> > [0630/101835.015999:WARNING:resource_bundle_qt.cpp(119)]
> > locale_file_path.empty() for locale
> > [0630/101835.050507:WARNING:resource_bundle_qt.cpp(119)]
> > locale_file_path.empty() for locale
> > [0630/101835.050518:WARNING:resource_bundle_qt.cpp(119)]
> > locale_file_path.empty() for locale QtAV 1.13.0(Jan 25 2022, 12:15:42)
> > Multimedia framework base on Qt and FFmpeg.
> > Distributed under the terms of LGPLv2.1 or later.
> > Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang)
> > wbsecg1 at gmail.com Donate: http://qtav.org/donate.html
> > Source: https://github.com/wang-bin/QtAV
> > Home page: http://qtav.org
> > unknown: Unhandled container to remove :  Digikam::DigikamApp
> > 
> > On Wed, Jun 29, 2022 at 8:03 PM Gilles Caulier <caulier.gilles at gmail.com> 
wrote:
> >> Hi,
> >> 
> >> Between 7.6.0 and 7.7.0, there is no major difference to play video.
> >> 
> >> Run digiKam from a console with the debug trace enabled as explained here
> >> :
> >> 
> >> https://www.digikam.org/contribute/
> >> 
> >> ... and report the console report from application here.
> >> 
> >> Q: did you use appimage linux bundle ?
> >> 
> >> Best
> >> 
> >> Gilles Caulier
> >> 
> >> Le mer. 29 juin 2022 à 17:13, erik 33 <erik33 at gmail.com> a écrit :
> >> > Hi all,
> >> > 
> >> > When using Digikam 7.7.0 I et no sound when playing video's in the
> >> > preview and fullscreen mode. When I launch 7.6.0 sound is OK.
> >> > 
> >> > Is this a bug?
> >> > 
> >> > Erik
> >> > 
> >> > 
> >> > 
> >> > [code]
> >> > System:    Kernel: 5.4.0-121-generic x86_64 bits: 64 compiler: gcc v:
> >> > 9.4.0
> >> > 
> >> >            Desktop: Cinnamon 5.0.7 wm: muffin dm: LightDM Distro: Linux
> >> >            Mint 20.2 Uma
> >> >            base: Ubuntu 20.04 focal
> >> > 
> >> > Machine:   Type: Desktop Mobo: Gigabyte model: Z490 AORUS ELITE AC v:
> >> > x.x serial: <filter>>> > 
> >> >            UEFI: American Megatrends v: F2 date: 03/25/2020
> >> > 
> >> > CPU:       Topology: 8-Core model: Intel Core i7-10700K bits: 64 type:
> >> > MT MCP arch: N/A>> > 
> >> >            L2 cache: 16.0 MiB
> >> >            flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
> >> >            vmx bogomips: 121596 Speed: 4917 MHz min/max: 800/5100 MHz
> >> >            Core speeds (MHz): 1: 4845 2: 4902 3: 4885 4: 4998 5: 4892
> >> >            6: 4844 7: 4974 8: 4995 9: 4887 10: 4901 11: 4839 12: 4908
> >> >            13: 4845 14: 4901 15: 4976 16: 4838
> >> > 
> >> > Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star
> >> > MSI driver: nvidia>> > 
> >> >            v: 470.129.06 bus ID: 02:00.0 chip ID: 10de:128b
> >> >            Display: x11 server: X.Org 1.20.13 driver: nvidia
> >> >            unloaded: fbdev,modesetting,nouveau,vesa resolution:
> >> >            1920x1200~60Hz
> >> >            OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2 v: 4.6.0
> >> >            NVIDIA 470.129.06 direct render: Yes
> >> > 
> >> > Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Gigabyte driver:
> >> > snd_hda_intel v: kernel>> > 
> >> >            bus ID: 00:1f.3 chip ID: 8086:06c8
> >> >            Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Micro-Star MSI
> >> >            driver: snd_hda_intel v: kernel bus ID: 02:00.1 chip ID:
> >> >            10de:0e0f
> >> >            Sound Server: ALSA v: k5.4.0-121-generic
> >> > 
> >> > Network:   Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus
> >> > ID: 00:14.3>> > 
> >> >            chip ID: 8086:06f0
> >> >            IF: wlo1 state: down mac: <filter>
> >> >            Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver:
> >> >            r8125 v: 9.005.06-NAPI port: 3000 bus ID: 04:00.0 chip ID:
> >> >            10ec:8125
> >> >            IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac:
> >> >            <filter>
> >> > 
> >> > Drives:    Local Storage: total: 946.36 GiB used: 302.06 GiB (31.9%)
> >> > 
> >> >            ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB
> >> >            size: 465.76 GiB
> >> >            speed: 6.0 Gb/s serial: <filter>
> >> >            ID-2: /dev/sdb vendor: Samsung model: SSD 870 EVO 500GB
> >> >            size: 465.76 GiB
> >> >            speed: 6.0 Gb/s serial: <filter>
> >> >            ID-3: /dev/sdc type: USB vendor: Generic model: STORAGE
> >> >            DEVICE size: 14.84 GiB serial: <filter>
> >> > 
> >> > Partition: ID-1: / size: 38.18 GiB used: 27.84 GiB (72.9%) fs: ext4
> >> > dev: /dev/sda2>> > 
> >> >            ID-2: /home size: 334.58 GiB used: 195.36 GiB (58.4%) fs:
> >> >            ext4 dev: /dev/sda5>> > 
> >> > USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0
> >> > chip ID: 1d6b:0002>> > 
> >> >            Hub: 1-3:2 info: Microchip (formerly SMSC) USB 2.0 Hub
> >> >            ports: 4 rev: 2.0
> >> >            chip ID: 0424:2514
> >> >            Device-1: 1-5:3 info: Arduino SA Arduino Micro type:
> >> >            Abstract (modem),CDC-Data,HID driver:
> >> >            cdc_acm,hid-generic,usbhid rev: 2.0 chip ID: 2341:8037
> >> >            Device-2: 1-7:4 info: Yubicom Yubikey 4 OTP+U2F+CCID type:
> >> >            Keyboard,HID,Smart Card driver: hid-generic,usbhid rev: 2.0
> >> >            chip ID: 1050:0407
> >> >            Hub: 1-11:5 info: Genesys Logic Hub ports: 4 rev: 2.0 chip
> >> >            ID: 05e3:0608
> >> >            Device-3: 1-11.1:7 info: Microsoft Optical Mouse type: Mouse
> >> >            driver: hid-generic,usbhid rev: 1.1 chip ID: 045e:0053
> >> >            Device-4: 1-11.2:9 info: Logitech UltraX Keyboard (Y-BL49)
> >> >            type: Keyboard,HID driver: hid-generic,usbhid rev: 1.1 chip
> >> >            ID: 046d:c30e
> >> >            Device-5: 1-11.3:11 info: Genesys Logic Logilink CR0012
> >> >            type: Mass Storage
> >> >            driver: usb-storage rev: 2.0 chip ID: 05e3:0745
> >> >            Device-6: 1-11.4:12 info: Wacom CTL-490 [Intuos Draw (S)]
> >> >            type: HID,Mouse
> >> >            driver: usbhid,wacom rev: 2.0 chip ID: 056a:033b
> >> >            Device-7: 1-12:6 info: Integrated Express ITE Device type:
> >> >            HID
> >> >            driver: hid-generic,usbhid rev: 2.0 chip ID: 048d:5702
> >> >            Hub: 1-13:8 info: Genesys Logic Hub ports: 4 rev: 2.0 chip
> >> >            ID: 05e3:0608
> >> >            Device-8: 1-14:10 info: Intel type: Bluetooth driver: btusb
> >> >            rev: 2.0 chip ID: 8087:0aaa Hub: 2-0:1 info: Full speed (or
> >> >            root) Hub ports: 10 rev: 3.1 chip ID: 1d6b:0003>> > 
> >> > Sensors:   System Temperatures: cpu: 45.0 C mobo: 27.8 C gpu: nvidia
> >> > temp: 61 C>> > 
> >> >            Fan Speeds (RPM): N/A gpu: nvidia fan: 51%
> >> > 
> >> > Repos:     No active apt repos in: /etc/apt/sources.list
> >> > stable main
> >> > 
> >> >            No active apt repos in:
> >> >            /etc/apt/sources.list.d/google-chrome.list
> >> >            Active apt repos in:
> >> >            /etc/apt/sources.list.d/inkscape_dev-stable-focal.list
> >> >            1: deb http: //ppa.launchpad.net/inkscape.dev/stable/ubuntu
> >> >            focal main
> >> >            Active apt repos in:
> >> >            /etc/apt/sources.list.d/kdenlive-kdenlive-stable-focal.list
> >> >            1: deb http:
> >> >            //ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu focal
> >> >            main Active apt repos in:
> >> >            /etc/apt/sources.list.d/kicad-kicad-6_0-releases-focal.list
> >> >            1: deb http:
> >> >            //ppa.launchpad.net/kicad/kicad-6.0-releases/ubuntu focal
> >> >            main Active apt repos in:
> >> >            /etc/apt/sources.list.d/lumas-photoqt-focal.list 1: deb
> >> >            http: //ppa.launchpad.net/lumas/photoqt/ubuntu focal main
> >> >            Active apt repos in:
> >> >            /etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-
> >> >            focal.list 1: deb http:
> >> >            //ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubun
> >> >            tu focal main Active apt repos in:
> >> >            /etc/apt/sources.list.d/official-package-repositories.list
> >> >            1: deb http:
> >> >            //ftp.nluug.nl/os/Linux/distr/linuxmint/packages uma main
> >> >            upstream import backport 2: deb http:
> >> >            //ubuntu.mirror.cambrium.nl/ubuntu focal main restricted
> >> >            universe multiverse 3: deb http:
> >> >            //ubuntu.mirror.cambrium.nl/ubuntu focal-updates main
> >> >            restricted universe multiverse 4: deb http:
> >> >            //ubuntu.mirror.cambrium.nl/ubuntu focal-backports main
> >> >            restricted universe multiverse 5: deb http:
> >> >            //security.ubuntu.com/ubuntu/ focal-security main
> >> >            restricted universe multiverse 6: deb http:
> >> >            //archive.canonical.com/ubuntu/ focal partner
> >> >            Active apt repos in:
> >> >            /etc/apt/sources.list.d/remmina-ppa-team-remmina-next-focal
> >> >            .list 1: deb http:
> >> >            //ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu
> >> >            focal main Active apt repos in:
> >> >            /etc/apt/sources.list.d/signal-xenial.list
> >> >            1: deb [arch=amd64
> >> >            signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg]
> >> >            https: //updates.signal.org/desktop/apt xenial main No
> >> >            active apt repos in: /etc/apt/sources.list.d/vscode.list
> >> > 
> >> > Info:      Processes: 413 Uptime: 14m Memory: 31.28 GiB used: 2.69 GiB
> >> > (8.6%) Init: systemd v: 245>> > 
> >> >            runlevel: 5 Compilers: gcc: 9.4.0 alt: 9 Client: Unknown
> >> >            python3.8 client inxi: 3.0.38>> > 
> >> > [/code]






More information about the Digikam-users mailing list