Unable to launch deepstream app at dGPU (RTX 2060)

Hi, I’d like to know about how to solve this problem. I’m using Asus ROG with NVIDIA dGPU RTX 2060 for running a deepstream app. I followed manual installation from Deepstream sdk documentation and when i launch the python bindings deepstream application, i got this error.

My CUDA version is 10.2 and tensorRT 7.

alam@alam-Strix-GL504GV-GL504GV:~/deepstream_sdk_v4.0.2_x86_64/sources/python/apps/deepstream-test3$ python3 deepstream_test_3.py rtsp://admin:admin123@10.66.147.50
Creating Pipeline 
 
Creating streamux 
 
Creating source_bin  0  
 
Creating source bin
source-bin-00
Creating Pgie 
 
Creating tiler 
 
Creating nvvidconv 
 
Creating nvosd 
 
Creating EGLSink 

Adding elements to Pipeline 

Linking elements in the Pipeline 

Now playing...
1 :  rtsp://admin:admin123@10.66.147.50
Starting pipeline 

Creating LL OSD context new
0:00:00.778889809  4225      0x14a1c10 WARN                 nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]:useEngineFile(): Failed to read from model engine file
0:00:00.778908422  4225      0x14a1c10 INFO                 nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:10.964797715  4225      0x14a1c10 INFO                 nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /home/alam/deepstream_sdk_v4.0.2_x86_64/samples/models/Primary_Detector/resnet10.caffemodel_b1_int8.engine
Decodebin child added: source 

Decodebin child added: decodebin0 

Decodebin child added: rtpmp4gdepay0 

Decodebin child added: aacparse0 

Decodebin child added: avdec_aac0 

In cb_newpad

gstname= audio/x-raw
Decodebin child added: decodebin1 

Decodebin child added: rtph264depay0 

Decodebin child added: h264parse0 

Decodebin child added: capsfilter0 

Decodebin child added: nvv4l2decoder0 

In cb_newpad

gstname= video/x-raw
features= <Gst.CapsFeatures object at 0x7f6c14e74168 (GstCapsFeatures at 0x7f6b2c0d3360)>
Creating LL OSD context new
cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1
Frame Number= 0 Number of Objects= 0 Vehicle_count= 0 Person_count= 0
0:00:11.763341756  4225      0x12d7a80 WARN                 nvinfer gstnvinfer.cpp:1830:gst_nvinfer_output_loop:<primary-inference> error: Internal data stream error.
0:00:11.763353392  4225      0x12d7a80 WARN                 nvinfer gstnvinfer.cpp:1830:gst_nvinfer_output_loop:<primary-inference> error: streaming stopped, reason not-negotiated (-4)
Error: gst-stream-error-quark: Internal data stream error. (1): gstnvinfer.cpp(1830): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
streaming stopped, reason not-negotiated (-4)
Frame Number= 1 Number of Objects= 0 Vehicle_count= 0 Person_count= 0
Exiting app

Frame Number= 2 Number of Objects= 0 Vehicle_count= 0 Person_count= 0

cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1
your issue is in display driver setup, please first make sure your display driver setup correctly.
or you can change sink type from nveglglesksink to fakesink.

thank you for your answer. now its work properly