<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [nouveau] garbled rending with glamor on G71"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99400">99400</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[nouveau] garbled rending with glamor on G71
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fourdan@xfce.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=128933" name="attach_128933" title="Screenshot of the issue">attachment 128933</a> <a href="attachment.cgi?id=128933&action=edit" title="Screenshot of the issue">[details]</a></span>
Screenshot of the issue

Description:

While investigating rendering bugs on Xwayland with nouveau specifically ([1]
and [2]) I realized that some gtk2 output (this Xwayland) is completely
garbled.

[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1411447">https://bugzilla.redhat.com/show_bug.cgi?id=1411447</a>
[2] <a href="https://bugzilla.gnome.org/show_bug.cgi?id=776255">https://bugzilla.gnome.org/show_bug.cgi?id=776255</a>

How reproducible:

Always

Steps to reproduce:

1. Log in a Wayland session (either Weston or GNOME shell) on a Dell M1710 with
a GeForce Go 7950 GTX 
2. Run gtk-demo (the one from gtk2, i.e. not Wayland native but relying on
Xwayland)
3. Start the "Assistant" demo (second starting from the top)

Actual result:

The window is black with random content

Expected result:

The rendering is correct

Additional data:

This issue does not occur when using "shm" and CPU rendering instead of glamor
in Xwayland.

I am not aware of any other hardware where glamor produces such garbled output,
so I suspect an issue with nouveau, but if you reckon it's an issue with glamor
instead, please flip this bug back to xserver/glamor

I have seen other issue with black icons being reported with glamor and nouveau
as well and these do not occur when using the CPU render in weston for example
(<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1411447#c12">https://bugzilla.redhat.com/show_bug.cgi?id=1411447#c12</a>)

In my case, hardware is VGA compatible controller: NVIDIA Corporation G71M
[GeForce Go 7950 GTX] (rev a1) (prog-if 00 [VGA controller])

01:00.0 0300: 10de:0297 (rev a1) (prog-if 00 [VGA controller])
        Subsystem: 1028:019b</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>