Skip to content
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

[Bug]: Termux-x11 freezes #516

Closed
jamesgarry1 opened this issue Dec 14, 2023 · 20 comments
Closed

[Bug]: Termux-x11 freezes #516

jamesgarry1 opened this issue Dec 14, 2023 · 20 comments

Comments

@jamesgarry1
Copy link

Problem description

Android: 10
Termux: 0.118.0
Termux-x11: 1.03.00
Termux-x11 is a wonderful project and there is one thing that pisses me off
After 7 seconds termux-x11 freezes and unfreezes when i press the circle on my phone bar/close the keyboard and freezes again

What steps will reproduce the bug?

I dont know how to reproduce the bug it happens randomly
In the past I removed contents of /tmp/ and it got fixed
This time i tried to remove the contents of /tmp/ it didn't work

What is the expected behavior?

No response

@RalfWerner
Copy link

"one thing that pisses me off" and "I dont know how to reproduce the bug it happens randomly"

The developer cannot find a solution with this information. Try to find a repeatable scene, describe it and enter your device type and manufacturer.

@jamesgarry1
Copy link
Author

Manufacturer is huawei
Device is P40 Lite

@twaik
Copy link
Member

twaik commented Dec 14, 2023

Try -legacy-drawing option, I hope it will help.

@RalfWerner
Copy link

I had a similar problem with my Huawei Y7 3-4 years ago, that I tried to solve with @twaik for several months. At that time I called it SSM = "Stupid Stalled Mode", which never occurred when I had connected a power cable (very stupid).
The problem could not be repeated on my other devices (non Huawei) and @twaik had no such device, so that we gave up after a half year. There are no problems with the Xvnc Server. Maybe that's an alternative for you, when it not solved by -legacy-drawing.

@twaik
Copy link
Member

twaik commented Dec 14, 2023

I had a similar problem with my Huawei Y7 3-4 years ago

Irrelevant, new version uses different technology.

@RalfWerner
Copy link

Irrelevant, new version uses different technology.

I will check that - thanks for the hint :)

@jamesgarry1
Copy link
Author

-legacy-drawing Does not fix the problem

@jamesgarry1
Copy link
Author

I will try to clear the cache of both apps

@jamesgarry1
Copy link
Author

Clearing cache was the solution

@jamesgarry1
Copy link
Author

Nevermind, after clearing the cache it didn't resolve the issue

@jamesgarry1 jamesgarry1 reopened this Dec 14, 2023
@twaik
Copy link
Member

twaik commented Dec 14, 2023

Try to disable battery restrictions for both apps.

@jamesgarry1
Copy link
Author

I fixed the problem the problem was i didnt put termux in the background

@RalfWerner
Copy link

RalfWerner commented Dec 14, 2023

termux in the background

What does it mean? Both Apps has to be aktiv!

@RalfWerner
Copy link

RalfWerner commented Dec 14, 2023

As promised, my Huawei Check: My SSM Problem above also exists with the current X11 version. I rarely use them because it does not use reasonable gesture control as with ekeys and there are other problems. For example, fluxbox does'nt work in direct mode. Nothing is displayed on the Huawei without -legacy-drawing, but with all my other devices and when the power cable is connected, the work can be continued, but I will switch back to ekeys, because it is much easier to use.

I do not provide screenshots because you @twaik don't have an appropriate device. but a remark:
In README (Simulated touchscreen mode) is
. "Long" tap for mouse holding. You can copy this line in (Touchpad emulation mode)
ekeys do it without "Long". So reasonable* gestures can implemented.

@jamesgarry1
Copy link
Author

By the way this was a duplicate to #501 and i cannot seem to use termux-x11 without it freezing even with legacy drawing

@jamesgarry1
Copy link
Author

The solution in the 501th issue seem to fix the issue

@twaik
Copy link
Member

twaik commented Mar 26, 2024

Is this issue still reproducible witth latest build? Without -legacy-drawing flag.

@jamesgarry1
Copy link
Author

Yeah i think its because of low battery mode but i dont care about termux x11 anymore because i got a IOS

@jamesgarry1 jamesgarry1 reopened this Mar 27, 2024
@ImNotTheChiku35
Copy link

Turn on "Allow background activity" for Termux? it work for me

@twaik
Copy link
Member

twaik commented Mar 31, 2024

Closing in prior to termux/termux-app#3903

@twaik twaik closed this as completed Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants