3D opengl display Linux NO DEPTH (but is working fine on Windows)
-
Hello everyone,
I have a problem that i tried to solve for quite some time now.
I'm on linux 20.04, my opengl version is 4.5, i'm using QT 5.15.2, i also use qglViewer.
I'm working on an projet, that work fine on Windows. I'm on linux tho. I made everything work, but i have a display issue. It's like there is no depth.
i tried http://libqglviewer.com/examples/screenCoordSystem.html and the same isue is displaying.
Other C++ aplication using openGL (like graphite inria) all works fine.
On my main i have : QApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
i verified the opengl fonctions like : glEnable(GL_DEPTH_TEST);
they must be fine, and it's working on windows anyway.
I tried to use the binary and open it on other linux. Everything work, but there is no 3D dispay at all ! I will try to recompile it entirely on an other linux, but i can't do that know.
So i tried to use buGLe, to trace bug on openGL, but i couldn't install it. I did a APItrace.
There is no problem on the trace !
I can't find where the issue is coming from.