Bug 426433 - Kamoso doesn't use the webcam, black screen
Summary: Kamoso doesn't use the webcam, black screen
Status: RESOLVED FIXED
Alias: None
Product: kamoso
Classification: Applications
Component: general (show other bugs)
Version: 20.08
Platform: Manjaro Linux
: NOR critical
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-12 08:36 UTC by giuseppe
Modified: 2020-10-15 10:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giuseppe 2020-09-12 08:36:39 UTC
SUMMARY
After the update kamoso isn't working anymore. It opens with just a black background. The webcam is working fine in web browsers and telegram-desktop video calls. If I run kamoso with sudo it does use the webcam. If I run kamoso from terminal it gives this output: https://pastebin.com/pvYqrziZ

STEPS TO REPRODUCE
1. open a terminal
2. execute "kamoso"

OBSERVED RESULT
Output errors; kamoso start but it won't use the webcam

EXPECTED RESULT
kamoso start and use the webcam to take pictures

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 20.1, kernel 5.8.6
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Comment 1 Achmad Fathoni 2020-09-13 18:45:59 UTC
I suggest to revert to Kamoso 20.04 for temporary solution
Comment 2 giuseppe 2020-09-14 09:34:33 UTC
(In reply to Achmad Fathoni from comment #1)
> I suggest to revert to Kamoso 20.04 for temporary solution

Thank you, I just tried but even now kamoso gives the same output with a new error added at the end:

error debugMessage: No file name specified for reading.
error on: "filesrc location=\"\" ! decodebin ! imagefreeze ! videoconvert ! identity name=last" "../gstreamer/plugins/elements/gstfilesrc.c(524): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0"
error debugMessage: No file name specified for reading.
error on: "filesrc location=\"\" ! decodebin ! imagefreeze ! videoconvert ! bulge name=last" "../gstreamer/plugins/elements/gstfilesrc.c(524): gst_file_src_start (): /GstPipeline:pipeline1/GstFileSrc:filesrc1"
Comment 3 Achmad Fathoni 2020-09-14 18:00:09 UTC
(In reply to beglort95 from comment #2)
> (In reply to Achmad Fathoni from comment #1)
> > I suggest to revert to Kamoso 20.04 for temporary solution
> 
> Thank you, I just tried but even now kamoso gives the same output with a new
> error added at the end:
> 
> error debugMessage: No file name specified for reading.
> error on: "filesrc location=\"\" ! decodebin ! imagefreeze ! videoconvert !
> identity name=last" "../gstreamer/plugins/elements/gstfilesrc.c(524):
> gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0"
> error debugMessage: No file name specified for reading.
> error on: "filesrc location=\"\" ! decodebin ! imagefreeze ! videoconvert !
> bulge name=last" "../gstreamer/plugins/elements/gstfilesrc.c(524):
> gst_file_src_start (): /GstPipeline:pipeline1/GstFileSrc:filesrc1"

You can try downgrade it further until you find a kamoso version that works. I use EndeavourOS which is another arch distro and kamoso 20.04 is the one work for me.
Comment 4 giuseppe 2020-09-14 23:18:35 UTC
(In reply to Achmad Fathoni from comment #3)
> (In reply to beglort95 from comment #2)
> > (In reply to Achmad Fathoni from comment #1)
> > > I suggest to revert to Kamoso 20.04 for temporary solution
> > 
> > Thank you, I just tried but even now kamoso gives the same output with a new
> > error added at the end:
> > 
> > error debugMessage: No file name specified for reading.
> > error on: "filesrc location=\"\" ! decodebin ! imagefreeze ! videoconvert !
> > identity name=last" "../gstreamer/plugins/elements/gstfilesrc.c(524):
> > gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0"
> > error debugMessage: No file name specified for reading.
> > error on: "filesrc location=\"\" ! decodebin ! imagefreeze ! videoconvert !
> > bulge name=last" "../gstreamer/plugins/elements/gstfilesrc.c(524):
> > gst_file_src_start (): /GstPipeline:pipeline1/GstFileSrc:filesrc1"
> 
> You can try downgrade it further until you find a kamoso version that works.
> I use EndeavourOS which is another arch distro and kamoso 20.04 is the one
> work for me.

Actually on my system kamoso 20.04 did work before a complete upgrade. It worked again when I downgraded all the system, but not when downgrade only kamoso.

I just did a test in live usb with latest kamoso version and it does work, even giving same warnings about deprecated QML. So probably it's a bug that happens after multiple upgrades on the same system, or maybe just my problem if nobody else can reproduce the bug
Comment 5 Aleix Pol 2020-09-15 02:39:56 UTC
I tracked the issue up until here:
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/294

Only seems to happen with some webcams, hence some of us not noticing.
I could reproduce it with droidcam.
Comment 6 giuseppe 2020-09-16 12:54:01 UTC
(In reply to Aleix Pol from comment #5)
> I tracked the issue up until here:
> https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/294
> 
> Only seems to happen with some webcams, hence some of us not noticing.
> I could reproduce it with droidcam.

Thank you to make me notice, unfortunately I can't understand those logs in the other thread but now I'm sure it's about some webcam as you said. 
I made a last attempt in live USB. Kamoso worked only once after I installed it.
So the first time you run it, it works, and then it doesn't anymore. I hope this info can be useful to understand why this behaviour with some webcam.
Comment 7 giuseppe 2020-10-15 10:10:15 UTC
UPDATE: SOLVED 

I opened Kamoso after some time, and after some upgrades. I'm always in Manjaro stable-branch.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 20.1.1, kernel 5.8.11
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

The only changes in version appear to be KDE Frameworks and Qt Version. Plasma version is still the same version when the bug occurred.
Kamoso is working normally now.