Bug 82337 - two cursors with dual monitor setup since commit 52c1e64692e3e80826e526dd14aec4bee137a19b
Summary: two cursors with dual monitor setup since commit 52c1e64692e3e80826e526dd14ae...
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
Depends on:
Reported: 2014-08-08 08:16 UTC by Dirk Griesbach
Modified: 2014-08-08 09:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Dirk Griesbach 2014-08-08 08:16:22 UTC
In dual monitor setup, if one of the two is rotated, moving the cursor from the rotated screen to the normal screen shows two cursors, one active cursor with the correct orientation and a second cursor with the orientation of the rotated screen. Only one cursor is shown, if the cursor is moved from the normal screen to the rotated one. The second, stray cursor is a bit shy: it wouldn't show on a screenshot made with gimp and does vanish if the real cursor is updated (e.g. on window boarders).

|commit 52c1e64692e3e80826e526dd14aec4bee137a19b
|Author: Chris Wilson <chris@chris-wilson.co.uk>
|Date:   Thu Aug 7 11:34:26 2014 +0100
|    sna: Flush cursor width changes
does fix this behaviour.

xf86-video-intel 2.99.914-git-6f69188cb2959abfb2fcd3f81cd4146aa3876bb5
x86_32 Linux 3.16

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6                                  2.19-7
ii  libdrm-intel1                          2.4.54-1
ii  libdrm2                                2.4.54-1
ii  libpciaccess0                          0.13.2-3
ii  libpixman-1-0                          0.32.6-1
ii  libudev1                               208-7
ii  libx11-6                               2:1.6.2-2
ii  libx11-xcb1                            2:1.6.2-2
ii  libxcb-dri2-0                          1.10-3
ii  libxcb-dri3-0                          1.10-3
ii  libxcb-sync1                           1.10-3
ii  libxcb-util0                           0.3.8-2
ii  libxcb1                                1.10-3
ii  libxcursor1                            1:1.1.14-1
ii  libxdamage1                            1:1.1.4-2
ii  libxext6                               2:1.3.2-1
ii  libxfixes3                             1:5.0.1-2
ii  libxinerama1                           2:1.1.3-1
ii  libxrandr2                             2:1.4.2-1
ii  libxrender1                            1:0.9.8-1
ii  libxshmfence1                          1.1-3
ii  libxtst6                               2:1.2.2-1
ii  libxv1                                 2:1.0.10-1
ii  libxvmc1                               2:1.0.8-2
ii  xserver-xorg-core [xorg-video-abi-18]  2:1.16.0-1
Comment 1 Chris Wilson 2014-08-08 09:28:53 UTC
commit 59f0374188e6d2eb2fd18e3dfb517087e09ae13f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 8 10:26:13 2014 +0100

    sna: Restore the clear before pwriting the cursor
    Along the legacy phys cursor path, we use a common scratch buffer. As
    this is global, we need to be careful not to trust the cursor local
    dirty tracking and be sure to clear the image before uploading.
    Reported-by: Dirk Griesbach
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82337
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.