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

Switching to opengl3_angle rendering backend fails to open projects in compatibility mode #84075

Closed
WagnerGFX opened this issue Oct 27, 2023 · 5 comments · Fixed by #84175
Closed

Comments

@WagnerGFX
Copy link

Godot version

v4.2.beta.custom_build [b662d23]

System information

Windows 10.0.19045 - GLES3 (Compatibility) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; 31.0.15.4592) - Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 Threads)

Issue description

This has been happening on the latest artifact builds, but not on 4.2-beta3
OpenGL Angle

The drivers are updated and the PC rebooted.
The build console seems to recognize OpenGL API on 3.3.0 and my GPU can run up to 4.6

godot console

I was planning to wait for beta4, as this could be due to different build settings, but decided to open the issue anyway, in case it's important. 👀

Steps to reproduce

The MRP's contents are of little importance. Instead, it's a project in compatibility rendering using opengl3_angle for Windows.

Minimal reproduction project

GPUParticles Compatibility Angle.zip

@bruvzg
Copy link
Member

bruvzg commented Oct 27, 2023

This has been happening on the latest artifact builds, but not on 4.2-beta3

Official builds use statically linked ANGLE, CI build does not, so a compatible libEGL.dll and libGLESv2.dll should be placed in the executable folder for it to work. You can build ANGLE from source or extract required dlls from the minimal CEF distribution - https://cef-builds.spotifycdn.com/index.html

@WagnerGFX
Copy link
Author

Oh. . . I was right on thinking it was about the build, I just didn't know how.
Now it's working normally, thank you. 😄

I did not find any mention to Angle in the latest docs for building godot. Should I open an issue in godot-docs about that?

@bruvzg
Copy link
Member

bruvzg commented Oct 27, 2023

I did not find any mention to Angle in the latest docs for building godot. Should I open an issue in godot-docs about that?

Yes, docs weren't updated.

The relevant build flag is angle_libs=/PATH/TO/STATIC/LIBS, and pre-built static libs are available at https://github.com/godotengine/godot-angle-static/releases

@WagnerGFX
Copy link
Author

Since the issue is pretty much solved, should I close this, or should it stay open for another reason?

@Calinou
Copy link
Member

Calinou commented Oct 28, 2023

Official builds use statically linked ANGLE, CI build does not, so a compatible libEGL.dll and libGLESv2.dll should be placed in the executable folder for it to work. You can build ANGLE from source or extract required dlls from the minimal CEF distribution - cef-builds.spotifycdn.com/index.html

Could we include those DLLs in the CI artifacts?

Alternatively, we can include a downloader .bat script (it should work on Windows 10 and later thanks to curl.exe being available out of the box).

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

Successfully merging a pull request may close this issue.

4 participants