Ubuntu20 nvidia rtx 4090 cuda not supported

Yeah, I successfully installed sdk with cuda12.2. But I have another issue same as this Object Detection sample code Error Message
I followed the solution, doing ‘sudo prime-select nvidia’, but I could no longer login to my PC. I am concerned that ZED and its apis can’t well support RTX4090.