-
Hiya, thanks for this library/framework, I really like the idea of a batteries included imgui distribution, that supports Python! I've started working on a proof-of-concept UI for one of my projects, to test the waters, and everything went pretty well, and the development velocity is surprisingly high (having never used imgui before). But I'm experiencing a weird issue, which I'm pretty sure is something in my setup (Fedora/Conda) and not a problem with imgui_bundle. But I'm at a loss where I could start debugging this, so I figured I'd give it a shot here. I don't know what I did, but at some stage my demo application started to take about 10 seconds to start up (before that it was in the order of 1 second, but that was mostly my own init stuff taking some time). Performance once fully started is crisp, but I can not explain the startup lag. I did a bit of debugging, tried to disable a lot of functionality of my app to figure out where the problem could be, couldn't find anything. On a hunch I tried the Any idea where I could look, or how to pinpoint where/when the freeze happens? I re-installed my conda environment, rebooted my machine to rule out any weird networking issue or some-such, to no avail. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
if also demo_imgu_bundle perf changed, something likely changed in your setup, and a 10 seconds lag makes me suspect a kernel lag (locked file, etc.) May be try diagnosing with strace and see if it block somewhere? Beware strace is really verbose; but sometimes useful |
Beta Was this translation helpful? Give feedback.
-
Ok, found the culprit. I'm not sure who or what put it there, but I had a
Once I deleted that file, all was good again. Any idea how that could have gotten there? |
Beta Was this translation helpful? Give feedback.
-
Happy to read this!
You can change its name via Note: |
Beta Was this translation helpful? Give feedback.
Happy to read this!
You can change its name via
imgui.get_io().set_ini_filename
Note:
hello_imgui adds another file
imgui_app_window.ini
which stores the native app window position and size