All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
@ 2012-03-01 11:15 ` bugzilla-daemon
  2012-03-06 17:30 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-01 11:15 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|xorg-driver-ati@lists.x.org |dri-devel@lists.freedesktop
                   |                            |.org
          QAContact|xorg-team@lists.x.org       |
            Product|xorg                        |DRI
          Component|Driver/Radeon               |DRM/Radeon

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
  2012-03-01 11:15 ` [Bug 46796] [X800SE] Mouse cursor corruption when switching users bugzilla-daemon
@ 2012-03-06 17:30 ` bugzilla-daemon
  2012-03-07  3:41 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-06 17:30 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

--- Comment #6 from Michel Dänzer <michel@daenzer.net> 2012-03-06 09:30:19 PST ---
Created attachment 58066
  --> https://bugs.freedesktop.org/attachment.cgi?id=58066
Verbose test patch

In order to facilitate testing, here's another version of the fix which prints
a message

[drm] Fixing large cursor offset 0xXXXXXXXX >= 0x08000000

when the suspected problem would have occurred. So if such a message appears in
dmesg but the cursor is unharmed, we know this is indeed the proper fix.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
  2012-03-01 11:15 ` [Bug 46796] [X800SE] Mouse cursor corruption when switching users bugzilla-daemon
  2012-03-06 17:30 ` bugzilla-daemon
@ 2012-03-07  3:41 ` bugzilla-daemon
  2012-03-07  8:18 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-07  3:41 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

--- Comment #7 from jonathan <jonathan.voss@gmail.com> 2012-03-06 19:41:29 PST ---
This is a bit above my head I think. I got the source for
xserver-xorg-video-ati from the Ubuntu repositories and tried to apply the
patch to it. It looks like a lot of the right files are there, but there's no
radeon_gem.c. The package version is 6.14.99~git20111219.aacbd629-0ubuntu2,
which includes a date that I think indicates that it's not TOO old, however I
cloned the git repository at
git://anongit.freedesktop.org/xorg/driver/xf86-video-ati and had the same
problem. I've also never tested a kernel mod so I'm not sure what I would do if
I got the patch to compile.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (2 preceding siblings ...)
  2012-03-07  3:41 ` bugzilla-daemon
@ 2012-03-07  8:18 ` bugzilla-daemon
  2012-03-07  8:21 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-07  8:18 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #57853|0                           |1
        is obsolete|                            |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (3 preceding siblings ...)
  2012-03-07  8:18 ` bugzilla-daemon
@ 2012-03-07  8:21 ` bugzilla-daemon
  2012-03-11  1:04 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-07  8:21 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

