You are not logged in.

#1 2020-04-28 07:31:59

hanslan
Member
Registered: 2020-04-28
Posts: 3

Wacom Tablet Dual Monitor Gnome3/Mutter

Hi,

I have a problem with the Wacom Stylus on my Lenovo X380 Yoga. If I connect an external monitor, the pen movement is "stretched" over both screens instead of being restricted to the internal screen with stylus support. Without the external monitor, everything works fine, also the touch capability works as expected. Wacom setting "Decouple Displays" has no effect on this behavior.
The command "sudo libinput debug-tablet" reports the correct position of the pen.
The Wacom device according to lsusb is "056a:5150 Wacom Co., Ltd Pen and multitouch sensor".
I don't find a way to debug since most of the documentation is about using Xorg.

Thanks in advance,

Hans

Offline

#2 2020-04-28 08:59:58

eriks
Member
Registered: 2013-06-11
Posts: 37

Re: Wacom Tablet Dual Monitor Gnome3/Mutter

Sorry for adding a related question, I'm running Gnome Wayland on a X390 Yoga. Everything is working perfectly in landscape mode, including touch and the Wacom stylus. My issue is that Gnome / Gnome-Shell / Mutter / Libinput (?) doesn't rotate the stylus matrix in portrait mode; the touch matrix is working correctly.

I think those questions are related as it is not clear how to configure the Wacom input device in a Gnome Wayland setup. All scripts using xsetwacom or xinput with a xwayland-virtual device are not valid anymore.

It's also difficult for me to find the correct upstream project for reporting/investigating those issues.

-- erik

Offline

#3 2020-04-28 10:53:43

hanslan
Member
Registered: 2020-04-28
Posts: 3

Re: Wacom Tablet Dual Monitor Gnome3/Mutter

Hello erik, just figured out that I have the same problem with screen rotation too.

Offline

#4 2020-04-28 12:38:15

TheSgtBilko
Member
Registered: 2013-08-13
Posts: 89

Re: Wacom Tablet Dual Monitor Gnome3/Mutter

On my 3 monitor setup I use xsetwacom --set "wacom ID" MapToOutput display ID
Use "xsetwacom list devices" and "xrandr --query" to figure out wacom ID and display ID
e.g.: xsetwacom --set "13" MapToOutput DVI-I-1

This will obviously not work in wayland.

Offline

#5 2020-04-28 13:20:57

eriks
Member
Registered: 2013-06-11
Posts: 37

Re: Wacom Tablet Dual Monitor Gnome3/Mutter

In the Tablet PC wiki article are some notes about using xinput, but setting the "Coordinate Transformation Matrix" (121) for xwayland-stylus:16 is ignored.

Last edited by eriks (2020-04-28 13:23:44)

Offline

#6 2020-04-30 10:17:45

eriks
Member
Registered: 2013-06-11
Posts: 37

Re: Wacom Tablet Dual Monitor Gnome3/Mutter

For some reason (there weren't any system updates AFAIK since I last checked) this morning I might have found a fix, but will investigate further and report back.

If I go to the "Wacom Tablet" settings pane and select "Decouple Display", absolute tracking mode and choose the built-in display eDP-1 in the "Map to Monitor…" dialog, the stylus is mapped correctly in landscape and in portrait mode.

It's even possible to choose the external display as target for the stylus. There is also a "Map to single monitor" setting which might help in th OP case (activated but greyed out in my case).

Offline

#7 2020-04-30 17:54:00

hanslan
Member
Registered: 2020-04-28
Posts: 3

Re: Wacom Tablet Dual Monitor Gnome3/Mutter

After the last updates of today it seems that the issue is fixed. The stylus works as expected for both the external monitor and the screen rotation, "Decouple Display" is not required.
For me it was definitely the system update (gnome-shell and mutter updates to version 3.36.2-1).

Offline

Board footer

Powered by FluxBB