termux / termux-x11

Termux X11 add-on application.
https://termux.dev
GNU General Public License v3.0
1.96k stars 301 forks source link

HP Elite X3 Lapdock Touchpad works weird #399

Closed IntinteDAO closed 1 year ago

IntinteDAO commented 1 year ago

HP Elite X3 Lapdock is a dock station for phones. It has touchpad.

Also Motorola phone works as a touchpad in Desktop Mode

Motorola's Touchpad works like a charm in Termux X11, but HP's touchpad works very bad. If you need a move of cursor, you need to use 2 fingers (in touchpad mode), you can't use one finger, left click is very hard to use, but maybe it's just "pressed key".

Movie with logs https://tube.midov.pl/w/6evcFzBxQW6FM7Ejasrj83

twaik commented 1 year ago

Try this build. app-universal-debug.zip

IntinteDAO commented 1 year ago

@twaik Well, after upgrade, the TermuX11 doesn't work :/

https://tube.midov.pl/w/wXjPtju3FERFW6297QB8ne https://tube.midov.pl/w/j5pPuSMqHWXHFNsP151jqu https://tube.midov.pl/w/e65wvRB5qofiBgbzTAoL6J

twaik commented 1 year ago

What is inside x11.sh?

IntinteDAO commented 1 year ago

@twaik

New version (on the movie, cause it's blank after upgrade, so I remove some lines)

su -c device_config put activity_manager max_phantom_processes 214181594
export XDG_RUNTIME_DIR=${TMPDIR}
env TERMUX_X11_DEBUG=1 termux-x11 :0 -ac & 2>&1 | tee termux-logs.txt
sleep 15s
env DISPLAY=:0 dbus-launch xfce4-session

Old version:

su -c device_config put activity_manager max_phantom_processes 214181594
export XDG_RUNTIME_DIR=${TMPDIR}

export MESA_VK_WSI_DEBUG=sw
killall -9 virgl_test_server_android
virgl_test_server_android &
export GALLIUM_DRIVER=virpipe
env TERMUX_X11_DEBUG=1 termux-x11 :0 -ac & 2>&1 | tee termux-logs.txt
sleep 15s
env DISPLAY=:0 dbus-launch xfce4-session
twaik commented 1 year ago

No need to sleep, there is a -xstartup option... Check README.

twaik commented 1 year ago

Resolved?

twaik commented 1 year ago

I am pretty sure it is not fixed.

twaik commented 1 year ago

@IntinteDAO?