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

Can't displaying GUI again after the x11 app closed #129

Closed
pawn343 opened this issue Jun 10, 2022 · 21 comments
Closed

Can't displaying GUI again after the x11 app closed #129

pawn343 opened this issue Jun 10, 2022 · 21 comments
Labels
bug Something isn't working

Comments

@pawn343
Copy link

pawn343 commented Jun 10, 2022

when i was trying to display a GUI again after i closed the x11 app and then doing the same again to display GUI like:
export XDG_RUNTIME_DIR=${TMPDIR}
termux-x11 :1 &

it will open the x11 app again, then doing:
env DISPLAY=:1 openbox-session

it can't display the GUI anymore, just a black screen.
the problem can be solved by clearing the x11 app data.
the log in termux is stiil the same just like was in the beginning of displaying GUI.

its just like i have to always opening the x11 app for displaying GUI.

@twaik
Copy link
Member

twaik commented Jun 10, 2022

Do you have any logs?

@jpleboeuf
Copy link

Same problem with XFCE4 and the artifact from Build#174.

After exiting the XFCE4 session or closing Termux-X11, I have to clean Storage in the settings of the Android app, or I will face a black screen instead of the XFCE4 desktop when I try to start a new session.

Which logs are needed to debug?

@jpleboeuf
Copy link

jpleboeuf commented Jun 20, 2022

Start log when black screen, that I continuously get after the first session, if not cleaning the storage of the Android app:

res = 0
Activity is started
Got getWaylandFD
{ParcelFileDescriptor: java.io.FileDescriptor@288ace8}
Lorie requested fd
Got getLogFD
{ParcelFileDescriptor: java.io.FileDescriptor@c507f01}
Got finish request
App sent finishing command
Starting Xwayland
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
xfce4-session: No SSH authentication agent found

(xfwm4:23804): xfwm4-WARNING **: 13:04:50.361: Cannot find a matching visual for the frame buffer config.

(xfwm4:23804): xfwm4-WARNING **: 13:04:50.361: Cannot find a matching GLX config, vsync disabled.

** (xfdesktop:23836): WARNING **: 13:04:51.252: Failed to get system bus: Could not connect: No such file or directory

(wrapper-2.0:23868): GLib-GIO-CRITICAL **: 13:04:52.403: g_file_new_for_path: assertion 'path != NULL' failed

(wrapper-2.0:23868): GLib-GIO-CRITICAL **: 13:04:52.404: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed

(wrapper-2.0:23868): GLib-GObject-WARNING **: 13:04:52.404: invalid (NULL) pointer instance

(wrapper-2.0:23868): GLib-GObject-CRITICAL **: 13:04:52.404: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wrapper-2.0:23868): Gtk-WARNING **: 13:04:52.404: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

(xfce4-session:23778): xfce4-session-WARNING **: 13:04:52.519: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:23778): xfce4-session-WARNING **: 13:04:52.529: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:23778): xfce4-session-WARNING **: 13:04:52.537: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(wrapper-2.0:23879): Gtk-WARNING **: 13:04:52.581: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(wrapper-2.0:23868): Gtk-WARNING **: 13:04:52.695: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
(EE) failed to read Wayland events: Broken pipe

Start log when all goes well, after clearing the storage of the Android app:

res = 0
Activity is started
Got getWaylandFD
{ParcelFileDescriptor: java.io.FileDescriptor@c1ca945}
Lorie requested fd
Got getLogFD
{ParcelFileDescriptor: java.io.FileDescriptor@425489a}
Got finish request
App sent finishing command
Starting Xwayland
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
xfce4-session: No SSH authentication agent found

(xfwm4:24192): xfwm4-WARNING **: 13:07:11.836: Cannot find a matching visual for the frame buffer config.

(xfwm4:24192): xfwm4-WARNING **: 13:07:11.837: Cannot find a matching GLX config, vsync disabled.

** (xfdesktop:24227): WARNING **: 13:07:12.776: Failed to get system bus: Could not connect: No such file or directory

(wrapper-2.0:24261): GLib-GIO-CRITICAL **: 13:07:14.184: g_file_new_for_path: assertion 'path != NULL' failed

(wrapper-2.0:24261): GLib-GIO-CRITICAL **: 13:07:14.185: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed

(wrapper-2.0:24261): GLib-GObject-WARNING **: 13:07:14.185: invalid (NULL) pointer instance

(wrapper-2.0:24261): GLib-GObject-CRITICAL **: 13:07:14.185: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wrapper-2.0:24261): Gtk-WARNING **: 13:07:14.186: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

(xfce4-session:24169): xfce4-session-WARNING **: 13:07:14.329: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:24169): xfce4-session-WARNING **: 13:07:14.344: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:24169): xfce4-session-WARNING **: 13:07:14.359: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(wrapper-2.0:24261): Gtk-WARNING **: 13:07:14.378: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:24270): Gtk-WARNING **: 13:07:14.404: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(xfce4-session:24169): xfce4-session-WARNING **: 13:07:21.762: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:24169): xfce4-session-WARNING **: 13:07:21.774: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:24169): xfce4-session-WARNING **: 13:07:21.787: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:24169): xfce4-session-WARNING **: 13:07:24.211: Failed to create session file backup

(xfce4-panel:24214): GLib-WARNING **: 13:07:24.292: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible causes.
(EE) failed to read Wayland events: Broken pipe

@jpleboeuf
Copy link

jpleboeuf commented Jul 1, 2022

In fact, clearing the app's storage don't even work all the time with Build#174.
I tried other versions, from Build#162,164,167,178: for some, it does not work at all, for some other it's the same as Build#174 - unreliable.

After seeing the mention of this issue by @v8karlo in RandomCoderOrg/ubuntu-on-android#171, I tried the solution proposed there by @SaicharanKandukuri: I installed the version of the app available from https://github.com/SaicharanKandukuri/T-X11 (Build#41 in my case), and termux-x11 from the Termux repository (not from a build artifact in the https://github.com/termux/termux-x11 repository) and bingo!! it works all the time :D

Here is the successful log with this setup:

Starting: Intent { cmp=com.termux.x11/.MainActivity }
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
xfce4-session: No SSH authentication agent found

(xfwm4:27893): xfwm4-WARNING **: 22:01:55.655: Cannot find a matching visual for the frame buffer config.

(xfwm4:27893): xfwm4-WARNING **: 22:01:55.656: Cannot find a matching GLX config, vsync disabled.

** (xfdesktop:27914): WARNING **: 22:01:56.706: Failed to get system bus: Could not connect: No such file or directory

(wrapper-2.0:27934): GLib-GIO-CRITICAL **: 22:01:57.863: g_file_new_for_path: assertion 'path != NULL' failed

(wrapper-2.0:27934): GLib-GIO-CRITICAL **: 22:01:57.864: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed

(wrapper-2.0:27934): GLib-GObject-WARNING **: 22:01:57.864: invalid (NULL) pointer instance

