Open Bluecommand opened 3 months ago
@Bluecommand
Zink
does not work on Xclipse 940
GPU with the following error in mesa 24.0.8
.
~$ MESA_LOADER_DRIVER_OVERRIDE=zink glmark2
ERROR(/home/builder/.termux-build/vulkan-wsi-layer/src/wsi/x11/swapchain.cpp:260): vkAllocateMemory failed:-1
ERROR(/home/builder/.termux-build/vulkan-wsi-layer/src/wsi/swapchain_base.cpp:295): create_and_bind_swapchain_image(image_create_info, img)
ERROR(/home/builder/.termux-build/vulkan-wsi-layer/src/layer/swapchain_api.cpp:64): Failed to initialise swapchain
MESA: error: CreateSwapchainKHR failed with VK_ERROR_OUT_OF_HOST_MEMORY
MESA: error: zink: could not create swapchain
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0x0
Serial number of failed request: 45
Current serial number in output stream: 47
~$ MESA_LOADER_DRIVER_OVERRIDE=zink glmark2-es2
libEGL warning: DRI3: Screen seems not DRI3 capable
ERROR(/home/builder/.termux-build/vulkan-wsi-layer/src/wsi/x11/swapchain.cpp:260): vkAllocateMemory failed:-1
ERROR(/home/builder/.termux-build/vulkan-wsi-layer/src/wsi/swapchain_base.cpp:295): create_and_bind_swapchain_image(image_create_info, img)
ERROR(/home/builder/.termux-build/vulkan-wsi-layer/src/layer/swapchain_api.cpp:64): Failed to initialise swapchain
MESA: error: CreateSwapchainKHR failed with VK_ERROR_OUT_OF_HOST_MEMORY
MESA: error: zink: could not create swapchain
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Mesa
GL_RENDERER: zink Vulkan 1.3(Samsung Xclipse 940 (SAMSUNG_PROPRIETARY))
GL_VERSION: OpenGL ES 3.2 Mesa 24.0.8
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false:X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0x0
Serial number of failed request: 34
Current serial number in output stream: 36
but It's not perfect in mesa-zink 22.0.5 (before koppar was merged), but it works to a usable level.
Selected GPU 0: Adreno (TM) 740, type: IntegratedGpu ERROR(/data/data/com.termux/files/home/vulkan-wsi-layer/wsi/x11/swapchain.cpp:332): undefined symbol: AHardwareBuffer_release ERROR(/data/data/com.termux/files/home/vulkan-wsi-layer/wsi/swapchain_base.cpp:295): create_and_bind_swapchain_image(image_create_info, img) ERROR(/data/data/com.termux/files/home/vulkan-wsi-layer/layer/swapchain_api.cpp:64): Failed to initialise swapchain Segmentation fault
My system: Android 14