Hello All
i am trying to setup a deepstream docker enviornment on redhat linux 7 and when i try to run a sample model i get the following error
** ERROR: <parse_config_file:532>: parse_config_file failed
** ERROR: main:627: Failed to parse config file ‘sourc’
My hardware platform is gpu
VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell Device 3600
Flags: bus master, fast devsel, latency 0, IRQ 152
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
[virtual] Expansion ROM at df000000 [disabled] [size=512K]
Capabilities:
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
Deep Stream version docker.io/nvidia/cuda 10.0-base b1a3d27ab8dc 4 weeks ago 109 MB docker.io/hello-world latest d1165f221234 6 weeks ago 13.3 kB
deepstream 5.1-21.02-triton f7b156254552 8 weeks ago 13.4 GB
deepstream 5.1-21.02-base 1df50dfdce65 8 weeks ago 6.38 GB
cuda 11.0-base 2ec708416bb8 8 months ago 122 MB
docker version
Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-204.git0be3e21.el7_9.x86_64
Go version: go1.10.3
Git commit: 0be3e21/1.13.1
Built: Fri Feb 12 08:57:04 2021
OS/Arch: linux/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-204.git0be3e21.el7_9.x86_64
Go version: go1.10.3
Git commit: 0be3e21/1.13.1
Built: Fri Feb 12 08:57:04 2021
OS/Arch: linux/amd64
Experimental: false
is there a instruction or guide i can follow on how to copy these configs files as i tried it a lot
but am not able to find any guide on how to copy them from the docker container
Sorry for the long delay.
from the config file, seems right.
** ERROR: <parse_config_file:532>: parse_config_file failed
** ERROR: main:627: Failed to parse config file ‘sourc’
the error come from deepstream_app_main.c:
if (!parse_config_file (&appCtx[i]->config, cfg_files[i])) {
NVGSTDS_ERR_MSG_V (“Failed to parse config file ‘%s’”, cfg_files[i]);
appCtx[i]->return_value = -1;
goto done;
}
}
Can you try with another configuration not modified and see what going on?
computer-server
Chassis: server
Machine ID: 9d4c73dd9c9b4ceebeb1e17787fd2c40
Boot ID: 5bc935d8d0f84a9cb6824efe500a2657
Operating System: Red Hat Enterprise Linux
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.9:GA:server
Kernel: Linux 3.10.0-1160.24.1.el7.x86_64
Architecture: x86-64 Command use
sudo docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-5.1 nvcr.io/nvidia/deepstream:5.1-21.02-triton To run the sample
deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt Log
Please can you tell me what log are you looking for
I just use your attached source4*** configuration to run, with success. and i also tried triton docker nvcr.io/nvidia/deepstream:5.1-21.02-triton, also success.
can you remove the cache, rm ~/.cache/gstreamer-1.0/ -rf and try again. if still fail, please pull one clean docker and try again.
i tried with the clean docker and the following problem is popping up
root@78faef9ce65f:/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app# deepstream-test5-app -c source30_1080p_dec_infer-resnet_tiled_display_int8.txt
** ERROR: main:1451: Failed to set pipeline to PAUSED
Quitting
App run failed
Please do below before run docker
export DISPLAY=:0 or 1 //xrandr to check if display exported or not
xhost +
another option is you can use sink type 1 Fakesink or 3 File in configuration.