xDoge26 / proot-setup

64 stars 13 forks source link

Zink not working #5

Closed leem919 closed 1 year ago

leem919 commented 1 year ago

When I try running a program with the zink alias, it crashes instantly and says lost connection to rendering server on 8 read -1 104 Aborted Outside of the proot, it's saying libEGL warning: MESA-LOADER: failed to open swrast: dlopen failed: cannot locate symbol "_ZN7android18egl_get_connectionEv" referenced by "/system/lib64/libGLESv3.so"... (search paths /data/data/com.termux/files/usr/lib/dri, suffix _dri) failed to initialise renderer.

leem919 commented 1 year ago

I compiled the old zink, and now I'm getting ../src/gallium/frontends/lavapipe/lvp_device.c:53: VK_ERROR_OUT_OF_HOST_MEMORY ../src/gallium/frontends/lavapipe/lvp_device.c:53: VK_ERROR_OUT_OF_HOST_MEMORY ../src/gallium/frontends/lavapipe/lvp_device.c:53: VK_ERROR_OUT_OF_HOST_MEMORY lost connection to rendering server on 8 read -1 104 in the proot and

WARNING: Some incorrect rendering might occur because the selected Vulkan device (Adreno (TM) 640) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color ZINK: USING LAZY DESCRIPTORS ZINK: USING LAZY DESCRIPTORS gl_version 40 - core profile enabled ZINK: USING LAZY DESCRIPTORS ZINK: USING LAZY DESCRIPTORS vtest_client_dispatch_commands: client context created. GLSL feature level 400 GLSL feature level 400 ZINK: USING LAZY DESCRIPTORS ZINK: USING LAZY DESCRIPTORS ZINK: USING LAZY DESCRIPTORS ZINK: warning, this is cpu-based conditional rendering, say bye-bye to fps ZINK: USING LAZY DESCRIPTORS SIGSEGV! outside of the proot

xDoge26 commented 1 year ago

If you have adreno 640 . You should use turnip zink

xDoge26 commented 1 year ago

I only tested it with adreno 610

leem919 commented 1 year ago

where do you think the best source for turnip zink is?

xDoge26 commented 1 year ago

idk

leem919 commented 1 year ago

damn, alright

leem919 commented 1 year ago

I switched out mesa in your script with Heasterian's mesa-turnip-kgsl, and got the same error. I tried using your new gles setup, and got *** stack smashing detected ***: terminated Aborted am I at a dead end here?

leem919 commented 1 year ago

Sadly, same error

leem919 commented 1 year ago

Found my issue! Guess this setup doesn't work on the debian proot, but does work on the ubuntu proot. So I have to use that from now on.

ShapeShifter499 commented 1 year ago

@leem919 coming across this myself. Do you know what version of Ubuntu you installed?

leem919 commented 1 year ago

22.04.2, it seems to be the default when just doing proot-distro install ubuntu