GStreamer USB 2.0 webcam - usb

Hello i'm trying to test GStreamer on OpenSuse 11.4, to display a webcam, but it says
# gst-launch v4l2src ! videoscale ! video/x-raw-yuv,height=240 ! xvimagesink
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock:
GstSystemClock
libv4l2: error dequeuing buf: No such device ... ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed trying to
get video
frames from device '/dev/video0'. Additional debug info:
v4l2src_calls.c(200): gst_v4l2src_grab_frame ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed after 50 tries.
device /dev/video0. system error: No such device Execution ended after
7995625828 ns. Setting pipeline to PAUSED ... Setting pipeline to
READY ... libv4l2: error turning off stream: No such device
(gst-launch-0.10:19771): GStreamer-CRITICAL **: Failed to deactivate
pad v4l2src0:src, very bad Setting pipeline to NULL ... libv4l2: error
turning off stream: No such device
(gst-launch-0.10:19771): GStreamer-CRITICAL **: Failed to deactivate
pad v4l2src0:src, very bad Freeing pipeline ...
Thanks for help.
I also got the error message :
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed getting controls attributes on device '/dev/video0'.
Additional debug info:
v4l2_calls.c(267): gst_v4l2_fill_lists (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Failed querying control 9963776 on device '/dev/video0'. (5 - Input/output error)
Setting pipeline to NULL ...
Freeing pipeline ...

Getting the output of v4l-info would be useful to diagnose such problems. Also the warn/info level of GST_DEBUG. Anyway, better file a bug and attache the logs there.
Besides for the sake of isolating the problem, start with the simplest pipline:
gst-launch v4l2src ! xvimagesink

Related

Failed to map the library when using ISE to simulate a program connected with Modelsim

ERROR: Failed to map the library
Reason: couldn't execute "vmap": no such file or directory`
I have tried to re-compile the Xilinx library, but failed. Could anyone spare time to give me some help?

working on dbt want to give the details of snowflake in project.yml file but getting error

Trying the give the details of snowfalke in dbt profiles.yml file . but as soon as when ran the command i,e
$atom /home/myname/.dbt/profiles.yml gives below error:
/usr/bin/atom: line 190: 1705 Trace/breakpoint trap (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$#" > "$ATOM_HOME/nohup.out" 2>&1
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Permission denied
Following things i tried: Ran below commands but still no luck:
1)
$google-chrome --no-gpu --no-sandbox --disable-setuid-sandbox --headless --dump-dom http://www.chromestatus.com
Error:
[0627/161930.251811:ERROR:udev_watcher.cc(61)] Failed to enable receiving udev events.
[0627/161932.565713:ERROR:platform_shared_memory_region_posix.cc(46)] Descriptor access mode (0) differs from expected (2)
[0627/161932.566251:WARNING:crash_handler_host_linux.cc(366)] Could not translate tid - assuming crashing thread is thread group leader; syscall_supported=0
[0627/161932.769040:WARNING:crash_handler_host_linux.cc(366)] Could not translate tid - assuming crashing thread is thread group leader; syscall_supported=0
--2020-06-27 16:19:32-- https://clients2.google.com/cr/report
Resolving clients2.google.com (clients2.google.com)... 2404:6800:4009:805::200e, 172.217.174.238
Connecting to clients2.google.com (clients2.google.com)|2404:6800:4009:805::200e|:443... [0627/161933.036124:ERROR:headless_shell.cc(399)] Abnormal renderer termination.
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘/dev/fd/4’
0K
Crash dump id: e870824b56e91b9f
$ google-chrome
Error:
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Permission denied
Trace/breakpoint trap (core dumped)
[1772:1772:0100/000000.825375:ERROR:zygote_linux.cc(653)] write: Broken pipe (32)
[0627/162152.831614:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
Could any one advise on the above issue.
This could be an atom error. Could be packages or something that they installed. I could be wrong, but I don’t see anything in that error message that indicates it’s a profiles.yml thing. I wonder if they can open other files in atom just fine?
Alternatively, use a text editor that isn’t based on chrome
Thanks #jake and #Christine from FishTown Analytics.
Here are a few helpful links.
Atom issue;
Blogpost!

fastboot flash system fail: Writing 'system' FAILED (remote: 'Malloc failed for: CHUNK_TYPE_FILL')

In Android Q, is P OTA to Q version with 512M of memory. I reported the following error during execution.
fastboot flash system P_2_Q\aosp_arm-img-6161928\system.img
Header magic invalid sparse file format
Sending Sparse "System" 1/52 (16380 KB) OKAY [0.545s]
Writing to "System" failed (Remote: "Malloc failed: CHUNK_TYPE_FILL")
fastboot: error: command failed
Does anyone know what is causing this?

react-native start FATAL ERROR: Zone Allocation failed - process out of memory

I'm trying to run my first react native app.
I followed the "getting started" tutorial, and got to the run your app section.
However, when running react-native start, its memory usage when "Loading dependency graph" goes up until it reaches 100% and crashes.
I have 16 GB of ram, which I believe should be plenty enough, and could not find a similar problem googling it.
I use android studio to emulate a device with Pie API (Level 28)
Did I get anything wrong ?
C:\Users\username\AwesomeProject>react-native start
Looking for JS files in C:\Users\username\AwesomeProject
Loading dependency graph... <--- Last few GCs --->
[5552:00000183131C4840] 3440 ms: Scavenge 73.3 (100.8) -> 58.7 (100.8) MB, 1.9 / 0.0 ms (average mu = 0.997, current mu = 0.997) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 00007FF78F25982D]
1: InternalFrame [pc: 00007FF78F1CDB0B] Security context: 0x02b761800911 <JSObject>
2: next [000002B7618229A9](this=0x03d0580003f9 <JSGenerator>,0x0306a15cc069 <JSArray[18784]>)
3: asyncGeneratorStep(aka asyncGeneratorStep) [0000008A0A6D9311] [C:\Users\username\AwesomeProject\node_modules\jest-haste-map\build\index.js:193] [bytecode=000001EE8E830101 offset=11](this=0x01971d9404d1 <undef...
FATAL ERROR: Zone Allocation failed - process out of memory
This seems to be a node problem, not a module problem.
Downgrading to node v.12.4.0 maybe solve your issue

Live Migration Failure: unable to execute QEMU command 'migrate': Migration disabled: failed to allocate shared memory

I have a 2 node OpenStack Mitaka environment consisting of a controller/compute node and a compute node.
I've followed the setup guide to enable instance live migration using LVM block storage. I.e.: There's no shared storage backend, just local LVM block storage.
Using OpenStack Horizon to perform the live migration a success message is displayed, however, the migration is far from successful. This worked pretty much out-of-the-box with our Juno installation. I've exhausted Google and cannot find any other instances of people facing the same problem. I thought it might have been a time synchronisation problem so have set both nodes to UTC. Still the problems persists.
Source machine /var/log/nova/nova-compute.log
2016-08-12 15:56:42.120 2230 ERROR nova.virt.libvirt.driver [req-b71ea7b0-5fa8-4b57-92d2-4edec62135c2 b017d86d1143461a92a267d4b912c104 88c686f09e1b427fb750f5c00716f84e - - -] [instance: 5763b6b6-370c-448c-8e8f-8b71eafaa8f1] Migration operation has aborted
2016-08-12 15:56:42.470 2230 ERROR nova.virt.libvirt.driver [req-b71ea7b0-5fa8-4b57-92d2-4edec62135c2 b017d86d1143461a92a267d4b912c104 88c686f09e1b427fb750f5c00716f84e - - -] [instance: 5763b6b6-370c-448c-8e8f-8b71eafaa8f1] Live Migration failure: internal error: unable to execute QEMU command 'migrate': Migration disabled: failed to allocate shared memory
Target node /var/log/libvirt/libvirtd.log
2016-08-12 15:56:41.864+0000: 2170: error : qemuMonitorJSONGetMigrationStatsReply:2443 : internal error: info migration reply was missing return status
2016-08-12 15:56:41.864+0000: 2170: error : virNetClientProgramDispatchError:177 : Cannot open log file: '/var/log/libvirt/qemu/instance-0000006a.log': Device or resource busy
There are no other events captured in the source or target nova or libvirt logs.
I should also note that I am trying to use qemu+tcp (libvirt listening enabled, default tcp port, no auth) rather than qemu+ssh in order to keep things simple while testing. In fact, I intend to only use qemu+tcp anyway.
Which version of ubuntu did you deploy?
I had the same error with ubuntu 14.04 and mitaka version.
And I figured out that default kernel (3.13) makes this problem.
I upgraded the kernel from 3.13 to 4.40 and this problem is gone now.
I hope my experience help you solve this problem out.
Thanks