Skip to content
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

XP-Pen Artist 10 (2nd Gen) : Multi-Monitor : Incorrect Drawing Area #3216

Open
5 tasks done
guspower opened this issue Feb 19, 2024 · 4 comments
Open
5 tasks done

XP-Pen Artist 10 (2nd Gen) : Multi-Monitor : Incorrect Drawing Area #3216

guspower opened this issue Feb 19, 2024 · 4 comments
Labels
support request Request for assistance

Comments

@guspower
Copy link

Steps to Reproduce

Set Up:

  • Linux 6.6.13-gentoo
  • i3
  • XP-Pen Artist 10 (2nd Gen)
  • xrandr --output DisplayPort-2 --right-of HDMI-A-0

Display Configuration

Screen 0: minimum 320 x 200, current 4480 x 1080, maximum 16384 x 16384
HDMI-A-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 798mm x 334mm
   2560x1080     60.00*+
   1920x1080     60.00    50.00    59.94    30.00    29.97  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 476mm x 268mm
   1920x1080     59.90*+
   1680x1050     59.88  
   1280x1024     60.02  
   1440x900      59.90  
   1360x768      59.95  
   1280x800      59.90  
   1280x720      60.00  
   1024x768      60.00  
   1152x648      60.01  
   800x600       60.32  
   640x480       59.94 

Run Daemon

$ ./OpenTabletDriver.Daemon 
[Detect:Info]	Searching for tablets...
[Detect:Debug]	Searching for tablet '10moon 1060N'
...
[Detect:Debug]	Searching for tablet 'XP-Pen Artist 10 (2nd Gen)'
[Device:Debug]	Initializing device 'Artist 10 (2nd Gen)' /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb5/5-1/5-1.5/5-1.5:1.2/0003:28BD:094D.000B/hidraw/hidraw5
[Device:Debug]	Using report parser type 'OpenTabletDriver.Configurations.Parsers.XP_Pen.XP_PenOffsetPressureReportParser'
[Device:Debug]	Set device output: 02-B0-04
[Detect:Info]	Found tablet 'XP-Pen Artist 10 (2nd Gen)'
...
Evdev:Debug]	Successfully initialized virtual tablet. (code NONE)
[XP-Pen Artist 10 (2nd Gen):Info]	Output mode: Absolute Mode
[XP-Pen Artist 10 (2nd Gen):Info]	Display area: [2560x1080@<1280, 540>:0°],
[XP-Pen Artist 10 (2nd Gen):Info]	Tablet area: [224.51x126.695@<225, 126>:0°],
[XP-Pen Artist 10 (2nd Gen):Info]	Clipping: Enabled
[XP-Pen Artist 10 (2nd Gen):Info]	Ignoring reports outside area: Disabled
[XP-Pen Artist 10 (2nd Gen):Info]	Tip Binding: [Mouse Button Binding: Left]@0%
[XP-Pen Artist 10 (2nd Gen):Info]	Filters: OpenTabletDriver.Desktop.Binding.BindingHandler
[Settings:Info]	Driver is enabled.

Expected Behavior

Expected

Pen should map to tablet screen.

Observed Behavior

Actual

Pen maps to half tablet screen;

  • the cursor and pen line up on the right hand edge
  • as the pen moves left the cursor runs ahead of it
  • the cursor is at the left hand edge when the pen is in the middle of the screen

Tablet Device

XP-Pen Artist 10 (2nd Gen)

Diagnostic Information

xppen-10-diagnostics.json

Acknowledgements

  • I have installed OpenTabletDriver by following its official installation instructions.
  • I have checked the OpenTabletDriver Wiki and respective FAQ pages, and my issue was not covered or actually fixed.
  • I have searched the existing issues and this new issue is not a duplicate of any.
  • I have written a concise and meaningful title.
  • I am on the latest version of OpenTabletDriver.
@guspower guspower added the bug Something isn't working label Feb 19, 2024
@github-actions github-actions bot added the needs-triage This issue or PR has not been properly labeled yet label Feb 19, 2024
@LuisIllig
Copy link

I have the same issues with XP-Pen Artist 13 (2nd Gen).

@jamesbt365
Copy link
Member

Both of y'all display mappings are wrong or you have your window manager mapping the tablet too, you should not be double mapping the tablet.

Right click the display mapping in OTD and set to display.

