Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2014, 08:33 PM
|
#1
|
Member
Registered: Dec 2013
Location: Japan
Distribution: Debian...very few times Ubuntu
Posts: 51
Rep:
|
guvcview crashing
I would appreciate some help.
I am trying to use guvcview to change the settings of my camera and it crashes when I use it. Sometimes it runs for a while until I move the graphic window and sometimes it just crashes ( actually only the graphic window stops, the controls are fine. I can also shut it down normally)
Also the first panel of controls dont appear.
Can anybody tell me how to fix this? Do I need to reinstall it?
Thanks
P.S> the error log is (long though)
Code:
guvcview 1.5.3
video_device: /dev/video0
vid_sleep: 0
cap_meth: 1
resolution: 640 x 480
windowsize: 800 x 409
vert pane: 287
spin behavior: 0
default action: 0
mode: bgr3
fps: 1/15
Display Fps: 0
bpp: 32
hwaccel: 0
avi_format: 0
sound: 1
sound Device: 0
sound samp rate: 0
sound Channels: 0
Sound delay: 0 nanosec
Sound Format: 80
Pan Step: 2 degrees
Tilt Step: 2 degrees
Video Filter Flags: 0
image inc: 0
profile(default):/home/atmark/default.gpfl
starting portaudio...
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'AC97 2ch->4ch Copy Switch',0,0,0): Directory or file does not exists
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'AC97 2ch->4ch Copy Switch',0,0,0): Directory or file does not exists
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958 Playback PCM Stream',0,0,0): Directory or file does not exists
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958 Playback PCM Stream',0,0,0): Directory or file does not exists
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958 Playback PCM Stream',0,0,0): Directory or file does not exists
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = Directory or file does not exists
Cannot connect to server request channel
jack server is not running or cannot be started
language catalog=> dir:/usr/share/locale type:UTF-8 lang:ja_JP.UTF-8 cat:guvcview.mo
Screen resolution is (911 x 606)
bgr3: setting format to 861030210
capture method = 1
video device: /dev/video0
Device Node Path: /dev/video0
VID/PID: 1d6b 0104
Linux 3.4-at3+ with renesas_usbhs_udc
g_uvc_acm_ether
serial: (null)
Init. g_uvc_acm_ether (location: usb-0000:02:03.0-1)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/60,
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/60,
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/60,
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/60,
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/60,
vid:1d6b
pid:0104
driver:uvcvideo
checking format: 861030210
fps is set to 1/15
drawing controls
NEXT_CTRL flag not supported
Error: empty control list
(guvcview:4420): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
(guvcview:4420): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport: assertion `GTK_IS_WIDGET (child)' failed
resolutions of format(3) = 2
frame rates of 1º resolution=1
fps is set to 1/15
Def. Res: 0 numb. fps:1
--------------------------------------- device #0
Name = Ensoniq AudioPCI: ES1371 DAC2/ADC (hw:0,0)
Host API = ALSA
Max inputs = 2, Max outputs = 2
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44099.81
--------------------------------------- device #1
Name = Ensoniq AudioPCI: ES1371 DAC1 (hw:0,1)
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.012
Def. high input latency = -1.000
Def. high output latency = 0.046
Def. sample rate = 44100.95
--------------------------------------- device #2
Name = sysdefault
Host API = ALSA
Max inputs = 128, Max outputs = 128
Def. low input latency = 0.043
Def. low output latency = 0.043
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
--------------------------------------- device #3
Name = front
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.012
Def. high input latency = -1.000
Def. high output latency = 0.046
Def. sample rate = 44100.95
--------------------------------------- device #4
Name = pulse
Host API = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
--------------------------------------- device #5
Name = dmix
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.043
Def. high input latency = -1.000
Def. high output latency = 0.043
Def. sample rate = 48000.00
--------------------------------------- device #6
[ Default Input, Default Output ]
Name = default
Host API = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
----------------------------------------------
SampleRate:0 Channels:0
Video driver: x11
A window manager is available
(Desktop resolution = 911x606)
Checking video mode 640x480@32bpp : OK
Could not grab image (select timeout): Resource can't be used temporarily
Could not grab image (select timeout): Resource can't be used temporarily
Could not grab image (select timeout): Resource can't be used temporarily
Could not grab image (select timeout): Resource can't be used temporarily
Could not grab image (select timeout): Resource can't be used temporarily
Could not grab image (select timeout): Resource can't be used temporarily
Shuting Down Thread
Could not grab image (select timeout): Resource can't be used temporarily
Could not grab image (select timeout): Resource can't be used temporarily
Thread terminated...
cleaning Thread allocations: 100%
Video thread completed
Video Thread finished
write /home/atmark/.guvcviewrc OK
free audio mutex
closed v4l2 strutures
free controls - vidState
cleaned allocations - 100%
Closing portaudio ...OK
Closing GTK... OK
|
|
|
01-21-2014, 08:50 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,987
|
Try starting guvcview from a command line and using it until it crashes. It might throw relevant error messages to the terminal when it crashes.
|
|
|
01-21-2014, 10:11 PM
|
#3
|
Member
Registered: Dec 2013
Location: Japan
Distribution: Debian...very few times Ubuntu
Posts: 51
Original Poster
Rep:
|
Quote:
Originally Posted by frankbell
Try starting guvcview from a command line and using it until it crashes. It might throw relevant error messages to the terminal when it crashes.
|
Thank you for your reply.
That is what I did in the post above. I included the verbose option and the error messages are posted in the original post.
|
|
|
01-22-2014, 12:50 AM
|
#4
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
hi
what distro is this?
2) some comments on your output
"not found" and "unknown" are not always essential to fix
but "critical" types are:
snip is
Quote:
Error: empty control list
(guvcview:4420): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
(guvcview:4420): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport: assertion `GTK_IS_WIDGET (child)' failed
(and further on)
Video driver: x11
A window manager is available
|
in debian sid the dependencies are:
Depends: libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.8), libavutil52 (>= 6:9.1-1), libc6 (>= 2.17), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.9), libgtk-3-0 (>= 3.0.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpng12-0 (>= 1.2.13-4), libportaudio2 (>= 19+svn20101113), libpulse0 (>= 0.99.1), libsdl1.2debian (>= 1.2.11), libudev1 (>= 183), libv4l-0 (>= 0.5.0)
ignore the version numbers and focus pls on libgtk version is 3
can you use your package manager and report if you are missing any of these packages pls
2) what desktop/WM/DE are you running pls?
3) other than gtk I would also look at your xorg setup and notice you are have
Screen resolution is (911 x 606)
Checking video mode 640x480@32bpp : OK
but maybe its not ok?
try dropping the bit rate ?
good luck
|
|
|
01-22-2014, 12:54 AM
|
#5
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
in a separate post sorry
have you double checked your audio devices and playing correctly
I notice you have pulseaudio etc
I bet you have not used the audio tab.....pulldown and change default from libportaudio to pulseaudio?
2) remove all fancy filters and try again as well pls
|
|
|
01-22-2014, 08:32 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,987
|
Quote:
That is what I did in the post above. I included the verbose option and the error messages are posted in the original post.
|
Sorry, I thought it was from a log file, not terminal output.
|
|
|
01-23-2014, 08:45 PM
|
#7
|
Member
Registered: Dec 2013
Location: Japan
Distribution: Debian...very few times Ubuntu
Posts: 51
Original Poster
Rep:
|
Quote:
Originally Posted by aus9
hi
what distro is this?
2) some comments on your output
"not found" and "unknown" are not always essential to fix
but "critical" types are:
snip is
in debian sid the dependencies are:
Depends: libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.8), libavutil52 (>= 6:9.1-1), libc6 (>= 2.17), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.9), libgtk-3-0 (>= 3.0.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpng12-0 (>= 1.2.13-4), libportaudio2 (>= 19+svn20101113), libpulse0 (>= 0.99.1), libsdl1.2debian (>= 1.2.11), libudev1 (>= 183), libv4l-0 (>= 0.5.0)
ignore the version numbers and focus pls on libgtk version is 3
can you use your package manager and report if you are missing any of these packages pls
2) what desktop/WM/DE are you running pls?
3) other than gtk I would also look at your xorg setup and notice you are have
Screen resolution is (911 x 606)
Checking video mode 640x480@32bpp : OK
but maybe its not ok?
try dropping the bit rate ?
good luck
|
Thank you for your reply. I am using Debian Wheezy 7.0 I couldnt understand your reply completely but ok here it goes
libasound2 (>= 1.0.16), present 1.0.25
libatk1.0-0 (>= 1.12.4) present 2.4.0-2
libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.8), NOT PRESENT only libavcodec53 (6:0.8.2-1)
libavutil52 (>= 6:9.1-1), NOT PRESENT only libavutil51 (6:0.8.6-1)
libc6 (>= 2.17), OLD?? Version 2.13-38
libcairo-gobject2 (>= 1.10.0), present (1.12.2)
libcairo2 (>= 1.2.4), present (1.2.12)
libgdk-pixbuf2.0-0 (>= 2.22.0), OK
libglib2.0-0 (>= 2.35.9), OLD (2.33.12)
libgtk-3-0 (>= 3.0.0), OK (3.4.2-6)
libpango-1.0-0 (>= 1.14.0), OK
libpangocairo-1.0-0 (>= 1.14.0), NOT PRESENT
libpng12-0 (>= 1.2.13-4), OK
libportaudio2 (>= 19+svn20101113), OK
libpulse0 (>= 0.99.1), OK
libsdl1.2debian (>= 1.2.11), OK
libudev1 (>= 183), NOT PRESENT instead libudev0 175-7.2
libv4l-0 (>= 0.5.0)OK
any comments?
|
|
|
01-24-2014, 02:45 AM
|
#8
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
hi
yes ignore version numbers you are on stable me unstable
can you do the following searches for us when you get a chance
if not found you just get a blank terminal prompt
---if found it will give you a hit ok?
Code:
dpkg -l | grep libavcodec-extra
dpkg -l | grep libpango
2) gtk ---in gui for guvcview change your recording bitrate to see if you still get an error
3) look at hidden files in your home folder they start with a dot (.)
post the output of .xsession-errors pls
good luck
|
|
|
All times are GMT -5. The time now is 05:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|