FS#76114 - [jami-qt] Jami missing qt6-shadertools required dependency

Attached to Project: Community Packages
Opened by Agorgianitis Loukas (agorg_louk) - Wednesday, 05 October 2022, 07:38 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 16 May 2023, 21:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:

Package `qt6-shadertools` is now required for jami windowing system to operate:

Oct 05 10:32:34 laptop jami-qt[54914]: Cannot find dbus interface for screen saver
Oct 05 10:32:34 laptop jami-qt[54914]: Can't update current account info data for ""
Oct 05 10:32:34 laptop jami-qt[54914]: QQmlApplicationEngine failed to load component
Oct 05 10:32:34 laptop jami-qt[54914]: qrc:/src/app/MainApplicationWindow.qml:108:5: Type DaemonReconnectPopup unavailable
Oct 05 10:32:34 laptop jami-qt[54914]: qrc:/src/app/commoncomponents/DaemonReconnectPopup.qml:26:1: Type BaseModalDialog unavailable
Oct 05 10:32:34 laptop jami-qt[54914]: qrc:/src/app/commoncomponents/BaseModalDialog.qml:109:5: Type DropShadow unavailable
Oct 05 10:32:34 laptop jami-qt[54914]: qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/DropShadow.qml:6:1: Cannot load library /usr/lib/qt6/qml/Qt5Compat/GraphicalEffects/private/libqtgraphicaleffectsprivateplugin.so: (libQt6ShaderTools.so.6: cannot open shared object file: No such file or directory)
Oct 05 10:32:34 laptop jami-qt[54914]: Main window loaded using OpenGLRhi
Oct 05 10:32:34 laptop jami-qt[54914]: NetworkManager client initialized, version: , daemon running: yes , networking enabled: no
Oct 05 10:32:34 laptop jami-qt[54914]: no primary network connection detected, check network settings

Please add it as a dependency to `jami-qt` package.

Additional info:
Version: jami-qt 20220726-1
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 16 May 2023, 21:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  jami-qt 20230323-2
Comment by Vladimir Stoiakin (VStoiakin) - Sunday, 09 October 2022, 19:24 GMT
Missing libQt6ShaderTools.so is the issue of Qt6 packaging, not Jami (qt6-5compat depends on it).
But even with qt6-shadertools installed, Jami still hangs with this stacktrace:
```
#0 0x00007fffeaecfc0f in ioctl () at /usr/lib/libc.so.6
#1 0x00007fff656f0523 in () at /usr/lib/qt6/plugins/multimedia/libffmpegmediaplugin.so
#2 0x00007fff656e2971 in () at /usr/lib/qt6/plugins/multimedia/libffmpegmediaplugin.so
#3 0x00007ffff7541c10 in QPlatformMediaIntegration::instance() () at /usr/lib/libQt6Multimedia.so.6
#4 0x00007ffff7550691 in QVideoSink::QVideoSink(QObject*) () at /usr/lib/libQt6Multimedia.so.6
#5 0x00007fff67bcb646 in QQuickVideoOutput::QQuickVideoOutput(QQuickItem*) () at /usr/lib/libQt6MultimediaQuick.so.6
#6 0x00007fff67bd86b0 in () at /usr/lib/libQt6MultimediaQuick.so.6
#7 0x00007fffed6e3d20 in QQmlType::create(void**, unsigned long) const () at /usr/lib/libQt6Qml.so.6
...
```
Can anyone confirm that qt6-multimedia with ffmpeg backend works?

EDIT: With qt6-multimedia-gstreamer Jami works fine.
EDIT2: qt6-multimedia-ffmpeg also works on different hardware.
EDIT3: qt6-multimedia-ffmpeg is fixed upstream with commit 8897d36de57db3ce9d75fbd87bcec96bbbd4d69f.
Comment by Antonio Rojas (arojas) - Sunday, 09 October 2022, 20:06 GMT
Added qt6-shadertools as an optdepend of qt6-5compat 6.4.0-2 (it's only needed for qtgraphicaleffects). If jami doesn't work without it, it should be added as a hard dependency of it.
Comment by Madeorsk (Madeorsk) - Sunday, 12 March 2023, 12:21 GMT
Is there any reason why qt6-shadertools is still not a dependency of jami-qt? jami-qt does not work correctly without it.
Comment by Rushab Shah (DroidFreak32) - Friday, 24 March 2023, 20:02 GMT
Yes, it is a hard dependency. The GUI does not show up only the tray icon works :)
Comment by riveravaldez (riveravaldez) - Monday, 08 May 2023, 09:58 GMT
Hi, I can confirm that jami-qt (20230323-1) doesn't starts at all without qt6-shadertools (6.5.0-2), in fact, it produces a segfault. Once qt6-shadertools is installed, Jami works fine. I guess this could be mentioned in some place? Right now I was able to find this info only here and there:
https://bbs.archlinux.org/viewtopic.php?id=280438
Thanks a lot, kind regards!

Comment by Charles Leclerc (SCMouettE) - Friday, 12 May 2023, 16:14 GMT
I can confirm this behaviour too.

Loading...