Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-08 Thread Denis Shienkov
> BUT: If I use resize(w, h+1) or resize(w, h-1), then, seems I do not see any flickers. Sorry, but with XCB also flickered. :( 2016-08-08 14:05 GMT+03:00 Denis Shienkov : > > Can you try the regular xcb qpa plugin and see whether that has the same > behavior? > > Yes, I have tested it with XCB

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-08 Thread Denis Shienkov
> Can you try the regular xcb qpa plugin and see whether that has the same behavior? Yes, I have tested it with XCB and see the same issue. But only when I use fullScreen() or resize(w, h), where 'w' and 'h' it is native screen size. BUT: If I use resize(w, h+1) or resize(w, h-1), then, seems I d

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Louai Al-Khanji
> On Aug 4, 2016, at 6:10 AM, Denis Shienkov wrote: > > I'm going to guess you're using eglfs or something like that > > Yes, I use EGLFS via X11 on Linux Apalis T30 board, where are used NVIDIA's > drivers. > Can you try the regular xcb qpa plugin and see whether that has the same behavior?

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Denis Shienkov
UPD: Now, I have running the qopenglwindow example application with QT_QPA_EGLFS_FORCE888=1 and see that flickering artifacts occurred sometimes. It is an interest moment, that without QT_QPA_EGLFS_FORCE888, the OpenGL draws the rectangle more slowly. 2016-08-05 16:47 GMT+03:00 Denis Shienkov : >

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Denis Shienkov
> Just change example, as you picked one which uses multiple TLWs... I haven't found an example which works with the OpenGL ES2. I have tried "hellogles3" application, but it failed too. UPD: When I use RGBA in QML, then I see following debug messages: {quote} qt.scenegraph.general: animatio

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Giuseppe D'Angelo
On Fri, Aug 5, 2016 at 2:56 PM, Denis Shienkov wrote: > EGLFS: OpenGL windows cannot be mixed with others. Just change example, as you picked one which uses multiple TLWs... -- Giuseppe D'Angelo ___ Development mailing list Development@qt-project.org

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Denis Shienkov
>> I suggested to use an OpenGL example > Pure Open GL example does not work at all (e.g. I tried Cube example).. I see only a black screen, and some of OpenGL textures errors. Also I have tried to use an ContextInfo example, where it is possible to choose an OpenGL or OpenGL ES. 1. So, when it i

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Denis Shienkov
> I suggested to use an OpenGL example Pure Open GL example does not work at all (e.g. I tried Cube example).. I see only a black screen, and some of OpenGL textures errors. PS: I have crerated a bug https://bugreports.qt.io/browse/QTBUG-55162 (just in case) 2016-08-05 14:39 GMT+03:00 Sean Harme

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Sean Harmer
I suggested to use an OpenGL example, not a Qt Quick one. We're trying to isolate where the issue is in the stack. So use a single threaded, plain OpenGL application with a 32 bit framebuffer and see if that gives the same issue. Cheers, Sean On Friday 05 August 2016 14:22:00 Denis Shienkov w

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Denis Shienkov
So, I have compiled the standard Samehame QMML application from: /home/builder/Projects/qt5/qtdeclarative/examples/quick/demos/samegame/ and got same artifacts when I use RDBA= mode. I have "screenshoot" of this flicking attifact: http://pasteboard.co/4XjMl3GNq.png I'm personally don't thin

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Sean Harmer
On Friday 05 August 2016 12:02:10 Denis Shienkov wrote: > > Can you try a plain OpenGL test application with RGBA8 framebuffer > > Do you mean: I should take any OpenGL application from the Qt examples? And > to check there? You may need to modify it to explicitly request R8G8B8A8 using a QSurfa

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Denis Shienkov
> Can you try a plain OpenGL test application with RGBA8 framebuffer Do you mean: I should take any OpenGL application from the Qt examples? And to check there? 2016-08-05 11:53 GMT+03:00 Sean Harmer : > Hi, > > Can you try a plain OpenGL test application with RGBA8 framebuffer and see > if > th

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-05 Thread Sean Harmer
Hi, Can you try a plain OpenGL test application with RGBA8 framebuffer and see if that exhibits the same flashing/flickering problem. If so, it's a driver/hardware issue. If you are forced into then using a 16-bit framebuffer, then you can avoid the banding by using dithering in your gradients

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-04 Thread Denis Shienkov
Hi all, I have an idea how to avoid flickering, but I don't know about results: what if I will discard the Open GL support in favor to Quick2 render? I have read this documentation: http://doc.qt.io/QtQuick2DRenderer/ which says about the "Qt Quick 2D Renderer" module. So, my things is: 1. Dow

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-04 Thread Denis Shienkov
Hi Robin, > Repeating my last answer... > http://lists.qt-project.org/pipermail/development/2016-July/026736.html I'm sorry, but I did not receive (did not see) your last answer. > I'm going to guess you're using eglfs or something like that Yes, I use EGLFS via X11 on Linux Apalis T30 board, w

[Development] [QML] Avoiding graphics flicker in Quick2

2016-08-04 Thread Denis Shienkov
{quote} Hi all. I have some QML application, where just use QQuickView as QML container. This application uses Qt 5.7.x and running on Linux embedded board with the NVIDIA core (Toradex Apalis T30). But sometimes I got flickering in process of animation. A flickering represents in form of a "whi

Re: [Development] [QML] Avoiding graphics flicker in Quick2

2016-07-29 Thread Robin Burchell
On Thu, Jul 28, 2016, at 02:37 PM, Denis Shienkov wrote: > So, my questions is: is there are any way to setup > Qt::WA_OpaquePaintEvent > and/or > Qt::WA_NoSystemBackground in Quck2? Or, maybe is it possible to use > another > tricks? Ah, the memories. Good times. Unfortunately for you, QQ2 is a

[Development] [QML] Avoiding graphics flicker in Quick2

2016-07-28 Thread Denis Shienkov
Hi all. I have some QML application, where just use QQuickView as QML container. This application uses Qt 5.7.x and running on Linux embedded board with the NVIDIA core (Toradex Apalis T30). But sometimes I got flickering in process of animation. A flickering represents in form of a "white" strip