[Interest] [Qt3D] 5.10.0 crash with OpenGL ES 2.0 on desktop

Gil H qt at tastytech.ca
Tue Dec 19 20:49:02 CET 2017


Hi David, I logged this bug here: https://bugreports.qt.io/browse/QTBUG-64964  Feel free to comment on it to include your findings, and upvote so it actually gets addressed :)

Cheers,

Gil

On 2017-12-18, 5:56 AM, "Interest on behalf of david crémoux" <interest-bounces+qt=tastytech.ca at qt-project.org on behalf of david at adeko.com> wrote:

    
    On 18.12.2017 13:44, Konstantin Tokarev wrote:
    > 
    > 
    > 18.12.2017, 09:05, "david crémoux" <david at adeko.com>:
    >> Hello,
    >>
    >> I have a crash when forcing to use opengl es on desktop for 5.10.0
    >> version (via: QApplication::setAttribute(Qt::AA_UseOpenGLES)).
    >> It comes from QT3D_UNIFORM_TYPE_IMPL (graphicscontext_p.h:366),
    >> m_rawByteSize is set to 0.
    >>
    >> Looking at the sources it seems that m_rawByteSize is never initialized
    >> for opengl es 2.0 (for other api, it is correctly initialized in
    >> programUniformsAndLocations).
    >>
    >> Or am I doing something wrong?
    > 
    > Documentation says: "Forces the usage of OpenGL ES 2.0 or higher on
    > platforms that use dynamic loading of the OpenGL implementation"
    > 
    > AFAIK dynamic loading is used only on Windows with `-opengl dynamic`
    > configuration.
    > 
    > What platfrom are you using?
    
    I'm using windows 10 with Qt 5.10 64 bits as precompiled dynamic 
    libraries (the ones that come with maintenance tool).
    
    I traced from where the crash is coming from using sources.
    GraphicsHelperES2 is used during runtime to compile shaders so I expect 
    OpenGL ES 2.0 (i.e.: angle) is indeed used.
    
    >>
    >> regards,
    >> david
    >>
    >> _______________________________________________
    >> Interest mailing list
    >> Interest at qt-project.org
    >> http://lists.qt-project.org/mailman/listinfo/interest
    > 
    _______________________________________________
    Interest mailing list
    Interest at qt-project.org
    http://lists.qt-project.org/mailman/listinfo/interest
    


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171219/d3d99911/attachment.html>


More information about the Interest mailing list