Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

error while running OpenVino application on OpenNESS Network Edge #28

Closed
ishanVshah opened this issue Jun 4, 2020 · 8 comments
Closed
Labels
help wanted Extra attention is needed OpenNESS-2003

Comments

@ishanVshah
Copy link

ishanVshah commented Jun 4, 2020

I am following below link while on boarding openvino with Network Edge openness. I also have GNOME Desktop on client machine and sending the video stream to the OpenVINO container.

link: https://github.com/open-ness/specs/blob/master/doc/applications-onboard/network-edge-applications-onboarding.md#onboarding-openvino-application

I also checked with tcpdump on clinet sim machine using "tcpdump -i any port 5001" command.

run-docker.sh shows me below output. there is no popup window is open.

[root@xxxx clientsim]# ./run-docker.sh
ffplay version 2.8.15 Copyright (c) 2003-2018 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
No protocol specified
No protocol specified
Could not initialize SDL - No available video device
(Did you set the DISPLAY variable?)
./tx_video.sh

@ishanVshah
Copy link
Author

please note that seliux is disabled on Client-UE machine.

@ishanVshah
Copy link
Author

Hi,

I appreciate if anyone from openness team can revert me on this issue ?

@amr-mokhtar
Copy link
Contributor

Hi @ishanVshah, you must have a graphical support on the client-sim node and run the docker from an x-term window.

@amr-mokhtar amr-mokhtar added OpenNESS-2003 question Further information is requested help wanted Extra attention is needed and removed question Further information is requested labels Jun 5, 2020
@ishanVshah
Copy link
Author

Hi @amr-mokhtar

CLient-SIM runs on a GNOME Desktop and to start docker script is as below

docker run --rm --name client-sim
--network host -e DISPLAY
-e QT_X11_NO_MITSHM=1
-v /tmp/.X11-unix:/tmp/.X11-unix:rw
-v /root/.Xauthority:/root/.Xauthority
--cpuset-cpus="1,2"
-t client-sim:1.0

@amr-mokhtar
Copy link
Contributor

I see this error in your logs -> (Did you set the DISPLAY variable?)

@ishanVshah
Copy link
Author

ishanVshah commented Jun 5, 2020

Client-UE machine is a GNOME desktop machine and run docker script from terminal inside GNOME Desktop. is it ?

@amr-mokhtar
Copy link
Contributor

Client-UE machine is a GNOME desktop machine and run docker script from terminal inside GNOME Desktop. is it ?

Correct. But it seems that something is not right with your setup. It is unable to detect the DISPLAY variable.

@amr-mokhtar
Copy link
Contributor

Closing this issue due to inactivity..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed OpenNESS-2003
Projects
None yet
Development

No branches or pull requests

2 participants