(wrapper-2.0:27934): GLib-GObject-CRITICAL **: 22:01:57.864: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wrapper-2.0:27934): Gtk-WARNING **: 22:01:57.864: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

(xfce4-session:27875): xfce4-session-WARNING **: 22:01:58.033: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:27875): xfce4-session-WARNING **: 22:01:58.042: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:27875): xfce4-session-WARNING **: 22:01:58.055: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(wrapper-2.0:27934): Gtk-WARNING **: 22:01:58.066: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:27943): Gtk-WARNING **: 22:01:58.094: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(xfce4-session:27875): xfce4-session-WARNING **: 22:02:03.364: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:27875): xfce4-session-WARNING **: 22:02:03.375: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:27875): xfce4-session-WARNING **: 22:02:03.387: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:27875): xfce4-session-WARNING **: 22:02:05.260: Failed to create session file backup

(xfce4-panel:27905): GLib-WARNING **: 22:02:05.339: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible causes.
(EE) failed to read Wayland events: Broken pipe

I'm open to do more investigations to discover why recent builds do not work reliably.

@twaik twaik added the bug Something isn't working label Jul 29, 2022
@SaicharanKandukuri
Copy link
Contributor

SaicharanKandukuri commented Aug 15, 2022

here is a debug log from adb

Application start log
2022-08-15 09:59:39.824 24940-24940/com.termux.x11 D/ActivityThread: handleBindApplication()++ app=com.termux.x11
2022-08-15 09:59:39.825 24940-24940/com.termux.x11 D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10338; state: DISABLED
2022-08-15 09:59:39.737 24940-24940/? I/com.termux.x11: Late-enabling -Xcheck:jni
2022-08-15 09:59:39.781 24940-24940/? W/com.termux.x11: 'interpret-only' is an obsolete compiler filter name that will be removed in future releases, please use 'quicken' instead.
2022-08-15 09:59:39.788 24940-24940/? E/USNET: USNET: appName: com.termux.x11
2022-08-15 09:59:39.791 24940-24940/? D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-08-15 09:59:39.793 24940-24940/? D/ActivityThread: setConscryptValidator
2022-08-15 09:59:39.793 24940-24940/? D/ActivityThread: setConscryptValidator - put
2022-08-15 09:59:39.838 24940-24940/com.termux.x11 D/ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
2022-08-15 09:59:39.870 24940-24940/com.termux.x11 V/GraphicsEnvironment: ANGLE Developer option for 'com.termux.x11' set to: 'default'
2022-08-15 09:59:39.871 24940-24940/com.termux.x11 V/GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
2022-08-15 09:59:39.874 24940-24940/com.termux.x11 D/LoadedApk: LoadedApk::makeApplication() appContext.mOpPackageName=com.termux.x11 appContext.mBasePackageName=com.termux.x11
2022-08-15 09:59:39.874 24940-24940/com.termux.x11 D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-08-15 09:59:39.893 24940-24940/com.termux.x11 D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-08-15 09:59:39.894 24940-24940/com.termux.x11 D/ActivityThread: handleBindApplication() --
2022-08-15 09:59:39.904 24940-24964/com.termux.x11 D/OpenGLRenderer: RenderThread::requireGlContext()
2022-08-15 09:59:39.914 24940-24964/com.termux.x11 D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-08-15 09:59:39.924 24940-24964/com.termux.x11 D/OpenGLRenderer: RenderThread::setGrContext()
2022-08-15 09:59:40.001 24940-24940/com.termux.x11 I/DecorView: [INFO] isPopOver=false, config=true
2022-08-15 09:59:40.001 24940-24940/com.termux.x11 I/DecorView: updateCaptionType >> DecorView@863caad[], isFloating=false, isApplication=true, hasWindowControllerCallback=true, hasWindowDecorCaption=false
2022-08-15 09:59:40.001 24940-24940/com.termux.x11 D/DecorView: setCaptionType = 0, this = DecorView@863caad[]
2022-08-15 09:59:40.006 24940-24940/com.termux.x11 I/DecorView: getCurrentDensityDpi: from real metrics. densityDpi=450 msg=resources_loaded
2022-08-15 09:59:40.013 24940-24940/com.termux.x11 E/LorieService: Instance was requested, but no instances available
2022-08-15 09:59:40.134 24940-24940/com.termux.x11 I/DecorView: [INFO] isPopOver=false, config=true
2022-08-15 09:59:40.134 24940-24940/com.termux.x11 I/DecorView: updateCaptionType >> DecorView@3be7563[], isFloating=false, isApplication=true, hasWindowControllerCallback=true, hasWindowDecorCaption=false
2022-08-15 09:59:40.134 24940-24940/com.termux.x11 D/DecorView: setCaptionType = 0, this = DecorView@3be7563[]
2022-08-15 09:59:40.139 24940-24940/com.termux.x11 I/DecorView: getCurrentDensityDpi: from real metrics. densityDpi=450 msg=resources_loaded
2022-08-15 09:59:40.150 24940-24940/com.termux.x11 W/com.termux.x11: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
2022-08-15 09:59:40.150 24940-24940/com.termux.x11 W/com.termux.x11: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2022-08-15 09:59:40.161 24940-24940/com.termux.x11 D/CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10338; state: ENABLED
2022-08-15 09:59:40.169 24940-24940/com.termux.x11 D/LorieService: sendRunCommand: Intent { act=com.termux.RUN_COMMAND cmp=com.termux/.app.RunCommandService (has extras) }
2022-08-15 09:59:40.186 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: ignored. pkg=com.termux.x11 parent=null callers=com.android.internal.policy.DecorView.setVisibility:4295 android.app.ActivityThread.handleResumeActivity:5301 android.app.servertransaction.ResumeActivityItem.execute:54 android.app.servertransaction.ActivityTransactionItem.execute:45 android.app.servertransaction.TransactionExecutor.executeLifecycleState:176 
2022-08-15 09:59:40.186 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@3be7563[]
2022-08-15 09:59:40.209 24940-24940/com.termux.x11 I/DecorView: notifyKeepScreenOnChanged: keepScreenOn=true
2022-08-15 09:59:40.209 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: ignored. pkg=com.termux.x11 parent=null callers=com.android.internal.policy.DecorView.hasMultiSplitHandlerInNonFreeformMode:891 com.android.internal.policy.DecorView.notifyKeepScreenOnChanged:885 android.view.ViewRootImpl.applyKeepScreenOnFlag:2932 android.view.ViewRootImpl.collectViewAttributes:2956 android.view.ViewRootImpl.setView:1545 
2022-08-15 09:59:40.229 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: setView = com.android.internal.policy.DecorView@3be7563 TM=true
2022-08-15 09:59:40.230 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 09:59:40.231 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@3be7563[MainActivity]
2022-08-15 09:59:40.233 24940-24940/com.termux.x11 E/LorieService: Instance was requested, but no instances available
2022-08-15 09:59:40.236 24940-24988/com.termux.x11 D/LorieNative: Logging initialized
2022-08-15 09:59:40.237 24940-24988/com.termux.x11 V/LorieNative: Initializing EGL
2022-08-15 09:59:40.237 24940-24988/com.termux.x11 D/libEGL: Enabling MSAA 4x
2022-08-15 09:59:40.237 24940-24940/com.termux.x11 D/CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10338; state: DISABLED
2022-08-15 09:59:40.252 24940-24940/com.termux.x11 V/Toast: show: caller = com.termux.x11.LorieService.onCreate:123 
2022-08-15 09:59:40.252 24940-24940/com.termux.x11 V/Toast: show: focusDisplayId = 0, isFocusInDesktop = false mCustomDisplayId=-1 isDexDualMode=false
2022-08-15 09:59:40.252 24940-24940/com.termux.x11 V/Toast: show: isActivityContext = false
2022-08-15 09:59:40.262 24940-24940/com.termux.x11 E/LorieService: created
2022-08-15 09:59:40.263 24940-24940/com.termux.x11 D/CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10338; state: DISABLED
2022-08-15 09:59:40.279 24940-24940/com.termux.x11 E/LorieService: start
2022-08-15 09:59:40.282 24940-24940/com.termux.x11 V/LorieNative: JNI: window is changed: 0x0(0x7febc2d9a4) 0x0 (0mm x 0mm)
2022-08-15 09:59:40.285 24940-24940/com.termux.x11 E/LorieService: Preferences changed
2022-08-15 09:59:40.298 24940-24988/com.termux.x11 E/LorieNative: WindowChangeCallback
2022-08-15 09:59:40.298 24940-24988/com.termux.x11 V/LorieNative: Trying to use window 0x0
2022-08-15 09:59:40.313 24940-24940/com.termux.x11 E/LorieService: Preferences changed
2022-08-15 09:59:40.319 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: onWindowVisibilityChanged(0) true android.view.SurfaceView{ff3c6ea VFE...... .F....I. 0,0-0,0 #7f0900b5 app:id/lorieView} of ViewRootImpl@3d24942[MainActivity]
2022-08-15 09:59:40.336 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=9 res=0x7 s={true 507528347648} ch=true fn=-1
2022-08-15 09:59:40.339 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: windowStopped(false) true android.view.SurfaceView{ff3c6ea VFE...... .F....ID 0,0-1080,2224 #7f0900b5 app:id/lorieView} of ViewRootImpl@3d24942[MainActivity]
2022-08-15 09:59:40.341 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11387 android.view.ViewRootImpl.performTraversals:4185 android.view.ViewRootImpl.doTraversal:2911 
2022-08-15 09:59:40.343 24940-24964/com.termux.x11 D/OpenGLRenderer: eglCreateWindowSurface
2022-08-15 09:59:40.347 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: pST: sr = Rect(0, 74 - 1080, 2298) sw = 1080 sh = 2224
2022-08-15 09:59:40.347 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: onSSPAndSRT: pl = 0 pt = 74 sx = 1.0 sy = 1.0
2022-08-15 09:59:40.348 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@89648f9
2022-08-15 09:59:40.348 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: updateSurface: mVisible = true mSurface.isValid() = true
2022-08-15 09:59:40.348 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
2022-08-15 09:59:40.349 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: surfaceCreated 1 #8 android.view.SurfaceView{ff3c6ea VFE...... .F....ID 0,0-1080,2224 #7f0900b5 app:id/lorieView}
2022-08-15 09:59:40.349 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: surfaceChanged (1080,2224) 1 #8 android.view.SurfaceView{ff3c6ea VFE...... .F....ID 0,0-1080,2224 #7f0900b5 app:id/lorieView}
2022-08-15 09:59:40.349 24940-24940/com.termux.x11 V/LorieNative: JNI: window is changed: 0x7612b53010(0x7febc2d284) 1080x2224 (68mm x 140mm)
2022-08-15 09:59:40.349 24940-24988/com.termux.x11 E/LorieNative: WindowChangeCallback
2022-08-15 09:59:40.349 24940-24988/com.termux.x11 V/LorieNative: Trying to use window 0x7612b53010
2022-08-15 09:59:40.349 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.lambda$new$1$SurfaceView:254 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 
2022-08-15 09:59:40.350 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] pdf(1) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 
2022-08-15 09:59:40.350 24940-24940/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: pendingDrawFinished. Waiting on draw reported mDrawsNeededToReport=1
2022-08-15 09:59:40.350 24940-24940/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: Creating frameDrawingCallback nextDrawUseBlastSync=false reportNextDraw=true hasBlurUpdates=false
2022-08-15 09:59:40.350 24940-24988/com.termux.x11 I/Gralloc4: mapper 4.x is not supported
2022-08-15 09:59:40.350 24940-24940/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: Creating frameCompleteCallback
2022-08-15 09:59:40.351 24940-24988/com.termux.x11 W/Gralloc3: mapper 3.x is not supported
2022-08-15 09:59:40.354 24940-24988/com.termux.x11 I/gralloc: Arm Module v1.0
2022-08-15 09:59:40.355 24940-24988/com.termux.x11 W/Gralloc4: allocator 4.x is not supported
2022-08-15 09:59:40.356 24940-24988/com.termux.x11 W/Gralloc3: allocator 3.x is not supported
2022-08-15 09:59:40.362 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: uSP: rtp = Rect(0, 74 - 1080, 2298) rtsw = 1080 rtsh = 2224
2022-08-15 09:59:40.362 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: onSSPAndSRT: pl = 0 pt = 74 sx = 1.0 sy = 1.0
2022-08-15 09:59:40.363 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@bcf203e fN = 1 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319 
2022-08-15 09:59:40.363 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: vR.mWNT, vR = ViewRootImpl@3d24942[MainActivity]
2022-08-15 09:59:40.363 24940-24998/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@bcf203e fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 
2022-08-15 09:59:40.363 24940-24998/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: merge t to BBQ
2022-08-15 09:59:40.364 24940-24998/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: Received frameDrawingCallback frameNum=1. Creating transactionCompleteCallback=false
2022-08-15 09:59:40.369 24940-24988/com.termux.x11 V/LorieNative: Initializing renderer (tid 24988)
2022-08-15 09:59:40.377 24940-24988/com.termux.x11 V/LorieNative: Resizing renderer to 1080x2224 (68mm x 140mm)
2022-08-15 09:59:40.400 24940-24964/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: Received frameCompleteCallback  lastAcquiredFrameNum=1 lastAttemptedDrawFrameNum=1
2022-08-15 09:59:40.404 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4987 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 
2022-08-15 09:59:40.404 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] rdf()
2022-08-15 09:59:40.404 24940-24940/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: reportDrawFinished (fn: -1) 
2022-08-15 09:59:40.417 24940-24940/com.termux.x11 V/ToastPresenter: Text: Terv in android.widget.ToastPresenter@f7ce9f
2022-08-15 09:59:40.430 24940-24940/com.termux.x11 I/ViewRootImpl@8719bec[Toast]: setView = android.widget.LinearLayout@14b5bb TM=true
2022-08-15 09:59:40.451 24940-24940/com.termux.x11 I/ViewRootImpl@8719bec[Toast]: Relayout returned: old=(0,74,1080,2298) new=(257,1098,822,1215) req=(565,117)0 dur=11 res=0x7 s={true 507120013312} ch=true fn=-1
2022-08-15 09:59:40.452 24940-24964/com.termux.x11 D/OpenGLRenderer: eglCreateWindowSurface
2022-08-15 09:59:40.456 24940-24940/com.termux.x11 I/ViewRootImpl@8719bec[Toast]: [DP] dp(1) 0 android.view.ViewRootImpl.reportNextDraw:11387 android.view.ViewRootImpl.performTraversals:4185 android.view.ViewRootImpl.doTraversal:2911 
2022-08-15 09:59:40.456 24940-24940/com.termux.x11 D/ViewRootImpl@8719bec[Toast]: Creating frameDrawingCallback nextDrawUseBlastSync=false reportNextDraw=true hasBlurUpdates=false
2022-08-15 09:59:40.456 24940-24940/com.termux.x11 D/ViewRootImpl@8719bec[Toast]: Creating frameCompleteCallback
2022-08-15 09:59:40.463 24940-24997/com.termux.x11 D/ViewRootImpl@8719bec[Toast]: Received frameDrawingCallback frameNum=1. Creating transactionCompleteCallback=false
2022-08-15 09:59:40.471 24940-24964/com.termux.x11 D/ViewRootImpl@8719bec[Toast]: Received frameCompleteCallback  lastAcquiredFrameNum=1 lastAttemptedDrawFrameNum=1
2022-08-15 09:59:40.472 24940-24940/com.termux.x11 I/ViewRootImpl@8719bec[Toast]: [DP] pdf(0) 0 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4987 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 
2022-08-15 09:59:40.472 24940-24940/com.termux.x11 I/ViewRootImpl@8719bec[Toast]: [DP] rdf()
2022-08-15 09:59:40.472 24940-24940/com.termux.x11 D/ViewRootImpl@8719bec[Toast]: reportDrawFinished (fn: -1) 
2022-08-15 09:59:40.473 24940-24940/com.termux.x11 I/LorieNative: JNI: got fd 82 (socket:[3686868])
2022-08-15 09:59:40.473 24940-24940/com.termux.x11 D/InsetsSourceConsumer: ensureControlAlpha: for ITYPE_STATUS_BAR on com.termux.x11/com.termux.x11.MainActivity
2022-08-15 09:59:40.476 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
2022-08-15 09:59:40.478 24940-24940/com.termux.x11 I/DecorView: notifyKeepScreenOnChanged: keepScreenOn=true
2022-08-15 09:59:40.479 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 09:59:40.480 24940-24940/com.termux.x11 D/InputMethodManager: startInputInner - Id : 0
2022-08-15 09:59:40.481 24940-24940/com.termux.x11 I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2022-08-15 09:59:40.537 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=16 res=0x1 s={true 507528347648} ch=false fn=2
2022-08-15 09:59:40.537 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: updateBoundsLayer: t = android.view.SurfaceControl$Transaction@1d28ad8 sc = Surface(name=Bounds for - com.termux.x11/com.termux.x11.MainActivity@0)/@0x8031e31 frame = 2
2022-08-15 09:59:40.538 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@1d28ad8 fN = 2 android.view.ViewRootImpl.prepareSurfaces:2770 android.view.ViewRootImpl.performTraversals:4016 android.view.ViewRootImpl.doTraversal:2911 
2022-08-15 09:59:40.538 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: merge t to BBQ
2022-08-15 09:59:40.539 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: pST: sr = Rect(0, 74 - 1080, 1488) sw = 1080 sh = 1414
2022-08-15 09:59:40.539 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: onSSPAndSRT: pl = 0 pt = 74 sx = 1.0 sy = 1.0
2022-08-15 09:59:40.539 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@89648f9
2022-08-15 09:59:40.547 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: updateSurface: mVisible = true mSurface.isValid() = true
2022-08-15 09:59:40.547 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
2022-08-15 09:59:40.548 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: surfaceChanged (1080,1414) 1 #5 android.view.SurfaceView{ff3c6ea VFE...... .F....ID 0,0-1080,1414 #7f0900b5 app:id/lorieView aid=1073741824}
2022-08-15 09:59:40.548 24940-24940/com.termux.x11 V/LorieNative: JNI: window is changed: 0x7612b53010(0x7febc2a764) 1080x1414 (68mm x 89mm)
2022-08-15 09:59:40.548 24940-24988/com.termux.x11 E/LorieNative: WindowChangeCallback
2022-08-15 09:59:40.548 24940-24988/com.termux.x11 V/LorieNative: Trying to use window 0x7612b53010
2022-08-15 09:59:40.550 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setFrame:675 android.view.View.layout:24458 
2022-08-15 09:59:40.551 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 
2022-08-15 09:59:40.551 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] rdf()
2022-08-15 09:59:40.551 24940-24940/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: reportDrawFinished (fn: 2) 
2022-08-15 09:59:40.560 24940-24988/com.termux.x11 V/LorieNative: Initializing renderer (tid 24988)
2022-08-15 09:59:40.584 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: uSP: rtp = Rect(0, 74 - 1080, 1488) rtsw = 1080 rtsh = 1414
2022-08-15 09:59:40.585 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: onSSPAndSRT: pl = 0 pt = 74 sx = 1.0 sy = 1.0
2022-08-15 09:59:40.585 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@76cf916 fN = 2 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319 
2022-08-15 09:59:40.585 24940-24998/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: vR.mWNT, vR = ViewRootImpl@3d24942[MainActivity]
2022-08-15 09:59:40.586 24940-24998/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@76cf916 fN = 2 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 
2022-08-15 09:59:40.586 24940-24998/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: merge t to BBQ
2022-08-15 09:59:40.589 24940-24988/com.termux.x11 V/LorieNative: Resizing renderer to 1080x1414 (68mm x 89mm)
2022-08-15 09:59:40.599 24940-24988/com.termux.x11 I/LorieNative: Client created
2022-08-15 09:59:40.599 24940-24988/com.termux.x11 I/LorieNative: Client destroyed
2022-08-15 09:59:40.601 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: pST: sr = Rect(0, 74 - 1080, 2298) sw = 1080 sh = 2224
2022-08-15 09:59:40.602 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: onSSPAndSRT: pl = 0 pt = 74 sx = 1.0 sy = 1.0
2022-08-15 09:59:40.602 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@89648f9
2022-08-15 09:59:40.603 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: updateSurface: mVisible = true mSurface.isValid() = true
2022-08-15 09:59:40.603 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
2022-08-15 09:59:40.603 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: surfaceChanged (1080,2224) 1 #5 android.view.SurfaceView{ff3c6ea VFE...... .F....ID 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824}
2022-08-15 09:59:40.603 24940-24940/com.termux.x11 V/LorieNative: JNI: window is changed: 0x7612b53010(0x7febc2a764) 1080x2224 (68mm x 140mm)
2022-08-15 09:59:40.604 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setFrame:675 android.view.View.layout:24458 
2022-08-15 09:59:40.604 24940-24988/com.termux.x11 E/LorieNative: WindowChangeCallback
2022-08-15 09:59:40.604 24940-24988/com.termux.x11 V/LorieNative: Trying to use window 0x7612b53010
2022-08-15 09:59:40.604 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 
2022-08-15 09:59:40.604 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: [DP] rdf()
2022-08-15 09:59:40.604 24940-24940/com.termux.x11 D/ViewRootImpl@3d24942[MainActivity]: reportDrawFinished (fn: 2) 
2022-08-15 09:59:40.612 24940-24997/com.termux.x11 I/SurfaceView@ff3c6ea: uSP: rtp = Rect(0, 74 - 1080, 2298) rtsw = 1080 rtsh = 2224
2022-08-15 09:59:40.612 24940-24997/com.termux.x11 I/SurfaceView@ff3c6ea: onSSPAndSRT: pl = 0 pt = 74 sx = 1.0 sy = 1.0
2022-08-15 09:59:40.613 24940-24997/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@a4ef297 fN = 3 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319 
2022-08-15 09:59:40.613 24940-24997/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: vR.mWNT, vR = ViewRootImpl@3d24942[MainActivity]
2022-08-15 09:59:40.613 24940-24997/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@a4ef297 fN = 3 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 
2022-08-15 09:59:40.613 24940-24997/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: merge t to BBQ
2022-08-15 09:59:40.614 24940-24940/com.termux.x11 D/InsetsSourceConsumer: ensureControlAlpha: for ITYPE_NAVIGATION_BAR on com.termux.x11/com.termux.x11.MainActivity
2022-08-15 09:59:40.618 24940-24940/com.termux.x11 D/InputMethodManager: startInputInner - Id : 0
2022-08-15 09:59:40.621 24940-24988/com.termux.x11 V/LorieNative: Initializing renderer (tid 24988)
2022-08-15 09:59:40.631 24940-24988/com.termux.x11 V/LorieNative: Resizing renderer to 1080x2224 (68mm x 140mm)
2022-08-15 09:59:40.843 24940-24988/com.termux.x11 I/LorieNative: Client created
2022-08-15 09:59:40.853 24940-24988/com.termux.x11 V/LorieNative: Setting surface 0x75abbe5280 as toplevel
2022-08-15 09:59:40.968 24940-24988/com.termux.x11 V/LorieNative: Client requested seat pointer
2022-08-15 09:59:40.968 24940-24988/com.termux.x11 V/LorieNative: Setting surface 0x0 as cursor
2022-08-15 09:59:40.968 24940-24988/com.termux.x11 V/LorieNative: Client requested seat keyboard
2022-08-15 09:59:40.968 24940-24988/com.termux.x11 I/LorieNative: Locale: us
2022-08-15 09:59:40.971 24940-24988/com.termux.x11 V/LorieNative: Client requested seat touch
2022-08-15 09:59:40.971 24940-24988/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 09:59:41.023 24940-24988/com.termux.x11 V/LorieNative: Setting surface 0x0 as cursor
2022-08-15 09:59:43.764 24940-24964/com.termux.x11 D/OpenGLRenderer: setSurface called with nullptr
2022-08-15 09:59:43.764 24940-24964/com.termux.x11 D/OpenGLRenderer: setSurface() destroyed EGLSurface
2022-08-15 09:59:43.764 24940-24964/com.termux.x11 D/OpenGLRenderer: destroyEglSurface
2022-08-15 09:59:43.765 24940-24940/com.termux.x11 I/ViewRootImpl@8719bec[Toast]: dispatchDetachedFromWindow
2022-08-15 09:59:43.774 24940-24940/com.termux.x11 D/InputTransport: Input channel destroyed: '98565a2', fd=113
2022-08-15 09:59:59.517 24940-24964/com.termux.x11 D/OpenGLRenderer: setSurface called with nullptr
2022-08-15 09:59:59.520 24940-24953/com.termux.x11 W/System: A resource failed to call close. 
2022-08-15 10:00:30.525 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: ViewPostIme pointer 0
2022-08-15 10:00:30.526 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 10:00:30.654 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 10:00:30.671 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 10:00:30.688 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 10:00:30.703 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 10:00:30.797 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
2022-08-15 10:00:30.798 24940-24940/com.termux.x11 I/DecorView: notifyKeepScreenOnChanged: keepScreenOn=true
2022-08-15 10:00:30.799 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 10:00:30.840 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=25 res=0x1 s={true 507528347648} ch=false fn=4
2022-08-15 10:00:30.840 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: updateBoundsLayer: t = android.view.SurfaceControl$Transaction@1d28ad8 sc = Surface(name=Bounds for - com.termux.x11/com.termux.x11.MainActivity@0)/@0x8031e31 frame = 4
2022-08-15 10:00:30.841 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@1d28ad8 fN = 4 android.view.ViewRootImpl.prepareSurfaces:2770 android.view.ViewRootImpl.performTraversals:4016 android.view.ViewRootImpl.doTraversal:2911 
2022-08-15 10:00:30.841 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: merge t to BBQ
2022-08-15 10:00:31.543 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: handleAppVisibility mAppVisible=true visible=false
2022-08-15 10:00:31.562 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: onWindowVisibilityChanged(8) false android.view.SurfaceView{ff3c6ea VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824} of ViewRootImpl@3d24942[MainActivity]
2022-08-15 10:00:31.562 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@89648f9
2022-08-15 10:00:31.563 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: surfaceDestroyed callback.size 1 #2 android.view.SurfaceView{ff3c6ea VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824}
2022-08-15 10:00:31.563 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: updateSurface: mVisible = false mSurface.isValid() = true
2022-08-15 10:00:31.563 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: tryReleaseSurfaces: set mRtReleaseSurfaces = true
2022-08-15 10:00:31.565 24940-24964/com.termux.x11 I/SurfaceView@ff3c6ea: 25567539 wPL, frameNr = 0
2022-08-15 10:00:31.566 24940-24964/com.termux.x11 I/SurfaceView@ff3c6ea: remove() from RT android.view.SurfaceView$SurfaceViewPositionUpdateListener@1862133 Surface(name=SurfaceView - com.termux.x11/com.termux.x11.MainActivity@ff3c6ea@0)/@0x4abdcf0
2022-08-15 10:00:31.566 24940-24964/com.termux.x11 I/SurfaceView@ff3c6ea: remove() android.view.SurfaceView{ff3c6ea VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824} Surface(name=SurfaceView - com.termux.x11/com.termux.x11.MainActivity@ff3c6ea@0)/@0x4abdcf0
2022-08-15 10:00:31.567 24940-24964/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@bf79d8f fN = 0 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:326 
2022-08-15 10:00:31.567 24940-24964/com.termux.x11 I/SurfaceView@ff3c6ea: aOrMT: vR.mWNT, vR = ViewRootImpl@3d24942[MainActivity]
2022-08-15 10:00:31.567 24940-24964/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@bf79d8f fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 
2022-08-15 10:00:31.567 24940-24964/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: mWNT: merge t to BBQ
2022-08-15 10:00:31.568 24940-24964/com.termux.x11 D/OpenGLRenderer: setSurface called with nullptr
2022-08-15 10:00:31.568 24940-24964/com.termux.x11 D/OpenGLRenderer: setSurface() destroyed EGLSurface
2022-08-15 10:00:31.568 24940-24964/com.termux.x11 D/OpenGLRenderer: destroyEglSurface
2022-08-15 10:00:31.607 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)8 dur=26 res=0x5 s={false 0} ch=true fn=5
2022-08-15 10:00:31.611 24940-24940/com.termux.x11 I/SurfaceView@ff3c6ea: windowStopped(true) false android.view.SurfaceView{ff3c6ea VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824} of ViewRootImpl@3d24942[MainActivity]
2022-08-15 10:00:31.611 24940-24940/com.termux.x11 D/SurfaceView@ff3c6ea: updateSurface: surface is not valid
2022-08-15 10:00:31.611 24940-24940/com.termux.x11 D/SurfaceView@ff3c6ea: updateSurface: surface is not valid
2022-08-15 10:00:31.616 24940-24940/com.termux.x11 I/ViewRootImpl@3d24942[MainActivity]: stopped(true) old=false
2022-08-15 10:00:31.628 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@3be7563[MainActivity]
2022-08-15 10:00:31.629 24940-24940/com.termux.x11 I/MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@3be7563[MainActivity]
2022-08-15 10:00:31.636 24940-24940/com.termux.x11 D/InputTransport: Input channel destroyed: 'ClientS', fd=128
2022-08-15 10:00:31.642 24940-24940/com.termux.x11 D/SurfaceView@ff3c6ea: updateSurface: surface is not valid

