You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently testing mesa-vulkan-icd-wrapper, which allows the use of the Android host Vulkan driver in Termux.
Most SoC GPUs showed poor compatibility with mesa zink, and the Chromium browser either didn’t launch or GPU acceleration didn’t work.
To use ANGLE with the Vulkan backend, I tried launching the Chromium browser as follows, but it didn’t start.
What steps will reproduce the bug?
~$ chromium-browser --use-angle=vulkan --in-process-gpu
[19727:19727:1114/210957.496016:ERROR:file_path_watcher_inotify.cc(890)] Failed to read /proc/sys/fs/inotify/max_user_watches
[19726:19726:1114/210957.496016:ERROR:file_path_watcher_inotify.cc(890)] Failed to read /proc/sys/fs/inotify/max_user_watches
[19720:19734:1114/210957.508727:ERROR:file_path_watcher_inotify.cc(890)] Failed to read /proc/sys/fs/inotify/max_user_watches
[19720:19738:1114/210957.509002:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19745:1114/210957.607297:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19745:1114/210957.607447:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19739:1114/210957.610925:ERROR:address_tracker_linux.cc(230)] Could not bind NETLINK socket: Permission denied (13)
[19720:19750:1114/210957.625408:ERROR:angle_platform_impl.cc(44)] vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
ERR: vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
[19720:19750:1114/210957.625480:ERROR:angle_platform_impl.cc(44)] vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_xcb_surface
ERR: vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_xcb_surface
[19720:19750:1114/210957.625511:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../../src/third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, enableInstanceExtensions:1763.
ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../../src/third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, enableInstanceExtensions:1763.
[19720:19750:1114/210957.625544:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-7): A requested extension is not supported, in ../../../src/third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, enableInstanceExtensions:1763.
[19720:19750:1114/210957.625614:ERROR:gl_display.cc(796)] eglInitialize Vulkan failed with error EGL_NOT_INITIALIZED
[19720:19750:1114/210957.625700:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[19720:19750:1114/210957.625743:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[19720:19750:1114/210957.628049:ERROR:angle_platform_impl.cc(44)] vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
ERR: vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
[19720:19750:1114/210957.628108:ERROR:angle_platform_impl.cc(44)] vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_xcb_surface
ERR: vk_renderer.cpp:187 (VerifyExtensionsPresent): Extension not supported: VK_KHR_xcb_surface
[19720:19750:1114/210957.628127:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../../src/third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, enableInstanceExtensions:1763.
ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../../src/third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, enableInstanceExtensions:1763.
[19720:19750:1114/210957.628143:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-7): A requested extension is not supported, in ../../../src/third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, enableInstanceExtensions:1763.
[19720:19750:1114/210957.628180:ERROR:gl_display.cc(796)] eglInitialize Vulkan failed with error EGL_NOT_INITIALIZED
[19720:19750:1114/210957.628191:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[19720:19750:1114/210957.628198:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[19720:19811:1114/210957.769358:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19811:1114/210957.769448:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19811:1114/210957.769502:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19811:1114/210957.769534:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19811:1114/210957.769562:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
[19720:19750:1114/210957.770060:FATAL:check.cc(375)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[1114/210957.772992:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/210957.773363:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/210957.774531:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/210957.777516:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/210957.779035:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/210957.779128:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/210957.779281:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Trap
When checking with the vulkaninfo command, even though most extensions required for X11 are supported through mesa-vulkan-icd-wrapper, an error shows that VK_KHR_surface and VK_KHR_xcb_surface are not supported.
@licy183
Is it possible to implement OpenGL & OpenGL ES in X11 by combining mesa-vulkan-icd-wrapper with Google ANGLE instead of using a virgl environment?
Since mesa-vulkan-icd-wrapper allows Termux to access the Android host Vulkan driver and supports X11 WSI, this approach could offer significant performance improvements and better compatibility compared to the existing angle-android + virglrenderer-android setup.
This might also serve as an alternative solution for implementing OpenGL & OpenGL ES on Vulkan drivers that lack compatibility with Zink.
Problem description
I am currently testing
mesa-vulkan-icd-wrapper
, which allows the use of theAndroid host Vulkan driver
inTermux
.Most SoC GPUs showed poor compatibility with
mesa zink
, and theChromium browser
either didn’t launch or GPU acceleration didn’t work.To use
ANGLE
with theVulkan backend
, I tried launching theChromium browser
as follows, but it didn’t start.What steps will reproduce the bug?
When checking with the
vulkaninfo
command, even though most extensions required forX11
are supported throughmesa-vulkan-icd-wrapper
, an error shows thatVK_KHR_surface
andVK_KHR_xcb_surface
are not supported.vulkaninfo
How can I implement
OpenGL ES 3.2
acceleration in the Chromium browser using "ANGLE: Vulkan Back-end
"?What is the expected behavior?
No response
System information
termux-info:
The text was updated successfully, but these errors were encountered: