<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - wayland/weston EGL/GLESv2 - top portion of screen in fullscreen: vertices being clipped/flicker"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73444">73444</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>wayland/weston EGL/GLESv2 - top portion of screen in fullscreen: vertices being clipped/flicker
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emiettin@edu.lahti.fi
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.0
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In fullscreen wayland/weston EGL/GLESv2 clients without X11 (as in weston
launched from a tty), vertices ending up on the top 5-10% portion of the
vertical screen space are being clipped (as in seemingly skipped altogether and
disappearing), despite setting up an appropriate projection matrix + calling
glViewport. This results in flickering sawtooth-like edges on the top of the
screen area.

This effect doesn't show up
- in windowed mode 
- in screenshots (weston Super+s) 
- in screen capture (weston Super+r)
- while zoomed in using the weston Super+mwheel shortcut, or
- when using weston through X11.

Asking about this on #dri-devel on Freenode lead to the following hypothesis by
pq:

12:30 < pq> so if super+s, or zoom, or having it in a window makes the problem
go away, then the fundamental difference is likely that when weston composites,
everything goes well, but when weston tries to scan out the client image
directly, something breaks.

This occurs at least in mesa 9.2.x through git master.

setup:

Arch Linux x86_64 3.12.6-1, 
Radeon HD 5770 w/ {ati-dri, mesa, mesa-libgl}-9.2.5-1, -10.0.1-1, or -git
wayland-1.3.0-1, weston-1.3.1-2 or git.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>