mesa-for-android-container icon indicating copy to clipboard operation
mesa-for-android-container copied to clipboard

Patched version swapchain problem on adreno 830 chroot ubuntu 24.04

Open snusoedik2281488 opened this issue 4 months ago • 8 comments

`vulkaninfo --summary

VULKANINFO

Vulkan Instance Version: 1.3.275

Instance Extensions: count = 24

VK_EXT_acquire_drm_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 10 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_EXT_headless_surface : extension revision 1 VK_EXT_surface_maintenance1 : extension revision 1 VK_EXT_swapchain_colorspace : extension revision 5 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities : extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2 : extension revision 2 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_portability_enumeration : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 VK_LUNARG_direct_driver_loading : extension revision 1

Instance Layers: count = 3

VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1 VK_LAYER_MESA_device_select Linux device selection layer 1.4.303 version 1 VK_LAYER_MESA_overlay Mesa Overlay layer 1.4.303 version 1

Devices:

GPU0: apiVersion = 1.4.350 driverVersion = 26.1.99 vendorID = 0x5143 deviceID = 0x44050001 deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU deviceName = Adreno (TM) 830 driverID = DRIVER_ID_MESA_TURNIP driverName = turnip Mesa driver driverInfo = Mesa 26.2.0-devel (git-3743cc80a8) conformanceVersion = 1.4.0.0 deviceUUID = 3e09c2cf-b328-5f80-3dd1-2ba75c07f637 driverUUID = cea39724-a504-9713-0eb5-2239bd03b16d GPU1: apiVersion = 1.4.350 driverVersion = 26.1.99 vendorID = 0x5143 deviceID = 0x44050001 deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU deviceName = Adreno (TM) 830 driverID = DRIVER_ID_MESA_TURNIP driverName = turnip Mesa driver driverInfo = Mesa 26.2.0-devel (git-3743cc80a8) conformanceVersion = 1.4.0.0 deviceUUID = 3e09c2cf-b328-5f80-3dd1-2ba75c07f637 driverUUID = cea39724-a504-9713-0eb5-2239bd03b16d GPU2: apiVersion = 1.4.318 driverVersion = 25.2.8 vendorID = 0x10005 deviceID = 0x0000 deviceType = PHYSICAL_DEVICE_TYPE_CPU deviceName = llvmpipe (LLVM 20.1.2, 128 bits) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 25.2.8-0ubuntu0.24.04.2 (LLVM 20.1.2) conformanceVersion = 1.3.1.1 deviceUUID = 6d657361-3235-2e32-2e38-2d3075627500 driverUUID = 6c6c766d-7069-7065-5555-494400000000 user0@ubuntu:~$ glxinfo -B name of display: :0.0 MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Mesa (0x5143) Device: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) (0x44050001) Version: 26.2.0 Accelerated: yes Video memory: 8341MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 8337 MB, largest block: 8337 MB VBO free aux. memory - total: 0 MB, largest block: 0 MB Texture free memory - total: 8337 MB, largest block: 8337 MB Texture free aux. memory - total: 0 MB, largest block: 0 MB Renderbuffer free memory - total: 8337 MB, largest block: 8337 MB Renderbuffer free aux. memory - total: 0 MB, largest block: 0 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 8341 MB Total available memory: 8341 MB Currently available dedicated video memory: 8337 MB OpenGL vendor string: Mesa OpenGL renderer string: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL core profile version string: 4.6 (Core Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain

OpenGL version string: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 26.2.0-devel (git-3743cc80a8) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

user0@ubuntu:~$ eglinfo -B GBM platform: MESA: error: ZINK: failed to choose pdev EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-3743cc80a8) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform: eglinfo: eglInitialize failed

X11 platform: MESA-EGL: warning: DRI3 error: Could not get DRI3 device MESA-EGL: warning: Ensure your X server supports DRI3 to get accelerated rendering EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-3743cc80a8) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform: MESA: error: ZINK: failed to choose pdev MESA-EGL: warning: egl: failed to create dri2 screen MESA-EGL: warning: DRI2: failed to create screen EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-3743cc80a8) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform: Device #0:

Platform Device platform: MESA: error: ZINK: failed to choose pdev MESA-EGL: warning: egl: failed to create dri2 screen eglinfo: eglInitialize failed

Device #1:

Platform Device platform: EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-3743cc80a8) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-3743cc80a8) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20 `

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.4 LTS Release: 24.04 Codename: noble

snusoedik2281488 avatar Jul 07 '26 06:07 snusoedik2281488

Please update to the latest version and check again, the latest version should have fixed this issue: https://github.com/lfdevs/mesa-for-android-container/releases/tag/mesa-26.2.0-devel-20260621

lfdevs avatar Jul 07 '26 06:07 lfdevs

the problem doesn't go away

VULKANINFO

Vulkan Instance Version: 1.3.275

Instance Extensions: count = 24

VK_EXT_acquire_drm_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 10 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_EXT_headless_surface : extension revision 1 VK_EXT_surface_maintenance1 : extension revision 1 VK_EXT_swapchain_colorspace : extension revision 5 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities : extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2 : extension revision 2 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_portability_enumeration : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 VK_LUNARG_direct_driver_loading : extension revision 1

Instance Layers: count = 3

VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1 VK_LAYER_MESA_device_select Linux device selection layer 1.4.303 version 1 VK_LAYER_MESA_overlay Mesa Overlay layer 1.4.303 version 1

Devices:

GPU0: apiVersion = 1.4.354 driverVersion = 26.1.99 vendorID = 0x5143 deviceID = 0x44050001 deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU deviceName = Adreno (TM) 830 driverID = DRIVER_ID_MESA_TURNIP driverName = turnip Mesa driver driverInfo = Mesa 26.2.0-devel (git-14fd4ce175) conformanceVersion = 1.4.0.0 deviceUUID = 3e09c2cf-b328-5f80-3dd1-2ba75c07f637 driverUUID = d15e6179-b771-9d5d-6c19-003f48f1e07f GPU1: apiVersion = 1.4.354 driverVersion = 26.1.99 vendorID = 0x5143 deviceID = 0x44050001 deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU deviceName = Adreno (TM) 830 driverID = DRIVER_ID_MESA_TURNIP driverName = turnip Mesa driver driverInfo = Mesa 26.2.0-devel (git-14fd4ce175) conformanceVersion = 1.4.0.0 deviceUUID = 3e09c2cf-b328-5f80-3dd1-2ba75c07f637 driverUUID = d15e6179-b771-9d5d-6c19-003f48f1e07f GPU2: apiVersion = 1.4.318 driverVersion = 25.2.8 vendorID = 0x10005 deviceID = 0x0000 deviceType = PHYSICAL_DEVICE_TYPE_CPU deviceName = llvmpipe (LLVM 20.1.2, 128 bits) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 25.2.8-0ubuntu0.24.04.2 (LLVM 20.1.2) conformanceVersion = 1.3.1.1 deviceUUID = 6d657361-3235-2e32-2e38-2d3075627500 driverUUID = 6c6c766d-7069-7065-5555-494400000000 user0@ubuntu:~$ eglinfo -B GBM platform: MESA: error: ZINK: failed to choose pdev EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-14fd4ce175) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform: eglinfo: eglInitialize failed

X11 platform: MESA-EGL: warning: DRI3 error: Could not get DRI3 device MESA-EGL: warning: Ensure your X server supports DRI3 to get accelerated rendering EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-14fd4ce175) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform: MESA: error: ZINK: failed to choose pdev MESA-EGL: warning: egl: failed to create dri2 screen MESA-EGL: warning: DRI2: failed to create screen EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: llvmpipe (LLVM 20.1.2, 128 bits) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-14fd4ce175) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform: Device #0:

Platform Device platform: MESA: error: ZINK: failed to choose pdev MESA-EGL: warning: egl: failed to create dri2 screen eglinfo: eglInitialize failed

Device #1:

Platform Device platform: EGL API version: 1.5 EGL vendor string: Mesa Project EGL version string: 1.5 EGL client APIs: OpenGL OpenGL_ES OpenGL core profile vendor: Mesa OpenGL core profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL core profile shading language version: 4.60 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL compatibility profile shading language version: 4.60 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-14fd4ce175) OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

