New: since 2.6.38.1, screen become garbled after some times (RV770)
https://bugs.freedesktop.org/show_bug.cgi?id=35935
Summary: since 2.6.38.1, screen become garbled after some times
(RV770)
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=45194)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45194)
garbled screen
Hi,
Since I'm using kernel 2.6.38.1, Xorg screen became garbled after some times (see screenshot). It occurs on 2.6.38.2 but seems to be less frequent (3-4 hours for 2.6.38.1 ; 8-10 for 2.6.38.2)
I didn't get this bug with 2.6.38
TTY stay fine and after I close and start X, everything is fine again. No need to reboot.
I can't find anything precise which can trigger this bug, it simply occurs. Maybe an hint, it seems to be when I try to display a minimized window.
There is nothing obvious in the logs (but I'm not using debug option), kernel or X.
kernel 2.6.38.2 (kernel-linus-2.6.38.2-1mdv-1-1 ; vanilla kernel packaged by my distro)
xorg 1.9.3
ati 6.14.1
mesa 7.9
libdrm 2.4.24
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35935] since 2.6.38.1, screen become garbled after some times (RV770)
https://bugs.freedesktop.org/show_bug.cgi?id=35935
--- Comment #1 from Mjules <[email protected]> 2011-04-03 12:01:19 PDT --- Created an attachment (id=45195)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45195)
Xorg log
Forgot to say I'm using a radeon 4870 (RV770), with KMS and power profile low.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35935] since 2.6.38.1, screen become garbled after some times (RV770)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=35935
--- Comment #2 from Mjules <[email protected]> 2011-04-03 12:05:34 PDT --- Created an attachment (id=45196)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45196)
dmesg
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35935] since 2.6.38.1, screen become garbled after some times (RV770)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=35935
--- Comment #3 from Alex Deucher <[email protected]> 2011-04-03 16:59:38 PDT --- (In reply to comment #0)
Quoted 4 lines
Since I'm using kernel 2.6.38.1, Xorg screen became garbled after some times (see screenshot). It occurs on 2.6.38.2 but seems to be less frequent (3-4 hours for 2.6.38.1 ; 8-10 for 2.6.38.2)
I didn't get this bug with 2.6.38
Did you update anything besides the kernel between 2.6.38 and 2.6.38.1 (mesa of xf86-video-ati)? If the same userspace components (mesa, xf86-video-ati) work on 2.6.38 and become garbled on 2.6.38.1, can you bisect between 2.6.38 and 2.6.38.1 and see which commit caused the problem? If you updated the userspace components as well, this is probably a duplicate of bug 33929.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35935] since 2.6.38.1, screen become garbled after some times (RV770)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=35935
--- Comment #4 from Mjules <[email protected]> 2011-04-04 03:23:59 PDT --- thanks for your quick answer.
With the same userspace and configuration, 2.6.38 works fine.
I will try to bisect.
thx
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35935] since 2.6.38.1, screen become garbled after some times (RV770)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=35935
--- Comment #5 from Mjules <[email protected]> 2011-04-26 14:20:30 PDT --- The result of the bisection is :ba3ffdc68b4c80fe4cc42bdae6040eca1067ebb2 is the first bad commit commit ba3ffdc68b4c80fe4cc42bdae6040eca1067ebb2
Author: Stanislav Kinsbursky <[email protected]> Date: Thu Mar 17 18:54:23 2011 +0300
RPC: killing RPC tasks races fixed
commit 8e26de238fd794c8ea56a5c98bf67c40cfeb051d upstream.
RPC task RPC_TASK_QUEUED bit is set must be checked before trying to wake
up
task rpc_killall_tasks() because task->tk_waitqueue can not be set (equal
to
NULL).
Also, as Trond Myklebust mentioned, such approach (instead of checking tk_waitqueue to NULL) allows us to "optimise away the call to rpc_wake_up_queued_task() altogether for those
tasks that aren't queued".
Here is an example of dereferencing of tk_waitqueue equal to NULL:
CPU 0 CPU 1 CPU 2
-------------------- --------------------- --------------------------
nfs4_run_open_task
rpc_run_task
rpc_execute
rpc_set_active
rpc_make_runnable
(waiting)
rpc_async_schedule nfs4_open_prepare nfs_wait_on_sequence
nfs_umount_begin rpc_killall_tasks rpc_wake_up_task rpc_wake_up_queued_task spin_lock(tk_waitqueue == NULL) BUG()
rpc_sleep_on
spin_lock(&q->lock)
__rpc_sleep_on
task->tk_waitqueue = q
:040000 040000 91b88f0611c9ff1cf2691d9d65ec13c652a554ace23b6d459a8bef93de6ea4821754e2f51e3ad32f M net
which seems completely bogus to me (I don't use nfs).
BTW, the bug is still present with 2.6.38.3 and seems more frequent with it.
Another detail is it occurs only one time during a session.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35935] since 2.6.38.1, screen become garbled after some times (RV770)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=35935
Mjules <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID--- Comment #6 from Mjules <[email protected]> 2011-05-30 08:34:19 PDT --- Hi,
I can't reproduce reliably (sometimes it occurs 2 times in 5 minutes, sometimes nothing during weeks) and I suspect a hardware bug.
I think it's better to close it, no need to pollute buglist.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.