[Mesa-dev] [Bug 90817] swrast fails to load with certain remote X servers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 2 06:16:52 PDT 2015


            Bug ID: 90817
           Summary: swrast fails to load with certain remote X servers
           Product: Mesa
           Version: 10.5
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: tom at compton.nu
        QA Contact: mesa-dev at lists.freedesktop.org

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.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150602/506d4e15/attachment.html>

More information about the mesa-dev mailing list