Hi everyone,
I'm using a 22 inch graphic tablet as a secondary monitor for my HP Elitebook, in extended view, and it works. But I can't really use my stylus. More exactly, the stylus is recognized, but the gap between its tilt and the cursor is so huge that I can't even make a proper calibration using the XP-pen latest driver. My hypothesis is that for some reason, my system thinks I use my stylus on both screens and I can't make it "understand" that obviously I use it only on screen 2. Why do I think that ? Because :
- when I position my stylus on the left border of my tablet (screen 2), I can see the cursor on the left border of my primary screen
- when I position my stylus on the right border of my tablet, only then can I see the cursor in the right place
- when I position my stylus right on the center of my tablet... yeah, you guessed it: the cursor is either on the left border of my screen 2 or on the right border of my primary screen
- and of course when the stylus is on the top border of my tablet, the cursor is on the top border of my primary screen (same for bottom)
Would someone help me recalibrate this manually ?
Thank you very much!
XP-Pen Graphic Tablet : stylus bad coordinates [Solved]
- Eadwine Rose
- Administrator
- Posts: 14699
- Joined: Wed Jul 12, 2006 2:10 am
Re: XP-Pen Graphic Tablet : stylus bad coordinates
With all help requests, please share your full Quick System Info, found in the menu. Press the Copy for forum button, then click paste in a reply.. thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: XP-Pen Graphic Tablet : stylus bad coordinates
Eadwine Rose wrote: Fri Jun 21, 2024 5:14 am With all help requests, please share your full Quick System Info, found in the menu. Press the Copy for forum button, then click paste in a reply.. thanks.
Code: Select all
[CODE]System:
Kernel: 6.1.0-21-amd64 [6.1.90-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-21-amd64 root=UUID=<filter> ro quiet splash
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23.3_x64 Libretto May 19 2024 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Laptop System: HP product: HP EliteBook 830 G6 v: SBKPF serial: <superuser required>
Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 854A v: KBC Version 52.6F.00 serial: <superuser required> UEFI: HP
v: R70 Ver. 01.26.00 date: 10/02/2023
Battery:
ID-1: BAT0 charge: 14.9 Wh (42.9%) condition: 34.7/50.2 Wh (69.1%) volts: 11.0 min: 11.6
model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: discharging cycles: 213
CPU:
Info: model: Intel Core i5-8365U bits: 64 type: MT MCP arch: Comet/Whiskey Lake note: check
gen: core 8 level: v3 note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
stepping: 0xC (12) microcode: 0xF8
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 551 high: 714 min/max: 400/4100 scaling: driver: intel_pstate
governor: powersave cores: 1: 400 2: 700 3: 400 4: 700 5: 714 6: 400 7: 700 8: 400
bogomips: 30399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling mitigation: Microcode
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: reg_file_data_sampling status: Not affected
Type: retbleed mitigation: Enhanced IBRS
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; RSB filling;
PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
Type: srbds mitigation: Microcode
Type: tsx_async_abort mitigation: TSX disabled
Graphics:
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Hewlett-Packard driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: HDMI-A-1,eDP-1
empty: DP-1,DP-2,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3ea0 class-ID: 0300
Device-2: Quanta HP HD Camera type: USB driver: uvcvideo bus-ID: 1-9:3 chip-ID: 0408:5343
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 3840x1116 s-dpi: 96 s-size: 1016x295mm (40.00x11.61")
s-diag: 1058mm (41.65")
Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: bottom-r model: Artist22R Pro serial: <filter>
built: 2019 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2 size: 476x268mm (18.74x10.55")
diag: 546mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
Monitor-2: eDP-1 pos: primary,top-left model: InfoVision Optronics/Kunshan 0x857d built: 2019
res: 1920x1080 hz: 60 dpi: 166 gamma: 1.2 size: 294x165mm (11.57x6.5") diag: 337mm (13.3")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel UHD Graphics 620 (WHL GT2)
direct-render: Yes
Audio:
Device-1: Intel Cannon Point-LP High Definition Audio vendor: Hewlett-Packard
driver: sof-audio-pci-intel-cnl alternate: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0401
API: ALSA v: k6.1.0-21-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel modules: wl
bus-ID: 00:14.3 chip-ID: 8086:9df0 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e v: kernel port: N/A
bus-ID: 00:1f.6 chip-ID: 8086:15bd class-ID: 0200
IF: eth0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8
bus-ID: 1-10:5 chip-ID: 8087:0aaa class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
sub-v: 100 hci-v: 5.1 rev: 100
Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
Local Storage: total: 267.77 GiB used: 13.76 GiB (5.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Verbatim model: Vi560 S3 size: 238.47 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 3A0 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Generic model: Flash Disk size: 29.3 GiB
block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 8.07 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 238.22 GiB size: 233.43 GiB (97.99%) used: 13.76 GiB (5.9%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
System Temperatures: cpu: 45.0 C pch: 45.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
Packages: pm: dpkg pkgs: 2205 libs: 1129 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://ftp.lip6.fr/pub/linux/distributions/mxlinux/packages/mx/repo/ bookworm main non-free
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main
Info:
Processes: 266 Uptime: 44m wakeups: 2 Memory: 15.44 GiB used: 2.3 GiB (14.9%) Init: SysVinit
v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Re: XP-Pen Graphic Tablet : stylus bad coordinates [Solved]
We have a detailed Wiki entry on Wacom that might help: https://mxlinux.org/wiki/hardware/wacom/. As mentioned there, the easiest configuration of a tablet is an app in the repos you can install with Synaptic or on the command line:
There is an accompanying video: https://youtu.be/BTGjppn4cuQ. It was designed for Wacom tablets but might well be of use here.
Code: Select all
sudo apt install ashers-wacom-tablet-quick-configuration
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: XP-Pen Graphic Tablet : stylus bad coordinates
Code: Select all
mixmax@mx:~
$ xrandr && xsetwacom --list devices
Screen 0: minimum 320 x 200, current 3840 x 1116, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 294mm x 165mm
1920x1080 60.01*+ 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1080+1920+36 (normal left inverted right x axis y axis) 476mm x 268mm
1920x1080 60.00*+ 59.94
1280x1024 60.02
1440x900 59.90
1360x768 59.95
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32
640x480 60.00 59.94
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
UGTABLET 21.5 inch PenDisplay Stylus stylus id: 16 type: STYLUS
UGTABLET 21.5 inch PenDisplay Stylus eraser id: 27 type: ERASER
Code: Select all
mixmax@mx:~
$ xsetwacom --set 16 MapToOutput "HDMI-1" && xsetwacom --set 16 ResetArea