Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. 3D opengl display Linux NO DEPTH (but is working fine on Windows)
Forum Updated to NodeBB v4.3 + New Features

3D opengl display Linux NO DEPTH (but is working fine on Windows)

Scheduled Pinned Locked Moved Solved 3rd Party Software
2 Posts 1 Posters 439 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Romane
    wrote on last edited by
    #1

    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. qtbug-3.png qtbug2.png qt_bug1.png
    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 !
    qt-apitrace.png
    I can't find where the issue is coming from.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Romane
      wrote on last edited by Romane
      #2

      it's probably linked to the graphics drivers i have on the PC.
      I make the distribution run on an other linux and it is working fine.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved