-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Touchégg daemon crashes with Goodix Capacitive TouchScreen #415
Comments
Hi! You are using a very old version. The one in the Ubuntu repos is way too old, and it doesn't seem to be interest in updating it. Please delete the service file you created and install from the Deb package: No extra configuration is required. The service will be installed and started automatically. Just restart and you'll start to see the gestures working. |
With the new version it does not work, it write that:
But after it does not response to nothing. Neither running it from shell neither from service. |
You don't need to manually run the daemon. I should be already running after installation. After rebooting, you should see something like:
And in case you want to see the daemon logs:
Everything seems to be working fine on your side. Your daemon should be running in the background and the client is connected:
Does it work when you swipe in your touchscreen?
Swipe on your touchscreen just to see what's going on. |
It seams the same error that I was with the older version but replicated also when I try to run it by shell. |
You killed the daemon, the Restart the daemon:
And check the logs:
As you upgraded from a very old version, maybe your config is incorrect, so lets try this to delete your old config:
Now, kill (no sudo) any running clients, and check the logs:
Also, make sure that you config in At this point your touchscreen should work. No touchpad was detected, so if you also have a touchpad that's a different issue. |
The config files are the same, but for most care I remove the lib and the file and reinstall it and I try:
It seams work at start, but when i use any gesture it crash with the error that you can see also in the previos messages. |
Ah ok, so the daemon crashes after you perform a gesture on your touchscreen, I didn't know that. When it crashes, is the daemon only printing This is a whole lot different issue. By the way, how big is your touchscreen? I see those calculated thresholds way too small. |
Yes when I perform something it print that error (also me understand this only few moment later, because I run it clean without perform nothing and monitor it during perform something.). |
Could you copy and paste the info of your device, please?
In Ubuntu, that command is installed with the I find those thresholds really small, so let's see what extra information that command gives us. |
libinput_list.txt With the version inside ubuntu base repository Work but only if you run from a shell non as a service. I also noticed that the animation is not visible also if specified, maybe in that version the animation does not exist, maybe can be useful information. |
OK, we found the issue! Have a look to the size your touch screen reports:
It reports a size of 0mm x 1mm. Just guessing, but, does it comes with a pen or similar? After a quick search on Google, apparently this is a common issue: And here are some instructions by the driver devs: I hope that works for you! |
Yes I use the driver (but I do not run it as default because when you update the kernel you must recompile it otherwise it does not work). It work correctly as screen with touch and with pen. I just tested but it does not work |
Is it still reporting that size after following the steps described here? That's a pity, there is not much I can do on my side about it, sorry. I'll try to create a workaround for this kind of devices for v2.0.5. I'll ping you when it is ready, so you can compile and test it if you want. |
If it is a bug of the driver the touch does not work properly in general, but in general work. I try something but I fail, so I return to oldest version for now, and I run it manually by shell. I hope to have some better Idea to fix in the future. Thank you for the support! |
Fair enough. I created a workaround so at least it doesn't crash and gestures should work, but not optimised to your device size. I thought I left a comment, but I'm not seeing it 🤔 |
So you propose to recompile it to use the workaround that you created? I can specify manually before compiling my device size? |
Yes, you can clone and compile the latest master and set your threshold as explained here: I'd start with 100 500 and test some other values. Here are some instructions: # Remove the previous version
$ sudo apt remove touchegg
# In case you have a config file in /home/your-user/.config/touchegg, remove it (create a backup if you want)
# Install the build dependencies
$ sudo apt-get install git build-essential gdb cmake debhelper dh-systemd \
libudev-dev libinput-dev libpugixml-dev libcairo2-dev libx11-dev libxtst-dev libxrandr-dev libxi-dev \
libgtk-3-dev
# Create a folder to build the source code
$ mkdir touchegg
$ cd touchegg
# Download the code
$ git clone https://github.com/JoseExposito/touchegg.git
$ cd touchegg
# Build the deb package
$ dpkg-buildpackage -rfakeroot -us -uc -tc
$ sudo apt install ../touchegg_*.deb # Install the package
$ touchegg # Run Touchégg At this point you should be able to perform gestures, but the animation is not going to be adjusted for your device size. $ sudo nano /lib/systemd/system/touchegg.service
# And add 100 500 after --daemon
# Restart the daemon and test the new values |
By compiling it seams work, but I do not find a new version for the scroll action:
|
Yes, I didn't port that action to v2 because it was problematic depending on your screen DPI and because scroll is nowadays better handled by your desktop environment with 1 finger touches that it was in the past. |
At the end I try with this, but sometimes the 4 finger gestur up and down does not work, for example if Firefox is open, instead of left and right work, it is strange. Also pich to zoom does not work well.
Is not true that scroll is handle from the system, for example into Firefox you can only use the scroll bar that can be small so is not easy to click (especially when you are in a hammock :P). |
Describe the bug
I use this systemctl sevice '/lib/systemd/system/touchegg.service':
I run it with following command:
It doesn't work, but if I open a shell and run
/usr/bin/touchegg --daemon 100 500
it works correctly. Did I do something wrong?Expected behaviour
Run systemctl service and the shortcut run.
Actual behaviour
Run systemctl service return error:
Your environment
The text was updated successfully, but these errors were encountered: