Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using old QGLwidget from Qt 4.8.2

Using old QGLwidget from Qt 4.8.2

Scheduled Pinned Locked Moved Solved General and Desktop
qtopenglqt4.8qglwidget
11 Posts 4 Posters 1.1k Views
  • 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 15 Jul 2020, 19:16 last edited by
    #2

    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
    1
    • Q Offline
      Q Offline
      QttCoreTester
      wrote on 15 Jul 2020, 19:29 last edited by QttCoreTester
      #3

      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.

      M 1 Reply Last reply 15 Jul 2020, 19:35
      0
      • Q QttCoreTester
        15 Jul 2020, 19:29

        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.

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 15 Jul 2020, 19:35 last edited by
        #4

        @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 16 Jul 2020, 14:38
        0
        • M mrjj
          15 Jul 2020, 19:35

          @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 Offline
          Q Offline
          QttCoreTester
          wrote on 16 Jul 2020, 14:38 last edited by
          #5

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

          M 1 Reply Last reply 16 Jul 2020, 14:44
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 16 Jul 2020, 14:43 last edited by
            #6

            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
            1
            • Q QttCoreTester
              16 Jul 2020, 14:38

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

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 16 Jul 2020, 14:44 last edited by
              #7

              @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
              0
              • Q Offline
                Q Offline
                QttCoreTester
                wrote on 16 Jul 2020, 14:51 last edited by QttCoreTester
                #8

                @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
                1
                • S Offline
                  S Offline
                  SimonSchroeder
                  wrote on 17 Jul 2020, 06:48 last edited by
                  #9

                  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 27 Jul 2020, 08:13
                  1
                  • S SimonSchroeder
                    17 Jul 2020, 06:48

                    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 Offline
                    Q Offline
                    QttCoreTester
                    wrote on 27 Jul 2020, 08:13 last edited by
                    #10

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

                    1 Reply Last reply
                    0
                    • Q Offline
                      Q Offline
                      QttCoreTester
                      wrote on 2 Aug 2020, 14:33 last edited by QttCoreTester 9 Apr 2020, 10:51
                      #11

                      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
                      1

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved