Bug 453161 - touching certain places of my touch screen makes tap-to-click crash
Summary: touching certain places of my touch screen makes tap-to-click crash
Status: RESOLVED DUPLICATE of bug 450911
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-28 18:58 UTC by PK
Modified: 2022-05-05 19:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PK 2022-04-28 18:58:57 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. startup plasma
2. touch the touch-screen in the neighbourhood of the "home button" (right side, middel)

OBSERVED RESULT
3. tap-to-click crashes


EXPECTED RESULT
- plasma stays working

SOFTWARE/OS VERSIONS
Surface Pro 3
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version:  not relevant (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4300U CPU @ 1.90GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400

ADDITIONAL INFORMATION
I filed this bug before... https://bugs.kde.org/show_bug.cgi?id=450911 but I got a little further. My Surface Pro 3 is a pure tablet when you remove the keyboard. If you click on the keyboard it is just like a laptop. Anyway, there is a black border around the screen. This border is NOT touch sensitive. Except for the "Home-button" witch is located on the right side vertically seen in the middle of the black border space.
I just found out that touching the touch-sensitive part of the screen in the neighborhood of this button makes tap-to-click crash immediately. 
Perhaps there are more parts of the screen that have the same effect,
Perhaps there are other circumstances that have influence,
Perhaps other "convertables" suffer from the same issue.
Perhaps it is useful to look into this before the touch-screen things of plasma 5.25 are released.
Comment 1 PK 2022-05-01 20:00:21 UTC
All my troubles seem to have gone...
Of all the possible solutions I tried the last one actually worked!

I found it here https://askubuntu.com/questions/965856/kworker-blocked-for-more-than-120-seconds-ubuntu-17-10/1363359#1363359
"The solution was for me to switch the whole KWin compositing from OpenGL / GLX to OpenGL ES / EGL. For this, the corresponding config file must be edited."
I really not have so much a clue what that means but it works 100%!
The result is impressive.
Comment 2 PK 2022-05-01 20:37:59 UTC
Too bad... still a crash! But things seem better...
Comment 3 Zamundaaa 2022-05-02 14:56:39 UTC
What do you mean when you say that "tap-to-click" crashes?
Comment 4 PK 2022-05-02 15:39:05 UTC
With "tap-to-click" crashes I mean that you can move the cursor around with the touchpad but that is the only thing you can do with is. Even starters in the panel don't highlight if you hover over them. Also tap two fingers on the touchpad does nothing.
Luckily the machine still listens to the keyboard so Ctrl-Alt-Del triggers the log-out screen.
This still happens with export KWIN_COMPOSE=O2ES on but MUCH less frequent.
Also "tap-to-click" really never crashes when I touch the touch sensitive screen around the "home" button when using export KWIN_COMPOSE=O2ES. And that is a big difference.
I hope this information is useful to you.
Comment 5 PK 2022-05-02 15:43:43 UTC
Out of pure curiosity I would like to look if kwinft does better. Chances are that it doesn't or makes it worse. You never know. But I wouldn't know how to get kwinft on my Kubuntu machine. I was reading about it. It looks really complicated...
Comment 6 PK 2022-05-02 17:22:59 UTC
I took the time to work with my Surface Pro 3 with plasma. With the tweak export KWIN_COMPOSE=O2ES this crash usually happens within the first three minutes or so after startup. When I start the system again it remains totally stable.
In the standard situation the system is totally unstable and not suited to work with.
Comment 7 Nate Graham 2022-05-03 16:41:17 UTC
Please don't intentionally file a new bug report about the same issue you already filed a bug report for. Instead, you can put any *relevant* new information in Bug 450911. Can you do that?

*** This bug has been marked as a duplicate of bug 450911 ***
Comment 8 PK 2022-05-03 17:03:08 UTC
I'll do that. But I suspected that this was another issue.
Comment 9 PK 2022-05-05 19:56:28 UTC
Still plasma crashes... I give up with kde on this machine...