Fix VAAPI hardware decode on LibreELEC x86_64 by building from source#2
Merged
Conversation
The upstream moonlight-qt AppImage was compiled without SDL_VIDEO_DRIVER_KMSDRM, causing vaapi.cpp's KMSDRM display path to be excluded at compile time. On LibreELEC (headless KMS), SDL reports subsystem SDL_SYSWM_KMSDRM (13), which fell through to "Unsupported VAAPI rendering subsystem" and forced software decode. Fix: build moonlight-qt from source using Debian bookworm's libsdl2-dev, which has SDL_VIDEO_DRIVER_KMSDRM defined in its headers. Also add runtime libs: - libSDL2.so* (previously came from AppImage, now must be bundled explicitly) - libGLESv2.so* (rendering stability on GLES2/EGLFS path) - libdrm.so* (required by the VAAPI DRM display path at runtime) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JCvMzW9nTj4VvqGiyFdt8T
- Add GitHub Action to build and push the amd64 Docker image to GHCR on every push to main, with GitHub Actions cache to speed up rebuilds - build.sh now pulls the pre-built image from GHCR instead of compiling locally; falls back to a local build if the pull fails - Pin Dockerfile base image to a specific Debian bookworm-slim digest - Pin MOONLIGHT_VERSION to v6.1.0 (was master) - MOONLIGHT_VERSION is also set as a repo variable so it can be bumped without editing the Dockerfile Co-Authored-By: Claude <noreply@anthropic.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.
No description provided.