Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Extremely slow to launch (windows 11)-- 1.5 minutes from launch to display #1565

Closed
1 task
jamon opened this issue Feb 21, 2024 · 2 comments
Closed
1 task
Labels
bug Something isn't working

Comments

@jamon
Copy link

jamon commented Feb 21, 2024

Operating System

Windows

What's the issue you encountered?

App launches extremely slowly, logs included below:

& 'C:\Program Files\ImHex\imhex.exe' test\simple.o
[14:50:05] [INFO]  [libimhex]   Loading plugin 'ui.hexpluglib'
[14:50:05] [INFO]  [ui]         Library plugin 'ui' initialized successfully
[14:50:05] [INFO]  [libimhex]   Loading plugin 'builtin.hexplug'
[14:50:05] [INFO]  [libimhex]   Loading plugin 'decompress.hexplug'
[14:50:05] [INFO]  [libimhex]   Loading plugin 'disassembler.hexplug'
[14:50:05] [INFO]  [libimhex]   Loading plugin 'hashes.hexplug'
[14:50:05] [INFO]  [libimhex]   Loading plugin 'script_loader.hexplug'
[14:50:05] [INFO]  [libimhex]   Loading plugin 'visualizers.hexplug'
[14:50:05] [INFO]  [libimhex]   Loading plugin 'windows.hexplug'
[14:50:05] [INFO]  [libimhex]   Loading plugin 'yara_rules.hexplug'
[14:50:05] [INFO]  [main]       Welcome to ImHex 1.32.2!
[14:50:05] [INFO]  [main]       Compiled using commit master@a1edb1b
[14:50:05] [INFO]  [main]       Running on Windows 10.0.22621 (x86_64)
[14:50:46] [INFO]  [main]       Native scaling set to: 1.0
[14:50:46] [INFO]  [main]       Using 'NVIDIA Corporation' GPU
[14:50:46] [INFO]  [main]       Task 'Setting up environment' finished successfully in 0 ms
[14:50:46] [INFO]  [main]       Task 'Creating directories' finished successfully in 8 ms
[14:50:46] [INFO]  [main]       Task 'Loading settings' finished successfully in 0 ms
[14:50:46] [INFO]  [libimhex]   Loading plugin 'ui.hexpluglib'
[14:50:46] [INFO]  [ui]         Library plugin 'ui' initialized successfully
[14:50:46] [INFO]  [libimhex]   Loading plugin 'builtin.hexplug'
[14:50:46] [INFO]  [libimhex]   Loading plugin 'decompress.hexplug'
[14:50:46] [INFO]  [libimhex]   Loading plugin 'disassembler.hexplug'
[14:50:46] [INFO]  [libimhex]   Loading plugin 'hashes.hexplug'
[14:50:46] [INFO]  [libimhex]   Loading plugin 'script_loader.hexplug'
[14:50:46] [INFO]  [libimhex]   Loading plugin 'visualizers.hexplug'
[14:50:46] [INFO]  [libimhex]   Loading plugin 'windows.hexplug'
[14:50:46] [INFO]  [libimhex]   Loading plugin 'yara_rules.hexplug'
[14:50:46] [INFO]  [libimhex]   Layout unlocked
[14:50:46] [INFO]  [libimhex]   Plugin 'builtin.hexplug' initialized successfully
[14:50:46] [INFO]  [libimhex]   Plugin 'decompress.hexplug' initialized successfully
[14:50:46] [INFO]  [libimhex]   Plugin 'disassembler.hexplug' initialized successfully
[14:50:46] [INFO]  [libimhex]   Plugin 'hashes.hexplug' initialized successfully
[14:50:46] [INFO]  [libimhex]   Plugin 'script_loader.hexplug' initialized successfully
[14:50:46] [INFO]  [libimhex]   Plugin 'visualizers.hexplug' initialized successfully
[14:50:46] [INFO]  [libimhex]   Plugin 'windows.hexplug' initialized successfully
[14:50:46] [INFO]  [libimhex]   Plugin 'yara_rules.hexplug' initialized successfully
[14:50:46] [INFO]  [main]       Task 'Loading plugins' finished successfully in 95 ms
[14:50:46] [INFO]  [main]       Task 'Configuring UI scale' finished successfully in 0 ms
[14:50:46] [INFO]  [main]       Task 'Checking for updates' finished successfully in 0 ms
[14:50:46] [INFO]  [main]       Task 'Loading fonts' finished successfully in 306 ms
[14:50:46] [INFO]  [main]       ImHex fully started in 442ms
[14:51:27] [INFO]  [libimhex]   Switching to workspace 'Default'

How can the issue be reproduced?

launching the app via command line or desktop icon has the same result

ImHex Version

1.32.2

ImHex Build Type

  • Nightly or built from sources

Installation type

MSI

Additional context?

No response

@jamon jamon added the bug Something isn't working label Feb 21, 2024
@WerWolv
Copy link
Owner

WerWolv commented Feb 21, 2024

Hey!
That is extremely weird, it starts within about half a second for me on Windows.
From the logs, it looks like it must be hanging in the glfw intialization / window creation function (Once for the splash screen and once for the main window) which makes me think that something on your system interferes with Window creation or maybe OpenGL context creation.
Do you have some window management software installed or some programs that might mess with GPU settings?
Also if you have a Anti Virus tool running, please try disabling it temporarily and see if the issue persists. In any case it doesn't look like the problematic code is actually inside of ImHex but in GLFW.

@jamon
Copy link
Author

jamon commented Feb 21, 2024

Updating nvidia drivers and doing a full power cycle seems to have fixed it... I'm guessing windows borked something in the background--sorry for the erroneous report!

@jamon jamon closed this as completed Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants