Object Detection sample code Error Message

Hello @Stereolabs

Camera Model = zed2i
OS = Ubuntu 22.04
Python = Python3.10.12

I try this repo = https://github.com/stereolabs/zed-sdk/tree/master/object%20detection/birds%20eye%20viewer/python

/zed-sdk/object detection/concurrent detections/python and terminal output like this

python3 concurrent_object_detection_body_tracking.py 

Running object detection ... Press 'Esc' to quit
[2024-07-19 13:25:24 UTC][ZED][INFO] Logging level INFO
[2024-07-19 13:25:24 UTC][ZED][INFO] Using USB input... Switched to default resolution HD720
[2024-07-19 13:25:25 UTC][ZED][INFO] [Init]  Depth mode: ULTRA
[2024-07-19 13:25:25 UTC][ZED][INFO] [Init]  Camera successfully opened.
[2024-07-19 13:25:25 UTC][ZED][INFO] [Init]  Camera FW version: 1523
[2024-07-19 13:25:25 UTC][ZED][INFO] [Init]  Video mode: HD720@60
[2024-07-19 13:25:25 UTC][ZED][INFO] [Init]  Serial Number: S/N 36472553
freeglut (concurrent_object_detection_body_tracking.py):  ERROR:  Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow

I Solve This error . OpenGL errors .

https://support.stereolabs.com/hc/en-us/articles/8422008229143-How-can-I-solve-OpenGL-issues-under-Ubuntu

Hi @ahmet,

Great to hear that you were able to solve the issue!

I did ‘sudo prime-select nvidia’, but I could not login to my PC anymore. It got frozen everytime I turned on the PC. My pc has nvidia rtx 4090.