Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drm/kms support #14

Merged
merged 2 commits into from
May 30, 2020
Merged

drm/kms support #14

merged 2 commits into from
May 30, 2020

Conversation

mickelson
Copy link
Owner

@mickelson mickelson commented May 30, 2020

  • requires egl and gbm libs
  • requires EGL_MESA_platform_gbm or EGL_KHR_platform_gbm extensions
  • readme.md is updated with build instructions
  • use '-DSFML_DRM=1' option with cmake to enable use of DRM

- requires egl and drm libs
- requires EGL_MESA_platform_gbm or EGL_KHR_platform_gbm extensions
- readme.md is updated with build instructions
- use '-DSFML_DRM=1' option with cmake to enable use of DRM
mickelson added a commit to mickelson/attract that referenced this pull request May 30, 2020
- To run Attract-mode with DRM you need to use a version of SFML
  patched with DRM support.  See the following pull request:

  mickelson/sfml-pi#14

- User must have read access to /dev/input/event* in order for
  keyboard input to work

- Attract-mode will call drmDropMaster() and drmSetMaster() before
  and after running an emulator.  This is to allow the emulator to
  take over the drm display accordingly.  dropping and setting the
  drm master typically requires root privileges, so this of course
  creates a challenge that will have to be overcome for those wanting
  to use a drm version of Attract-mode to run other programs.
@mickelson mickelson merged commit 4b7d415 into master May 30, 2020
@mickelson mickelson deleted the drm branch May 30, 2020 20:41
@mickelson mickelson mentioned this pull request Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant