<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 - swrast fails to load with certain remote X servers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90817">90817</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>swrast fails to load with certain remote X servers
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.5
          </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>GLX
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tom@compton.nu
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When using a remote X connection to an older machine using NVidia drivers (not
Nouveau) the swrast driver fails to load and indirect rendering is used instead
which is very slow in some applications. The error reported is:

  libGL error: No matching fbConfigs or visuals found
  libGL error: failed to load driver: swrast

After doing some debugging it appears that the problem is that mesa is deciding
that none of the GLX visuals offered by the server are compatible with any of
the modes supported by swrast but I suspect it is being rather more strict than
is necessary so that, for example, the fact that all the server visuals
advertise support for a pbuffer and none of the swrast visuals include one
cause all matches to fail.

I am attaching the output of glxinfo run locally on the server machine, and run
remotely with swrast failing to load.

I am also attaching a patch that I made to relax some of the tests, which
enables at last some visual to match, along with the output of glxinfo from the
remote machine with the patch applied.</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>