--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/CAKK1iFC_oop%2BmqaBKf-M4CsBcgTTJkHXW4%3DsEjmM-spm7a7W9Q%40mail.gmail.com.
I think ANGLE_PREFERRED_DEVICE is only used by the ANGLE Metalbackend right now.
A permanent solution I think is to add your OS/GPU/Driver to https://source.chromium.org/chromium/chromium/src/+/main:gpu/config/gpu_driver_bug_list.json.
I tried using force_low_power_gpu but it doesn't work for ChromeOS, are there other workaround options? Or would hooking up that workaround on ChromeOS be the solution here?
You can try with --use-angle=vulkan Chrome arg.
This particular device is old enough that the GPU doesn't have Vulkan support, but because of how the reven board covers all ChromeOS Flex devices we wouldn't be able to switch to Vulkan until all of our devices support it, which won't be for several years.
We need to look at how Chrome with the validating command decoder initialized GL/EGL to select the Intel device and make sure the same thing is done with ANGLE. In the end, for this device ANGLE is just EGL on top of EGL so we need to forward the same parameters.
A permanent solution I think is to add your OS/GPU/Driver to https://source.chromium.org/chromium/chromium/src/+/main:gpu/config/gpu_driver_bug_list.json.
You can try with --use-angle=vulkan Chrome arg.
We need to look at how Chrome with the validating command decoder initialized GL/EGL to select the Intel device and make sure the same thing is done with ANGLE. In the end, for this device ANGLE is just EGL on top of EGL so we need to forward the same parameters.
From what I can tell, in Chrome we have the b_EGL_MESA_platform_surfaceless extension so we call eglGetPlatformDisplay. In ANGLE the platformType in FunctionsEGL::initialize isn't surfaceless so we just call eglGetDisplay rather than eglGetPlatformDisplay with EGL_PLATFORM_SURFACELESS_MESA. I'm having a hard time finding where the platformType is set. To change the display selection to be surfaceless would I need to change how ANGLE is started in Chrome or would I need to make these changes inside ANGLE?