Guvcview doesn't work with Lubuntu 16.04 (on pc Intel pentium M processor 1.50 GHz, 1.264 RAM). This is the output when I launch the software from terminal: http://pastebin.com/0msdMX0T . I have a Logitech cam. What's the problem?
Last edit: Antonio Stefanetti 2016-05-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Guvcview doesn't work with Lubuntu 16.04 (on pc Intel pentium M processor
1.50 GHz, 1.264 RAM). This is the output when I launch the software from
terminal: http://pastebin.com/0msdMX0T . What's the problem?
Sorry but that isn't much helpful either.
You need to get a backtrace with gdb or check guvcview under valgrind
to determine the reason for the segfault.
The only problem I see is that the gspca driver for your camera
doesn't enumerate the frame rates, but that shouldn't really be a
problem.
I have a camera that uses gspca, I'll try it later today under 16.04
and check for possible issues.
Ok, so this is a bit strange.
I've run some tests with a gspca camera and it segfaulted just like it
happened to you. the segfault seemed to be related to gtk, so I built
with the qt interface and it run without issues. I then rebuild with
the default gtk interface to check the cause of the segfault but now
guvcview is running just fine.
The only thing I did between builds was to update my system, not sure
if this related but I can't see any other explanation.
Sorry but that isn't much helpful either.
You need to get a backtrace with gdb or check guvcview under valgrind
to determine the reason for the segfault.
The only problem I see is that the gspca driver for your camera
doesn't enumerate the frame rates, but that shouldn't really be a
problem.
I have a camera that uses gspca, I'll try it later today under 16.04
and check for possible issues.
How did you build with the qt interface? I have removed guvcview and I have installed guvcview-qt, but the problem is not solved. I also have update Lubuntu 16.04, but nothing is changed...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How did you build with the qt interface? I have removed guvcview and I have
installed guvcview-qt, but the problem is not solved. I also have update
Lubuntu 16.04, but nothing is changed...
I try running guvcview without the gui (guvcview --gui=none --verbosity=2), but it doesn't work.
P. S. I didn't understand very well the last part of your post, about the check with ldd.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try running guvcview without the gui (guvcview --gui=none --verbosity=2),
but it doesn't work.
P. S. I didn't understand very well the last part of your post, about the
check with ldd.
Anyway one should investigate what is wrong with sdl2, could you
increase the verbosity to 3:
guvcview --render=sdl2 --gui=none --verbosity=3
This will disable the gui and enable the render, so it will log mostly
the render stuff,
it should print some more information about the render initialization
and hopefully
help figure out what is going wrong. As I remember there was a race condition
with sdl initialization but that I think was sorted out in 2.0.3
Guvcview doesn't work with Lubuntu 16.04 (on pc Intel pentium M processor 1.50 GHz, 1.264 RAM). This is the output when I launch the software from terminal: http://pastebin.com/0msdMX0T . I have a Logitech cam. What's the problem?
Last edit: Antonio Stefanetti 2016-05-16
Hi,
Please run:
guvcview --verbosity=2
this should print some more usefull information.
Regards,
Paulo
2016-05-16 10:24 GMT+01:00 Antonio Stefanetti antostef@users.sf.net:
Ok, this is the output when I run "guvcview --verbosity=2": http://pastebin.com/Hs2XmBY3
Hi.
Sorry but that isn't much helpful either.
You need to get a backtrace with gdb or check guvcview under valgrind
to determine the reason for the segfault.
The only problem I see is that the gspca driver for your camera
doesn't enumerate the frame rates, but that shouldn't really be a
problem.
I have a camera that uses gspca, I'll try it later today under 16.04
and check for possible issues.
Regards,
Paulo
2016-05-16 13:16 GMT+01:00 Antonio Stefanetti antostef@users.sf.net:
Ok, so this is a bit strange.
I've run some tests with a gspca camera and it segfaulted just like it
happened to you. the segfault seemed to be related to gtk, so I built
with the qt interface and it run without issues. I then rebuild with
the default gtk interface to check the cause of the segfault but now
guvcview is running just fine.
The only thing I did between builds was to update my system, not sure
if this related but I can't see any other explanation.
Regards,
Paulo
2016-05-16 15:27 GMT+01:00 Paulo Assis pj.assis@gmail.com:
How did you build with the qt interface? I have removed guvcview and I have installed guvcview-qt, but the problem is not solved. I also have update Lubuntu 16.04, but nothing is changed...
Hi, I always build guvcview from source (git master).
Could you try running guvcview without the gui:
guvcview --gui=none --verbosity=2
if this works then please try again with the gui: --gui=qt5 or
--gui=gtk3 (depending if you are using the qt or gtk builds)
I'm guessing the binary packages need to be rebuild for the latest
16.04, I´ll do that in my testing ppa:
https://code.launchpad.net/~pj-assis/+archive/ubuntu/testing
try downloading the latest builds from there.
also make sure you are using and linking to the matching guvcview
library for your version,
you can check that with ldd.
2016-05-17 9:33 GMT+01:00 Antonio Stefanetti antostef@users.sf.net:
I try running guvcview without the gui (guvcview --gui=none --verbosity=2), but it doesn't work.
P. S. I didn't understand very well the last part of your post, about the check with ldd.
Hi,
Please post the console output of: guvciew --gui=none --verbosity=2
and if segfaults try running it through gdb:
gdb guvcview
after it segfaults run a backtrace ( bt )
post the output.
as for ldd just run ldd /usr/bin/guvcview and post me the output.
Also please try the latest build from my testing ppa.
2016-05-17 14:06 GMT+01:00 Antonio Stefanetti antostef@users.sf.net:
This is the output when I run guvciew --gui=none --verbosity=2: http://pastebin.com/MsJu5pYK
This is the output when I run gdb guvcview: http://pastebin.com/8BjCJ1MS
How do I run a backtrace (bt)?
This is the output when I run ldd /usr/bin/guvcview: http://pastebin.com/Bz9XmUst
Hi,
2016-05-17 15:09 GMT+01:00 Antonio Stefanetti antostef@users.sf.net:
you are running:
guvcview --gui = nessuno --verbosity = 2
this is wrong it must be like below (please copy paste to command line):
guvcview --gui=none --verbosity=2
after running 'gdb guvcview'
type 'run' in the gdb prompt, then guvcview will execute, after it
segfaults type 'bt', this will print the backtrace
Pardone me. Ok, this is the output when I run guvciew --gui=none --verbosity=2: http://pastebin.com/r2KwC4W4
This is the output of "gdb guvcview", type "run", type "bt": http://pastebin.com/b8aVJ1J2
Now, is it ok?
Hi,
2016-05-17 19:01 GMT+01:00 Antonio Stefanetti antostef@users.sf.net:
Ok, so the segfault happens in sdl2, this is used by the rendering
engine. You can check this by disabling the render:
guvcview --gui=gtk3 --render=none --verbosity=2
(if you are using the qt version replace the gui with --gui=qt5)
If the problem is in the render then this should start guvcview (but
without the preview window).
Then we need to investigate what is causing sdl to crash.
Regards,
Paulo
Anyway, it's a way to workaround the "obstacle". Now, I can to recorder a video through the webcam. Very well, thank you. ;-)
Anyway one should investigate what is wrong with sdl2, could you
increase the verbosity to 3:
guvcview --render=sdl2 --gui=none --verbosity=3
This will disable the gui and enable the render, so it will log mostly
the render stuff,
it should print some more information about the render initialization
and hopefully
help figure out what is going wrong. As I remember there was a race condition
with sdl initialization but that I think was sorted out in 2.0.3
Regards,
Paulo
2016-05-18 10:40 GMT+01:00 Antonio Stefanetti antostef@users.sf.net:
Ok, this is the outut when I run "guvcview --render=sdl2 --gui=none --verbosity=3" http://pastebin.com/cv2uBt24
Hi, sorry for the late reply :C
your build doesn't have any debug symbols so it's hard to determine
what's going wrong with sdl.
In any case I've added a new render to guvcview based on sfml, so if
you could install the latest build from my testing ppa:
https://code.launchpad.net/~pj-assis/+archive/ubuntu/testing
and run:
guvcview --render=sfml --verbosity=2
should start guvcview with the sfml render, if the problem is specific
of sdl, this should enable the preview window.
Regards,
Paulo
2016-05-18 12:03 GMT+01:00 Antonio Stefanetti antostef@users.sf.net: