MrOz59/Hermes
소개
Apollo-derived Linux game-streaming host with low-latency virtual displays via Hermes-KMS (zero-copy DRM/KMS), with EVDI still supported. Moonlight/Artemis/Hestia compatible. Official Discord https://discord.gg/M5dYFuhjqP
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- +12
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalHermes
Hermes is an Apollo-derived Linux game-streaming host focused on making Moonlight/Hestia streaming less manual and more reliable on CachyOS/Arch, with low-latency real virtual displays through Hermes-KMS.
Hermes-KMS is a purpose-built DRM/KMS virtual display driver that streams the compositor's scanout straight into the hardware encoder as a DMA-BUF, with no CPU readback, so it avoids the GPU→RAM→GPU copy that EVDI does. (Measured on one machine, KWin at 720p: ~8 us/frame of capture cost on Hermes-KMS against ~180 us/frame for EVDI's CPU copy, constant regardless of resolution.)
For now EVDI is the default virtual-display backend and Hermes-KMS is opt-in and labeled experimental; it is expected to become the default once it leaves that status. Many Hermes features — HDR10, multi-output, independent sessions, streaming before login — exist only on Hermes-KMS, so using them means opting in; see What needs Hermes-KMS.
Hermes keeps protocol compatibility with Sunshine, Moonlight, Artemis, and
Hestia. The normal GameStream/Sunshine flow remains the fallback path, while
Hestia can use Hermes protocol extensions when the host reports support for
them. The product is branded Hermes throughout the UI, but the protocol lineage
identifier stays Apollo so existing Artemis/Hestia clients keep working
unchanged.
Compatibility and support
Hermes is developed on CachyOS with KDE Plasma (Wayland) on AMD, because that is the maintainer's daily system and the only configuration that is continuously exercised. Other distributions, compositors and GPUs are supported as far as their code paths allow, and are improved as problems get reported — keeping several of each verified is not something one person can do alone.
docs/compatibility.md records the current state honestly: what has actually been tested and how, what shares a verified code path but has never been run, what is known broken, and the limitations worth knowing before you file a bug. It covers KDE, COSMIC, GNOME, wlroots, Hyprland and gamescope, the AMD/Intel/NVIDIA encoder paths, and the Hermes-KMS and EVDI backends.
Hyprland works through its own headless output, not a virtual DRM device. Its aquamarine backend requires every DRM device with an output to host its own GL renderer, which a virtual display cannot do, so Hermes-KMS and EVDI are both unusable there. Hermes asks Hyprland for a headless output instead, which it renders on the primary GPU — see docs/compatibility.md.
Issues and pull requests are very welcome, including reports that something simply works — those are what move an entry from "expected to work" to "verified".
Direction
With Hermes 0.6.0 and Hermes-KMS 0.4.0 released, the roadmap is being re-evaluated in the open in #57. That issue is the place to say what matters for your setup. The proposed rule of thumb is reliability, then compatibility, installation, capture architecture, UX, advanced features, and experimental technology last. The proposal currently puts first:
- Stabilizing the 0.6.x stack: a readiness test that exercises the whole display → capture → GPU import → encoder path (today's encoder probe encodes a synthetic frame and can pass while capture is broken), the HDR and high-bitrate reports in #56, and better multi-GPU diagnostics.
- Making applications reliably open on the virtual display (#31).
- Tighter Hermes + Hermes-KMS integration: detecting the driver, checking that the two versions match, and easier installation where the distribution allows it.
- Image-based distributions: Bazzite, SteamOS, CachyOS Game Mode and Fedora Atomic derivatives.
- Separating runtime, capture and topology in the capture architecture, and a native KWin capture path.
Multi-output stays experimental until it has more real-world validation, and independent sessions are deprioritized until hardware rendering inside an isolated compositor is solved. Gamescope stays optional: Hermes uses it only when an app configuration, a setting, or an explicit Hestia request asks for it.
Clients
- Android: Artemis (ClassicOldSong's Moonlight fork) — the reference client.
- Desktop: Hestia, a Moonlight-Qt based
client tuned to Hermes' protocol extensions. Linux is its focus: the
v0.1.0 release ships an
Arch/CachyOS package, a tarball and an AppImage (the installed binary is
moonlight). Windows and macOS builds are not published or tested. - Generic Moonlight clients also work through the standard flow.
The web UI (https://<host>:47990) is branded Hermes. Set the displayed server
name under Configuration → General → Server Name; it defaults to the PC's
hostname.
Hestia protocol support
Hermes exposes Hestia protocol v1 endpoints under:
/api/hestia/v1
GET /api/hestia/v1/capabilities(also answered atGET /api/hestia/v1)POST /api/hestia/v1/session/preparePOST /api/hestia/v1/session/stopGET /api/hestia/v1/display/statusPOST /api/hestia/v1/display/recoverGET /api/hestia/v1/client/permissionsGET /api/hestia/v1/diagnosticsGET /api/hestia/v1/clipboardPOST /api/hestia/v1/clipboardGET /api/hestia/v1/commandsPOST /api/hestia/v1/commands/run
Everything except capabilities authenticates with the paired client
certificate plus a per-client permission, never with the admin password — see
docs/api.md. Clients should gate enhanced behavior
on the capabilities response. If the Hestia API is unavailable, clients should
continue through the normal Moonlight/Sunshine flow.
Virtual display behavior
When a session asks for a virtual display — through the application's
virtual-display setting, the client's virtual-display option, a client set to
always use one, headless mode, or a host with no active display — Hermes
creates and connects one before launching the app. The
virtual_display_backend setting (Configuration → Audio/Video) picks the
driver:
| Value | Backend |
|---|---|
evdi |
Default. EVDI, the stable backend. |
hermes_kms |
Hermes-KMS, zero-copy. Labeled experimental for now, and the only backend for the features listed below. |
none |
No virtual-display device: stream an output the session already has, such as a headless compositor. headless is accepted as an older spelling. |
On Hyprland the setting is bypassed in favor of the compositor's own headless output (see above).
On nightly builds, a session that asks for a virtual display fails to start when that display cannot be set up — no working driver, a display created without a name, or a compositor that does not activate the output — instead of streaming a physical monitor (#58). Sessions that do not ask for a virtual display are unaffected.
Each app's virtual-display-layout field in apps.json decides where its
virtual display sits: auto (follow the global "Use the Virtual Display
exclusively" setting), extend, mirror, or exclusive. Nightly builds add
detached, which on KDE enables and positions only the virtual output and
leaves the physical monitor configuration untouched (the Web UI calls it
"Beside the physical monitors").
What needs Hermes-KMS
These work only with virtual_display_backend = hermes_kms; on EVDI they are
unavailable, or (for HDR) the session streams SDR:
- Zero-copy capture on AMD and Intel, without the per-frame CPU copy EVDI makes.
- HDR10 on a virtual display. EVDI does not support HDR.
- Multi-output (
hermes_kms_multi_output): a separate output and capture pipeline per simultaneous client. - Independent sessions (
hermes_kms_isolated_sessions). - Streaming before login (
hermes --prelogin): Hermes-KMS is the only backend it has been run with, and its readiness report flags any other. - Capture-side diagnostics: the driver's frame, wait and export counters in
/api/hestia/v1/diagnostics. - KMS capture without
CAP_SYS_ADMIN, through the driver's render node.
Hermes-KMS (experimental, opt-in)
Enable it with virtual_display_backend = hermes_kms. The compositor owns the
virtual card and scans out the desktop; Hermes opens the Hermes-KMS render node
read-only and pulls each frame as a DMA-BUF:
- AMD and Intel import that buffer and encode it through VAAPI with no copy.
- NVIDIA cannot: its EGL import of these system-memory buffers reads the wrong pages, so NVENC sessions take one CPU copy of the scanout per frame. Experimental work on a faster NVIDIA path is in #66.
The read-only open is intentional: with the driver's current access policy,
Chromium/Electron's O_RDWR GPU probe skips this capture-only node instead of
picking it as the system renderer
(#63). On Linux this backend
depends on:
- the
hermes_kmskernel module, v0.4.0 or newer, loaded withinitial_enabled=0so its connector stays disconnected until Hermes owns it for a stream, and with its card left on the active seat. Hermes needs UAPI 11 or newer and refuses an older device withUAPI <n> is too oldin the log; - a way to enable the virtual output:
kscreen-doctoron KWin,wlr-output-managementon the wlroots family, or Mutter's DisplayConfig on GNOME; - a real GPU to encode on;
- a session where the Hermes process can access the user compositor environment.
Installing the Hermes-KMS driver
Hermes-KMS is an out-of-tree kernel module distributed via DKMS, so it rebuilds
automatically for every kernel update (the same way evdi-dkms works). The
source lives at https://github.com/MrOz59/Hermes-KMS.
Match the driver to your Hermes build.
Hermes Hermes-KMS 0.6.0 (latest release) the v0.4.0tagnightly main(recommended) orv0.4.0The driver's
maingrants the render node read-only access, which is what keeps Chromium, Discord and other Electron apps from freezing when Hermes-KMS registers before the real GPU. Hermes 0.6.0 still opens the node read-write, so that policy refuses it withEACCES: stay onv0.4.0until you move to a nightly or the next release. Both driver versions provide UAPI 14, which HDR10 needs.
Option A — DKMS from a clone (any distro with dkms and kernel headers):
git clone https://github.com/MrOz59/Hermes-KMS.git
cd Hermes-KMS
git checkout v0.4.0 # Hermes 0.6.0 only; stay on main for a nightly
sudo make dkms-install
dkms-install registers, builds and installs the module through DKMS, installs
the default module options (initial_enabled=0 outputs=1), the boot autoload
entry and the udev access policy under /usr/lib, and loads the module. If an
older Hermes-KMS is already loaded, it asks for one reboot instead of unloading
a card the compositor may hold. The build auto-detects whether your kernel was
built with clang (e.g. CachyOS) or gcc, so no extra flags are needed.
To remove it:
sudo make dkms-uninstall
Option B — Arch/CachyOS package (DKMS, with the same options, autoload entry and udev policy):
git clone https://github.com/MrOz59/Hermes-KMS.git
cd Hermes-KMS
makepkg -si
This is a -git package: it always builds the driver's latest main, whatever
is checked out, so it pairs with a Hermes nightly, not with 0.6.0. It installs
hermes-kms-dkms-git and the optional hermes-kms-seatd-git private-seat
broker.
A file of the same name in /etc/modprobe.d overrides the packaged
/usr/lib/modprobe.d/hermes-kms.conf. Older Hermes-KMS packages wrote
initial_enabled=1 to /etc/modprobe.d/hermes-kms.conf; change that option to
0 before rebooting. Hermes also disconnects this legacy unowned output at
startup so an upgrade can recover without requiring the old package to be
removed first.
Verify the module is loaded and a Hermes render node exists:
lsmod | grep hermes_kms
ls /dev/dri/by-path/ | grep hermes # expect platform-hermes-kms-render -> ../renderD*
Do not install the driver's development seat-ignore udev rule for normal
streaming — it stops KWin/GNOME from adopting the output. That rule is only for
isolated modetest driver testing. See the driver repository for build internals,
image-based installs and the zero-copy validation tooling.
HDR10
On a KDE Plasma Wayland host using a Hermes-KMS driver with HDR10 advertisement enabled by default, turn on HDR in Hestia RS to stream in HDR10. Hermes switches the virtual output to HDR for that session. The host needs a Main 10 encoder and the client needs an HDR10 display and decoder. On AMD the frame stays on the GPU through VAAPI; on NVIDIA the CPU-copy path converts it to P010 in CUDA for NVENC. Hermes logs when the virtual output can only provide SDR. Details are in docs/hermes_kms_hdr.md.
Experimental: multi-output and independent sessions
Both experiments default to off; the single-output path remains the default.
hermes_kms_multi_output = truegives simultaneous clients separate outputs and capture pipelines, but those outputs still belong to the same host desktop/compositor session. The packaged module options create one output, so override them with enough outputs and reboot:
printf '%s\n' 'options hermes_kms initial_enabled=0 outputs=2' | sudo tee /etc/modprobe.d/hermes-kms.conf
hermes_kms_isolated_sessions = trueenables the independent-session capability. It is experimental. It may change in ways that are not backwards compatible, nothing bounds what a session may consume, and a session given a Unix account of its own still hears the host's audio. It does not turn the whole server into an isolated-session mode: shared-host streams and independent sessions may run on the same Hermes server at the same time.isolation_methodthen picks how a launch is isolated when the client requests a virtual display:gamescope(the default, Gamescope with a virtual display) orkwin_virtual(KWin's virtual backend). An app'sisolation-methodcan choose either for itself, and then applies whether or not a virtual display was requested. With the default,default, an app with no command gets the KWin desktop undergamescope, and an explicitextend,mirrororexclusivelayout stays on the host desktop.host-session: trueinapps.jsonkeeps an app on the host desktop always.An independent session gets a separate compositor, application process tree, capture path, and input of its own.
gamescoperuns the app directly in a DRM Gamescope session, on its own Hermes-KMS card and private DRM seat.kwin_virtualruns the compositor named byhermes_kms_session_compositor: by default the user's own Plasma desktop on KWin's virtual backend (a virtual output, with input through KWin's fake-input protocol), which needs no Hermes-KMS card or seat broker; or, opt-in, Weston with its desktop shell and panel.gamescopeand the opt-in compositors needgamescopeorwestonand the driver's optional private-seat broker (hermes-kms-seatd-git, orsudo make INSTALL_BROKER=1 dkms-installfrom a clone), configured for the user Hermes runs as:
sudo /usr/lib/hermes-kms/hermes-kms-setup configure --user auto
That configures one seat0 host card plus private session cards (four by
default; --session-devices N for up to eight) and runs one seatd broker per
card at /run/hermes-kms-seatd/N/seatd.sock, asking for one reboot when a
different module topology is already loaded. Joining the seat group and
enabling [email protected] by hand, as older instructions said, is no
longer needed — the helper removes that enablement. Hermes rejects an isolated
launch with an actionable log message when a card's broker is not available.
The brokers are experimental process/session plumbing, not a security boundary
for mutually untrusted local users. hermes_kms_multi_output may be enabled at
the same time: it keeps managing the shared host compositor's outputs while
independent sessions use their private cards. Remote Input stays a shared-host
feature and is not disabled by the independent-session capability.
The full reference, including the optional session and card brokers, is
hermes_kms_isolated_sessions
in the configuration docs. scripts/vm-isolated-input-test.sh uses a disposable
virtme-ng guest to check that the packaged udev rules assign each session's
virtual keyboards to the right private seat without modifying host rules.
EVDI (default)
EVDI is the default and stable backend, set with
virtual_display_backend = evdi. Hermes does not switch to it on its own when
Hermes-KMS is selected but unavailable. It depends on:
evdi/evdi-dkmslibevdikscreen-doctor- a session where the Hermes process can access the user compositor environment
evdi is an optional dependency, not a build requirement: it lives in the
AUR (not the official repos), so the package no longer lists it under depends
and makepkg -si builds without it. Install it yourself if you want the EVDI
virtual-display backend:
paru -S evdi # or: yay -S evdi
The Audio/Video settings tab shows a live diagnostic and step-by-step install guide when either virtual-display driver (EVDI or Hermes-KMS) is missing.
Gamescope is not required for either virtual-display path. If installed,
Hermes exposes an optional Gamescope Steam Session app entry that runs Steam
Big Picture inside Gamescope on top of the virtual display.
Installing
The quickest way is the installer, run as the user Hermes will stream for:
curl -fsSL https://raw.githubusercontent.com/MrOz59/Hermes/main/scripts/install.sh | bash
It installs Hermes for Arch/CachyOS, Ubuntu 24.04/26.04 or Fedora 43/44/45
(Fedora 45 packages start with Hermes 0.8.0), then
offers the matching Hermes-KMS
v0.4.1 driver from its published release assets, verified against SHA-256
checksums. The Fedora driver packages are noarch DKMS packages with generic
dependencies, so a Fedora release without its own build uses the checksummed
package of another Fedora release; elsewhere, where no native driver package
is available, it offers a source build from the pinned release tag. The
installer also offers an experimental, opt-in build from Hermes-KMS main
even when a release package is available. It prints the exact commit used.
Switching an existing package-managed driver to this source build requires
removing its core and optional broker packages through the package manager
first. Kernel headers must match the running kernel. Immutable ostree systems
(such as Bazzite) require the documented image-based driver setup instead.
The installer explains the two isolation methods for independent sessions, both experimental:
- KWin virtual desktop (
kwin_virtual, KDE Plasma 6 Wayland): the user's own Plasma desktop and Steam library on a separate virtual output, without disturbing the physical desktop. Hermes 0.7.0 lists it as Detached Desktop / Detached Steam; newer builds as Desktop / Steam (KWin virtual). This requires Hermes-KMS, but does not require Gamescope, seatd or the private DRM seat broker. - Gamescope (
gamescope): a game on its own DRM card/input seat, with private audio and optional device isolation. This additionally requires Hermes' patched Gamescope, seatd, PipeWire and the Hermes-KMS seat broker. The setup is offered only when requested; the distribution's regular Gamescope remains untouched. Patched Gamescope is unavailable on Ubuntu 24.04.
On builds that have the global isolation_method
setting, the installer matches it to what is actually installed: it keeps
gamescope only when the patched Gamescope and its seat broker pass their
checks and otherwise sets kwin_virtual, so a launch is never routed to a
Gamescope session that cannot start. The Gamescope step also offers, opt-in, Hermes'
card broker (cards created on demand instead of a fixed pool) and session
broker (a Unix account of its own per client).
After the installer enables the user service, it checks for the Hermes binary, the service status, DKMS, the isolation method and, if selected, patched Gamescope. These checks do not certify real GPU streaming; reboot when prompted, then use the Audio/Video diagnostics in the Web UI and test a real client.
The installer leaves optional independent sessions and pre-login streaming
disabled by default. If neither Hermes-KMS nor EVDI is available, it offers
an optional EVDI installation (AUR via an existing helper on Arch/CachyOS,
evdi-dkms from configured APT repositories on Ubuntu). Fedora requires
manually selecting a trustworthy EVDI package. Existing physical-display capture
does not require either virtual-display driver.
The installer backs up an existing Hermes configuration before changing it.
If Hermes was already running, a restart is offered but never forced (it would
disconnect active streams). A missing stable package is not silently replaced
by nightly; the installer asks before switching channels, and --yes refuses
that experimental fallback. A release lookup that fails (offline, rate
limited) stops the installer instead of being taken for a missing package.
Hermes and Gamescope packages are checked against the SHA-256 digest GitHub
publishes for each release asset. Secure Boot may require signing/MOK
enrollment before the DKMS module can load.
The release lookups use GitHub's API without a token, which allows 60 requests
an hour per address; export GITHUB_TOKEN (or GH_TOKEN) to use your own
quota instead.
Run as your normal user, not root. Use --nightly
for a rolling Hermes build (the default driver is still the pinned release),
--dry-run to preview actions, or --help to review options. To install manually:
Every push to main refreshes the rolling nightly prerelease, and a tagged
version publishes a normal release, both at
https://github.com/MrOz59/Hermes/releases. CI builds these Linux packages:
| Distribution | Asset | Installs |
|---|---|---|
| Arch / CachyOS | hermes-streaming-<version>-1-x86_64.pkg.tar.zst |
sudo pacman -U ./hermes-streaming-*.pkg.tar.zst |
| Ubuntu 24.04, 26.04 | hermes_<version>_ubuntu<release>_amd64.deb |
sudo apt install ./hermes_<version>_ubuntu<release>_amd64.deb |
| Fedora 43, 44, 45 | hermes-<version>-1.fc<release>.x86_64.rpm |
sudo dnf install ./hermes-<version>-1.fc<release>.x86_64.rpm |
Match the release in the filename to the one you run: a .deb or .rpm is
built inside that release's own container, so its dependencies are the sonames
that release ships and it will refuse to install on another. Arch and CachyOS
are the configuration Hermes is developed on; the others are built in CI and not
exercised as a desktop — see docs/compatibility.md.
No AppImage, Flatpak or Windows/macOS package is published.
Every package installs the binary as /usr/bin/hermes and a hermes.service
systemd user unit:
systemctl --user enable --now hermes
The nightly packages are rebuilt on every push and may be unstable. There is no repository to subscribe to yet, so upgrading means downloading the newer asset. A Hermes-KMS virtual display also needs the Hermes-KMS kernel module, which is installed separately and has to match the Hermes build — see Installing the Hermes-KMS driver above.
Updating an existing installation
The same script is also the ecosystem updater. Run it as the normal user who owns the Hermes service, not as root:
# Update installed Hermes and already-present ecosystem components.
curl -fsSL https://raw.githubusercontent.com/MrOz59/Hermes/main/scripts/install.sh | bash -s -- --update
# Follow the rolling Hermes nightly rather than the latest stable release.
curl -fsSL https://raw.githubusercontent.com/MrOz59/Hermes/main/scripts/install.sh | bash -s -- --update --nightly
# Preview without changing packages or service configuration.
curl -fsSL https://raw.githubusercontent.com/MrOz59/Hermes/main/scripts/install.sh | bash -s -- --update --dry-run
The updater detects the installed package version before comparing it to
the requested release. The normal channel stays stable; the nightly channel
must be chosen explicitly. A newer local version is never downgraded without
confirmation. Rolling Hermes/Gamescope assets are tracked by SHA-256 so a
repeated update can skip unchanged packages even when their filenames stay
the same. --yes approves normal existing-component upgrades but never
authorizes a downgrade or service interruption.
Only components that were already installed are considered: the Hermes host,
Hermes-KMS (pinned to its compatible v0.4.1 release), the patched Gamescope,
and optionally EVDI. If Hermes-KMS is present but DKMS is missing for the
current kernel, the updater offers an opt-in repair using the registered
driver source. For a driver installed from main by the installer, rerun the
interactive installer and select that source option to update it. The updater
never enables new independent-session modes, modifies the chosen virtual-display
backend or configures pre-login streaming.
Builds after 0.7.0 choose how isolated sessions run with isolation_method,
which defaults to gamescope. If isolated sessions are enabled but Hermes'
Gamescope or its seat broker is not ready, launches that ask for a virtual
display would fail after the update; the updater says so and offers to set
isolation_method = kwin_virtual. It only changes the setting when you
answer yes; --yes leaves it as it is.
An existing Hermes configuration is backed up before a package update. A running service is restarted only with approval, since restarting disconnects clients. A previously stopped service remains stopped. Hermes-KMS updates require a reboot; Secure Boot may require DKMS module signing/MOK enrollment. Image-based/immutable distributions still need their separate installation method.
CachyOS/Arch package build
For the mcpp toolchain, build commands and optional features, see the Linux build guide.
From the repository root:
makepkg -sf
If the host already has all build dependencies installed and makepkg -s is
blocked by local dependency metadata, a local developer build can use:
makepkg --nodeps -sf
Install the generated package and start it with:
sudo pacman -U ./hermes-streaming-*.pkg.tar.zst
systemctl --user enable --now hermes
The Arch package is named hermes-streaming because the hermes name belongs
to an unrelated PAM authentication project in the AUR. Upgrading from an older
Hermes package replaces only the old hermes package versions below 0.5.0.
The application paths remain /usr/bin/hermes, /usr/share/hermes, and the
hermes.service systemd user unit, so it can still be installed side by side
with the apollo (AUR) and sunshine packages.
When migrating from an older package named hermes, pacman will ask to remove
that conflicting package as part of the transaction; accept the removal. User
configuration is not package-owned and remains in place — which also means
uninstalling Hermes does not clear your Web UI password. Do not install the
unrelated hermes package offered by AUR helpers.
Installed side by side means installed, not running side by side: Hermes,
Apollo, and Sunshine all bind ports 47984/47989/47990, so start only one of
them at a time. Whichever starts second fails to bind and exits, which shows up
in the browser as Failed to fetch on the login page.
Protocol and client compatibility is unchanged: Hermes keeps the same Artemis protocol extensions, so existing Artemis/Hestia clients keep working.
Container / image-based distributions (Bazzite, Silverblue, SteamOS)
Image-based distributions keep /usr read-only, so there is no point at which
a package lands on the installed system and the normal install does not apply.
packaging/container holds a runtime image that runs Hermes on a headless sway
session with audio, XWayland and an optional Steam Big Picture session, so only
the kernel module has to exist on the host:
cd packaging/container
docker compose build
docker compose up -d
The virtual display still comes from the
Hermes-KMS module on the host. For an
image-based host, build it into the image with that repository's
packaging/bazzite/Containerfile — DKMS cannot work there. Without the module
the container falls back to the wlroots headless (software) backend
(virtual_display_backend = none) and gives up the zero-copy path.
This image serves one session, so it does not compose with
hermes_kms_multi_output or hermes_kms_isolated_sessions; several clients
means one container each. See packaging/container/README.md.
Adapted from SOVLOOKUP/hermes-sunshine, contributed upstream by its author.
Notes
- Configuration location. Hermes stores everything in
~/.config/hermes(or$XDG_CONFIG_HOME/hermes):hermes.conf,hermes_state.json(Web UI credentials and paired clients),apps.json, andhermes.log. Releases before 0.5.0 used~/.config/sunshine, shared with Apollo and Sunshine; on first start Hermes copies that directory across and leaves the original in place for them. To reset a forgotten Web UI password, stop the service and runhermes --creds <username> <password>— this keeps your paired clients, whereas deletinghermes_state.jsonunpairs them. - SteamOS / CachyOS Game Mode.
hermes-gamemodeis a controller-friendly console, added to Steam as a non-Steam shortcut, for the things a machine that boots straight into Game Mode otherwise cannot reach: the PIN for a new device and a restart. See SteamOS and Game Mode. - Streaming before login (experimental, nightly).
hermes --prelogin enablestarts Hermes with the user manager, so a host that boots with no monitor and no autologin can stream its login screen and carry on into the desktop.hermes --prelogin statuslists what is still in the way. It has been run on KDE Plasma with SDDM and Hermes-KMS only; read the limits in Getting Started before relying on it for a machine you cannot otherwise reach. - Address family / web UI reachability. The server binds dual-stack by
default (
address_family = both). On distros wherelocalhostresolves to IPv6 (::1) first, an IPv4-only bind makes the web UI fail intermittently with "Failed to fetch"; dual-stack avoids that. Override under Configuration → Network → Address Family if you need IPv4-only. - Isolated virtual display. With
isolated_virtual_display_optionenabled, the physical monitor is turned off only once a streaming session actually starts (and restored when it ends), not when the virtual display is created.
Credits
Hermes builds on work from:
- ClassicOldSong's Apollo project, which established the Apollo host direction and Moonlight compatibility model.
- Sgtmetalmex's Apollo-CachyOS fork, whose EVDI/KDE/Gamescope patch series
identified and fixed several Linux virtual-display issues that are important
for Hermes stability:
- EVDI device-index discovery.
- KScreen/KWin virtual-output activation.
- avoiding DRM master conflicts on EVDI cards.
- hotplugged EVDI capture fallback.
- EVDI CPU-buffer capture and event pumping.
- physical-monitor recovery safety work.
- optional Gamescope Steam Session integration.
- SOVLOOKUP's hermes-sunshine, the container image in
packaging/containerthat runs Hermes on a headless sway session, contributed upstream by its author. The same work identified a race in Hermes' own virtual-output activation, which is now fixed here.
Reference forks:
Repositories
- Hermes (this host): https://github.com/MrOz59/Hermes
- Hermes-KMS (virtual display driver): https://github.com/MrOz59/Hermes-KMS
- Hestia (desktop client): https://github.com/MrOz59/Hestia
Report issues for the host at https://github.com/MrOz59/Hermes/issues/new/choose. The forms ask for the three things a report needs to be actionable: the Hermes version, one copy-paste block of host information, and a debug-level log. See .github/CONTRIBUTING.md for what each form is for.
관련 프로젝트 살펴보기
불러오는 중…