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

Update angle-android (2014-11-15) #22280

Merged
merged 3 commits into from
Nov 16, 2024
Merged

Update angle-android (2014-11-15) #22280

merged 3 commits into from
Nov 16, 2024

Conversation

ar37-rs
Copy link
Contributor

@ar37-rs ar37-rs commented Nov 16, 2024

Fixes crashing on wgpu example shadow example:
https://wgpu.rs/examples/?backend=webgl2&example=shadow

A workaround for PowerVr GPU added: https://chromium-review.googlesource.com/c/angle/angle/+/6026793

@licy183 licy183 merged commit ef88cbe into termux:master Nov 16, 2024
7 checks passed
@licy183
Copy link
Member

licy183 commented Nov 16, 2024

Thanks!

@ar37-rs
Copy link
Contributor Author

ar37-rs commented Nov 16, 2024

@licy183 working great with virgl android --angle-vulkan,
plus enviar:

export MESA_GL_VERSION_OVERRIDE=4.1COMPAT
export MESA_GLSL_VERSION_OVERRIDE=410

on mali-g52 as well

@twaik
Copy link
Member

twaik commented Nov 16, 2024

@licy183 can we make a install-time check for virglrenderer-android for choosing the most suitable GL implementation? I mean there are some faulty stuff when using prop implementation on mali, but everything works fine with angle-gl so we can make postinst script probe for the best (or at least working) GL implementation and make virglrenderer-android use it by default.

@ar37-rs
Copy link
Contributor Author

ar37-rs commented Nov 16, 2024

@twaik it by default mali bifrost angle-vulkan only support

export MESA_GL_VERSION_OVERRIDE=4.1COMPAT
export MESA_GLSL_VERSION_OVERRIDE=410

using compat most of the things working as expected tested on wine-glibc (GPU_CAPS_Viewer) as well, without performance degeradation (using 4.3COMPAT and above is not supported and slower, using --angle-gl even worse ),
without 4.1COMPAT it only support 2.1 as by default virgl.

@ar37-rs
Copy link
Contributor Author

ar37-rs commented Nov 16, 2024

Screenshot_2024-11-16_17-02-44
using virgl_test_server_android --angle-gl & got error switching context even by the default OpenGL 2.1 without COMPAT.
--angel-vulkan or --angle-null is the most stable use case.

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

Successfully merging this pull request may close these issues.

3 participants