log after executing display environment

2022-08-15 10:01:02.320 24940-24988/com.termux.x11 V/LorieNative: Setting surface 0x0 as toplevel
2022-08-15 10:01:02.320 24940-24988/com.termux.x11 I/LorieNative: Client destroyed
2022-08-15 10:01:02.322 24940-24988/com.termux.x11 E/BufferQueueProducer: [SurfaceView - com.termux.x11/com.termux.x11.MainActivity@ff3c6ea@0#1(BLAST Consumer)1](id:616c00000001,api:0,p:-1,c:24940) dequeueBuffer: BufferQueue has no connected producer
2022-08-15 10:01:02.322 24940-24988/com.termux.x11 E/LorieNative: GL: GL_OUT_OF_MEMORY after glClear() (line 232)
2022-08-15 10:01:02.322 24940-24988/com.termux.x11 E/BufferQueueProducer: [SurfaceView - com.termux.x11/com.termux.x11.MainActivity@ff3c6ea@0#1(BLAST Consumer)1](id:616c00000001,api:0,p:-1,c:24940) dequeueBuffer: BufferQueue has no connected producer
2022-08-15 10:01:02.322 24940-24988/com.termux.x11 E/LorieNative: eglSwapBuffers failed because of invalid surface. Regenerating surface.
2022-08-15 10:01:02.322 24940-24988/com.termux.x11 V/LorieNative: Trying to use window 0x7612b53010
2022-08-15 10:01:02.325 24940-24988/com.termux.x11 E/BufferQueueProducer: [SurfaceView - com.termux.x11/com.termux.x11.MainActivity@ff3c6ea@0#1(BLAST Consumer)1](id:616c00000001,api:0,p:-1,c:24940) disconnect: not connected (req=1)
2022-08-15 10:01:02.325 24940-24988/com.termux.x11 W/libEGL: EGLNativeWindowType 0x7612b53010 disconnect failed
2022-08-15 10:01:02.333 24940-24988/com.termux.x11 V/LorieNative: Initializing renderer (tid 24988)

2022-08-15 10:01:02.333 24940-24988/com.termux.x11 V/LorieNative: Initializing renderer (tid 24988)
so it may be stuck inside LorieRenderer::init function and display environment binaries are just waiting cause they don't know what to do when display renderer won't die and won't start

what do you think @twaik ?

@twaik
Copy link
Member

twaik commented Aug 15, 2022

Looks like it is the same problem. I am already on it.

@SaicharanKandukuri
Copy link
Contributor

SaicharanKandukuri commented Aug 15, 2022

Looks like it is the same problem. I am already on it.

well, I just tried it with debug termux-app and debug termux-x11 app & starter and for some reason, it just started working!

Click to expand pretty big log
2022-08-15 11:17:41.393 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.393 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.394 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.407 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.411 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.411 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.412 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.426 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.426 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.426 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.433 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.442 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.443 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.443 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.456 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.461 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.461 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.461 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.476 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.477 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.477 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.481 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.493 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.494 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.494 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.504 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.510 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.510 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.511 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.526 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.527 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.527 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.533 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.543 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.543 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.544 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.560 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.560 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.560 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.561 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.576 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.576 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.577 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.591 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.594 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.595 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.595 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.603 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.610 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.610 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.610 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.627 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.627 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.627 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.639 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.644 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.644 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.645 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.651 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.660 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.661 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.661 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.676 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.677 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.677 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.677 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.693 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.694 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.694 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.708 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.710 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.711 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.711 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.727 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.727 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.727 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.738 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.744 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.744 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.744 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.751 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.760 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.761 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.761 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.777 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.777 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.778 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.778 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.794 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.794 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.794 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.806 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.811 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.811 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.811 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.827 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.828 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.828 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.832 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.844 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.844 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.844 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.856 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.860 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.861 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.861 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.877 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.878 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.878 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.884 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.894 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.894 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.894 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.910 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.911 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.911 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.915 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.927 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.928 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.928 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.942 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:41.944 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.944 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:41.944 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.951 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 1
2022-08-15 11:17:41.951 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:41.951 19777-19777/com.termux.x11 V/LorieNative: JNI: touch up
2022-08-15 11:17:41.951 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:41.986 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:42.002 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:42.662 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 0
2022-08-15 11:17:42.663 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:42.664 19777-19777/com.termux.x11 V/LorieNative: JNI: touch down
2022-08-15 11:17:42.664 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:42.710 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:42.711 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:42.711 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:42.712 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 1
2022-08-15 11:17:42.713 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:42.713 19777-19777/com.termux.x11 V/LorieNative: JNI: touch up
2022-08-15 11:17:42.713 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:42.732 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:43.154 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 0
2022-08-15 11:17:43.155 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:43.155 19777-19777/com.termux.x11 V/LorieNative: JNI: touch down
2022-08-15 11:17:43.155 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:43.177 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:43.213 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:43.214 19777-19777/com.termux.x11 V/LorieNative: JNI: touch motion
2022-08-15 11:17:43.214 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:43.220 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 1
2022-08-15 11:17:43.221 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:43.221 19777-19777/com.termux.x11 V/LorieNative: JNI: touch up
2022-08-15 11:17:43.222 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:43.398 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:43.423 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:44.362 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 0
2022-08-15 11:17:44.362 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:44.362 19777-19777/com.termux.x11 V/LorieNative: JNI: touch down
2022-08-15 11:17:44.362 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:44.419 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:44.419 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 1
2022-08-15 11:17:44.420 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:44.420 19777-19777/com.termux.x11 V/LorieNative: JNI: touch up
2022-08-15 11:17:44.421 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:44.435 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:44.463 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:44.503 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:44.841 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:44.899 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:44.922 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:45.728 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:46.130 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:46.232 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 0
2022-08-15 11:17:46.233 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:46.234 19777-19777/com.termux.x11 V/LorieNative: JNI: touch down
2022-08-15 11:17:46.234 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:46.240 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 1
2022-08-15 11:17:46.240 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:46.241 19777-19777/com.termux.x11 V/LorieNative: JNI: touch up
2022-08-15 11:17:46.241 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:46.932 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:47.332 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:47.528 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 0
2022-08-15 11:17:47.528 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:47.529 19777-19777/com.termux.x11 V/LorieNative: JNI: touch down
2022-08-15 11:17:47.529 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:47.535 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 1
2022-08-15 11:17:47.536 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:47.536 19777-19777/com.termux.x11 V/LorieNative: JNI: touch up
2022-08-15 11:17:47.536 19777-19777/com.termux.x11 V/LorieNative: JNI: touch frame
2022-08-15 11:17:47.603 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:47.642 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:47.738 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:48.132 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:48.369 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: ViewPostIme pointer 0
2022-08-15 11:17:48.369 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:48.405 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:48.423 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:48.438 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:48.526 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
2022-08-15 11:17:48.527 19777-19777/com.termux.x11 I/DecorView: notifyKeepScreenOnChanged: keepScreenOn=true
2022-08-15 11:17:48.528 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:48.550 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:48.562 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=19 res=0x1 s={true 507528486912} ch=false fn=3
2022-08-15 11:17:48.563 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: updateBoundsLayer: t = android.view.SurfaceControl$Transaction@9517c84 sc = Surface(name=Bounds for - com.termux.x11/com.termux.x11.MainActivity@1)/@0xd67ad9b frame = 3
2022-08-15 11:17:48.564 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@9517c84 fN = 3 android.view.ViewRootImpl.prepareSurfaces:2770 android.view.ViewRootImpl.performTraversals:4016 android.view.ViewRootImpl.doTraversal:2911 
2022-08-15 11:17:48.564 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: mWNT: merge t to BBQ
2022-08-15 11:17:49.211 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: handleAppVisibility mAppVisible=true visible=false
2022-08-15 11:17:49.226 19777-19777/com.termux.x11 I/SurfaceView@abf67b6: onWindowVisibilityChanged(8) false android.view.SurfaceView{abf67b6 VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824} of ViewRootImpl@d3fb78e[MainActivity]
2022-08-15 11:17:49.227 19777-19777/com.termux.x11 I/SurfaceView@abf67b6: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@a697bb5
2022-08-15 11:17:49.228 19777-19777/com.termux.x11 I/SurfaceView@abf67b6: surfaceDestroyed callback.size 1 #2 android.view.SurfaceView{abf67b6 VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824}
2022-08-15 11:17:49.228 19777-19777/com.termux.x11 I/SurfaceView@abf67b6: updateSurface: mVisible = false mSurface.isValid() = true
2022-08-15 11:17:49.228 19777-19777/com.termux.x11 I/SurfaceView@abf67b6: tryReleaseSurfaces: set mRtReleaseSurfaces = true
2022-08-15 11:17:49.230 19777-19801/com.termux.x11 I/SurfaceView@abf67b6: 159300214 wPL, frameNr = 0
2022-08-15 11:17:49.230 19777-19801/com.termux.x11 I/SurfaceView@abf67b6: remove() from RT android.view.SurfaceView$SurfaceViewPositionUpdateListener@97eba76 Surface(name=SurfaceView - com.termux.x11/com.termux.x11.MainActivity@abf67b6@1)/@0x5098877
2022-08-15 11:17:49.230 19777-19801/com.termux.x11 I/SurfaceView@abf67b6: remove() android.view.SurfaceView{abf67b6 VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824} Surface(name=SurfaceView - com.termux.x11/com.termux.x11.MainActivity@abf67b6@1)/@0x5098877
2022-08-15 11:17:49.231 19777-19801/com.termux.x11 I/SurfaceView@abf67b6: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@3b1bc25 fN = 0 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:326 
2022-08-15 11:17:49.231 19777-19801/com.termux.x11 I/SurfaceView@abf67b6: aOrMT: vR.mWNT, vR = ViewRootImpl@d3fb78e[MainActivity]
2022-08-15 11:17:49.232 19777-19801/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@3b1bc25 fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 
2022-08-15 11:17:49.232 19777-19801/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: mWNT: merge t to BBQ
2022-08-15 11:17:49.233 19777-19801/com.termux.x11 D/OpenGLRenderer: setSurface called with nullptr
2022-08-15 11:17:49.233 19777-19801/com.termux.x11 D/OpenGLRenderer: setSurface() destroyed EGLSurface
2022-08-15 11:17:49.233 19777-19801/com.termux.x11 D/OpenGLRenderer: destroyEglSurface
2022-08-15 11:17:49.251 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)8 dur=14 res=0x5 s={false 0} ch=true fn=4
2022-08-15 11:17:49.252 19777-19777/com.termux.x11 I/SurfaceView@abf67b6: windowStopped(true) false android.view.SurfaceView{abf67b6 VFE...... .F...... 0,0-1080,2224 #7f0900b5 app:id/lorieView aid=1073741824} of ViewRootImpl@d3fb78e[MainActivity]
2022-08-15 11:17:49.252 19777-19777/com.termux.x11 D/SurfaceView@abf67b6: updateSurface: surface is not valid
2022-08-15 11:17:49.252 19777-19777/com.termux.x11 D/SurfaceView@abf67b6: updateSurface: surface is not valid
2022-08-15 11:17:49.263 19777-19777/com.termux.x11 I/ViewRootImpl@d3fb78e[MainActivity]: stopped(true) old=false
2022-08-15 11:17:49.268 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this: DecorView@c9904bf[MainActivity]
2022-08-15 11:17:49.268 19777-19777/com.termux.x11 I/MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@c9904bf[MainActivity]
2022-08-15 11:17:49.276 19777-19777/com.termux.x11 D/SurfaceView@abf67b6: updateSurface: surface is not valid
2022-08-15 11:17:49.329 19777-19777/com.termux.x11 D/InputTransport: Input channel destroyed: 'ClientS', fd=122
2022-08-15 11:17:49.343 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224
2022-08-15 11:17:49.344 19777-19821/com.termux.x11 E/BufferQueueProducer: [SurfaceView - com.termux.x11/com.termux.x11.MainActivity@abf67b6@1#4(BLAST Consumer)4](id:4d4100000004,api:0,p:-1,c:19777) dequeueBuffer: BufferQueue has no connected producer
2022-08-15 11:17:49.344 19777-19821/com.termux.x11 E/LorieNative: GL: GL_OUT_OF_MEMORY after glClear() (line 288)
2022-08-15 11:17:49.359 19777-19821/com.termux.x11 E/BufferQueueProducer: [SurfaceView - com.termux.x11/com.termux.x11.MainActivity@abf67b6@1#4(BLAST Consumer)4](id:4d4100000004,api:0,p:-1,c:19777) dequeueBuffer: BufferQueue has no connected producer
2022-08-15 11:17:49.359 19777-19821/com.termux.x11 E/LorieNative: eglSwapBuffers failed because of invalid surface. Regenerating surface.
2022-08-15 11:17:49.359 19777-19821/com.termux.x11 V/LorieNative: Trying to use window 0x75a9d2e010
2022-08-15 11:17:49.368 19777-19821/com.termux.x11 E/BufferQueueProducer: [SurfaceView - com.termux.x11/com.termux.x11.MainActivity@abf67b6@1#4(BLAST Consumer)4](id:4d4100000004,api:0,p:-1,c:19777) disconnect: not connected (req=1)
2022-08-15 11:17:49.368 19777-19821/com.termux.x11 W/libEGL: EGLNativeWindowType 0x75a9d2e010 disconnect failed
2022-08-15 11:17:49.378 19777-19821/com.termux.x11 V/LorieNative: Initializing renderer (tid 19821)
2022-08-15 11:17:49.775 19777-19821/com.termux.x11 V/LorieNative: Reinitializing texture to 1080x2224

& also I observed if any successful connections got closed I can't connect back to the current session until I close all termux apps remove Wayland socket files then restart everything back

@twaik
Copy link
Member

twaik commented Aug 15, 2022

Yeah, for some reason it stucks somewhere in core code. It needs to be refactored...
Or rewritten from scratch... There are a lot of problems there...

@ravener
Copy link

ravener commented Aug 28, 2022

I'm having a similar issue here.

✘  ~  termux-x11 :1 &
 ✘  ⚙  ~  Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/armeabi-v7a/libx11-starter.so
java.lang.IllegalAccessException: Class java.lang.Class<com.termux.x11.starter.Compat> cannot access  method void android.app.AppOpsManager.<init>(android.content.Context, com.android.internal.app.IAppOpsService) of class java.lang.Class<android.app.AppOpsManager>
        at java.lang.reflect.Constructor.newInstance0(Native Method)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
        at com.termux.x11.starter.Compat.havePermission(Compat.java:56)
        at com.termux.x11.starter.Starter.onRun(Starter.java:66)
        at com.termux.x11.starter.Starter.lambda$main$0(Starter.java:42)
        at com.termux.x11.starter.Starter$$ExternalSyntheticLambda2.run(Unknown Source:2)
        at java.lang.Thread.run(Thread.java:784)
Looks like com.termux lacks "Draw Over Apps" permission.
You can grant com.termux the "Draw Over Apps" permission from its App Info activity:
        Android Settings -> Apps -> Termux -> Advanced -> Draw over other apps.
res = 0
Activity is started
Got getWaylandFD
{ParcelFileDescriptor: java.io.FileDescriptor@ae8ef1}
Lorie requested fd
Got getLogFD
{ParcelFileDescriptor: java.io.FileDescriptor@9467ad6}
Got finish request
App sent finishing command
 ✘  ⚙  ~  env DISPLAY=:1 xfce4-session
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.
 ✘  ⚙  ~  Failed to connect to Termux:X11. Something went wrong.
Job 1, 'termux-x11 :1 &' has ended
 ✘  ~ 

I'm not sure why the Java error, Termux does have draw over other apps permission, but despite that I ignored it for the first time and it all worked, problem is subsequent launches will not work and termux-x11 command will hang for a few seconds (during which nothing can connect to the display) then exits as shown above.

Clearing the app data does indeed fix it and gives me another chance to use it.

@twaik
Copy link
Member

twaik commented Aug 28, 2022

I am already on it...

@twaik
Copy link
Member

twaik commented Feb 5, 2023

Can you please test latest version?

@SaicharanKandukuri
Copy link
Contributor

SaicharanKandukuri commented Feb 5, 2023

Can you please test the latest version?

I tested this [ 8bb8be1 ] build now there is no connection problem with the termux-x11 starter

some screenshots here

im1
im2
im3

but I found a new issue of the mouse ( emulated touchpad ) being off, I mean cursor location where it rendered and the point where DE registers it is a little different
im4

I don't know if it's from proot env or termux-x11 for now, but I never got this kind of issue with the termux-x11 app

@SaicharanKandukuri
Copy link
Contributor

im5

also, I had a hard time understanding this cause now there is no stdout from xwayland like it was on the old starter
it said "Starting Xwayland" but never said "Started Xwayland" XD

@twaik
Copy link
Member

twaik commented Feb 5, 2023

It reports Starting Xwayland before starting it. And there is no technical capability to print something after it's start because it executed with execl system call, without fork (which means parent process is being replaced by new one).

I fixed reporting warning of xkbcomp and now Xwayland reports nothing. But if you want to see some Xwayland's output you always can make WAYLAND_DEBUG=1 termux-x11 :11 -shm. It will report every received or sent Wayland event in communication between Xwayland and Termux:X11 app.

@SaicharanKandukuri
Copy link
Contributor

SaicharanKandukuri commented Feb 6, 2023

@twaik
looks like there are some issues with termux-x11

most of the time it fails to start with this error, even its the first time starting both apps

Screenshot

Screenshot_20230206-082506_Termux

here are screenshots and adb logs from termux & termux-x11
com.termux.x11.log
com.termux.log

@twaik
Copy link
Member

twaik commented Feb 6, 2023

#151 (comment)

@twaik
Copy link
Member

twaik commented Feb 17, 2023

Can you please confirm both bugs on latest build?

@ThatMG393
Copy link

Maybe it's because of the XFCE4 Power Manager plugin or Phantom Process Killing.

@twaik
Copy link
Member

twaik commented Mar 1, 2023

Can you please check if it happens with latest build here? In these builds android app is connected to Xwayland as X11 client, not as a server so it should be fixed.

@twaik
Copy link
Member

twaik commented Mar 3, 2023

Fixed in latest builds.

@twaik twaik closed this as completed Mar 3, 2023
@qinghong67
Copy link

my solution
developer options >
debugger app = termux11
wait for debugger = fause

@termux termux locked and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants