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

2017-04-24 Thread Till Oliver Knoll
[with reference to: http://lists.qt-project.org/pipermail/interest/2016-October/025009.html] Am 21.04.17 um 15:17 schrieb 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 wor

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

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

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

2017-04-20 Thread 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 homebrew 3D engine that directly call opengl. If you have tips to migrate our engine to Angle I will be interested because the last t

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

2017-04-20 Thread Sergio Martins
On 2017-04-20 20:04, Xavier Bigand wrote: It is not necessary a bug from Nvidia, it can comes from bad parameters to functions like glDrawElements. Could be, but you'll have to prove it. I suggest: - Create a minimal-testcase which reproduces the problem - Run apitrace on it [1] (Never used it

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

2017-04-20 Thread Tim Blechmann
>> I think that I have found a crash in the nvidia drivers made by QtQuick. > > Then the bug is in NVidia code. Report to them, please. broken opengl drivers are a known issue on windows. it may be reasonable to add this driver/device combination to the qt opengl blacklist and enforce the use of

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

2017-04-20 Thread 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,... 2017-04-20 19:35 GMT+02:00 Thiago Macieira : > On quinta-feira, 20 de abril de 2017 10:2

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

2017-04-20 Thread Thiago Macieira
On quinta-feira, 20 de abril de 2017 10:27:03 PDT Xavier Bigand wrote: > I think that I have found a crash in the nvidia drivers made by QtQuick. Then the bug is in NVidia code. Report to them, please. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source T

[Interest] Crash with Qt application that use OpenGL

2017-04-20 Thread 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 from Qt. It seems to be specific to the following configuration: -