Repository navigation
feat: add Linux client support - #9
Merged
Merged
Conversation
Install Linux Java runtimes and native libraries, use XDG data paths, and manage client processes through procfs. Add Linux regression tests, cross-platform CI, and headless setup documentation. Co-authored-by: Hoplite <288093033+usehoplite[bot]@users.noreply.github.com>
Distinguish the Windows default directory from the documented Linux XDG data path. Co-authored-by: Hoplite <288093033+usehoplite[bot]@users.noreply.github.com>
Include the additional graphics packages and private runtime directory used to run Minecraft 26.3 with Mesa software Vulkan in the Linux sandbox. Co-authored-by: Hoplite <288093033+usehoplite[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Linux x64 support alongside Windows x64 for managed Minecraft installation, launch, control, and shutdown.
Verification
Sandbox outcome
Successfully ran Minecraft 1.21.4 and the default 26.3 client on Ubuntu 24.04 x64 with Xvfb at 1280 by 720 and Mesa software rendering. No physical GPU was required. The managed installer downloaded Java 21 and Java 25 itself. OpenJDK 25 was installed separately to build the mods.
Minecraft 1.21.4 reached the title screen through OpenGL. State queries, screenshots, mouse clicks, keyboard input, text input, recording, and shutdown worked.
Minecraft 26.3 initially could not create its OpenGL context, and Vulkan was unavailable. Installing Mesa Vulkan drivers and EGL/OpenGL packages resolved this. With a private XDG runtime directory, the client rendered the title screen through software Vulkan. State queries, screenshots, mouse navigation, keyboard input, and recording worked. The 26.3 client remains running in the sandbox.
The Linux documentation includes the required packages and a persistent Xvfb setup. These checks cover Linux x64 with glibc and X11. Native Wayland, physical GPU drivers, and ARM64 were not verified. Offline-profile authentication errors for Microsoft services are expected.
The existing open pull request was not used or modified.