user0@ubuntu:~$ glxinfo -B name of display: :0.0 MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Mesa (0x5143) Device: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) (0x44050001) Version: 26.2.0 Accelerated: yes Video memory: 8341MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 8333 MB, largest block: 8333 MB VBO free aux. memory - total: 0 MB, largest block: 0 MB Texture free memory - total: 8333 MB, largest block: 8333 MB Texture free aux. memory - total: 0 MB, largest block: 0 MB Renderbuffer free memory - total: 8333 MB, largest block: 8333 MB Renderbuffer free aux. memory - total: 0 MB, largest block: 0 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 8341 MB Total available memory: 8341 MB Currently available dedicated video memory: 8333 MB OpenGL vendor string: Mesa OpenGL renderer string: zink Vulkan 1.4(Adreno (TM) 830 (MESA_TURNIP)) OpenGL core profile version string: 4.6 (Core Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain

OpenGL version string: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 26.2.0-devel (git-14fd4ce175) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

user0@ubuntu:~$

snusoedik2281488 avatar Jul 07 '26 06:07 snusoedik2281488

Please try specifying the environment variable MESA_LOADER_DRIVER_OVERRIDE=kgsl to make OpenGL and OpenGL ES applications use the Freedreno (KGSL) driver (Vulkan applications will still use Turnip):

export MESA_LOADER_DRIVER_OVERRIDE=kgsl
glxinfo -B

lfdevs avatar Jul 07 '26 07:07 lfdevs

Yes, but now there is a dri error. user0@ubuntu:~$ export MESA_LOADER_DRIVER_OVERRIDE=kgsl user0@ubuntu:~$ glxinfo -B name of display: :0.0 MESA-LOADER: failed to retrieve device information MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed MESA: error: X error: 2 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: freedreno (0x5143) Device: Adreno (TM) 830 (0xffffffff) Version: 26.2.0 Accelerated: yes Video memory: 11121MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 11121 MB, largest block: 11121 MB VBO free aux. memory - total: 0 MB, largest block: 0 MB Texture free memory - total: 11121 MB, largest block: 11121 MB Texture free aux. memory - total: 0 MB, largest block: 0 MB Renderbuffer free memory - total: 11121 MB, largest block: 11121 MB Renderbuffer free aux. memory - total: 0 MB, largest block: 0 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 11121 MB Total available memory: 11121 MB Currently available dedicated video memory: 11121 MB OpenGL vendor string: freedreno OpenGL renderer string: Adreno (TM) 830 OpenGL core profile version string: 4.6 (Core Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed MESA: error: X error: 2

OpenGL version string: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed MESA: error: X error: 2

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 26.2.0-devel (git-14fd4ce175) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

snusoedik2281488 avatar Jul 07 '26 08:07 snusoedik2281488

Can the following benchmark applications run normally?

export MESA_LOADER_DRIVER_OVERRIDE=kgsl
glmark2
glmark2-es2
vkmark --winsys xcb

lfdevs avatar Jul 07 '26 09:07 lfdevs

 glmark2
glmark2-es2
vkmark --winsys xcbMESA-LOADER: failed to retrieve device information
MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 2
MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 2
=======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      freedreno
    GL_RENDERER:    Adreno (TM) 830
    GL_VERSION:     4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175)
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
    Surface Size:   800x600 windowed
=======================================================
MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 2
MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 2
[build] use-vbo=false:Segmentation fault
glmark2-es2
MESA-LOADER: failed to retrieve device information
MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 2
=======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      freedreno
    GL_RENDERER:    Adreno (TM) 830
    GL_VERSION:     OpenGL ES 3.2 Mesa 26.2.0-devel (git-14fd4ce175)
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
    Surface Size:   800x600 windowed
=======================================================
MESA: error: dri3_alloc_render_buffer:1612 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 2
[build] use-vbo=false:Segmentation fault
vkmark --winsys xcb
ERROR:             VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Segmentation fault

snusoedik2281488 avatar Jul 07 '26 09:07 snusoedik2281488

Then, you can check if /dev/kgsl-3d0 is mounted normally inside the Chroot container:

ls -ahl /dev/kgsl-3d0
file /dev/kgsl-3d0

lfdevs avatar Jul 07 '26 15:07 lfdevs

user0@ubuntu:/$ ls -ahl /dev/kgsl-3d0
file /dev/kgsl-3d0
crw-rw-rw-. 1 user0 user0 459, 0 фев 28  1970 /dev/kgsl-3d0
/dev/kgsl-3d0: character special (459/0)

snusoedik2281488 avatar Jul 07 '26 18:07 snusoedik2281488