-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland display issue on Qt6 #84
Comments
Problem could be recreated with Qt6 example openglwindow (https://doc.qt.io/qt-6/qtopengl-openglwindow-example.html)
|
The ghosting problem sounds like a problem with double buffering, but it could also be a problem with clearing the color buffers in the back buffer. The memory usage problems are probably related to display lists, since changing the memory usage setting mainly changes what gets stored in display lists. (The high memory usage setting also flattens the conditional line geometry to the top level to allow for multithreaded conditional processing.) Given that you see the same problems in the Qt examples, I would say that either Qt itself is broken, or that Wayland is broken. If I had to guess, they never bothered to test OpenGL 1.x functionality. Unfortunately, I can't think of anything to do to fix LDView. You may be able to fiddle around with the For the memory usage problems, I feel that the same applies, but you could test my supposition about display lists by modifying the code to never set the display list flags to true when running in Qt6. I think that the best way to do this is to just use If you can't figure out how to fix the ghosting by tweaking the Regarding snapshot saves, I don't even know where to begin. Once again, I strongly suspect that the problem is buggy Qt and/or Wayland, and I don't have any real hope of figuring out a fix. |
Describe the bug
Backing store is not working on Qt6 using QOpenGLWidget
To Reproduce
to build run the following command:
qmake-qt6.sh -spec linux-g++-64 ; make clean all
run the following command
./LDView -platform wayland ../m6459.ldr
Expected behavior
Clear background is expected
Screenshots
Platform (please complete the following information):
Additional context
Same issue ont Qt5 if option QOPENGLWIDGET is enabled.
Without option QOPENGLWIDGET blank window is displayed on Wayland.
The text was updated successfully, but these errors were encountered: