Kamoso crashes without sudo

I use Fedora 43, KDE Plasma 6.5.3. I installed latest Kamoso from Fedora Package Manager (rpm based dnf), but after I launch it as usual, it doesnt work and soon, it crashes. Whenever I use sudo, it works fine.

Here is the log error:
”gst_object_unref: assertion ‘object != NULL’ failed
error: “../ext/qt6/gstqml6glsink.cc(367): gst_qml6_gl_sink_change_state (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/GstBin:viewfinder/GstQml6GLSink:videosink”

Oh, that’s not good. You shouldn’t be running GUI applications with sudo at all…

Search reveals some Fedora issues with gstreamer plugin conflicts - like Third-party plugins (gstreamer1-plugins-bad-freeworld) so removing that might solve the conflict… then on Fedora 43 there was an issue which led people to downgrade kf6-runner.

Also, you should ensure you’re fully updated… and you shouldn’t run GUI apps as sudo… because now you’re at risk of having created additional file permission issues in your home directory…

You have simply masked the symptom - a completely different environment with full system access. A better idea would have been to create a new USER and tried it there.

Also, when Kamoso runs as root, any config or cache files are owned by root - so your regular user account can’t modify or delete those files later… and if that’s so, then Kamoso wouldn’t work now even with a proper fix.

So you need to check for any root-owned files in common KDE and Kamoso dirctories… something like this might be useful:

sudo find $HOME/.config $HOME/.cache $HOME/.local/share -user root -name "*kamoso*" -o -name "*Kamoso*"

I have created a new one and tested it by simply launching from app icon, yet it crashed a short while later…

And there seems no root owned files for Kamoso…

Bug: https://bugs.kde.org/show_bug.cgi?id=513544

Seems it will get fixed soon, there is a merge request already.

1 Like

I can confirm that this is the case on my system as well. I am on Fedora 43 KDE edition and Kamoso crashes when run from the .desktop file for sure. It does work with sudo, I hope we can get this working. I have gone through some of the hoops such as using RPM Fusion to installed the full version of FFMPEG and all the steps as outlined in RPM Fusion’s help pages.

I have never had Kamoso working on Fedora, but it did function with my exact machine and KDE under CacnyOS…not sure what packages are not able to be installed on Fedora if that is the problem.

Thanks and I hope this can be fixed.