Linux 4k resolution, create multiple openglwidget, will be killed by the system
-
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?
@ericyanhj Why does your app consume so much memory?
-
-
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)
@ericyanhj How do you know memory usage is too high? Could be that the problem is somewhere else.
-
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).