[Bug 1041432] Re: cheese and camorama freeze system when recording video
this bug can be fixed by this patch From 4cd9255f0a8a9e15d81561f00f02d275b5095f70 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel (Alexey Fisher) bug-tr...@fisher-privat.net Date: Thu, 01 Mar 2012 13:15:29 + Subject: v4l2src: fix v4l2_munmap() for compressed formats Make sure we always call munmap() with the same size we called mmap() with before. Current v4l2src uses the same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF and v4l2_munmap calls. The problem is that the video buffer size (length) may vary for compressed or emulated bufs. VIDIOC_QBUF will change it if we pass the pointer of a v4l2_buffer. This is why we should avoid using same variable for mmap and video buffers. https://bugzilla.gnome.org/show_bug.cgi?id=671126 ** Bug watch added: GNOME Bug Tracker #671126 https://bugzilla.gnome.org/show_bug.cgi?id=671126 ** Patch added: 0001-fix-v4l2_munmap.patch https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1041432/+attachment/3508463/+files/0001-fix-v4l2_munmap.patch ** Description changed: - Quantal 3.5.0-11 becomes totally unresponsive when starting a video from - the built in webcam. Both mouse and keyboard are frozen. + This is a bug in gstreamer-plugins-good. + + + -- + Quantal 3.5.0-11 becomes totally unresponsive when starting a video from the built in webcam. Both mouse and keyboard are frozen. I tried both 32 and 64 bit versions of both cheese and camorama and the result was the same. This was not an issue with Precise. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: cheese 3.5.5-0ubuntu1 ProcVersionSignature: Ubuntu 3.5.0-11.11-generic 3.5.2 Uname: Linux 3.5.0-11-generic i686 NonfreeKernelModules: wl ApportVersion: 2.5.1-0ubuntu2 Architecture: i386 Date: Fri Aug 24 21:57:00 2012 InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release i386 (20101007) SourcePackage: cheese UpgradeStatus: Upgraded to quantal on 2012-08-17 (8 days ago) ** Also affects: gst-plugins-good via https://bugzilla.gnome.org/show_bug.cgi?id=670257 Importance: Unknown Status: Unknown ** Changed in: cheese (Ubuntu) Status: Confirmed = Invalid ** Also affects: gst-plugins-good0.10 (Ubuntu) Importance: Undecided Status: New ** Summary changed: - cheese and camorama freeze system when recording video + Any application which uses v4l2src element can be froze when recording video (e.x. cheese) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: Any application which uses v4l2src element can be froze when recording video (e.x. cheese) To manage notifications about this bug go to: https://bugs.launchpad.net/cheese/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1041432] Re: cheese and camorama freeze system when recording video
** Also affects: cheese via https://bugzilla.gnome.org/show_bug.cgi?id=670257 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/cheese/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1041432] Re: cheese and camorama freeze system when recording video
Added precise task because this may affect the lts backport stack on precise ** Also affects: oem-priority/precise Importance: Undecided Status: New ** Changed in: oem-priority/precise Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/cheese/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1041432] Re: cheese and camorama freeze system when recording video
Redhat has a similar bug that video device is busy when doing video recording. - https://bugzilla.gnome.org/show_bug.cgi?id=670257 Gstreamer bugs: - https://bugzilla.gnome.org/show_bug.cgi?id=670257 Explain for the patch: When recording video, Cheese uses gsteamer to set caps, meanwhile cmaera device re-init while caps settings. because the buffer is not freed and kernel complain that camera device is busy, so cheese hangs. ** Bug watch added: GNOME Bug Tracker #670257 https://bugzilla.gnome.org/show_bug.cgi?id=670257 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1041432] Re: cheese and camorama freeze system when recording video
@Christopher I have some questions for you , pleas help , thanks. And also please provide logs for each question ( the instructions are inline) Q1. Does cheese video recording works if you use 3.2 kernel ? 1. Install 3.2 kernel 2. Boot with 3.2 kernel 3. Launch Cheese with the following command cheese --gst-debug=5 --gst-debug-no-color 2 3.2cheese_debug.log 4. Start to Recording Please help to attache 3.2cheese_debug.log. I found some machines's cheese video recording works with 3.2 kernel and 3.5 kernel, but others does not work with 3.5 kernel , but works with 3.2 kernel. Q2: What are video resolution Cheese shows in preference ? Which is default. Q3: Does guvcview works well even you uses 3.5 kernel? Q4: What is your webcam? please attache the output of lsusb -v -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1041432] Re: cheese and camorama freeze system when recording video
gucview suits my hardware better than cheese. If I have time, I'll get to the cheese issue. I always have the latest kernel and proposed updates. On 13-01-25 06:43 AM, Hsin-Yi, Chen (hychen) wrote: @Christopher I have some questions for you , pleas help , thanks. And also please provide logs for each question ( the instructions are inline) Q1. Does cheese video recording works if you use 3.2 kernel ? 1. Install 3.2 kernel 2. Boot with 3.2 kernel 3. Launch Cheese with the following command cheese --gst-debug=5 --gst-debug-no-color 2 3.2cheese_debug.log 4. Start to Recording Please help to attache 3.2cheese_debug.log. I found some machines's cheese video recording works with 3.2 kernel and 3.5 kernel, but others does not work with 3.5 kernel , but works with 3.2 kernel. Q2: What are video resolution Cheese shows in preference ? Which is default. Q3: Does guvcview works well even you uses 3.5 kernel? Q4: What is your webcam? please attache the output of lsusb -v -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1041432] Re: cheese and camorama freeze system when recording video
** Also affects: oem-priority Importance: Undecided Status: New ** Also affects: oem-priority/quantal Importance: Undecided Status: New ** Also affects: oem-priority/r-series Importance: Undecided Status: New ** Changed in: oem-priority/quantal Importance: Undecided = High ** Changed in: oem-priority/r-series Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1041432] Re: cheese and camorama freeze system when recording video
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cheese (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1041432] Re: cheese and camorama freeze system when recording video
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: cheese and camorama freeze system when recording video To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1041432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs