Created attachment 184148 [details] Valgrind log file SUMMARY In Debian 13 (Trixie) with Kde Plasma running default Wayland and proprietary latest Nvidia drivers SubtitleComposer does not start. STEPS TO REPRODUCE 1. Open a terminal 2. Run: subtitlecomposer 3. See the error OBSERVED RESULT Crashes before opening the window. EXPECTED RESULT SubtitleComposer opened. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: 6.3.6 KDE Frameworks Version: 6.13.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION Debian: 13 (Trixie) Kernel: 6.12.41+deb13-amd64 Nvidia Driver version: 580.76.05 ERROR valgrind -s --log-file=subtitlecomposer.log subtitlecomposer GL API: OpenGL Desktop 4.6 (compiled for OpenGL Desktop) OpenGL version: 4.6.0 NVIDIA 580.76.05 GLSL version: 4.60 NVIDIA Loaded SpeechPlugin "PocketSphinx" from "/usr/lib/x86_64-linux-gnu/subtitlecomposer/pocketsphinxasr.so" wp_linux_drm_syncobj_surface_v1#123: error 4: explicit sync is used, but no acquire point is set The Wayland connection experienced a fatal error: Protocol error
I cannot reproduce it here. From stack trace it does seem to be a nvidia driver bug. Have you tried different nvidia driver version?
(In reply to Mladen Milinkovic, Max from comment #1) > I cannot reproduce it here. > From stack trace it does seem to be a nvidia driver bug. > Have you tried different nvidia driver version? Yes, downgraded to 570, but that has the same result/error. Are you sure it is not a Wayland issue? "The Wayland connection experienced a fatal error: Protocol error"
There are some wayland related fixes in subtitlecomposer on master branch. Can you try subtitlecomposer-git or appimage from here: https://subtitlecomposer.kde.org/download.html
(In reply to Mladen Milinkovic, Max from comment #3) > There are some wayland related fixes in subtitlecomposer on master branch. > Can you try subtitlecomposer-git or appimage from here: > https://subtitlecomposer.kde.org/download.html On Debian 13 AppImage does not start: arjen@solydxk-main:~/Downloads$ chmod +x subtitlecomposer-git-latest-x86_64.AppImage arjen@solydxk-main:~/Downloads$ ./subtitlecomposer-git-latest-x86_64.AppImage open dir error: No such file or directory Building from source: https://invent.kde.org/multimedia/subtitlecomposer/-/wikis/Building-from-sources I installed the packages listed under "Ubuntu Hirsuite". Then followed the build instructions which ended in: [ 96%] Building CXX object src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o /home/arjen/subtitlecomposer/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp: In member function ‘void SubtitleComposer::PocketSphinxPlugin::processUtterance()’: /home/arjen/subtitlecomposer/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:104:37: error: too many arguments to function ‘ps_seg_t* ps_seg_iter(ps_decoder_t*)’ 104 | ps_seg_t *iter = ps_seg_iter(m_psDecoder, nullptr); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/arjen/subtitlecomposer/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:14: /usr/include/pocketsphinx/pocketsphinx.h:451:11: note: declared here 451 | ps_seg_t *ps_seg_iter(ps_decoder_t *ps); | ^~~~~~~~~~~ make[2]: *** [src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/build.make:130: src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2189: src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
try building without pocketsphinx.. it expects a specific version
(In reply to arjenbalfoort from comment #4) > (In reply to Mladen Milinkovic, Max from comment #3) > > There are some wayland related fixes in subtitlecomposer on master branch. > > Can you try subtitlecomposer-git or appimage from here: > > https://subtitlecomposer.kde.org/download.html > > On Debian 13 > AppImage does not start: > arjen@solydxk-main:~/Downloads$ chmod +x > subtitlecomposer-git-latest-x86_64.AppImage > arjen@solydxk-main:~/Downloads$ ./subtitlecomposer-git-latest-x86_64.AppImage > open dir error: No such file or directory Also AppImage should be good again, for some reason the build system started making broken appimages.
I skipped step 4. Build/install pocketsphinx and it built just fine. Step 8. To add it to (KDE) start menu, finder and file associations needs to be adapted, though: Change $scpath/share/applications/subtitlecomposer.desktop to: $scpath/share/applications/org.kde.subtitlecomposer.desktop After that, Subtitle Composer starts and functions as expected. I also checked the new AppImage. That too starts now and functions as expected. Thanks for your work and hopefully there will be an update in the debian repo soon.
New release is planned in a week or so, debian will probably pick it up soon. Thanks for the report!