I follow this link for the full screen display and it works.
However, when I click “escape” the program does not quit properly and I need to kill the process in task manager.
Here is the skeleton of my program about the output. How to make the program quit properly? Thx
output = jetson.utils.glDisplay()
output.SetFullscreen(True)
while output.Isopen():
# output.Render(img)
output.RenderOnce(img,img.width, img.height,x=0,y=0)
# exit on input/output EOS
# if not input.IsStreaming() or not output.IsStreaming():
# break
I have tried many times and it fails one time still… But it is better than before. Thx
I put
jetson.utils.cudaDeviceSynronize() before/after detectnet as well as posenet.
When I use jetson.utils.glDisplay(), the nubuf_utils keeps showing but the software runs.
I did not do any cuda memory clone nor copy,
And I comment out all jetson.utils.cudaDrawLine and jetson.utils.cudaDrawRect…
When I click escape, the terminal and the screen freeze…
nvbuf_utils: dmabuf_fd 1284 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
#####################################
nvbuf_utils: dmabuf_fd 1288 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1290 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1292 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1294 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1296 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1298 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1300 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1274 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
NvEGLImageFromFd: Failed to create EGLImage from dma-buf fd (1278)
[gstreamer] gstBufferManager -- failed to map EGLImage from NVMM buffer
[gstreamer] gstDecoder -- failed to handle incoming buffer
Here is another freeze
nvbuf_utils: dmabuf_fd 1284 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1286 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1288 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...
nvbuf_utils: dmabuf_fd 1290 mapped entry NOT found
nvbuf_utils: NvReleaseFd Failed... Exiting...