Thank you for this repo, it enabled me GPU support in proot. Firefox and glmark2 run accelerated, but I'm not able to get chromium running with GPU support. I tried many combinations of chromium launch parameters, but the only result has been still the same. It started either without GPU support, or it crashed at start.
Here I found the way to launch chromium with GPU support reported as working. But it crashes at start because of GPU process crash.
root@localhost:~# MESA_LOADER_DRIVER_OVERRIDE=kgsl TU_DEBUG=noconform chromium --no-sandbox --use-angle=vulkan --enable-features=Vulkan,VulkanFromANGLE
[24740:24766:0816/230102.492791:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Connection refused
[24740:24766:0816/230102.883872:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Connection refused
[24740:24766:0816/230102.884957:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Connection refused
pcilib: Cannot open /proc/bus/pci/devices
[24740:24767:0816/230102.909306:ERROR:device/udev_linux/udev_watcher.cc:51] Failed to initialize a udev monitor.
[24740:24740:0816/230103.306177:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
pcilib: Cannot open /proc/bus/pci/devices
[24740:24766:0816/230103.439958:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Connection refused
[24740:24766:0816/230103.440907:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Connection refused
[24740:24740:0816/230103.798569:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
[24740:24740:0816/230103.826889:ERROR:dbus/object_proxy.cc:572] Failed to call method: org.freedesktop.DBus.Properties.GetAll: object_path= /org/freedesktop/UPower/devices/DisplayDevice: unknown error type:
pcilib: Cannot open /proc/bus/pci/devices
[24740:24740:0816/230104.195782:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
pcilib: Cannot open /proc/bus/pci/devices
[24740:24740:0816/230106.175249:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
pcilib: Cannot open /proc/bus/pci/devices
[24740:24740:0816/230106.747115:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
pcilib: Cannot open /proc/bus/pci/devices
[24740:24740:0816/230106.966711:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
pcilib: Cannot open /proc/bus/pci/devices
[24740:24740:0816/230107.121289:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
pcilib: Cannot open /proc/bus/pci/devices
[24740:24740:0816/230107.236472:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
pcilib: Cannot open /proc/bus/pci/devices
[24740:24740:0816/230107.408644:ERROR:content/browser/gpu/gpu_process_host.cc:1035] GPU process exited unexpectedly: exit_code=256
[24740:24740:0816/230107.408745:FATAL:content/browser/gpu/gpu_data_manager_impl_private.cc:417] GPU process isn't usable. Goodbye.
Trace/breakpoint trap
The /proc/bus/pci/devices is not accessible from both proot and Termux:
root@localhost:~# ls -Z /proc/bus/pci/devices
ls: cannot access '/proc/bus/pci/devices': Permission denied
~ $ ls -Z /proc/bus/pci/devices
ls: cannot access '/proc/bus/pci/devices': Permission denied
Additional info:
- Chromium 151.0.7922.137 built on Ubuntu 24.04.4 LTS
- GPU Adreno 830
- installed mesa-for-android-container_26.2.0-devel-20260709_ubuntu_noble_arm64.tar.gz
Thank you for this repo, it enabled me GPU support in proot. Firefox and glmark2 run accelerated, but I'm not able to get chromium running with GPU support. I tried many combinations of chromium launch parameters, but the only result has been still the same. It started either without GPU support, or it crashed at start.
Here I found the way to launch chromium with GPU support reported as working. But it crashes at start because of GPU process crash.
The /proc/bus/pci/devices is not accessible from both proot and Termux:
Additional info: