Qt Forum

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

    Forum Updated on Feb 6th

    Unsolved Linux 4k resolution, create multiple openglwidget, will be killed by the system

    Mobile and Embedded
    3
    6
    1119
    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.
    • E
      ericyanhj last edited by

      Linux 4k resolution, create multiple openglwidget, because memory usage is too large, resulting in kill by the system. . . If only the widget is no problem. Can you help me provide ideas?
      0_1520235146980_QQ图片20180305110100.png
      0_1520235169908_QQ2.png
      1_1520235169909_QQ3.png
      2_1520235169909_QQ4.png

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @ericyanhj last edited by

        @ericyanhj Why does your app consume so much memory?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • E
          ericyanhj last edited by

          I do not know why, this is where I am confused. This is a very simple program, just created a few qopenglwidget. However, The use of qwidget instead of qopenglwidget, the problem will not exist. (My English is not very good, please forgive me)

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @ericyanhj last edited by

            @ericyanhj How do you know memory usage is too high? Could be that the problem is somewhere else.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • E
              ericyanhj last edited by

              Because I use the "dmesg" command to view the above wrote "Out of memory: Kill process 15370".

              1 Reply Last reply Reply Quote 0
              • T
                timday last edited by

                If QWidget works, but QOpenGLWidget fails with some out-of-memory error... my first thought would be to want to know more about how much graphics memory there is and whether there's enough to support multiple framebuffers and depth-buffers at the required resolution (5 UHD resolution 32-bit framebuffers and 16-bit depth buffers would probably fail on a GPU with only 512MByte or less).

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