Bug 55819 - Mouse cursor corruption when moving between monitors
Summary: Mouse cursor corruption when moving between monitors
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 20:10 UTC by Nikolaus Rath
Modified: 2019-11-19 08:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Picture of corrupted cursor (147.87 KB, text/plain)
2012-10-09 20:10 UTC, Nikolaus Rath
no flags Details
Xorg.log (55.82 KB, text/plain)
2012-10-09 20:10 UTC, Nikolaus Rath
no flags Details
xorg.conf (7.26 KB, text/plain)
2012-10-09 20:11 UTC, Nikolaus Rath
no flags Details
Picture of corrupted cursor (147.87 KB, image/jpeg)
2012-10-09 20:15 UTC, Nikolaus Rath
no flags Details

Description Nikolaus Rath 2012-10-09 20:10:14 UTC
Created attachment 68357 [details]
Picture of corrupted cursor

I'm using a ATI Radeon HD 4350 with x.org 1.12.3.902 (1.12.4 RC 2) on Debian testing. I'm running a configuration with two monitors.

Every once in a while, I experience mouse cursor corruption when moving the cursor from one screen to the other. The cursor then looks like in the attached photo. I order to get it back to normal, I have to move the cursor several times from one monitor to the other. There seems to be a specific path that I need to take, but I cannot find out which one it is exactly. 

The problem does not appear when specifying 'Option     "SWcursor"' in xorg.conf.
Comment 1 Nikolaus Rath 2012-10-09 20:10:45 UTC
Created attachment 68358 [details]
Xorg.log
Comment 2 Nikolaus Rath 2012-10-09 20:11:12 UTC
Created attachment 68359 [details]
xorg.conf
Comment 3 Nikolaus Rath 2012-10-09 20:15:13 UTC
Addendum: the path that seems to cause corruption goes from about 56 pixes above the lower left corner of one monitor to the lower right corner of the second monitor. I suspect the problem may be related to the two monitors having different vertical resolutions (1024 vs 1080).
Comment 4 Nikolaus Rath 2012-10-09 20:15:56 UTC
Created attachment 68360 [details]
Picture of corrupted cursor
Comment 5 Alex Deucher 2012-10-09 20:52:49 UTC
What kernel are you using?  Make sure it has this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f60ec4c7df043df81e62891ac45383d012afe0da
Comment 6 Nikolaus Rath 2012-10-10 13:05:37 UTC
I'm using 3.2.0 from Jul 23, so I believe I have the fix. Is there a way to know for sure?
Comment 7 Michel Dänzer 2012-10-10 13:39:11 UTC
(In reply to comment #6)
> I'm using 3.2.0 from Jul 23, so I believe I have the fix.

It's unlikely, as the fix was only backported to the upstream 3.2 stable branch on August 2nd.

> Is there a way to know for sure?

Sure, inspecting the source code for your kernel. :)
Comment 8 Nikolaus Rath 2012-10-10 14:26:49 UTC
On 10/10/2012 09:39 AM, bugzilla-daemon@freedesktop.org wrote:
> *Comment # 7 <https://bugs.freedesktop.org/show_bug.cgi?id=55819#c7> on
> bug 55819 <https://bugs.freedesktop.org/show_bug.cgi?id=55819> from
> Michel Dänzer <mailto:michel@daenzer.net> *
> 
> (In reply to comment #6 <show_bug.cgi?id=55819#c6>)
>> I'm using 3.2.0 from Jul 23, so I believe I have the fix.
> 
> It's unlikely, as the fix was only backported to the upstream 3.2 stable branch
> on August 2nd.
> 
>> Is there a way to know for sure?
> 
> Sure, inspecting the source code for your kernel. :)


You're right, the patch wasn't included. Luckily it applies cleanly
though. I'm rebuilding 3.2.0 with the patch now. Will report back if the
problem occurs again.


Best,

   -Nikolaus
Comment 9 91kk91 2013-09-06 08:56:21 UTC
I can confirm that this bug (with the exact same corruption shown in the screenshot) is still occurring on Linux 3.8.0-29-generic.

Additional information:

$ uname -a
Linux 91KK 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -rd
Description:	Ubuntu 12.04.3 LTS
Release:	12.04

$ fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6500M/5600/5700 Series
OpenGL version string: 4.2.12002 Compatibility Profile Context 9.012
Comment 10 Martin Peres 2019-11-19 08:29:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/304.


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.