Closed sparklingtube222 closed 4 months ago
why do you use --legacy-drawing
since x11 working without it.
btw which command you use to start xfce4 and where (termux or root)?
It doesnt show the desktop without legacy drawing, I use termux-x11 --legacy-drawing -xstartup xterm or i use xfce4-session, with xterm i also cant move the cursor.
use TERMUX_X11_DEBUG=1 termux-x11 :0 -ac -xstartup xfce4-session
then send log here
you dont need to root device if you dont use chroot
Sorry for the late response, I was doing something, is there a way to save the log in a file automatically or do I just post all the output here?
this is the x11 app after using your thing to start it and heres the log: https://pastebin.com/Xn5UmXsp
Disable SELinux.
setenforce 0
still only cursor and still cant move the cursor
Disable SELinux and restart X server.
i added legacy drawing now i can see the xfce but i still cant move the cursor and I did disable Selinux, do i need to restart my phone to get it to apply?
No. Restarting device will re-enable SELinux. Force-stop termux and termux-x11 apps. Disable selinux. Start termux and X server. After this switch to Termux:X11 activity.
its spamming failed to load module cannot locate libgiognutls.so
failed to get system bus too
its lagging behind, its on 0.4 fps what the fuck
its spamming failed to load module cannot locate libgiognutls.so
failed to get system bus too
Not related to X server. Fix your environment. The issue is about mouse moves.
So the mouse works?
nope its on 0.4 fps it said in the log
what the
Avoid using bad language please.
sorry, is there any way to optimize it?
It reports average FPS. It will not show you high FPS if you do not output something to X server.
so, its freezing, the time now is 41, the x11 shows 34...
Again. Does the mouse work? And what exactly do you check?
i try to move the mouse its not moving because the whole x11 froze, the time is stuck
so, if i exit the app and then go back in it updates the image but still cant move the mouse
The mouse will not move in the case if screen updating does not work. Mouse drawing is implemented exactly the same way as screen drawing. Start termux-x11 with something like glxgears to make sure screen is updating.
how would i do that
pkg i mesa-demos
termux-x11 :1 -xstartup glxgears
x in the middle cant move it
with gears
Do gears move?
nope
Termux:X11 is already doing everything possible to display images on the screen. However, there are devices whose firmware has been modified by the manufacturer in such a way that Termux:X11 cannot function properly. Therefore, I am informing you that your device is not supported. I apologize for any inconvenience.
Problem description
The phone is a note 4 snapdragon, armv7a, running android 9 havocos rooted using magisk. I installed termux and the X11 addon, followed the guide, after starting the x11 server, i noticed i only saw a cursor, i then changed the command to include -legacy-drawing, then I restarted, but noticed i couldnt move the cursor, i tried with scrcpy OTG, and OTG cable, nothing worked, when i tried it on my other phone, it did work.
What steps will reproduce the bug?
Owning a Note 4.
What is the expected behavior?
That I am able to move the cursor