-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mesa, glmark2, vkmark, alsa-lib #164
Conversation
At the moment I can’t correct errors in your pr because I’m busy, and I also have another pr (#161). Therefore, I ask you to correct your mistakes yourself. |
all errors are fixed now:rocket: |
i thought that it was qemu-arm issue... any ideas how to fix it? |
most likely just need to recompile libicu |
@askorbinovaya-kislota, I managed to run zink: I'll merge your PR soon, but before that I want to update |
i found that osmesa-glibc package is empty and not every libOSMesa.so file/symlink was included, to avoid merge conflicts, i'm sending this small patch here: the patchdiff --git a/gpkg/mesa/osmesa.subpackage.sh b/gpkg/mesa/osmesa.subpackage.sh
index 80b18fb..f70b7fa 100644
--- a/gpkg/mesa/osmesa.subpackage.sh
+++ b/gpkg/mesa/osmesa.subpackage.sh
@@ -1,6 +1,6 @@
TERMUX_SUBPKG_INCLUDE="
glibc/include/GL/osmesa.h
-glibc/lib/libOSMesa.so
+glibc/lib/libOSMesa.so*
glibc/lib/pkgconfig/osmesa.pc
"
TERMUX_SUBPKG_DESCRIPTION="Mesa Off-screen Rendering Library" i did not check if osmesa-glibc package is correct with the latest changes and didn't try building with this patch applied because i have troubles accessing my main PC, but this should be fixed before merge |
gpkg/libwayland gpkg/libwayland-protocols gpkg/vulkan-tools gpkg/mesa-demos gpkg/opengl gpkg/freeglut gpkg/glu gpkg/glslang gpkg/spirv-tools gpkg/spirv-headers gpkg/glmark2 gpkg/vkmark gpkg/glm gpkg/xcb-util-wm gpkg/assimp gpkg/alsa-lib gpkg/libomxil-bellagio gpkg/libva gpkg/libvdpau gpkg/vulkan-volk gpkg/libepoxy gpkg/libclc gpkg/spirv-llvm-translator Co-authored-by: Maxython <[email protected]>
How to force
The note: In theory, mesa should use the panfrost or lima driver to directly access the gpu mali, but for some unknown reason this does not happen. It is also possible that due to the fact that mesa does not use these drivers, vulkan does not work correctly in termux-x11. I need to look into this issue more. |
gpkg/libwayland gpkg/libwayland-protocols gpkg/vulkan-tools gpkg/mesa-demos gpkg/opengl gpkg/freeglut gpkg/glu gpkg/glslang gpkg/spirv-tools gpkg/spirv-headers gpkg/glmark2 gpkg/vkmark gpkg/glm gpkg/xcb-util-wm gpkg/assimp gpkg/alsa-lib gpkg/libomxil-bellagio gpkg/libva gpkg/libvdpau gpkg/vulkan-volk gpkg/libepoxy gpkg/libclc gpkg/spirv-llvm-translator Co-authored-by: Maxython <[email protected]>
turnip works with the termux-wsi patch, but shutters a lot (same with zink on turnip),
MESA_VK_WSI_DEBUG=sw
"fixes" all shuttersi also tried building the new 23.3.0-rc5 mesa, it needs an updated no-hardlinks patch and disabling the lua subproject (or packaging lua to gpkg), ping me when 23.3.0 is released
created the opengl metapackage like in bionic termux, but i think it would be better to just depend on libglvnd...
alsa-lib is packaged because some packages and programs (in box64) hard-depend on it, even if it is not usable on android
this PR closes #137 and #141