Gentoo Archives: gentoo-user

From: YoYo Siska <yoyo@××××××.sk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Display name and Wacom tablet
Date: Mon, 14 Nov 2011 12:48:23
Message-Id: 20111114124715.GD30258@ksp.sk
In Reply to: [gentoo-user] Display name and Wacom tablet by Daniel D Jones
1 On Sun, Nov 13, 2011 at 04:07:42PM -0500, Daniel D Jones wrote:
2 > I have an Nvidia GeForce GTX 560 Ti running nvidia-drivers 275.09.07. It
3 > supports dual monitors via Twinview. I have a Wacom Inspire3 6 x 8 Tablet.
4 > The tablet is working but it covers the entire display across both monitors
5 > and I'd like to restrict it to one monitor.
6 >
7 > This is supposed to be done via
8 >
9 > xsetwacom set "Wacom Intuos3 6x8 pad" MapToOutput VGA1
10 >
11 > VGA1 is supposed to be the name of the display you want to restrict it to, and
12 > that name is supposed to be available via xrandr. xrandr gives me the
13 > following output:
14 >
15 > ddjones@kushiel ~ $ xrandr
16 > xrandr: Failed to get size of gamma for output default
17 > Screen 0: minimum 2048 x 768, current 3360 x 1050, maximum 3360 x 1050
18 > default connected 3360x1050+0+0 0mm x 0mm
19 > 3360x1050 50.0*
20 > 2048x768 51.0
21 >
22 >
23 > ddjones@kushiel ~ $ xrandr --verbose
24 > xrandr: Failed to get size of gamma for output default
25 > Screen 0: minimum 2048 x 768, current 3360 x 1050, maximum 3360 x 1050
26 > default connected 3360x1050+0+0 (0x166) normal (normal) 0mm x 0mm
27 > Identifier: 0x165
28 > Timestamp: 13703
29 > Subpixel: unknown
30 > Clones:
31 > CRTC: 0
32 > CRTCs: 0
33 > Transform: 1.000000 0.000000 0.000000
34 > 0.000000 1.000000 0.000000
35 > 0.000000 0.000000 1.000000
36 > filter:
37 > 3360x1050 (0x166) 176.4MHz *current
38 > h: width 3360 start 0 end 0 total 3360 skew 0 clock
39 > 52.5KHz
40 > v: height 1050 start 0 end 0 total 1050 clock 50.0Hz
41 > 2048x768 (0x167) 80.2MHz
42 > h: width 2048 start 0 end 0 total 2048 skew 0 clock
43 > 39.2KHz
44 > v: height 768 start 0 end 0 total 768 clock 51.0Hz
45 >
46 > I've tried guessing at the display name, trying VGA, DVI and LVDS with various
47 > numbers appended but xsetwacom simply complains that the display does not
48 > exist.
49 >
50 > I've also tried setting the Coordinate Transformation Matrix as described
51 > here:
52 >
53 > http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Dual_and_Multi-
54 > Monitor_Set_Up#Dual_Monitors
55 >
56 > I can set the matrix via the xinput command and xinput list-props for the
57 > device confirms that the matrix is set to the new value but it does not alter
58 > the behaviour of the tablet - it still spans both displays. I set and
59 > confirmed the matrix for the pad, the eraser and the cursor.
60 >
61 > Any advice or suggestions on how to either either identify the display names
62 > (or fix whatever issue causes xrandr not to display the info) or to otherwise
63 > restrict the tablet to one monitor would be greatly appreciated.
64
65
66 Nvidia driver doesn't use the xrandr protocol when dealing with multiple
67 monitors... they have their own extension and they say that it is better
68 and that xrandr is bad, and they report through xrandr only one output
69 (monitor) that covers all nvidia outputs. Thhat's the 'default' output
70 in your xrandr output, it's widht is the sum of widhts of both monitors
71 etc..
72
73 They report the physicall layout of monitors through the xinerama
74 extension, but I guess that wacom uses xrandr (xinerama only numbers
75 the display, it doesn't have names, reports only a subset of randr
76 information and is generally older...)
77
78 I guess your only chance is to find parameters in the wacom display that
79 allow you to restrict the tablet to a certain area by setting the
80 coordinates... (and that would ofcourse work only for a specific
81 resolution...)
82
83 yoyo