Skip to content

Patched version dri problem on adreno 830 chroot ubuntu 24.04 #87

Description

@snusoedik2281488
er0@ubuntu:/$ 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.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-9452d1daec)
	conformanceVersion = 1.4.0.0
	deviceUUID         = 3e09c2cf-b328-5f80-3dd1-2ba75c07f637
	driverUUID         = 23c4038c-564f-c241-252a-effe2e9e4bd7
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-9452d1daec)
	conformanceVersion = 1.4.0.0
	deviceUUID         = 3e09c2cf-b328-5f80-3dd1-2ba75c07f637
	driverUUID         = 23c4038c-564f-c241-252a-effe2e9e4bd7
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-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-9452d1daec)
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-9452d1daec)
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-9452d1daec)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

user0@ubuntu:/$ eglinfo -B
GBM platform:
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
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: freedreno
OpenGL core profile renderer: Adreno (TM) 830
OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: freedreno
OpenGL compatibility profile renderer: Adreno (TM) 830
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: freedreno
OpenGL ES profile renderer: Adreno (TM) 830
OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-9452d1daec)
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
MESA-LOADER: failed to retrieve device information
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: freedreno
OpenGL core profile renderer: Adreno (TM) 830
OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: freedreno
OpenGL compatibility profile renderer: Adreno (TM) 830
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: freedreno
OpenGL ES profile renderer: Adreno (TM) 830
OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-9452d1daec)
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
Inconsistent value (1) for DRI_PRIME. Should be < 1 (GPU devices count). Using: 0
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: freedreno
OpenGL core profile renderer: Adreno (TM) 830
OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: freedreno
OpenGL compatibility profile renderer: Adreno (TM) 830
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: freedreno
OpenGL ES profile renderer: Adreno (TM) 830
OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-9452d1daec)
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

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: freedreno
OpenGL core profile renderer: Adreno (TM) 830
OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: freedreno
OpenGL compatibility profile renderer: Adreno (TM) 830
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-9452d1daec)
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: freedreno
OpenGL ES profile renderer: Adreno (TM) 830
OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.2.0-devel (git-9452d1daec)
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

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: llvmpipe (LLVM 20.1.2, 128 bits)
OpenGL core profile version: 4.6 (Core Profile) Mesa 26.2.0-devel (git-9452d1daec)
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-9452d1daec)
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-9452d1daec)
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

0@ubuntu:/$ export MESA_LOADER_DRIVER_OVERRIDE=kgsl
user0@ubuntu:/$ glmark2
glmark2-es2
vMESA-LOADER: failed to retrieve device information
kmark --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
w=======================================================
    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-9452d1daec)
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=32 stencil=0 samples=0
    Surface Size:   800x600 windowed
=======================================================
insyMESA: 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:Ошибка сегментирования
user0@ubuntu:/$ 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-9452d1daec)
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=32 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:Ошибка сегментирования
user0@ubuntu:/$ vkmark --winsy
vkmark: option '--winsys-dir' requires an argument
user0@ubuntu:/$
r0@ubuntu:/$ ls -ahl /dev/kgsl-3d0
file /dev/kgsl-3d0
crw-rw-rw-. 1 user0 user0 458, 0 мар  3  1970 /dev/kgsl-3d0
/dev/kgsl-3d0: character special (458/0)
user0@ubuntu:/$ 

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions