<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 --- - [r300g] Visuals not found in (default) depth = 24"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71789">71789</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[r300g] Visuals not found in (default) depth = 24
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>OpenBSD
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mpi@openbsd.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PowerPC
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>9.2
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=89467" name="attach_89467" title="Xorg.log without configuration file">attachment 89467</a> <a href="attachment.cgi?id=89467&action=edit" title="Xorg.log without configuration file">[details]</a></span>
Xorg.log without configuration file

Without xorg.conf or with a pixel depth of 24 bits, any application linked to
libGL will fails to load the "r300" driver and after it the "swarst" driver
with the following message:

  libGL error: failed to load driver: r300
  libGL error: Try again with LIBGL_DEBUG=verbose for more details.
  libGL error: failed to load driver: swrast
  libGL error: Try again with LIBGL_DEBUG=verbose for more details.

This problem is present in all the Mesa 9.x release up to 9.2.3.  But it is not
in the 8 (which segfault at some point), 7.11 was working without config file.

After a bit of investigation, I found that driConvertConfigs() returns NULL in 
dri2CreateScreen() when trying to find matching visuals
(src/glx/dri_glx.c:450).  However if I specify a depth of 16 bits in my
xorg.conf I cannot reproduce this problem.

This problem is present on OpenBSD -current (future 5.5) which has the drm
drivers synced with Ubuntu's linux 3.8 kernel.</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>