Closed Yisus7u7 closed 2 years ago
@xeffyr Posh Shell (armhf alpine, proot) has no problem running openGL, so the error will be that any specific hardware/driver cannot be accessed?
Apparently Xephyr and Posh Shell have no problem with openGL apart from its very poor performance.
Note that both use wayland
@xeffyr Solved! Turn on mesa hardware acceleration
https://gxmersam.blogspot.com/p/getting-hardware-acceleration-on-termux.html?m=1
Enabling on mesa hardware acceleration
The performance is excellent, there is no lag, everything goes very fast
The performance is excellent, there is no lag, everything goes very fast
Does it run on debian proot/chroot?
The performance is excellent, there is no lag, everything goes very fast
Does it run on debian proot/chroot?
No, it is fully native in termux x11
The performance is excellent, there is no lag, everything goes very fast
Does it run on debian proot/chroot?
No, it is fully native in termux x11
what really !!! have to check right now !!! 😃
@xeffyr Solved! Turn on mesa hardware acceleration
https://gxmersam.blogspot.com/p/getting-hardware-acceleration-on-termux.html?m=1
this is currently using the llvmpipe driver unless you specified GALLIUM_DRIVER=zink
Actually its better to run in chroot linux because it hss many 3D app/games , also box86 wine.. But if it still in termux desktop, i think there is no app/games there..
this was using the Zink driver
this was using the Zink driver
Can it work on Adreno 506?
this was using the Zink driver
Can it work on Adreno 506?
it should work on all GPUs that support vulkan
this was using the Zink driver
Can it work on Adreno 506?
it should work on all GPUs that support vulkan
Can you give me tutorial link? I tried few days ago, i read tutorial somewhere, but in the end, i compile and not work.. Is it like turnip? do you have tutorial?
I will try in chroot..
this was using the Zink driver
Can it work on Adreno 506?
it should work on all GPUs that support vulkan
Can you give me tutorial link? I tried few days ago, i read tutorial somewhere, but in the end, i compile and not work.. Is it like turnip? do you have tutorial?
I will try in chroot..
you could try the instructions in https://github.com/suhan-paradkar/tewmux-disabled/releases/download/mesa-hw/instructions.tar.gz
i dont know weather it will work in an chroot envionment
The performance is excellent, there is no lag, everything goes very fast
Does it run on debian proot/chroot?
No, it is fully native in termux x11
ok i couldn't get it to work ... i'll ask you in telegram ... please respond me there
@xeffyr @suhan-paradkar
I just killed two birds with one stone
How to fix it?
Enable opengl in mesa, vulkan drivers and galium drivers.
I haven't tried zink, but you don't need to enable zink
Add wayland, libsha1 mesa-gl, mesa-dri packages
Enable opengl in libepoxy package
Enable opengl, Xephyr, dri1 dri2 dri3, in xorg-xserver
And voila!, everything will work smoothly in both Xwayland and vnc.
Just follow the steps in step 1, and voila, gl4es will go fast and smooth.
Do not use ndk-multilib for compilation, leave OpenGL broken for compilation of more packages in the future
It works perfectly, I don't get segmentation failures and the optimization is excellent, I don't know if this works also in 64 bits.
The slowness of gl4es must be because the graphics are forced, since mesa does not provide a correct rendering, I think that explains why gl4es is slow
I was guided by this page :
https://gxmersam.blogspot.com/p/getting-hardware-acceleration-on-termux.html?m=1
And I go back and repeat, I'm not using zink, you don't need zink to work.
I hope you find all this information useful
from what i have seen before mesa has some issues when compiling in ci, mainly saying llvm-config not found
@Yonle
Please do not mention me as i'm not interested with this. I repeat, do not mention random user.
a little help ? i just can't seem to get it work 😥
@Yonle
Please do not mention me as i'm not interested with this. I repeat, do not mention random user.
Sorry I mentioned it by mistake
Lots of off-topic and overquoting.
I'm locking issue now. If you know how to fix - submit a pull request with changes to package versions, build configuration and patches (whatever is required).
Note that mesa-demos
, the package that contains glxgears
, has been disabled now. This issue is not worth being open.
Problem description
The window comes out for a few seconds and then disappears
Info: Android 8.0 32 bits 2GB of ram DE: lxqt WM: Openbox Using vnc
In proot it works, but in termux anything related to OpenGL does not want to work
Steps to reproduce
Expected behavior