Webcamoid does not start on Ubuntu Zesty GNOME

Asked by corrado venturini

corrado@corrado-z-gnome:~$ webcamoid -v
Webcamoid 7.2.1
corrado@corrado-z-gnome:~$ uname -a
Linux corrado-z-gnome 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
corrado@corrado-z-gnome:~$

starting webcamoid from terminal:
corrado@corrado-z-gnome:~$ webcamoid
QQmlApplicationEngine failed to load component
qrc:/Webcamoid/share/qml/main.qml:308 Type MediaConfig unavailable
qrc:/Webcamoid/share/qml/MediaConfig.qml:113 Type AddMedia unavailable
qrc:/Webcamoid/share/qml/AddMedia.qml:148 Type FileDialog unavailable
qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:47 module "Qt.labs.folderlistmodel" is not installed
qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:48 module "Qt.labs.settings" is not installed
qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:47 module "Qt.labs.folderlistmodel" is not installed
qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:48 module "Qt.labs.settings" is not installed

just installed using synaptic with no error:
Commit Log for Thu Apr 20 19:39:28 2017

Installed the following packages:
akqml (7.2.1+dfsg1-4)
libavdevice57 (7:3.2.4-1build2)
libavkys7 (7.2.1+dfsg1-4)
libqt5qml5 (5.7.1-1ubuntu1~7)
libqt5quick5 (5.7.1-1ubuntu1~7)
qml-module-qtgraphicaleffects (5.7.1~20161021-3build1~2)
qml-module-qtquick-controls (5.7.1~20161021-2build1~2)
qml-module-qtquick-dialogs (5.7.1~20161021-2build1~2)
qml-module-qtquick-layouts (5.7.1-1ubuntu1~7)
qml-module-qtquick-privatewidgets (5.7.1~20161021-2build1~2)
qml-module-qtquick-window2 (5.7.1-1ubuntu1~7)
qml-module-qtquick2 (5.7.1-1ubuntu1~7)
webcamoid (7.2.1+dfsg1-4)
webcamoid-data (7.2.1+dfsg1-4)
webcamoid-plugins (7.2.1+dfsg1-4)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu webcamoid Edit question
Assignee:
No assignee Edit question
Solved by:
corrado venturini
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Do you have the packages qml-module-qt-labs-folderlistmodel and qml-module-qt-labs-settings installed?
If not, do you still get identical error messages after installing them?

Revision history for this message
corrado venturini (corradoventu) said :
#2

I installed webcamoid using Synaptic. Usually when I install something using Synaptic I have also all requisites automatically installed. This works fine on Ubuntu 17.04 Unity, why not in GNOME?
In any case I will install the packages You suggest. Thanks.

Revision history for this message
corrado venturini (corradoventu) said :
#3

I installed the suggested packages. Now webcamoid starts but I receive a lot of messages that continues until I quit the application.

corrado@corrado-z-gnome:~$ webcamoid

file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/TextField.qml:638:5: QML TextInputWithHandles: Binding loop detected for property "text"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/TextField.qml:638:5: QML TextInputWithHandles: Binding loop detected for property "text"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/TextField.qml:638:5: QML TextInputWithHandles: Binding loop detected for property "text"
[swscaler @ 0x7f1c00002160] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7f1c00002060] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7f1c00002060] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7f1c00002060] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7f1c00002060] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7f1c00002060] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7f1c00002060] deprecated pixel format used, make sure you did set range correctly

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

If the application works as expected, then you can ignore these messages.
You better start webcamoid from the launcher and not from within a terminal window. This is usually only done for diagnostic purposes.

Revision history for this message
corrado venturini (corradoventu) said :
#5

For the install problem should I open a bug like:

Webcamoid incomplete install un Ubuntu 17.04 Gnome

packages qml-module-qt-labs-folderlistmodel and qml-module-qt-labs-settings missing from installation

or my bug is superfluous because you already know the problem?

For the messages: they does not show with an old Philips toucam but they appear with a webcam using
OV2710-1E full HD (1080p) CMOS image sensor
should I open a different bug for that?

Revision history for this message
corrado venturini (corradoventu) said :
#6

You say: If the application works as expected, then you can ignore these messages.
but the messages are filling my syslog, and this is unpleasant.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

What is the output of:

apt-cache policy webcamoid

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

I suggest that you create separate bug reports for both issues.

1. for the (apparent) missing dependency on qml-module-qt-labs-folderlistmodel and qml-module-qt-labs-settings

and

2. for the flood of "[swscaler @ 0x...] deprecated pixel format used, make sure you did set range correctly" messages.
(maybe related to https://libav.org/documentation/doxygen/master/pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5 - search for "deprecated"). If these messages show up only with a certain type of camera, then they might be triggered by a selection for a specific encoding format.

In any case, make sure that you have the newest available version (see actionparsnip's last comment).

Revision history for this message
corrado venturini (corradoventu) said :
#9

I reinstalled Ubuntu 17.04 Gnome from the last ISO and both problems are solved. Thanks a lot.