Hyprland: Certain xwayland applications cannot update cursor position from OpenTabletDriver
Hyprland Version
System/Version info
Hyprland, built from branch HEAD at commit c5e28ebcfe00a510922779b2c568cfa52a317445 (props: bump ver 0.37.1).
Date: Sat Mar 16 14:51:49 2024
Tag: v0.37.1
flags: (if any)
legacyrenderer
System Information:
System name: Linux
Node name: gentoo
Release: 6.8.1-gentoo-GentUwU-nvidia
Version: #4 SMP PREEMPT_DYNAMIC Sun Mar 17 21:13:18 GMT 2024
GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] [10de:1f08] (rev a1) (prog-if 00 [VGA controller])
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c3) (prog-if 00 [VGA controller])
os-release: NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.14"
plugins:
Bug or Regression?
Regression
Description
When trying to use OpenTabletDriver on some xwayland applications, the cursor position does not get updated. Happens with and without legacy renderer enabled. Does not happen in 0.36.0-r2. This seems to happen in games which use their own cursor rather than your system cursor, but I can’t be 100% sure. This doesn’t happen in gimp, which also runs in xwayland. I’ve only tested different versions of the same game. The games I tested were: osu!stable osu!lazer Mcosu All have the same issue where the cursor position stops being updated once I focus the window, while the tablet’s inputs can still be detected.
How to reproduce
Install OpenTabletDriver-6.4.0: https://wiki.hyprland.org/FAQ/#my-tablet-no-worky Use Absolute or Artist mode (have not tested relative mode) Open osu!stable, osu!lazer or Mcosu (only games I’ve confirmed had the issue.) Try to move your cursor with your tablet. Cursor will not move, but inputs can still be detected.
Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/117125180/bb1633bf-8316-463c-87a1-347be518c98b
About this issue
- Original URL
- State: open
- Created 3 months ago
- Comments: 30 (5 by maintainers)
Unfortunately I can’t help much here cause I’m not hyprland or even C++ developer. And I have no ideas what can be wrong here because despite we are having very similar configuration (even the same tablet?) it works for me and don’t work for you so :\
I am on intel graphics but I have no idea how it can influence tablet actually. However if I understand correctly, everything worked as intended under Hyprland 0.36.0-r2? I think it is possible to check the changes in later versions, so maybe if you can figure it out what commit/changes cause the problem it would be easier to fix it for developers.
nice wallpaper doe