All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
@ 2010-11-16 18:35 bugzilla-daemon
  2010-11-16 18:40 ` [Bug 31670] " bugzilla-daemon
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-16 18:35 UTC (permalink / raw)
  To: dri-devel

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

           Summary: RV670 GPU lockup with OpenArena benchmark and kernel
                    2.6.37 rc1/rc2
           Product: DRI
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: alain.perrot@gmail.com


When running the OpenArena anholt benchmark on my Radeon HD 3870 (RV670, PCIe)
on my 64-bit Kubuntu 10.10 system with kernel 2.6.37 rc1 or rc2, and libdrm,
mesa, xorg-video-ati from git master, I often get a GPU lockup on the level
loading screen.

I can still log into the system through SSH and reboot it, but I cannot kill
the openarena process. There is nothing in dmesg when the lockup occurs.

There is no such issue with kernel 2.6.36 and the same versions of libdrm,
mesa, xorg-video-ati.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
@ 2010-11-16 18:40 ` bugzilla-daemon
  2010-11-16 18:49 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-16 18:40 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Alain Perrot <alain.perrot@gmail.com> 2010-11-16 10:40:51 PST ---
I forgot to tell that this is with KMS enabled and Gallium based r600g Mesa
driver.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
  2010-11-16 18:40 ` [Bug 31670] " bugzilla-daemon
@ 2010-11-16 18:49 ` bugzilla-daemon
  2010-11-21 15:27 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-16 18:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Alex Deucher <agd5f@yahoo.com> 2010-11-16 10:49:22 PST ---
Can you bisect to see which commit is problematic?

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
  2010-11-16 18:40 ` [Bug 31670] " bugzilla-daemon
  2010-11-16 18:49 ` bugzilla-daemon
@ 2010-11-21 15:27 ` bugzilla-daemon
  2010-11-21 15:41 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-21 15:27 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Alain Perrot <alain.perrot@gmail.com> 2010-11-21 07:27:07 PST ---
Here it is:

d0f8a854c340986359a3b0a97e380c71def7a440 is the first bad commit
commit d0f8a854c340986359a3b0a97e380c71def7a440
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Sat Sep 4 05:04:34 2010 -0400

    drm/radeon/kms/r6xx+: use new style fencing (v3)

    On r6xx+ a newer fence mechanism was implemented to replace
    the old wait_until plus scratch regs setup.  A single EOP event
    will flush the destination caches, write a fence value, and generate
    an interrupt.  This is the recommended fence mechanism on r6xx+ asics.

    This requires my previous writeback patch.

    v2: fix typo that enabled event fence checking on all asics
    rather than just r6xx+.

    v3: properly enable EOP interrupts
    Should fix:
    https://bugs.freedesktop.org/show_bug.cgi?id=29972

    Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

:040000 040000 f9980a7432d5daac116586b03587fd90be768be9
ad8ce09ffba05e2438c50ddff1fa6243e1349ccd M      drivers

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-11-21 15:27 ` bugzilla-daemon
@ 2010-11-21 15:41 ` bugzilla-daemon
  2010-11-21 16:22 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-21 15:41 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Alex Deucher <agd5f@yahoo.com> 2010-11-21 07:41:45 PST ---
You can disable wb by adding:
radeon.no_wb=1
to your kernel command line.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-11-21 15:41 ` bugzilla-daemon
@ 2010-11-21 16:22 ` bugzilla-daemon
  2010-11-21 16:29 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-21 16:22 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Alain Perrot <alain.perrot@gmail.com> 2010-11-21 08:22:49 PST ---
With kernel 2.6.37-rc2 and option radeon.no_wb=1, it seems that there is no GPU
lockup with the OpenArena benchmark and both the r600g and r600c Mesa drivers.

With the same kernel and without that option, the OpenArena benchmark locks the
GPU with the r600g driver (runs fine with r600c).

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-11-21 16:22 ` bugzilla-daemon
@ 2010-11-21 16:29 ` bugzilla-daemon
  2010-11-22 16:32 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-21 16:29 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Alex Deucher <agd5f@yahoo.com> 2010-11-21 08:29:58 PST ---
Sounds like an r600g bug then.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-11-21 16:29 ` bugzilla-daemon
@ 2010-11-22 16:32 ` bugzilla-daemon
  2010-11-22 17:49 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-22 16:32 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Jerome Glisse <glisse@freedesktop.org> 2010-11-22 08:32:34 PST ---
Did you try with lastest mesa for r600g ? Following commit might help

http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e76ed4e256dd7964deaf37b89220c775fd2891e

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-11-22 16:32 ` bugzilla-daemon
@ 2010-11-22 17:49 ` bugzilla-daemon
  2010-11-22 18:37 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-22 17:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Alain Perrot <alain.perrot@gmail.com> 2010-11-22 09:49:02 PST ---
I have just tested with the new kernel 2.6.37-rc3 and Mesa up to commit
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c63a86e1e5665fb5cd94de42d6c59171398e12ee,
which should include the one you point out.

Still the same result: GPU lockup with OpenArena benchmark and the r600g
driver.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-11-22 17:49 ` bugzilla-daemon
@ 2010-11-22 18:37 ` bugzilla-daemon
  2010-11-22 21:21 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-22 18:37 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Jerome Glisse <glisse@freedesktop.org> 2010-11-22 10:37:07 PST ---
Is it fullscreen or not ? If lockup happen is it always during loading screen ?
Can you please attach kernel log after a lockup.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2010-11-22 18:37 ` bugzilla-daemon
@ 2010-11-22 21:21 ` bugzilla-daemon
  2010-12-07 19:12 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-11-22 21:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from Alain Perrot <alain.perrot@gmail.com> 2010-11-22 13:21:09 PST ---
Created an attachment (id=40485)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=40485)
dmesg output after GPU lockup

I have always run the OpenArena benchmark fullscreen. Actually, it is
fullscreen on one screen (1920x1080) of my dual screen setup, the second screen
(1920x1200) goes black when OpenArena is started. I have just checked in window
mode with the same result (GPU lockup).

The lockup always happen on the loading screen, the exact time vary slightly:
while loading sounds, while loading map... Once while bisecting the kernel, the
lockup even happened before the loading screen was displayed (black screen).
But I never get passed the loading screen.

About the kernel log, I used to have nothing in it, but this time I wait longer
(~ 5 minutes) and I get a call trace, see attachment.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2010-11-22 21:21 ` bugzilla-daemon
@ 2010-12-07 19:12 ` bugzilla-daemon
  2010-12-07 20:20 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-12-07 19:12 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from Alain Perrot <alain.perrot@gmail.com> 2010-12-07 11:12:57 PST ---
Created an attachment (id=40880)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=40880)
kern.log extract on GPU lockup with kernel 2.6.35rc5

I have just checked with the new kernel 2.6.37rc5 and updated Mesa packages
(http://cgit.freedesktop.org/mesa/mesa/commit?id=44094356149d9a63c197e15f9db344ef2f651d86)
with the same result: OpenArena benchmark cause GPU lockup with r600g driver.

A difference with previous tests (in case it matters): I am now running KWin in
OpenGL compositing mode (with r600c driver), it was previously running in
XRender compositing mode.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (10 preceding siblings ...)
  2010-12-07 19:12 ` bugzilla-daemon
