Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 946
    • Issues 946
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 121
    • Merge requests 121
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • xorgxorg
  • xserverxserver
  • Merge requests
  • !337

Allow reverse PRIME with an explicit configuration

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Zoltán Böszörményi requested to merge zboszor/xserver:fix-gpu-screen-assignment into master Nov 14, 2019
  • Overview 13
  • Commits 3
  • Pipelines 33
  • Changes 4

Some (POS or other embedded) deployments require separate X screens for fullscreen applications. This requires using an Xorg configuration file.

One such use case adds an extra USB DisplayLink device which is a dumb framebuffer. To reduce CPU usage for drawing, 3D backing is needed which can be provided by (reverse) PRIME.

Currently there are a few problems:

  1. RandR providers are always assigned to screen 0 instead of the ones they were assigned to in the configuration
  2. glamoregl refuses to be initialized on the llvmpipe driver which would be used for a framebuffer-only device.

This MR lifts these limitations and allows (reverse) PRIME to be set up using a configuration file.

videocard-modesetting-for-both-intel-and-udl.conf

Edited Jun 23, 2021 by Zoltán Böszörményi
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-gpu-screen-assignment