【发布时间】:2021-07-23 01:53:48
【问题描述】:
我的系统主操作系统是 Windows-10 操作系统,并在子系统中安装了 WSL2。
Openvino 安装在 WSL2 下的 Linux 中。原因是 dlstreamer-gst 仅在 linux 中支持。
当我测试以下测试应用时,它仅适用于 fps,显示不工作。
如果我运行应用程序
./vehicle_pedestrian_tracking.sh person-bicycle-car-detection.mp4 10 CPU fps
我可以看到输出为
FpsCounter(1sec): total=346.54 fps, number-streams=1, per-stream=346.54 fps
FPSCounter(average): total=340.06 fps, number-streams=1, per-stream=340.06 fps
Got EOS from element "pipeline0".
Execution ended after 0:00:02.456260800
Setting pipeline to NULL ...
Freeing pipeline ...
当我为了展示而奔跑时,
./vehicle_pedestrian_tracking.sh person-bicycle-car-detection.mp4 10 CPU dispaly
我有错误
ERROR: from element /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
../sys/xvimage/xvimagesink.c(1778): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstXvImageSink:xvimagesink0:
Could not open display (null)
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
是否显示在 WSL 子系统中不可用?
【问题讨论】:
-
我在
https://research.wmz.ninja/articles/2017/11/setting-up-wsl-with-graphics-and-audio.html和https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx中使用X 服务器关注这个讨论。但是还是不行
标签: openvino