← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 767315] [NEW] xinput 2 "Coordinate Transformation Matrix" not affecting all events

 

Public bug reported:

After rotating the screen with "xrandr -o left" and rotating the input device with:
xinput set-float-prop 9 "Coordinate Transformation Matrix"  0 -1 1 1 0 0 0 0 1

I still noticed some events being sent, but not transformed.
In the sample below, see the jump from y coordinates ~1040 to ~205 and the back (I almost didn't move my finger):
$ xinput test-xi2
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ eGalax Inc. USB TouchController         	id=9	[slave  pointer  (2)]
⎜   ↳ HID 04f3:0103                           	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ HID 04f3:0103                           	id=10	[slave  keyboard (3)]
    ↳ USB 2.0 Camera                          	id=12	[slave  keyboard (3)]
    ↳ Asus Laptop extra buttons               	id=13	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
EVENT type 9 (FocusIn)
    device: 3 (3)
    windows: root 0xad event 0x2600001 child 0x0
    mode: NotifyNormal (detail NotifyNonlinear)
    flags:  [same screen]
    buttons:
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    root x/y:  590.00 / 1050.00
    event x/y: 523.00 / 997.00

EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 598.83/1065.11
    event: 598.83/1041.11
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        1: 25544.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 598.83/1065.11
    event: 598.83/1041.11
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        1: 25544.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 594.71/227.50
    event: 594.71/203.50
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 25368.00
        1: 5456.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 593.96/226.83
    event: 593.96/202.83
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 25336.00
        1: 5440.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 592.46/226.17
    event: 592.46/202.17
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 25272.00
        1: 5424.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 591.33/225.50
    event: 591.33/201.50
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 25224.00
        1: 5408.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 590.21/224.83
    event: 590.21/200.83
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 25176.00
        1: 5392.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 590.21/1049.77
    event: 590.21/1025.77
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        1: 25176.00
    windows: root 0xad event 0x2600001 child 0x0
EVENT type 6 (Motion)
    device: 2 (9)
    detail: 0
    flags: Pointer Emulated
    root: 590.21/1049.77
    event: 590.21/1025.77
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        1: 25176.00
    windows: root 0xad event 0x2600001 child 0x0

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xserver-xorg-core 2:1.10.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: compiz
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768
 edid-base64: AP///////wAmz4kEAAAAAB4UAQOAGg54CrvQlFdVkSchUFQAAAABAQEBAQEBAQEBAQEBAQEBpx9WPlEAIjAwIDwAAJAQAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAA/QA3QSsxCAAKICAgICAgAAAA/ABNMTE2TldSMSBSMSAKABE=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes: 
 edid-base64:
Date: Wed Apr 20 17:51:52 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation N10 Family Integrated Graphics Controller [8086:a011] (prog-if 00 [VGA controller])
   Subsystem: Device [1b0a:00c7]
   Subsystem: Device [1b0a:00c7]
MachineType: PEGATRON M11JB
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=468b816d-d6ee-4e77-949b-2f21644a523b ro splash quiet vt.handoff=7
ProcKernelCmdLine_: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=468b816d-d6ee-4e77-949b-2f21644a523b ro splash quiet vt.handoff=7
Renderer: Unknown
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/19/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: Lucid-GE-133
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M11JB
dmi.board.vendor: PEGATRON
dmi.board.version: R2.0/R1.1
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 1
dmi.chassis.vendor: PEGATRON
dmi.chassis.version: R2.0/R1.1
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrLucid-GE-133:bd11/19/2010:svnPEGATRON:pnM11JB:pvrR2.0/R1.1:rvnPEGATRON:rnM11JB:rvrR2.0/R1.1:cvnPEGATRON:ct1:cvrR2.0/R1.1:
dmi.product.name: M11JB
dmi.product.version: R2.0/R1.1
dmi.sys.vendor: PEGATRON
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug compiz-0.9 i386 natty running-unity ubuntu

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/767315

Title:
  xinput 2 "Coordinate Transformation Matrix" not affecting all events


Follow ups

References