@ 2010-12-07 20:20 ` bugzilla-daemon
  2010-12-07 22:21 ` bugzilla-daemon
  2010-12-09 18:11 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-12-07 20:20 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #12 from Jerome Glisse <glisse@freedesktop.org> 2010-12-07 12:20:17 PST ---
Can you please confirm that patch :
http://people.freedesktop.org/~glisse/0001-r600g-fix-userspace-fence-against-lastest-kernel.patch

Applied on top of lastest mesa fix the issue for you ?

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (11 preceding siblings ...)
  2010-12-07 20:20 ` bugzilla-daemon
@ 2010-12-07 22:21 ` bugzilla-daemon
  2010-12-09 18:11 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-12-07 22:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #13 from Alain Perrot <alain.perrot@gmail.com> 2010-12-07 14:21:33 PST ---
Your patch applied on top of Mesa master
(http://cgit.freedesktop.org/mesa/mesa/commit/?id=72845d206e692581b6084c56b8d1f3bc689e8a03)
seems to fix the issue with kernel 2.6.37rc5 for me.

I have run the OpenArena benchmark a few times, and play a level of the game
without a GPU lockup.

Thanks.

-- 
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] 15+ messages in thread

* [Bug 31670] RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2
  2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
                   ` (12 preceding siblings ...)
  2010-12-07 22:21 ` bugzilla-daemon
@ 2010-12-09 18:11 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-12-09 18:11 UTC (permalink / raw)
  To: dri-devel

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

Alain Perrot <alain.perrot@gmail.com> changed:

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

--- Comment #14 from Alain Perrot <alain.perrot@gmail.com> 2010-12-09 10:11:02 PST ---
I have seen that the patch has been commited to Mesa, so I have checked with
updated Mesa packages
(http://cgit.freedesktop.org/mesa/mesa/commit/?id=05e534e6c4395269b1ca3a9694a1f437363dd186)
and I can confirm that there is no more GPU lockup with Linux kernel 2.6.37rc5.

Many thanks.

-- 
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] 15+ messages in thread

end of thread, other threads:[~2010-12-09 18:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 18:35 [Bug 31670] New: RV670 GPU lockup with OpenArena benchmark and kernel 2.6.37 rc1/rc2 bugzilla-daemon
2010-11-16 18:40 ` [Bug 31670] " bugzilla-daemon
2010-11-16 18:49 ` bugzilla-daemon
2010-11-21 15:27 ` bugzilla-daemon
2010-11-21 15:41 ` bugzilla-daemon
2010-11-21 16:22 ` bugzilla-daemon
2010-11-21 16:29 ` bugzilla-daemon
2010-11-22 16:32 ` bugzilla-daemon
2010-11-22 17:49 ` bugzilla-daemon
2010-11-22 18:37 ` bugzilla-daemon
2010-11-22 21:21 ` bugzilla-daemon
2010-12-07 19:12 ` bugzilla-daemon
2010-12-07 20:20 ` bugzilla-daemon
2010-12-07 22:21 ` bugzilla-daemon
2010-12-09 18:11 ` 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.