-
-
Notifications
You must be signed in to change notification settings - Fork 299
Description
Hello,
After going through the whole installation process on Ubuntu, I am encountering an issue when using my Surface Pen on Wayland. Bear with me for this description... it appears that the cursor coordinate values are doubled of the pen input values. So if the top left of the screen is (0,0), and the bottom right of the screen were (100,100) for instance - the pen at (0,0) would move the cursor to (0,0), but if the pen is at (50,50), the center of the screen, the cursor is at (100,100), the bottom right of the screen. This means that the further away from the top left of the screen my pen input is, the more offset my cursor is from my pen. Obviously this makes the pen unusable, if the cursor is not consistently under the pen input.
Here is a sketch to attempt to clarify:
Some notes:
- Touch input works fine. Exactly as expected, with the selection being right under the fingertips
- The pen works as expected in Xorg, as opposed to Wayland - however, then I lose touch gesture support which I need for my workflow
- Display scaling is irrelevant. Whether the display is 100% or 200% scaled, the issue persists
- I have run the Wacom tablet calibration, which only seems relevant to touch, not pen
Environment
- Hardware model: Surface Book 2
- Kernel version: Linux Surface-Book-2-Ubuntu 6.4.7-surface Update NVMe part of suspend.patch #3 SMP PREEMPT_DYNAMIC Tue Aug 1 21:23:55 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
- Distribution: Ubuntu 22.04
- Desktop session type: Wayland
