Error when try to run source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt on redhat linux

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

any help will be gladly be apricated

Thanks

Please check your configuration, should be group source not group sourc.

Hello Amycao

please can you guide which file do i make that change as i pretty new to this

Thanks
sudi

Can you upload the configuration file you used?
some info about this,
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_sample_configs_streams.html

Hello Amycao

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

thanks
sudi

docker cp CONTAINER ID:/file path in docker you want to copy/ /local path/
you can get CONTAINER ID from docker ps

Hello amycao

please find the attached files as requested

Thanks

sudi Configs_Files .zip (91.8 KB)

I mean the configuration you used when run the app, not the whole config package.

Hello Amycao

Please find the attached file as requested the

source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt (5.7 KB)

Hello amycao

i have not heard any back from you is there a possibility for me to have a meeting with you through zoom or any mode of communication for the help

Thanks

sudi

Hello Amycao,

am following up with the following issue any help would be appreciated

Thanks

sudi

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?

Am getting the same error message have tried all the config files please advice what else can i try

Note:is there a possibility to schedule a support meeting for you to just have a look if i am not missing anything

Thanks

sudi

Can you paste the command you used and the whole log? besides, in docker, which os and version you used?

Machine os and version

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

the output when you run the sample from the terminal.

Output

  • ERROR: <parse_config_file:532>: parse_config_file failed
    ** ERROR: main:627: Failed to parse config file ‘source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt’
    Quitting
    App run failed

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.

Hello Amycao,

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

Thanks
sudi

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.