Unsolved Mouse Cursor movement becomes slow when using QtCharts
-
Hi,
We are running Qt application that consists on only one QtChart on embedded platform. When we run the application on 4k monitor with one QtChart which covers whole screen, we observed the mouse cursor movement becomes slow (QtChart it plots 4096 points). We also tried without plotting the points and see no change in the mouse cursor movement. But when we reduce the size of the QtChart to some fixed size (say 100x100), the mouse cursor movement is smooth. Could anyone give us some clue to fix the issue in full screen.Thanks
Tirupathi -
Hi,
What embedded platform are you using ?
Generating and drawing 4k images are pretty expensive operations It might be just that your device is underpowered for that task.
-
@SGaist , we are using embedded QT on ZynqMP platform. Here are few more scenarios we observed.
- We added a full hd image to our application and we see no delay in mouse movement.
- Adding QtChart to full screen (without plotting any points on it) made mouse movement slow.
Thanks
-
What are the specs of that platform ?
Do you have a GPU with it ?
-
yes. It has GPU.
-
Again, having the specification of your system at hand would be very useful. Not all GPU/CPU combo are equal.
e.g. a RaspberryPi 1 can't really compare to a Jetson TK1.
-
@SGaist, Here is the link to the spec https://www.xilinx.com/support/documentation/product-briefs/zynq-ultrascale-plus-product-brief.pdf. we are using EG device.
-
While the dedicated video codec unit might be able to handle 4k, the GPU works at max 1080p.
You need to take that into account when using OpenGL (what the QtChart module does)
-
ok.
Thanks for the information @SGaist -
@SGaist Do you mean 1080p buffer size? coz GPU renders texture and not dependent on resolution. Can we get any spec for this if any?
-
It's written in your device documentation that the GPU renders at 1080p.
That doesn't mean you can't process larger texture. Like you can write a text line a 1000 word long, your screen won't show the complete line but you still can write it.
-
Thanks @SGaist