Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 887
    • Issues 887
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 105
    • Merge requests 105
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • xserverxserver
  • Merge requests
  • !666

Cherry-pick b56e5010 ("glx: fixup symbol name for get_extensions function") into 1.20.x

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Vasily Khoruzhick requested to merge anarsoul/xserver:server-1.20-branch-backport into server-1.20-branch May 04, 2021
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 1

This is a cherry-pick of b56e5010 ("glx: fixup symbol name for get_extensions function") into 1.20.x.

glxProbeDriver() concatenates __DRI_DRIVER_GET_EXTENSIONS with driver name to get symbol name for get_extension function. Unfortunately that doesn't work for drivers that have hyphen in their name, e.g. sun4i-drm -- get_extensions() for these uses underscore instead.

As result dlsym() doesn't find get_extension() function and AIGLX initialization fails resulting in following message in Xorg.0.log:

(EE) AIGLX error: sun4i-drm does not export required DRI extension

Replace all non-alpha-numeric characters with underscore to fix the issue.

Signed-off-by: Vasily Khoruzhick anarsoul@gmail.com

Edited May 04, 2021 by Vasily Khoruzhick
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: server-1.20-branch-backport