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

Add support for GPU-acceleration #577

Closed
wants to merge 3 commits into from
Closed

Conversation

cloudymax
Copy link
Member

@cloudymax cloudymax commented Sep 22, 2023

[Draft, more changes inbound]

This PR adds GPU acceleration to the Unity Builder action by providing an addition entrypoint script which:

  • Enables X sessions from non-root users
  • Installs user-space GPU drivers
  • Creates a headless Xorg configuration
  • Runs a desktop session (Xorg + Xfce or IceWM)
  • Runs a remote desktop utility (VNC + noVNC)
  • Runs a desktop video capture session (ffmpeg)

These changes work in combinations with game-ci/documentation#419 as a solution for the following issues:

@cloudymax cloudymax added enhancement New feature or request dependencies Pull requests that update a dependency file labels Sep 22, 2023
@cloudymax cloudymax self-assigned this Sep 22, 2023
@github-actions
Copy link

Cat Gif

@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2023

Codecov Report

Merging #577 (fcc68d4) into main (a13443a) will not change coverage.
The diff coverage is n/a.

❗ Current head fcc68d4 differs from pull request most recent head 3771485. Consider uploading reports for the commit 3771485 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #577   +/-   ##
=======================================
  Coverage   37.02%   37.02%           
=======================================
  Files          77       77           
  Lines        3041     3041           
  Branches      632      632           
=======================================
  Hits         1126     1126           
  Misses       1765     1765           
  Partials      150      150           
Files Changed Coverage Δ
src/model/docker.ts 10.63% <ø> (ø)

@cloudymax cloudymax closed this Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants