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

Projects take considerably longer to start if another instance exists (editor or another game) (possibly shader caching bug) #63419

Closed
nathanfranke opened this issue Jul 25, 2022 · 9 comments

Comments

@nathanfranke
Copy link
Contributor

nathanfranke commented Jul 25, 2022

Godot version

3f39625
Can't to reproduce in 3.x (tested 3.4.4.stable and 3.5.rc7)

System information

Arch on 5.18.12-arch1-1

Issue description

See #43351 (comment)

$ time ./bin/godot.linuxbsd.opt.tools.64.llvm --path ~/workspace/empty --quit

...

real    0m1.804s
user    0m2.805s
sys     0m0.386s

Again, in another terminal right after:

$ time ./bin/godot.linuxbsd.opt.tools.64.llvm --path ~/workspace/empty --quit

...

real    0m7.352s
user    0m6.795s
sys     0m0.394s

Steps to reproduce

  1. Run a godot project with --path
  2. Run a godot project with --path
    the second instance will take considerably longer to start

Minimal reproduction project

empty.zip

@Calinou
Copy link
Member

Calinou commented Jul 25, 2022

Can you reproduce this in 3.x to confirm whether this is due to 4.0's shader cache?

@Zylann
Copy link
Contributor

Zylann commented Jul 25, 2022

I experience really slow startups as well. When starting a game from the editor, it shows a white window for about 5 seconds before it starts showing the splash. It's nowhere near startup times in Godot 3.

@nathanfranke
Copy link
Contributor Author

Can you reproduce this in 3.x to confirm whether this is due to 4.0's shader cache?

Cannot reproduce at all in 3.4.4.stable or 3.5.rc7. However I did discover a similar bug #63460

I experience really slow startups as well. When starting a game from the editor, it shows a white window for about 5 seconds before it starts showing the splash. It's nowhere near startup times in Godot 3.

Issue #43351 may be more related to your issue, this issue is only about starting multiple instances simultaneously.

@KoBeWi
Copy link
Member

KoBeWi commented Feb 23, 2023

Can't reproduce, both instances take the same time to launch.
@nathanfranke Can you confirm that this is fixed?

@KoBeWi
Copy link
Member

KoBeWi commented Feb 25, 2023

Closing. You can deconfirm it.

@KoBeWi KoBeWi closed this as completed Feb 25, 2023
@github-project-automation github-project-automation bot moved this from To Assess to Done in 4.x Priority Issues Feb 25, 2023
@Zireael07
Copy link
Contributor

Is "deconfirm" a typo for "reconfirm"?

@nathanfranke
Copy link
Contributor Author

I will check it soon

@KoBeWi
Copy link
Member

KoBeWi commented Feb 25, 2023

Is "deconfirm" a typo for "reconfirm"?

No, it refers to

Can you confirm that this is fixed?

I just closed the issue assuming it's fixed. So if it's not, it would "deconfirm" it.

@nathanfranke
Copy link
Contributor Author

I don't see this issue on 4.0.stable, probably fixed.

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

No branches or pull requests

5 participants