Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-21 Thread Daljit Singh
ault solution provided by Qt (although from the example in the documentation it doesn't seem to be too bad). From: Interest on behalf of Nikos Chantziaras Sent: 21 August 2020 03:10 To: interest@qt-project.org Subject: Re: [Interest] Mouse/Pen input laten

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-21 Thread Giuseppe D'Angelo via Interest
Il 19/08/20 17:57, Daljit Singh ha scritto: Now I think there might be some ways this could be solved: Just as an extra data point: have you tried driving the Qt Quick render loop manually, using QQuickRenderControl? My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-20 Thread Nikos Chantziaras
On 19/08/2020 18:57, Daljit Singh wrote: - the vsync issue is commonly known in competitive gaming where input lag is quite important, one way to solve this would to limit the framerate of the application to be slightly lower than the display refresh rate (this https://medium.com/@petrakeas/vs

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-19 Thread Daljit Singh
f of Daljit Singh Sent: 15 August 2020 01:08 To: interest@qt-project.org Subject: [Interest] Mouse/Pen input latency in Qt Quick and render loop Hi, I am developing a cross platform application for displaying pen input. The project requires real-time rendering of digital ink (stylus input) and he

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-19 Thread Andreas Cord-Landwehr
Hi Daljit, do you work on Wayland or on X11? If you are on Wayland, the problem with the render loop sounds like: https://codereview.qt-project.org/c/qt/qtwayland/+/306305 Cheers, Andreas On Mittwoch, 19. August 2020 13:08:26 CEST Daljit Singh wrote: > To follow up on this, I was looking at the

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-19 Thread Daljit Singh
To follow up on this, I was looking at the source code for the renderloop in the Qt repositories and I found this comment here https://github.com/qt/qtdeclarative/blob/dev/src/quick/scenegraph/qsgrenderloop.cpp#L79: [https://avatars2.githubusercontent.com/u/159455?s=400&v=4]

[Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-14 Thread Daljit Singh
Hi, I am developing a cross platform application for displaying pen input. The project requires real-time rendering of digital ink (stylus input) and hence the latency of the rendered strokes is very important. To render the strokes I am using a custom QQuickItem together with QSGRenderNode. Unf