<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 - Distant geometry renders in front of closer geometry (depth test fail) in DarkRadiant / wxWidgets"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92286">92286</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Distant geometry renders in front of closer geometry (depth test fail) in DarkRadiant / wxWidgets
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Linux (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>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sonichedgehog_hyperblast00@yahoo.com
          </td>
        </tr>

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

Mesa users appear to experience a strange problem with Dark Radiant (the map
editor of The Dark Mod): Depth testing does not work, causing surfaces hidden
behind over surfaces to render through them in a random order.

I decided to report the problem here since it only happens on Linux and the
free graphics driver. I experience it on my Radeon 6870 card, and someone else
reported the same issue on an Intel card. Currently I am running Mesa 10.3.7. I
looked through the DarkRadiant code and did intensive testing, but nothing I
found appears to be related to this, and the source of the problem is a
complete mystery to everyone.

Important highlights: The problem persists if I disable transparency on all
surfaces, despite this potentially being an alpha sorting issue. It also occurs
regardless of rendering mode (wireframe / solid / textured / lighting).
Surfaces in a single model can overlap each other too, so it's not just some
objects overlapping others. Any DarkRadiant window that renders geometry is
affected, not only the viewport. Also note that DarkRadiant uses wxWidgets, and
its older GTK variant does not have the problem... meaning it might be
wxWidgets related in addition.

Please follow my reports on the TDM forum and bug tracker as well, which
contain even more information and might get updated more timely:

<a href="http://forums.thedarkmod.com/topic/16848-distant-geometry-renders-in-front-of-closer-geometry/">http://forums.thedarkmod.com/topic/16848-distant-geometry-renders-in-front-of-closer-geometry/</a>

<a href="http://bugs.thedarkmod.com/view.php?id=4017">http://bugs.thedarkmod.com/view.php?id=4017</a></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>