--- Comment #8 from Michel Dänzer <michel@daenzer.net> 2012-03-07 00:21:12 PST ---
(In reply to comment #7)
> I got the source for xserver-xorg-video-ati from the Ubuntu repositories and
> tried to apply the patch to it.

That can't work, as the patch is for the kernel, not the X driver.

You should be able to get the source for your running kernel with

apt-get source linux-image-$(uname -r)


> I've also never tested a kernel mod so I'm not sure what I would do if
> I got the patch to compile.

Boot the patched kernel (or load the patched radeon kernel module) and try to
reproduce the problem. Look for the message from comment #6 in dmesg.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (4 preceding siblings ...)
  2012-03-07  8:21 ` bugzilla-daemon
@ 2012-03-11  1:04 ` bugzilla-daemon
  2012-03-12  5:13 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-11  1:04 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

--- Comment #9 from jonathan <jonathan.voss@gmail.com> 2012-03-10 17:04:58 PST ---
This patch causes my computer to crash at login. However, it's not a super bad
crash because I was able to ssh in and check dmesg. The comment did not appear.
Just to make sure it wasn't something I did when trying to compile a kernel, I
reversed the patch and recompiled, and I'm running that kernel now, so I'm
pretty sure it's the patch.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (5 preceding siblings ...)
  2012-03-11  1:04 ` bugzilla-daemon
@ 2012-03-12  5:13 ` bugzilla-daemon
  2012-03-12 23:41 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-12  5:13 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #58066|0                           |1
        is obsolete|                            |

--- Comment #10 from Michel Dänzer <michel@daenzer.net> 2012-03-12 05:13:22 UTC ---
Created attachment 58312
  --> https://bugs.freedesktop.org/attachment.cgi?id=58312
Verbose test patch with crash fixed

(In reply to comment #9)
> This patch causes my computer to crash at login. However, it's not a super bad
> crash because I was able to ssh in and check dmesg.

Sorry about that, here's another test patch which shouldn't crash.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (6 preceding siblings ...)
  2012-03-12  5:13 ` bugzilla-daemon
@ 2012-03-12 23:41 ` bugzilla-daemon
  2012-03-14 14:57 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-12 23:41 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

--- Comment #11 from jonathan <jonathan.voss@gmail.com> 2012-03-12 16:41:14 PDT ---
I think this patch works as intended. Well actually, it's hard for me to say it
actually fixed the problem due to its random nature, but I haven't had the
mouse corruption issue on this patched driver, and the message appears in
dmesg:

[  524.112945] [drm] Fixing large cursor offset 0x0d1e0000 >= 0x00000000
[  537.020931] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[  537.308976] [drm] Fixing large cursor offset 0x0cf80000 >= 0x00000000
[  607.000940] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id

I have to say that the log confuses me since 1 << 27 is not 0.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (7 preceding siblings ...)
  2012-03-12 23:41 ` bugzilla-daemon
@ 2012-03-14 14:57 ` bugzilla-daemon
  2012-03-31 21:26 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-14 14:57 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #58312|0                           |1
        is obsolete|                            |

--- Comment #12 from Michel Dänzer <michel@daenzer.net> 2012-03-14 07:57:05 PDT ---
Created attachment 58436
  --> https://bugs.freedesktop.org/attachment.cgi?id=58436
Submitted fix

(In reply to comment #11)
> [...] I haven't had the mouse corruption issue on this patched driver, and the
> message appears in dmesg:

Okay, so an unpatched driver probably would use too large offsets sometimes,
which would definitely explain the corrupted cursor. So the fix seems to be
working.


> I have to say that the log confuses me since 1 << 27 is not 0.

Indeed, but that's just a bug of the DRM_INFO call. :) (Type mismatch between
format string and values)


I'm attaching the fix as I submitted it for inclusion into the kernel.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (8 preceding siblings ...)
  2012-03-14 14:57 ` bugzilla-daemon
@ 2012-03-31 21:26 ` bugzilla-daemon
  2012-04-05 13:50 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-31 21:26 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

--- Comment #13 from Chris Rankin <rankincj@googlemail.com> 2012-03-31 14:26:15 PDT ---
Duplicate of #36769, perhaps?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (9 preceding siblings ...)
  2012-03-31 21:26 ` bugzilla-daemon
@ 2012-04-05 13:50 ` bugzilla-daemon
  2012-04-05 13:55 ` bugzilla-daemon
  2012-04-06 13:14 ` bugzilla-daemon
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-05 13:50 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

--- Comment #14 from Florian Mickler <florian@mickler.org> 2012-04-05 06:50:20 PDT ---
A patch referencing this bug report has been merged in Linux v3.4-rc1:

commit c4353016dac10133fa5d8535af83f0c4845a2915
Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Wed Mar 14 17:12:41 2012 +0100

    drm/radeon: Restrict offset for legacy hardware cursor.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (10 preceding siblings ...)
  2012-04-05 13:50 ` bugzilla-daemon
@ 2012-04-05 13:55 ` bugzilla-daemon
  2012-04-06 13:14 ` bugzilla-daemon
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-05 13:55 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #15 from Michel Dänzer <michel@daenzer.net> 2012-04-05 06:55:05 PDT ---
Resolving per comment #14, reopen if you're still seeing the problem with the
fix.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 46796] [X800SE] Mouse cursor corruption when switching users
       [not found] <bug-46796-502@http.bugs.freedesktop.org/>
                   ` (11 preceding siblings ...)
  2012-04-05 13:55 ` bugzilla-daemon
@ 2012-04-06 13:14 ` bugzilla-daemon
  12 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-04-06 13:14 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46796

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rankincj@googlemail.com

--- Comment #16 from Alex Deucher <agd5f@yahoo.com> 2012-04-06 06:14:08 PDT ---
*** Bug 36769 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-04-06 13:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-46796-502@http.bugs.freedesktop.org/>
2012-03-01 11:15 ` [Bug 46796] [X800SE] Mouse cursor corruption when switching users bugzilla-daemon
2012-03-06 17:30 ` bugzilla-daemon
2012-03-07  3:41 ` bugzilla-daemon
2012-03-07  8:18 ` bugzilla-daemon
2012-03-07  8:21 ` bugzilla-daemon
2012-03-11  1:04 ` bugzilla-daemon
2012-03-12  5:13 ` bugzilla-daemon
2012-03-12 23:41 ` bugzilla-daemon
2012-03-14 14:57 ` bugzilla-daemon
2012-03-31 21:26 ` bugzilla-daemon
2012-04-05 13:50 ` bugzilla-daemon
2012-04-05 13:55 ` bugzilla-daemon
2012-04-06 13:14 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.