godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.7k stars 20.12k forks source link

Unable to launch Godot 4.0/4.0.2 on Windows 10 (Nahimic 2+ Versione 2.5.35 issue) #76341

Closed Vytek closed 1 year ago

Vytek commented 1 year ago

Godot version

Godot_v4.0.2-stable_win64.exe

System information

    Operating System
        Windows 10 Home 64-bit
    CPU
        Intel Core i7 6700HQ @ 2.60GHz  54 °C
        Skylake 14nm Technology
    RAM
        16,0GB Dual-Channel DDR4 @ 1200MHz (17-17-17-39)
    Motherboard
        Micro-Star International Co. Ltd. MS-16JB (U3E1)
    Graphics
        Generic PnP Monitor (1920x1080@60Hz)
        Intel HD Graphics 530 (MSI)
        2047MB NVIDIA GeForce GTX 1060 (MSI)    49 °C
        SLI Disabled
    Storage
        238GB KINGSTON RBU-SNS8152S3256GG5 (SATA-2 (SSD))   49 °C
        931GB Hitachi HGST HTS721010A9E630 (SATA )  44 °C
    Optical Drives
        HL-DT-ST DVDRAM GUD0N
    Audio
        Realtek High Definition Audio

Operating System Windows 10 Home 64-bit Computer type: Notebook Installation Date: 15/04/2021 09:42:4 Windows Security Center User Account Control (UAC) Enabled Notify level 2 - Default Firewall Enabled Windows Update AutoUpdate Not configured Windows Defender Windows Defender Enabled Antivirus Antivirus Enabled Display Name Windows Defender Virus Signature Database Up to date .NET Frameworks installed v4.8 Full v4.8 Client v3.5 SP1 v3.0 SP2 v2.0 SP2 Internet Explorer Version 11.789.19041.0 PowerShell Version 5.1.19041.1 Java Java Runtime Environment Path C:\Program Files (x86)\Java\jre1.8.0_361\bin\java.exe Version 8.0 Update 361 Build 09

Issue description

I click on the file: Godot_v4.0.2-stable_win64.exe from Explorer. The cursor turns into a wheel for about 5-6 seconds. Absolutely nothing is launched. I get the same result by repeatedly clicking on the executable.

Steps to reproduce

I click on the file: Godot_v4.0.2-stable_win64.exe from Explorer. The cursor turns into a wheel for about 5-6 seconds. Absolutely nothing is launched. I get the same result by repeatedly clicking on the executable.

Minimal reproduction project

No project to upload.

Vytek commented 1 year ago

Tell me how I can help you. Does the editor write a log of some sort?

Zireael07 commented 1 year ago

Try launching from terminal with --verbose parameter

Vytek commented 1 year ago

image

Nothing happens, but if I see the TaskManager the Godot is running, but nothing is displayed. Very strange...

Vytek commented 1 year ago

The process is in idle mode:

image

Vytek commented 1 year ago

I think it is very similar to: https://godotengine.org/qa/148344/godot-4-does-not-open-while-the-3-5-version-opens

Vytek commented 1 year ago

image

Vytek commented 1 year ago

image

Vytek commented 1 year ago

All dependencies seem to be on, I can't understand :-(

Vytek commented 1 year ago

OPENGL Version, etc...

image

Vytek commented 1 year ago

Same problems using --render opengl3

image

clayjohn commented 1 year ago

Do you have an antivirus enabled? It could be stopping the Godot process from running. Some people find they need to whitelist Godot in order to get it to run

Vytek commented 1 year ago

Do you have an antivirus enabled? It could be stopping the Godot process from running. Some people find they need to whitelist Godot in order to get it to run

I have only Windows Defender.

Check on virustotal the file is OK:

https://www.virustotal.com/gui/file/965161cabcfade9b84e36e38e4763f86bcd92a5de00f959f5918c77ff6346c3d

screencapture-virustotal-gui-file-965161cabcfade9b84e36e38e4763f86bcd92a5de00f959f5918c77ff6346c3d-2023-04-22-21_19_18

Vytek commented 1 year ago

OK, I start using strace from https://cmder.app/ Version: Latest Version: v1.3.21

C:\Users\enric\Downloads\Godot_v4.0.2-stable_win64.exe

This is the result log:

λ strace Godot_v4.0.2-stable_win64.exe --- Process 12380 created --- Process 12380 loaded C:\Windows\System32\ntdll.dll at 00007ffecfc70000 --- Process 12380 loaded C:\Windows\System32\kernel32.dll at 00007ffecdd70000 --- Process 12380 loaded C:\Windows\System32\KernelBase.dll at 00007ffecd380000 --- Process 12380 loaded C:\Windows\System32\apphelp.dll at 00007ffecac00000 --- Process 12380 loaded C:\Windows\System32\advapi32.dll at 00007ffecf9c0000 --- Process 12380 loaded C:\Windows\System32\msvcrt.dll at 00007ffecdcd0000 --- Process 12380 thread 8416 created --- Process 12380 loaded C:\Windows\System32\sechost.dll at 00007ffecf2f0000 --- Process 12380 loaded C:\Windows\System32\rpcrt4.dll at 00007ffecf160000 --- Process 12380 thread 15900 created --- Process 12380 thread 6952 created --- Process 12380 loaded C:\Windows\System32\bcrypt.dll at 00007ffecdbe0000 --- Process 12380 loaded C:\Windows\System32\avrt.dll at 00007ffec75e0000 --- Process 12380 loaded C:\Windows\System32\gdi32.dll at 00007ffecebb0000 --- Process 12380 loaded C:\Windows\System32\dinput8.dll at 00007ffeac500000 --- Process 12380 loaded C:\Windows\System32\dwmapi.dll at 00007ffecb070000 --- Process 12380 loaded C:\Windows\System32\win32u.dll at 00007ffecd660000 --- Process 12380 loaded C:\Windows\System32\user32.dll at 00007ffecfa90000 --- Process 12380 loaded C:\Windows\System32\user32.dll at 000001b35f8f0000 --- Process 12380 loaded C:\Windows\System32\DWrite.dll at 00007ffea7ff0000 --- Process 12380 unloaded DLL at 000001b35f8f0000 --- Process 12380 loaded C:\Windows\System32\gdi32full.dll at 00007ffecd7c0000 --- Process 12380 loaded C:\Windows\System32\msvcp_win.dll at 00007ffecd720000 --- Process 12380 loaded C:\Windows\System32\combase.dll at 00007ffece850000 --- Process 12380 loaded C:\Windows\System32\ucrtbase.dll at 00007ffecd8d0000 --- Process 12380 loaded C:\Windows\System32\ucrtbase.dll at 000001b35f8f0000 --- Process 12380 unloaded DLL at 000001b35f8f0000 --- Process 12380 loaded C:\Windows\System32\imm32.dll at 00007ffecf810000 --- Process 12380 loaded C:\Windows\System32\ole32.dll at 00007ffece710000 --- Process 12380 loaded C:\Windows\System32\IPHLPAPI.DLL at 00007ffecc7e0000 --- Process 12380 loaded C:\Windows\System32\oleaut32.dll at 00007ffecf840000 --- Process 12380 loaded C:\Windows\System32\shell32.dll at 00007ffecdf60000 --- Process 12380 loaded C:\Windows\System32\opengl32.dll at 00007ffe88cc0000 --- Process 12380 loaded C:\Windows\System32\shlwapi.dll at 00007ffece6b0000 --- Process 12380 loaded C:\Windows\System32\ws2_32.dll at 00007ffecf0f0000 --- Process 12380 loaded C:\Windows\System32\glu32.dll at 00007ffe8d0e0000 --- Process 12380 loaded C:\Windows\System32\winmm.dll at 00007ffec1c10000 --- Process 12380 loaded C:\Windows\System32\wsock32.dll at 00007ffebe310000 --- Process 12380 thread 17316 created --- Process 12380 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffecd690000 --- Process 12380 loaded C:\Windows\System32\InputHost.dll at 00007ffec3260000 --- Process 12380 loaded C:\Windows\System32\SHCore.dll at 00007ffecf910000 --- Process 12380 loaded C:\Windows\System32\CoreMessaging.dll at 00007ffeca9d0000 --- Process 12380 loaded C:\Windows\System32\propsys.dll at 00007ffec85f0000 --- Process 12380 loaded C:\Windows\System32\WinTypes.dll at 00007ffec9fa0000 --- Process 12380 loaded C:\Windows\System32\CoreUIComponents.dll at 00007ffeca670000 --- Process 12380 loaded C:\Windows\System32\kernel.appcore.dll at 00007ffecbbd0000 --- Process 12380 loaded C:\Windows\System32\kernel.appcore.dll at 000001b35f740000 --- Process 12380 unloaded DLL at 000001b35f740000 --- Process 12380 loaded C:\Windows\System32\ntmarta.dll at 00007ffecc510000 --- Process 12380 thread 13892 created --- Process 12380 loaded C:\Windows\System32\uxtheme.dll at 00007ffecacb0000 --- Process 12380 loaded C:\Program Files\Nahimic\Nahimic2\UserInterface\x64\Nahimic2DevProps.dll at 00007ffe806c0000 --- Process 12380 loaded C:\Program Files\Nahimic\Nahimic2\UserInterface\x64\Nahimic2OSD.dll at 00007ffe87ab0000 --- Process 12380 loaded C:\Windows\System32\clbcatq.dll at 00007ffecefc0000 --- Process 12380 loaded C:\Windows\System32\MMDevAPI.dll at 00007ffec7490000 --- Process 12380 loaded C:\Windows\System32\devobj.dll at 00007ffecd130000 --- Process 12380 loaded C:\Windows\System32\cfgmgr32.dll at 000001b361aa0000 --- Process 12380 unloaded DLL at 000001b361aa0000 --- Process 12380 loaded C:\Windows\System32\cfgmgr32.dll at 000001b361aa0000 --- Process 12380 unloaded DLL at 000001b361aa0000 --- Process 12380 loaded C:\Windows\System32\cfgmgr32.dll at 000001b361aa0000 --- Process 12380 unloaded DLL at 000001b361aa0000 --- Process 12380 loaded C:\Windows\System32\cfgmgr32.dll at 000001b361aa0000 --- Process 12380 loaded C:\Windows\System32\AudioSes.dll at 00007ffec6e00000 --- Process 12380 loaded C:\Windows\System32\powrprof.dll at 00007ffecc950000 --- Process 12380 loaded C:\Windows\System32\umpdc.dll at 00007ffecc7c0000 --- Process 12380 thread 4780 created --- Process 12380 thread 8968 created --- Process 12380 thread 15900 exited with status 0x0 --- Process 12380 thread 8416 exited with status 0x0 --- Process 12380 thread 6952 exited with status 0x0

Calinou commented 1 year ago

The issue is with Nahimic. You need to disable it: https://github.com/godotengine/godot/issues/28785, https://github.com/godotengine/godot/issues/13208

Are you on a multi-monitor setup?

Vytek commented 1 year ago

YES! I confirmed. Disabling Nahimic now all works fine.

image

Vytek commented 1 year ago

The issue is with Nahimic. You need to disable it: #28785, #13208

Are you on a multi-monitor setup?

No, only one monitor, but Nahimic 2+ is active (Version 2.5.35)

Incredible.

Thank you very much!

Calinou commented 1 year ago

Thanks for checking :slightly_smiling_face:

Closing in favor of https://github.com/godotengine/godot/issues/13208, as this is due to the same cause.

Zireael07 commented 1 year ago

Wow, how did you figure out the guy even has Nahimic in the first place?

Also: is this documented somewhere?

Vytek commented 1 year ago

Wow, how did you figure out the guy even has Nahimic in the first place?

Also: is this documented somewhere?

Look at: https://github.com/godotengine/godot/issues/76341#issuecomment-1518746053 ;-)

--- Process 12380 loaded C:\Program Files\Nahimic\Nahimic2\UserInterface\x64\Nahimic2DevProps.dll at 00007ffe806c0000 --- Process 12380 loaded C:\Program Files\Nahimic\Nahimic2\UserInterface\x64\Nahimic2OSD.dll at 00007ffe87ab0000