Unable to run opencv with detectron on jetson xavier nx

You may try:

LD_PRELOAD=/lib/aarch64-linux-gnu/libGLdispatch.so  python3 your_app.py