Skip to contentSkip to conversation

New: Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

Bug 55294 [email protected] 1 participant 9 messages Sep 24, 2012 – Oct 10, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 55294
Assignee: [email protected]
Summary: Running EGL demos on DRM from mesa-demos causes a
corrupted output on NV50
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Driver/nouveau
Product: xorg

Created attachment 67649
--> https://bugs.freedesktop.org/attachment.cgi?id=67649&action=edit
kernel log with nouveau.reg_debug=0x600

When I try to run the mesa demos on the EGL/DRM backend I get a corrupted screen.

You can find the demos here:
http://cgit.freedesktop.org/mesa/demos/tree/src/egl/opengl

The binaries for the EGL/DRM backend have a "_screen" suffix. The demos are using eglut with the eglut_screen/drm backend.

The following kernel errors are printed:
[drm] nouveau 0000:01:00.0: EvoCh 0 Mthd 0x086c Data 0x00005564 (0x0084 0x04) [drm] nouveau 0000:01:00.0: EvoCh 1 Mthd 0x080c Data 0x00005564 (0x0084 0x04)

You can find a screenshot and an kernel log with the "nouveau.reg_debug=0x600" flag in the attachment.

Kernel 3.6.0 RC5 on NV50.

A similar kernel error can be found in this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=27483

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

--- Comment #1 from Lubosz Sarnecki <[email protected]> --- Created attachment 67650
--> https://bugs.freedesktop.org/attachment.cgi?id=67650&action=edit
Photograph of corrupted output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

--- Comment #2 from Lubosz Sarnecki <[email protected]> --- joi on the irc figured out that it has to do with the resolution I am trying to set (1366 x 768).

With his patch on the demos http://bpaste.net/show/47560/ I was able to set a 1280 x 768 resolution successfully.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

--- Comment #3 from Lubosz Sarnecki <[email protected]> --- Created attachment 67694
--> https://bugs.freedesktop.org/attachment.cgi?id=67694&action=edit
demo log with verbose egl flags

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

--- Comment #4 from Marcin Slusarz <[email protected]> --- Created attachment 67841
--> https://bugs.freedesktop.org/attachment.cgi?id=67841&action=edit
fix

This patch should do the trick.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

--- Comment #5 from Lubosz Sarnecki <[email protected]> --- Thank you very much for the patch. With the patched mesa I could successfully run the eglut demos with my native resolution on linux 3.6.0 rc7.

Should this be a mesa / gallium bug then?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

Marcin Slusarz <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|[email protected]       |
            Product|xorg                        |Mesa
          Component|Driver/nouveau              |Drivers/DRI/nouveau
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

Marcin Slusarz <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #67841|0                           |1

is obsolete| |

--- Comment #6 from Marcin Slusarz <[email protected]> --- Created attachment 67956
--> https://bugs.freedesktop.org/attachment.cgi?id=67956&action=edit
fix v2

Yes. This is Mesa-side bug. I've changed product/component.

After closer look, I came to a conclusion that my patch was not quite correct. Please test the new one (although I managed to reproduced this issue and both patches fix it).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 55294] Running EGL demos on DRM from mesa-demos causes a corrupted output on NV50

In reply to a message not in the archive

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

Emil Velikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Emil Velikov <[email protected]> --- The patch has been pushed upstream
master 93eba269351c6e256db3a4cc7c7018f5a3fae5a1

Please reopen if the issue persist

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau