Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Linux 4k resolution, create multiple openglwidget, will be killed by the system
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 1.6k 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.
  • E Offline
    E Offline
    ericyanhj
    wrote on 5 Mar 2018, 07:33 last edited by
    #1

    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

    J 1 Reply Last reply 5 Mar 2018, 09:27
    0
    • E ericyanhj
      5 Mar 2018, 07:33

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 5 Mar 2018, 09:27 last edited by
      #2

      @ericyanhj Why does your app consume so much memory?

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

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ericyanhj
        wrote on 5 Mar 2018, 09:50 last edited by
        #3

        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)

        J 1 Reply Last reply 5 Mar 2018, 09:53
        0
        • E ericyanhj
          5 Mar 2018, 09:50

          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)

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 5 Mar 2018, 09:53 last edited by
          #4

          @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
          0
          • E Offline
            E Offline
            ericyanhj
            wrote on 5 Mar 2018, 09:59 last edited by
            #5

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

            1 Reply Last reply
            0
            • T Offline
              T Offline
              timday
              wrote on 21 Mar 2018, 00:11 last edited by
              #6

              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
              0

              • Login

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