7 December 2025
# QApplication.setAttribute(Qt.ApplicationAttribute.AA_UseDesktopOpenGL)
QApplication.setAttribute(Qt.ApplicationAttribute.AA_UseOpenGLES)
QApplication.setAttribute(Qt.ApplicationAttribute.AA_ShareOpenGLContexts)
# os.environ["QTWEBENGINE_CHROMIUM_FLAGS"] = (
# "--ignore-gpu-blacklist "
# "--enable-gpu-rasterization "
# "--enable-zero-copy "
# "--num-raster-threads=4"
# "--disable-pinch"
# )
from PySide6.QtQuick import QQuickWindow, QSGRendererInterface
Kian T.Hi everyone. I have a pyside6 app for signal processing with interactive plots using pyqtgraph.
On windows there is no problem at all.
But on ubuntu, it can not show the plots that have too many points , like 60000 points in a plot, or even more.
Can I do something to solve it or it is what it is?
I don't know anything about pyqtgraph, so I can't help you there.
Try porting your graphing logic to Qt Graphs (newer QML module added in Qt 6.6 as TP, out of TP in 6.8) It's designed for higher performance than Qt Charts ever could achieve.. Not sure how it compares to pyqtgraph.