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

Touchscreen crashes after using active pen for a few seconds #27

Open
EnderMk9 opened this issue Feb 9, 2023 · 14 comments
Open

Touchscreen crashes after using active pen for a few seconds #27

EnderMk9 opened this issue Feb 9, 2023 · 14 comments

Comments

@EnderMk9
Copy link

EnderMk9 commented Feb 9, 2023

After using the wacom bamboo pen for a few seconds in xournal++, both the pen and touchscreen stop working and I have to reboot for it to work again. Anyone knows why is this happening?

I have changed the nib of the pen and the problem is gone, it seem there is a problem with the digitizer that crashes the wacom driver with that nib.

Edit: Now it's happening again with the replaced nib.

@stuarthayhurst
Copy link
Contributor

Probably best report this on an upstream Wacom project, my Lenovo Active Pen 2 works fine, so the problem is likely with the pen, your config, or it doesn't like the Yoga's digitiser.

Are you running Wayland or Xorg? I'm on Wayland, I haven't tested Xorg out.

@EnderMk9
Copy link
Author

I'm using wayland with Kwin. I have found this issue that is exactly my problem but no replies from the developers
linuxwacom/input-wacom#335
It's strange because on windows it works flawlessly.

@tomsom
Copy link
Owner

tomsom commented Feb 10, 2023

Hmm, if I remember correctly I had the same issue a few months ago but it 'magically' fixed itself.. since then its working fine for me with lenovo pens and also with wayland/kwin and xournal. But I don't know what the issue was/how it was fixed

@soupglasses
Copy link

See #19

It is probably related to the digitizer not being configured and KWin handling that differently than GNOME. I am not sure if anyone has a full configuration made yet. (I personally have been quite busy and have not set it up personally).

@EnderMk9
Copy link
Author

But while it's working, it works flawlessly for me, and kde recognises it in the settings, i don't see how the digitizer is not configured, furthermore, when it crashes, the touchscreen, which is unrelated to the digitizer (except that both are handled by the wacom driver) also crashes.

@soupglasses
Copy link

You can attempt to run echo "0" | sudo tee /sys/module/wacom/parameters/touch_arbitration and see if that helps. If that does not fix it, its probably unique compared to previous issues.

@soupglasses
Copy link

i don't see how the digitizer is not configured

In the dump your linked issue, the file libwacom.txt has the following code in it:

/dev/input/event6 is a tablet but not supported by libwacom
Failed to find any devices known to libwacom.

Essentially says that the tablet does not have any configuration known to the libwacom driver, and it is running off a generic driver for it.

Wacom has some documentation on how to write up your own Tablet Definition Files, which is what is required to get libwacom to recognize the digitzer fully. There is an example here for the 14ACN6.

This should only be "aesthetic", but may cause issues.

@EnderMk9
Copy link
Author

I already tried disabling touch arbitration, but after a while it ended up crashing all the same, so I don't know what to make of it. There may be a problem with the configuration file, but i'd bet that is not the cause of this issue

@stuarthayhurst
Copy link
Contributor

Well I've submitted an attempt here: linuxwacom/libwacom#549

No idea if that's comprehensive, I couldn't find docs for all the available configs, but it's a start

@stuarthayhurst
Copy link
Contributor

That's merged. You can try adding the data/isdv4-52d5.tablet file to /usr/share/libwacom/ (might be different for your system, potentially /etc/libwacom?), then running sudo libwacom-update-db. If the device shows up in libwacom-list-local-devices, it's detected on your system.

@stuarthayhurst
Copy link
Contributor

I was just going through the Wacom issue tracker, I saw your problem was fixed upstream, can this be closed?

@EnderMk9
Copy link
Author

Well I'm still not sure it's fixed i would have to try to use the pen for a longer period to see if it was just a stroke of luck

@nemuibanila
Copy link

Still completely broken for me on 6.4.11

@soupglasses
Copy link

My experience a few months ago was that you can use it perfectly from a cold boot until you have closed the lid once. After that the active pen and touch gets really weird and crash happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants