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

Godot 4 wont launch. #74288

Closed
lel420 opened this issue Mar 3, 2023 · 8 comments
Closed

Godot 4 wont launch. #74288

lel420 opened this issue Mar 3, 2023 · 8 comments

Comments

@lel420
Copy link

lel420 commented Mar 3, 2023

Godot version

4.0

System information

intel hd graphics 630/nvidia geforce 1050x Laptop Intel I7

Issue description

Godot 4 just wont launch. Tried to use it in Beta too and assumed it was just not working yet. Compatibility issues remain. The program is extracted and clicked. It shows the load icon. Then nothing. Repeat. Works perfectly fine in godot 3.5.

Attempts tried:

  • Drivers, Restart, Cmd line attempts to force it to run. Nvidia bloatware used, Nvidia Settings checked to manually make sure that the graphics card is the one running

Ways it could be fixed if I was smarter:

  • Something to do with opengl/vulkan not being found within integrated graphics even if it is within nvidia graphics.
  • Probably something to do with environmental variables that force it to launch though a cmd prompt.
    -Godot developers acknowledging that the current way it launches the program is insufficient for many laptops and should be reverted to how it was done in Godot 3.5 with better checks which force it to actually look and see if people have different graphics processors when launching.

I just think it would be better if it crashes when your resources are being overused while letting you run it not failing to even start it because many pc's use if thats the reason why. Obviously the gpu is there, it just wont use it. Also this would be even more solvable if Godot was an actual installation as it would make it more easy to choose that if this is the situation.

This is not just my issue so... just trying to raise light that there are compatibility issues:
#74205

Steps to reproduce

Just revert/adapt or lookover the older ways godot 3.5 launched and make sure that laptops which host two forms of graphics processing arent left out. Or at least add an option which can force the registry editor/environment variables to have godot run off the card of choice. I
Ms16-k4 Laptop model MSI

Minimal reproduction project

Ms16-k4 La ptop model MSI and Godot 4. Probably many other types of laptops have run into issues launching godot, so thats unfortunate

@Zireael07
Copy link
Contributor

You just said yourself this issue is a duplicate. Moreover there is a fix on the way: #73450

(Also if it could fallback to compatibility aka GLES3 you would have what you are asking for - there is an open proposal for that too)

@groud groud changed the title Godot 4 wont launch. Please fix it for laptops. Godot 4 wont launch. Mar 3, 2023
@lel420
Copy link
Author

lel420 commented Mar 5, 2023

You just said yourself this issue is a duplicate. Moreover there is a fix on the way: #73450

(Also if it could fallback to compatibility aka GLES3 you would have what you are asking for - there is an open proposal for that too)

i wouldnt say it is exact because they at least get the kindness of a warning. i get nothing. so different, but my guess it is slightly related which is why i linked it.

i also checked recently to make sure that my system specs are up to date. they are. vulkan drives and all. so i have no idea why it does not want to open. i just assume it has to be similar based on troubleshooting because thats one of the greater differences between the versions.

still no exact answer on how to fix this issue on my end with how others have fixed it. i can confirm that this issue is only with this laptop and not on my work pc. would prefer to be able to do godot on my laptop though for comfortability. id rather not remote desktop to my work pc and waste power so this is not an option. may think about resetting this laptop pc incase there is some formatting issue which could also be a fix. as someetime i can see how there are underlying conflicting drivers or installations preventing it from working. will update this if i find a solution or what the problem is.

Edit: Tried different approaches, such as what you linked. Same issue. Just will not open, no error message.

edit edit - the weirdest thing, somehow in the bootup restart of my pc it opened two instances of godot 4. it allowed me to create a project in it but ... it appears it only lets me see that screen and that is it? So, it does work. In some form. But it wont open the engine itself even when I opted for compatibility mode. Going to restart to see if I can replicate.

edit edit edit - it was a false flag. perhaps adding it to startup could be a way to force it to load. this happened after i installed an unrelated driver which asked me to restart. it was not just one instance but two of it opened. i have no idea what could have made it want to tease me like that, but it was undoubtedly godot 4 and not 3.5

@clayjohn
Copy link
Member

clayjohn commented Mar 6, 2023

When opening the project manager Godot is initialized in much the same way as it was in Godot 3.5 (as far as GPUs go anyway). So it's not likely a GPU-selection issue.

Can you run Godot from the command line with the --verbose argument and then tell us what Godot prints?

@Ranoller
Copy link
Contributor

Ranoller commented Apr 5, 2023

Same error here at 06/04/2023 but in a desktop computer (godot 3.5.2 runs ok, godot web editor v4.0.1 in chrome runs ok)

Computer: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 GHz 32,0 GB RAM nvidia GTX1060

Windows version: Windows 10 Home 21H2

I tried Godot 4.0.1 and 4.0.2 and wont launch, I did:

  • --verbose using cmd print nothing
  • executing from Godot_v4.0.2-stable_win64_console.exe opens an empty cmd window
  • executing from Godot_v4.0.2-stable_win64.exe do nothing.
  • I actualized nvidia drivers to the last version.
  • I try "execute as administrator".
  • I try all "compatibility options".
  • I try download "match3" template and put the executable near project.godot and do nothing.
  • I disable SmartScreen and nothing
  • I delete editor-settings v4 file from previous opened alpha-beta-whatever from 2021 (I don´t remember, I suppose I tried some kind of apha-beta in 2021 year)
  • I renaming "AppData\Roaming\Godot to \GodotX to see if godot tries to create the folder or something, and no results
  • I actualized Windows to 22H2

Every step, one by one, executing godot after.

Next step was try old versions and:

  • Godot 4.0 stable doesn´t run
  • Godot 4.0 rc1 doesn´t run
  • Godot 4.0 beta1 runs!!!!!

I continue investigation with betas and last beta I can execute is beta7. So first no-executable godot versión for me is beta8

Beta 8 changes

There are 151 PR merges in this snapshoot with some "compiling-rendering" things like that:

#69294 (Changes things in MSVC linking)
#69322 (Changes things in Vulkan version)
#69609 (Changes things in MSVC linking)

And I stop here, really I have spent all the time that I could, sorry.
Hopefully someone can find the bug and fix it for those of us who can't use godot 4. I'm tied to version 3 but in the future I'd like to make the leap.


Old versions: https://downloads.tuxfamily.org/godotengine/4.0/

Terminal showing nothing in godot 4.0.2:

Godot4 not start

@Ranoller
Copy link
Contributor

Ranoller commented Apr 8, 2023

Probably same issue:
#73039

@akien-mga
Copy link
Member

This may be fixed by #75881. This fix should be available in 4.0.3 or 4.1 dev 1, please test when those are released.

@akien-mga akien-mga added this to the 4.1 milestone Apr 18, 2023
@akien-mga
Copy link
Member

Closing, please let us know if the issue isn't solved as of 4.0.3 or 4.1 beta 1 or later.

@cholasimmons
Copy link

cholasimmons commented Jul 6, 2023

Same here, last version to work for me was 4.0.3_x64_stable, anything after that just ends at the startup screen, the Godot logo doesn't even show at all then it just exits 💔 with x32 versions the Godot logo shows then crash

Windows 11 22H2, 16GB RAM, i7 11th gen, Iris Xe GPU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants