Skip to content

Instantly share code, notes, and snippets.

@ocornut
Last active October 17, 2022 03:46
Show Gist options
  • Save ocornut/89ae5820c497510761e4c313ef5e0219 to your computer and use it in GitHub Desktop.
Save ocornut/89ae5820c497510761e4c313ef5e0219 to your computer and use it in GitHub Desktop.
Recap
This only seems to happen with multiple-contexts (on secondary windows + GL contexts that we create)
Unfortunately I can't reliably repro myself so rather frustrating.
https://github.com/ocornut/imgui/issues/3381
- @jc211 reports: glBufferData() leads to leak on NVIDIA Quadro P3200 running driver 451.77
- "If the glfw OpenGL version is anything other than 3.0, it will cause a major memory leak as described above."
- Tested SDL, GLFW, different loaders (same)
- @overshifted: "I Nvidia Geforce GTX 1050m (laptop edition) and nvidia driver version 445.75 and running Imgui 1.78 WIP on Windows10 and OpenGL 4.6 but I don't have that much memory leak"
https://github.com/ocornut/imgui/issues/4468
- @parbo reports: glBufferData() leads to leak on Intel UHD 27.20.100.9168
- glBufferData(NULL) followed by glBufferData(xxx) doesn't fix it.
- glBufferSubData() seems to fix it
- @straywriter reports glBufferSubData() creates corruption on GeForce GTX 1050 Ti, 457.49
https://github.com/ocornut/imgui/issues/4825
- @neo-mashiro reports both crashes: (GTX 1050 Ti , GL 4.6)
- "Hi, I've been having this problem for a long time on my GTX 1050 Ti card, when line 428 below gets called, access violation occurs. Today I just tried the newest version 1.86 where glBufferData() was changed to glBufferSubData(), but the error is still there"
- "It looks like a driver issue because it only happens on my NVIDIA 1050 ti card, but works fine on AMD 540 and Intel HD 620."
- GLAD include changes context version, suggest issue with glDebugMessageXXX functions.
https://github.com/ocornut/imgui/issues/4832
- @inanevin reports glBufferSubData() corruption with 'RTX 2070 - Driver: v472.39". Change to glBufferData() fixes it.
- @inanevin "on the work laptops issue only occurs on integrated Intel UHD series graphics cards."
- @parbo "I have this problem too. It goes away if I force my app to use the discrete graphics card in the Windows graphics settings (I have a Dell XPS 15)."
https://github.com/ocornut/imgui/issues/5617
- @MacQuant reports corruption, missing details.
https://github.com/ocornut/imgui/issues/5655
- @gamecoder-nz reports corruption with Intel UHD 26.20.100.7463, GL 3.0. Change to UseBufferSubData == false fixes it.
- @WerWolf reports corruption with Intel HD Graphics 630, GL 3.0. Change to UseBufferSubData == false fixes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment