Closed Damaj301damaj-lol closed 1 year ago
termux-x11
never supported hardware accelerating. GLX is not supported by app. But I have a question: what environment did you use to start glxgears
?Hello @twaik,
I see that termux-x11
tool did not connect to main application. Sometime it happens, for some reason Unix sockets are not delivered or delivered in some broken state you should try to connect again. Later I wan to fix it but I have some higher priority issues.
Wait, it looks like glxgears
is trying to connect wayland server, not Xwayland
, it should not happen. Later I'll fix this behaviour.
Also it would be great to see full log of how you start both termux-x11
and glxgears
, video is not very informative.
1: termux-x11 keeps crashing whenever an app (glxgears) tries to use display Video:
But termux glxgears works fine for me
2: termux-x11 won't close by any means unless murdered.
Yes same for me
Can you please check if it is relevant for latest build?
@Damaj301damaj-lol any updates?
@Damaj301damaj-lol any updates?
logcat is not returning useful info about termux-x11 crashing
@Damaj301damaj-lol ?
@Damaj301damaj-lol Please, make export TERMUX_X11_DEBUG=1
before invoking termux-x11
to get full log and post it here.
@twaik You probably could load Zink with MESA_VK_WSI_DEBUG=sw
env variable. It works with Termux-X11 from new branch, Xvfb and git version of mainline Mesa. I even managed to get Turnip with KGSL working, but it's crashing a lot right now as I has to build it with both KGSL and MSM enabled. I used Debian proot, but it should work directly in Termux the same way, it's slow tho (but slowdowns can also be caused by that I'm using untested way of building Turnip).
You probably could load Zink with MESA_VK_WSI_DEBUG=sw
Android's vulkan implementation will not recognise this option, that means that you are using Turnip or software rendering.
I even managed to get Turnip with KGSL working, but it's crashing a lot right now as I has to build it with both KGSL and MSM enabled.
Check these repos. Alexvorxx built turnip + zink for exagear and it can work without DRI2 support. It works with Xvfb.
Outdated since after https://github.com/termux/termux-x11/commit/ee2224e474ce0c184de7a2c9c454c658f8afe249 there is builtin X server...
I have been noticing a bunch of issues with termux-x11, particularly since the latest build (at the time of posting this issue), and i thought i would compile them up into this nice issue promt, hopefully it can help in something :P.
NOTE: i am using custom builds of mesa, vulkan headers and gallium zink, so i hope it won't affect the validity of this issue, and zink is being used in all the issues.
I hope this issue can help in something