All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 74726] New: r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM
@ 2014-02-08 22:31 bugzilla-daemon
  2014-02-08 22:31 ` [Bug 74726] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2014-02-08 22:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2844 bytes --]

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

          Priority: medium
            Bug ID: 74726
          Assignee: dri-devel@lists.freedesktop.org
           Summary: r600g: unrecoverable GPU lockup after glDrawElements
                    INVALID_ENUM
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: edwin+mesa@etorok.net
          Hardware: Other
            Status: NEW
           Version: git
         Component: Drivers/Gallium/r600
           Product: Mesa

Created attachment 93679
  --> https://bugs.freedesktop.org/attachment.cgi?id=93679&action=edit
corrupt.trace

If you send a lot of invalid glDrawElements commands to Mesa it can cause a GPU
lockup. Would it be possible to validate this Mesa side / or kernel CS checker
side to avoid the GPU lockup? [1]

If you replay the attached trace on r600g you get a GPU lockup, see
attachments:
 * gpureset.log: dmesg when reboot is the only solution, no text console, no X,
nothing works until a reboot
 * text_recovered.log: dmesg when I can kill the application and X, and get to
a framebuffer text console. Starting X is impossible though, unless I reboot

I've run the trace under valgrind, and I see no valgrind errors, but of course
I see a lot of Mesa errors. The mesa errors shouldn't cause a GPU lockup
though.

I reproduced this with the 10.1 branch, but similar lockups happen on the
10.0.2 release too (if you force the version to 3.3), so it doesn't seem to be
related to the 3.3 work on the 10.1 branch.

Mesa built like this:
$ ./configure --enable-dri --enable-glx-tls --enable-shared-glapi
--enable-texture-float --enable-xa --disable-xvmc --disable-vdpau
--with-gallium-drivers=r600,swrast LLVM_CONFIG=/usr/bin/llvm-config-3.4
--disable-dri3 --enable-debug

OpenGL version:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.0-rc1
(git-1e6bba5)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.1.0-rc1 (git-1e6bba5)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

kernel:
$ uname -a
Linux debian 3.14.0-rc1-00015-g7c4c62a #48 SMP PREEMPT Sat Feb 8 17:33:48 EET
2014 x86_64 GNU/Linux


[1]
There are some use-after-free bugs in the gltut tutorials when you press
Escape: it frees some stuff, then calls glutLeaveMainLoop(), but freeglut still
calls display(), causing use-after-frees. Of course its expected that the
application itself might crash, or otherwise misbehave, but I was not expecting
an unrecoverable GPU lockup.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74726] r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM
  2014-02-08 22:31 [Bug 74726] New: r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM bugzilla-daemon
@ 2014-02-08 22:31 ` bugzilla-daemon
  2014-02-08 22:31 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2014-02-08 22:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 337 bytes --]

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

--- Comment #1 from Török Edwin <edwin+mesa@etorok.net> ---
Created attachment 93680
  --> https://bugs.freedesktop.org/attachment.cgi?id=93680&action=edit
gpureset.log

Unrecoverable GPU lockup

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1279 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74726] r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM
  2014-02-08 22:31 [Bug 74726] New: r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM bugzilla-daemon
  2014-02-08 22:31 ` [Bug 74726] " bugzilla-daemon
@ 2014-02-08 22:31 ` bugzilla-daemon
  2014-02-08 22:32 ` bugzilla-daemon
  2019-09-18 19:14 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2014-02-08 22:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 405 bytes --]

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

--- Comment #2 from Török Edwin <edwin+mesa@etorok.net> ---
Created attachment 93681
  --> https://bugs.freedesktop.org/attachment.cgi?id=93681&action=edit
text_recovered.log

I killed glretrace and X via ssh, and then I could get to a framebuffer text
console.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1359 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74726] r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM
  2014-02-08 22:31 [Bug 74726] New: r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM bugzilla-daemon
  2014-02-08 22:31 ` [Bug 74726] " bugzilla-daemon
  2014-02-08 22:31 ` bugzilla-daemon
@ 2014-02-08 22:32 ` bugzilla-daemon
  2019-09-18 19:14 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2014-02-08 22:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 355 bytes --]

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

--- Comment #3 from Török Edwin <edwin+mesa@etorok.net> ---
Created attachment 93682
  --> https://bugs.freedesktop.org/attachment.cgi?id=93682&action=edit
retrace.log

Output of running glretrace under valgrind.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1295 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74726] r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM
  2014-02-08 22:31 [Bug 74726] New: r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-02-08 22:32 ` bugzilla-daemon
@ 2019-09-18 19:14 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 840 bytes --]

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

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

--- Comment #4 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- 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/mesa/mesa/issues/492.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2486 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-09-18 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-08 22:31 [Bug 74726] New: r600g: unrecoverable GPU lockup after glDrawElements INVALID_ENUM bugzilla-daemon
2014-02-08 22:31 ` [Bug 74726] " bugzilla-daemon
2014-02-08 22:31 ` bugzilla-daemon
2014-02-08 22:32 ` bugzilla-daemon
2019-09-18 19: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.