I think you need to get in touch with Qt support for this.
I think you need to get in touch with Qt support for this.
Well we did dump our maintenance contract. I only started exploring this again because of the LGPL announcement (we got tired of ever increasing maintenance fees while it seemed like qt4 wasn't really making things better).
I did some more looking into that code and I do see ways of making our own application faster, it just requires a helluva lot more code to limit redraws which definitely was not an issue with qt3. Back to the reasoning behind us dumping maintenance.
Have you verified the problem is related to the X protocol? How much bandwidth does the application consume?
A single click results in a spike of 30MB/s on a full screen 1920x1200 application.
Total network transfer itself is about 15MB on that, using a single event as the driver. since that's network transfer itself that definitely contributes to the perceived slowness. I used iftop to gather some of these statistics.
On our own application I probably could spend a couple days trying to totally fix this problem, although our own application is good enough remotely. I'm a bit more concerned about our partner's application which processes our output.
Customer just confirmed....the windows build of that application also runs unacceptably with windows terminal server...
Last edited by bnolsen; 23rd January 2009 at 19:50.
"Speed" won't tell us anything. How many bytes are transferred per click?
Is your main window QGraphicsView (previous QCanvas) based? Or something else? If graphics view, you can sometimes get into pathological cases where the bounding rects overlap such that everything needs to be redrawn even if only a small line changes. If this is the case, you may want to play around with QGraphicsView::setOptimizationFlags().
But without your source code it's had to track down what's wrong. That's where support contracts come in handy, you don't have to share your source with the world in order for someone to figure out your problem.
No we're not using QCanvas or QGraphicsView
We have extremely rigorous demands for sub pixel accuracy and have all of our own precise transforms. My partner actually worked with the developer responsible for qt's engine at qt4 was being written to try get these type transforms introduced. That didn't happen.
Bookmarks