@jamesbt365 jamesbt365 added support request Request for assistance and removed bug Something isn't working needs-triage This issue or PR has not been properly labeled yet labels Mar 5, 2024
@guspower
Copy link
Author

Hi @jamesbt365 - thanks for the response.

Could you please elaborate further on the solution?

At the moment I perform the following steps:

  1. Connect the tablet using the 3-in-1 usb connector
    • The X server detects the tablet as a HANVON UGEE Artist 10 (2nd Gen) (xorg log output below)
    • The screen on the tablet switches on and shows a virtual desktop
    • xrandr shows that it is connected on DisplayPort-2 (connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 530mm x 290mm)
  2. Run the otd-daemon: [Detect:Info] Found tablet 'XP-Pen Artist 10 (2nd Gen)'
  3. Run ./OpenTabletDriver.UX.Gtk: it shows the display at the top and tablet at the bottom.

When you say:

  1. display mappings are wrong or
  2. you have your window manager mapping the tablet too, you should not be double mapping the tablet

Can you say more about specifically what I need to change in my setup?

xorg log

[383605.946] (II) config/udev: Adding input device HANVON UGEE Artist 10 (2nd Gen) (/dev/input/event11)
[383605.946] (**) HANVON UGEE Artist 10 (2nd Gen): Applying InputClass "evdev touchpad catchall"
[383605.946] (**) HANVON UGEE Artist 10 (2nd Gen): Applying InputClass "libinput touchpad catchall"
[383605.946] (II) Using input driver 'libinput' for 'HANVON UGEE Artist 10 (2nd Gen)'
[383605.998] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 56 paused 0
[383605.998] (**) HANVON UGEE Artist 10 (2nd Gen): always reports core events
[383605.998] (**) Option "Device" "/dev/input/event11"
[383605.998] (II) event11 - failed to create input device '/dev/input/event11'.
[383605.998] (EE) libinput: HANVON UGEE Artist 10 (2nd Gen): Failed to create a device for /dev/input/event11
[383605.998] (EE) PreInit returned 2 for "HANVON UGEE Artist 10 (2nd Gen)"
[383605.998] (II) UnloadModule: "libinput"
[383605.998] (II) systemd-logind: releasing fd for 13:75
[383621.811] (II) config/udev: Adding input device OpenTabletDriver Virtual Tablet (/dev/input/event12)
[383621.811] (**) OpenTabletDriver Virtual Tablet: Applying InputClass "evdev pointer catchall"
[383621.811] (**) OpenTabletDriver Virtual Tablet: Applying InputClass "libinput pointer catchall"
[383621.811] (II) Using input driver 'libinput' for 'OpenTabletDriver Virtual Tablet'
[383621.812] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 58 paused 0
[383621.812] (**) OpenTabletDriver Virtual Tablet: always reports core events
[383621.812] (**) Option "Device" "/dev/input/event12"
[383621.813] (II) event12 - OpenTabletDriver Virtual Tablet: is tagged by udev as: Mouse
[383621.814] (II) event12 - OpenTabletDriver Virtual Tablet: device is a pointer
[383621.814] (II) event12 - OpenTabletDriver Virtual Tablet: device removed
[383621.814] (**) Option "config_info" "udev:/sys/devices/virtual/input/input33/event12"
[383621.814] (II) XINPUT: Adding extended input device "OpenTabletDriver Virtual Tablet" (type: MOUSE, id 16)
[383621.814] (**) Option "AccelerationScheme" "none"
[383621.814] (**) OpenTabletDriver Virtual Tablet: (accel) selected scheme none/0
[383621.814] (**) OpenTabletDriver Virtual Tablet: (accel) acceleration factor: 2.000
[383621.814] (**) OpenTabletDriver Virtual Tablet: (accel) acceleration threshold: 4
[383621.815] (II) event12 - OpenTabletDriver Virtual Tablet: is tagged by udev as: Mouse
[383621.816] (II) event12 - OpenTabletDriver Virtual Tablet: device is a pointer

Thanks for your time - appreciate it!

@jamesbt365
Copy link
Member

I want a screenshot of the OTD interface and the diagnostic file from help > export diagnostic, the xorg log unfortunately isn't all that helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support request Request for assistance
Projects
None yet
Development

No branches or pull requests

3 participants