Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
VDISPLAY::SessionFacts Struct Reference

What was observed about the session, before any verdict is drawn. More...

#include <src/platform/linux/virtual_display.h>

Public Attributes

compositor_e compositor {compositor_e::unknown}
bool wayland {false}
 A Wayland session Hermes will capture from.
bool x11 {false}
 An X11 session, which has its own xrandr layout path.
bool output_management {false}
 zwlr_output_manager_v1 is advertised.
bool screencopy {false}
 zwlr_screencopy_manager_v1 is advertised.
bool image_copy_capture {false}
 ext_image_copy_capture_manager_v1 is advertised.
bool linux_dmabuf {false}
 zwp_linux_dmabuf_v1 is advertised.
bool kscreen {false}
 kscreen-doctor is usable.
bool mutter {false}
 org.gnome.Mutter.DisplayConfig answers.
bool hermes_kms_present {false}
 A Hermes-KMS device was opened.
bool hermes_kms_multi_output {false}
 The device advertises more than one output.
bool hermes_kms_multi_device {false}
 The driver exposes a session-device pool.
bool drm_seat_isolation {false}
 Session DRM cards carry a private ID_SEAT.
bool isolated_sessions_requested {false}
bool hyprland_control {false}

Detailed Description

What was observed about the session, before any verdict is drawn.

Separated from the assessment so the rules that turn observations into advice are a pure function: every combination a user can present - COSMIC without screencopy, Hyprland with the isolation rule missing, an unrecognised compositor that nonetheless speaks wlr-output-management - is then a table row in a test rather than a machine somebody has to own.

Definition at line 404 of file virtual_display.h.

Member Data Documentation

◆ compositor

compositor_e VDISPLAY::SessionFacts::compositor {compositor_e::unknown}

Definition at line 405 of file virtual_display.h.

◆ drm_seat_isolation

bool VDISPLAY::SessionFacts::drm_seat_isolation {false}

Session DRM cards carry a private ID_SEAT.

Definition at line 422 of file virtual_display.h.

◆ hermes_kms_multi_device

bool VDISPLAY::SessionFacts::hermes_kms_multi_device {false}

The driver exposes a session-device pool.

Definition at line 421 of file virtual_display.h.

◆ hermes_kms_multi_output

bool VDISPLAY::SessionFacts::hermes_kms_multi_output {false}

The device advertises more than one output.

Definition at line 420 of file virtual_display.h.

◆ hermes_kms_present

bool VDISPLAY::SessionFacts::hermes_kms_present {false}

A Hermes-KMS device was opened.

Definition at line 419 of file virtual_display.h.

◆ hyprland_control

bool VDISPLAY::SessionFacts::hyprland_control {false}

Hyprland's control socket is reachable, so Hermes can create a headless output. Recorded separately from the compositor because a service started outside the session sees Hyprland running and still cannot reach it - and that is a fixable configuration, not a missing feature.

Definition at line 428 of file virtual_display.h.

◆ image_copy_capture

bool VDISPLAY::SessionFacts::image_copy_capture {false}

ext_image_copy_capture_manager_v1 is advertised.

Definition at line 415 of file virtual_display.h.

◆ isolated_sessions_requested

bool VDISPLAY::SessionFacts::isolated_sessions_requested {false}

The user turned isolation on.

Definition at line 423 of file virtual_display.h.

◆ kscreen

bool VDISPLAY::SessionFacts::kscreen {false}

kscreen-doctor is usable.

Definition at line 417 of file virtual_display.h.

◆ linux_dmabuf

bool VDISPLAY::SessionFacts::linux_dmabuf {false}

zwp_linux_dmabuf_v1 is advertised.

Definition at line 416 of file virtual_display.h.

◆ mutter

bool VDISPLAY::SessionFacts::mutter {false}

org.gnome.Mutter.DisplayConfig answers.

Definition at line 418 of file virtual_display.h.

◆ output_management

bool VDISPLAY::SessionFacts::output_management {false}

zwlr_output_manager_v1 is advertised.

Definition at line 413 of file virtual_display.h.

◆ screencopy

bool VDISPLAY::SessionFacts::screencopy {false}

zwlr_screencopy_manager_v1 is advertised.

Definition at line 414 of file virtual_display.h.

◆ wayland

bool VDISPLAY::SessionFacts::wayland {false}

A Wayland session Hermes will capture from.

Definition at line 411 of file virtual_display.h.

◆ x11

bool VDISPLAY::SessionFacts::x11 {false}

An X11 session, which has its own xrandr layout path.

Definition at line 412 of file virtual_display.h.


The documentation for this struct was generated from the following file: