-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
please add support 32 bit (armv8l) in termux-x11.deb #43
Comments
Sorry, but I do not think it will help. Termux-x11 just wraps termux's Xwayland binary. You should use 32bit Termux environment. |
any specific error? it should support all architectures. termux-x11/build_termux_package Line 32 in bec4cdb
|
I try uname -m (in 32 bit termux environment) it shows armv8l , and i think there is no folder for that arch in termux-x11.deb ... while i install the .deb error says cannot stat libstarter .... |
It is really arch independent, but it contains JNI library that helps to start Xwayland. But a package contains libraries for all 4 architectures. |
Check in |
I try install termux-x11.deb in 32 bit termux bootstrap and this is the log And i try to check /data/data/com.termux/files/usr/libexec/termux-x11
|
Can you please try this script and post a log here?
|
|
In 64 bit , the uname detect aarch64 but when im in 32 bit, the uname detect armv8l |
Use |
~ $ dpkg --print-architecture |
The script can be fixed by replacing |
Termux 32-bit Installations on 64-bit OS can report architecture differently use "dpkg --print-architecture" to report the correct current arch instead based on Termux repo architecture information
while use (replace with) dpkg --print-architecture instead uname -m , it managed to copy the file libstarter.so from armeabi-v7a folder succesfully, but when i run termux-x11, it just show output: killed. Finally i copy libstarter.so from arm64-v8a folder manually and it seem work (it opens termux x11 app and no error notification) |
perhaps the 32-bit other than that 32-bit libs can't be used on 64-bit and vice versa. it needs to be 64-bit |
As I said before the package has no architecture dependent libraries that are used by Termux. But there are some libraries that are used by JVM and should fit it. |
We can try to make starter check what architecture of JNI library it needs. Or just run |
I realize this is somewhat complicated 🥴, after the install problem is solved (libraries finally copied), now it seems this 32 bit mode cant display program for now, i think maybe i need to back to 64 bit mode.. |
@sukualam You were right when you decided to report it. Anyway we should fix it. |
Yes! I've also no success to start XClient= fluxbox and stop after 10 sec./data/data/com.termux/files/usr/libexec/termux-x11/termux-startx11 doing the same.
|
Oh ok thanks, btw.. For now the 32 bit things (Termux:x11, wayland implementation) on 64 bit machine seems not working yet, i even got segmentation fault when run: env DISPLAY=:1 glxgears |
Post logs...
I think first of all you should try other stuff, like xterm/pcmanfm/geany/putty. And of cource I need logs. |
I clean install 32 bit termux bootstrap, and install xwayland and install termux-x11.deb file (while the .deb install script success, it actually copy libstarter.so from armeabi-v7a folder, and i manually replace from arm64-v8a folder) Then i install geany After that i run export XDG_RUNTIME_DIR=${TMPDIR} In new tab, i run And it shows the program...
|
I think that is a problem of current glx implementation, not of |
Yes, I think so 😎 , btw the .deb still copy from wrong folder arch. |
Can you please try this script and post a log?
|
Again please?
|
Wait. Do you use arm64 lib with your device (armv8)? |
My android is 64 bit, i install termux 32 bit bootstrap from this script https://github.com/WMCB-Tech/termux-prefix-switcher/ to switch in 32 bit prefix in termux But when install termux-x11.deb , and run termux-x11, it instant crash if i didn't use libstarter.so from arm64-v8a ... I dont know why, so i just manually replace that lib (libstarter.so) armeabi-v7a version to arm64-v8a version |
@twaik They ar part of screenshots contains everything that is necessary for repetition and what is logged. In shot1 (version 8 - no problem), the four process checks (PID1-4 = 13768,13879,15786 and 24534) are well recognizable and also the Taskbar/workspace-manager of @sukualam you've success with |
actually after that, i just install xfce4 instead, and it run fine.. For the bottom panel (dock), somewhat it overlapped with termux x11 Extra Keys. Until now, i just hide Extra Keys and the bottom panel showed up. I think this 32 bit prefix is still broken for running somewhat GLX or things like accelerator in xwayland, if use tigervnc, it will use llvm-renderer and somewhat use software rendering and can run glxgears just fine in VNC but low fps. |
Something or complete? The X11 PiP in the shot1 was made with the |
The Reseed choice effect is expected. My question was related to EK! Could you move your Application/workspace line from Top to Bottom (default in |
That's not okay yet. Administration of the EK is outside the XServer, that communicating with Thanks for the information about this version. It seems it works like version 4 with PID3=Xwayland (Shot1). I'm waiting for @twaik's answer to my failed |
Oh ok too... so far this issue seems solved (termux-x11.deb installation) while i still need to manually copy the correct libstarter.so lib... I guess the GLX problem and some 3D things issue in 32 bit termux is another topic here.. |
Hi here, I have a similar problem... My device: Samsung galaxy tab s6, android 10, one ui 2.5 dpkg -i termux-x11.deb fails at post install. from termux: edit: To complete the post install I modified the file /data/data/com.termux/files/usr/var/lib/dpkg/info/termux-x11.postinst:
|
If I asked you to tell then I failed to understand what exactly has happened. Post logs.
Extra Keys pull request is still unmerged. Ask people to test it in the corresponding discussion.
Xwayland itself has no acceleration. Tigervnc does not has it too. As I know there is something like software rendering. Bit it is not a part of Termux:X11, because T:X11 is not a Xserver implementation, it is just a backend for Xwayland. |
@sukualam @zanfix |
Ok, i clean remove termux-x11 and uninstall the termux X11 app too... Then i try the latest artifact, and i can say now that bug about termux-x11.deb is gone (i can start termux-x11 normally now in 32 bit termux bootstrap) Btw, maybe this another issue, the extra keys in termux X11 app is still overlapping with few % of bottom region of display output (the xfce bottom panel in my case) .. But when i enable PiP, and i minimize the Termux X11, and then returned it again to full size, its no more overlapping, and the dock is visible now.. |
@zanfix ? |
Yes... it installs with no problem now... I had a seg fault on xfce4 start, but will put it in the other issue I closed? Started fine the second time (after restarting termux and termux:x11) Note: I started from a clean termux installation... |
I think so... |
Actually my android is 64 bit, but I try 32 bit termux bootstrap (for testing box86 wine).
I want to try wayland in 32 bit termux environment and when i try install termux-x11.deb it fails. I try to extract the .deb and i see no armv8l (32 bit i think) libs..
Im noob to compile.. Pls add it. Thx..
(previously, when i use normal termux (64 bit), the termux-x11 work fine , i can run xfce4 desktop)
The text was updated successfully, but these errors were encountered: