Interesting that there is no entry for OpenGL discovery in the log.
Can you rename your actual
OpenCPN configuration file in order to start with a clean - empty configuration?
Check then again if the OpenGL is enabled.
Anything else we shall know about your system? Plain Ubuntu 22.10 or some virtual version?