<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 - [Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89107">89107</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </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>Drivers/Gallium/radeonsi
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>darkdefende@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=113408" name="attach_113408" title="The lab files.">attachment 113408</a> <a href="attachment.cgi?id=113408&action=edit" title="The lab files.">[details]</a></span>
The lab files.

I'm currently taking a course in Opengl 3 graphics programming.

When doing the first lab I noticed that the bunny (and other objects) had quite
severe rendering errors when using the open source driver for my graphics card.
See the attached image for how it looks.

There seems to be a problem with the facing direction of the rendered
triangles. However, it doesn't do that much of a difference if I turn off
culling either...

The bunny renders correctly on nvidia cards (with the closed source drivers)
and on my card running fgrlx. The professor in charge of the course is running
OSX, and the lab computers are running Linux (with nvidia cards). So I guess
this is a problem only with Mesa (or something else in the driver stack).
I haven't tried on intel cards so I can't say if this is just a problem with
radeonsi or not.

I've attached the lab code. It should run on Linux and OSX. I would really
appreciate if other people could try it out so we can see if this is a general
problem with mesa or not.

I haven't seen anything like this in other opengl 3 programs. So if there is a
problem with the code, IE it breaks opengl spec, then please tell me so I can
inform the professor about it.</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>