Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,876
    • Issues 2,876
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 902
    • Merge requests 902
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #99

Closed
Open
Created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

swrast fails to load with certain remote X servers

Submitted by Tom Hughes

Assigned to mes..@..op.org

Link to original bug (#90817)

Description

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.

Version: 10.5

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking