-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Surface Pro 4] Touchscreen sensitivity issue #132
Comments
I took a look at the data you recorded and to me it mostly seems fine. No ghost touches, and no touches that get misdetected as palms. I see three main issues here: jitter, stability, and the screen border itself. That the contacts iptsd reports jitter a lot is a known issue: #127. If you want, you could try the latest development build, which contains a fix for this: https://github.com/linux-surface/iptsd/actions/runs/5090530045, scroll down and download the artifact iptsd considers contacts unstable if they were not registered for three consecutive frames. In your data, sometimes you lift your finger extremely fast so that iptsd only sees the contact for two or one frame and discards it. You could try to lower the The touch processing code relies on finding clusters of pixels that are above a certain threshold, and then fitting an ellipse onto it. It happens to work mostly ok on the screen border, where it can only see half of the actual contact, but there can be some inaccuracies. All of these can play some role here. As you noticed, the touchscreen works in Krita, so it is most likely, that something is happening that confuses KDE and causes it to ignore your inputs. Maybe the jitter causes it to think you are doing some sort of gesture. Or maybe iptsd doesnt report the contact if you tap to close an app. Or the contact is detected as being so large that it goes over all three buttons and KDE doesn't know what it should actually do. Sadly I dont really know what to recommend in this case. I also use KDE, on a Surface Book 2, and minimizing a fullscreen window with the touchscreen works fine. Maybe I have conditioned my fingers to touch a slightly lower spot when aiming for the window controls, thats something you could try. Or the development build that I linked above. That should definitly fix the jitter in Krita. |
Thank you for your reply. I just tried the package you linked me and it doesn't seem to help with my specific issue. I'm not even sure if it helped with the jitter. I did the same test again in Krita (green line) and I see no real difference with before (blue line) : I also tried modifying the TemporalWindow value to 2 as you mentioned but it also didn't help. I have indeed noticed that sometimes, I can reach the window buttons if I click slightly lower than the button itself but it often get "caught" by other buttons bellow. I just tried to change the screen scaling to 225% (from 200%) in hope that the title bar would get bigger but after a reboot, the touchscreen doesn't work at all. Putting scaling back to 200%, reboot, the screen works as before... Scaling to 300% is way too big to be practical and 100% is insanely small. I also noticed that I have to "hold" the touch for about 1s to see the button getting highlighted by the press. Looks like some mess between drivers, KDE and Wayland... Maybe a custom KDE theme with bigger title bar icons would help in my case in the meantime, but it feels very hacky. EDIT : Found a setting in the Window decoration menu to increase the size of the title bar icons but it doesn't affect Firefox... EDIT 2 : Found a quick "fix" to increase Firefox title bar icon size. That doesn't help with the initial issue but it makes the touchscreen much more usable for me. Sharing this trick here if the other fixes mentioned here didn't help. |
Recent versions of KDE have a tablet mode that makes the interface easier to use with a touchscreen. It increases the size of the title bar and adds more spacing between the buttons. For me it enables automatically when I detach the keyboard, but you can configure it in the system settings (under workspace settings, or simply search for tablet). |
Tablet mode works out of the box with the SP4, just apps like Firefox don't react correctly to it because it is GTK based. |
Hi,
I'm currently having issues with my trash picked SP4. The touchscreen had been fully replaced because a whole area was broken. It had sensitivity issues as well but I found out it seems to be a software issue.
I'm especially having issues with the borders of the screen, which makes some gestures impossible to do, or simply close an app, because the buttons cannot be triggered. As far as I've tested, Chromium seems to be unaffected with this issue for some reason.
I'm currently having the exact opposite of that issue : Surface Pro 4 touchscreen not working properly, ghost touches everywhere
I made a Reddit post here.
Note that Windows 11 has no issue with the touchscreen at all, and the stylus run as well on both Arch Linux and Windows 11.
Here are some technical information :
Model : Surface Pro 4 (1724)
OS : Arch Linux x86_64
Kernel : 6.3.3-arch1-1-surface
DE : Plasma 5.27.5 (Wayland)
Log : ipts-log.zip
During that test, I tried to focus on the borders of the screen, hence this is where I had the most issues. If you need more specific logs, I can test and provide.
Config File :
Finger VS Stylus Test :
Here, I just generated a blank canvas, put Krita in fullscreen mode (hidden interface) and ran my finger around the screen. Then, I took my stylus (Wacom Bamboo Ink v2) and did the same. Blue is my finger, red is the stylus. Even tho I can't do a straight line with neither my finger or the stylus, we can see that the stylus input is way cleaner than the finger (I don't know if this is intended behavior). Weirdly enough, Krita gets input from the top right corner, while KDE is not.
I have another SP4 which needs reassembly. I can try if it has the same issue as well if needed.
EDIT : I just remembered that according to the seller I bought the screen from, it is supposed to be a SP5 screen (LG model) with a different display ribbon. But I still use the Ntrig board from the old screen because the new one didn't work. I don't know if it is worth mentioning.
The text was updated successfully, but these errors were encountered: