Closed VeitchKyrie closed 3 years ago
Hi, based on your logs:
I20200702 10:19:40.635076 22080 gl_context.cc:324] GL version: 3.0 (OpenGL ES 3.0 Mesa 18.0.5) I20200702 10:19:40.635179 22054 demo_run_graph_main_gpu.cc:67] Initialize the camera or load the video. [ WARN:0] VIDEOIO ERROR: V4L: can't open camera by index 0
I see two issues
While # 2 can be fixed by supplying a path to a video file , the # 1 issue is a deal breaker.
You can try using the CPU version of the hand demo, and supply a video path (instead of defaulting to webcam) via --input_video_path=/path/to/file.mp4
Hi mcclanahoochie,
thanks for ur reply, #2 has been fixed now with your help, but for #1, I still get some questions, hope you can help. For #1, Q1. Below is the output from glxinfo, and my ubuntu version is 16.04, is there a way to check the maximum supported OpenGL ES version? cause I'd like to upgrade it to OpenGL ES3.1 or better, can I do that?
OpenGL vendor string: VMware, Inc.m OpenGL renderer string: SVGA3D; build: RELEASE; LLVM; OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.5 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 18.0.5 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.0.5 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions:
Q2. The card of My physical machine is Intel(R)HD Graphics 530, which should support OpenGL ES3.1+, but on my virtual machine it‘s SVGA3D,so could I configure the virtual one as same as my physical one with the purpose of making mediapipe run perfectly on my ubuntu.
thanks again, hope you can help here.
Hi, unfortunately this looks like an issue with how the virtual machine handles the GPU. I would search around for VMware GPU support, or see if you can dual boot into linux.
Sorry this isn't an answer to your issue, but can you please let me know how you're running the desktop hand_tracking example? I have compiled the example using the command:
$ bazel build --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 <my-target>
The compilation was successful, but I don't know how to actually run the compiled target file / where that file is. Can you please let me know how you ran the example? Thanks.
@AlexYiningLiu look at the very first post, at the first line that starts with GLOG_logtostderr
closing due to lack of activity
hand tracking will crash each time in runing with a double free issue, it seems there's something wrong with some kind of resource, BTW, my device is not equiped with webcam, so is it possible caused by no input stream?