[Interest] [Qt3D] Update vertex buffer data together with increasing count of vertices leads to artifacts

2017-04-21 Thread Oleg Evseev
Hi, I frequently update geometry with help of updateData function of vertex QBuffer, increasing vertices count with help of setCount function of geometry position QAttribute like this: uint vertexCount = positionAttribute->count(); vertexBuffer->updateData(vertexCount*3*sizeof(VERTEX_TYPE),a

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Ulf Hermann
ps: i had a chat with a mozilla developer some time ago: they never use desktop opengl on windows, but only use ANGLE with a fallback to software rendering, if the application crashes on customer's machines. You can force Qt to use Angle by setting the QT_OPENGL environment variable to QT_OPENG

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Tim Blechmann
>> It seems to be specific to the following configuration: - Nvidia >> geforce 1060 or 1070 at least (can't reproduce with a 980 GTX) > > So you actually tried with another GPU (possibly different driver) > and said yourself that you cannot reproduce this. So why suspect > Qt/QML in the first plac

[Interest] SignalTranisition: using of signal arguments within onTriggered handler?

2017-04-21 Thread Jan Krause
Hi all, a transition of a state machine has normally the properties trigger/signal, guard, action... a SignalTransition (http://doc.qt.io/qt-5/qml-qtqml-statemachine-signaltransition.html) of the declarative state machine framework has signal + guard ... where is the action property? there i

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Xavier Bigand
This is not directly related, but that it is why I thought it was a Qt bug. It it so easy in OpenGL to use badly API and having a good result that will work on almost all configurations. Dislike in Vulkan there is no way to check if APIs are correctly used, so when we test our engine we can't real

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Viktor Engelmann
I'm not an OpenGL expert, so this might be completely unrelated, but this reminded me of http://lists.qt-project.org/pipermail/interest/2016-October/025009.html On 21.04.2017 14:51, Xavier Bigand wrote: > Hi Oliver, > > All other applications that crash at startup on the hardware on which > we

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Xavier Bigand
Hi Oliver, All other applications that crash at startup on the hardware on which we also have the issue are made with Qt, games and all other applications are running fine. We finally found that it is specific to the latest Nvidia driver 381.65 and at least geforce 1070 and 1060, we have tested on

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Till Oliver Knoll
> Am 20.04.2017 um 21:04 schrieb Xavier Bigand : > > It is not necessary a bug from Nvidia, it can comes from bad parameters to > functions like glDrawElements. Nividia drivers don't check a lot the > parameters and given wrong values can cause buffer overflows,... Still a bug in nVidia code

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Till Oliver Knoll
> Am 20.04.2017 um 19:27 schrieb Xavier Bigand : > > ... > > It seems to be specific to the following configuration: > - Nvidia geforce 1060 or 1070 at least (can't reproduce with a 980 GTX) So you actually tried with another GPU (possibly different driver) and said yourself that you cannot

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Till Oliver Knoll
> Am 20.04.2017 um 19:27 schrieb Xavier Bigand : > > Hi, > > > I think that I have found a crash in the nvidia drivers made by QtQuick. > > On the computer on which our application crash at startup in the nvoglv32.dll > QtCreator crash too in the same way, that it why I suspect that it comes

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Xavier Bigand
Here is the trace. I don't know if it is an error from the Nvidia drivers or Qt. 2017-04-20 23:01 GMT+02:00 Xavier Bigand : > Ok, Thank you for suggestions Sergio, I also never used Apitrace. > > The black list seems to be a good thing even if it can't work for us as > for the moment we have our