Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Using old QGLwidget from Qt 4.8.2

    General and Desktop
    qtopengl qt4.8 qglwidget
    4
    11
    406
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      QttCoreTester last edited by QttCoreTester

      I know QGLwidget is obsolete but I have application that use it. There is a widget that was inherited from Qglwidget. Recently after new Intel graphics driver updates I observed a crash.

      Many gl calls from the Widget throws floating point exception. Is there someone who had a similar experience.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Since you updated the driver, it could be an issue of the driver.

        Are you really tied to 4.8.2 ? If locked to Qt 4, then try with 4.8.7 which is the latest and last from that series. Otherwise, please consider moving to Qt 5.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • Q
          QttCoreTester last edited by QttCoreTester

          Hi Thank you.

          I tried gl calls directly, there is no exception. But once Qglwidget is instantiated, calls "InitGL" most gl calls starts to throw exception. So, one cannot blame the driver update.

          Qt5 is not an option. Maybe 4.8.7 is an option, Are 4.8.2 and 4.8.7 compatible with each other.

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @QttCoreTester last edited by

            @QttCoreTester said in Using old QGLwidget from Qt 4.8.2:

            Are 4.8.2 and 4.8.7 compatible with each other.

            Should be.

            Q 1 Reply Last reply Reply Quote 0
            • Q
              QttCoreTester @mrjj last edited by

              I tried Qt 4.8.7, OpenGL calls still crashes on Windows 10 with new Intel graphics drivers.

              mrjj 1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Check if it's really the latest driver, if not update, otherwise go back to the previous version.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 1
                • mrjj
                  mrjj Lifetime Qt Champion @QttCoreTester last edited by

                  @QttCoreTester
                  Hi
                  Its odd that QGLwidget crashes but direct openGL calls are fine (if i understood you right) so
                  must be something in QGLwidget that is no longer compatible with that intel driver.

                  Seems to be the end of the road for QGLwidget.
                  I wonder if its Intel related or it would crash on newer RTX cards too.

                  1 Reply Last reply Reply Quote 0
                  • Q
                    QttCoreTester last edited by QttCoreTester

                    @SGaist
                    I am using the latest driver 27.20.100.8336. The Problem occurs with newer drivers, older drivers are working fine.

                    @mrjj
                    Yes you are right.

                    No idea on what happens on other Cards. Maybe it is specific to Intel.

                    1 Reply Last reply Reply Quote 1
                    • S
                      SimonSchroeder last edited by

                      My best guess is that newer drivers might have lost some functionality. Initially, OpenGL used calls like glVertex(), glLight, etc. Modern OpenGL has found replacements for these. It could be that Intel is only implementing EGL, which would be a lot like modern OpenGL. This would also mean that old functionality is not available anymore. Does the driver list which versions (and maybe profiles) of OpenGL it is supporting? (Asking this question I also remember that somehow a more strict profile could be configured in your app.)

                      Q 1 Reply Last reply Reply Quote 1
                      • Q
                        QttCoreTester @SimonSchroeder last edited by

                        @SimonSchroeder The driver release notes just says it support OpenGL 4.6, no more info.

                        1 Reply Last reply Reply Quote 0
                        • Q
                          QttCoreTester last edited by QttCoreTester

                          The issue is no longer observed with the latest Intel graphics driver beta version(27.20.100.8581). Fixed in latest release version 27.20.100.8587

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post