knossos-project / knossos

KNOSSOS is a software tool for the visualization and annotation of 3D image data and was developed for the rapid reconstruction of neural morphology and connectivity.
https://knossos.app
GNU General Public License v2.0
74 stars 19 forks source link

forced vsync in newer Qt versions #23

Closed Optiligence closed 10 years ago

Optiligence commented 10 years ago

as of Qt 5.3, vsync is enabled when not explicitly forced off by the driver meaning QGLWidget::update is blocking meaning Knossos updates at max ≤ 15 fps (16.6 ms · 4 QGLWidgets + cpu time) this applies to the complete GUI not just the viewports, which means its really sluggish

Optiligence commented 10 years ago

it seams that this is also affecting versions prior to 5.3

jmrk84 commented 10 years ago

A few threads that might be worth looking at from time to time:

https://bugreports.qt-project.org/browse/QTBUG-29073

http://stackoverflow.com/questions/22636284/qt-how-to-properly-handle-vsync-and-multiple-qglwidgets