[PyQt] QGraphicsView very slow under Linux and Mac OS X

Clemens Brunner clemens.brunner at tugraz.at
Wed Apr 3 16:28:28 BST 2013


On 04/03/2013 04:23 PM, Hans-Peter Jansen wrote:

> What you see is possibly related to the default Qt graphics engine:
> when using:
>
> 	QT_GRAPHICSSYSTEM=opengl python graphicsviewtest.py
>
> the values are oscillating around 150 here. With "native" and "raster", it's
> back to 25: openSUSE 12.2/x86_64, 2560x1600x32, nvidia proprietary graphics,

That's what I suspected initially. However, my graphics engine was set 
to native by default. I just tried all three engines:
* native: around 100ms
* raster: around 100ms
* opengl: greater than 300ms

I tested it on Arch Linux x86_64, 1920x1080, python2 2.7.3-4, sip 
4.14.5-1, qt4 4.8.4-16, python2-pyqt 4.10-1.

That's really weird... I will try to set up an openSUSE box in my 
VirtualBox to see if that works.

Clemens


More information about the PyQt mailing list