Skip to content

Incus container support #11

Description

@Danukeru

Host: Ubuntu 24.04
Running Incus 6.33

Image Image

(mouse and kb input was temporarily achieved by passing in devices explicitly to get these images)

Under the container config this properly maps, and I see creation host side of devices when sunshine boots up in the container which has a V100 passthrough under Xorg. I can run ie. Death Stranding 2 without issue under WINE.

Image Image Image


However within the container I do not see creation or mappings under /dev/input and have the following errors host side for vuinputd once sunshine starts. vuinputd does not run within the container.
/dev/input is create using a systemd unit /etc/systemd/system/dev-input.mount using tmpfs upon container start

Mar 26 02:09:17 KONPEKO systemd[1]: Started vuinputd.service - uinput proxy.
Mar 26 02:09:17 KONPEKO vuinputd[1272563]: [2026-03-26T02:09:17Z WARN  vuinputd::vt_tools] tty1 keyboard mode is active (mode=3) — VT may consume input
Mar 26 02:10:35 KONPEKO systemd[1]: Stopping vuinputd.service - uinput proxy...
Mar 26 02:10:35 KONPEKO systemd[1]: vuinputd.service: Deactivated successfully.
Mar 26 02:10:35 KONPEKO systemd[1]: Stopped vuinputd.service - uinput proxy.
Mar 26 02:10:35 KONPEKO systemd[1]: Started vuinputd.service - uinput proxy.
Mar 26 02:10:35 KONPEKO vuinputd[1273647]: [2026-03-26T02:10:35Z WARN  vuinputd::vt_tools] tty1 keyboard mode is active (mode=3) — VT may consume input
Mar 26 02:32:49 KONPEKO vuinputd[1284258]: Create /dev/input
Mar 26 02:32:49 KONPEKO vuinputd[1284258]: thread 'main' (1284258) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:49 KONPEKO vuinputd[1284258]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:32:49 KONPEKO vuinputd[1284258]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:32:50 KONPEKO vuinputd[1284264]: thread 'main' (1284264) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:50 KONPEKO vuinputd[1284264]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:32:50 KONPEKO vuinputd[1284264]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:32:50 KONPEKO vuinputd[1284266]: Create /dev/input
Mar 26 02:32:50 KONPEKO vuinputd[1284266]: thread 'main' (1284266) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:50 KONPEKO vuinputd[1284266]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:32:50 KONPEKO vuinputd[1284266]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:32:50 KONPEKO vuinputd[1284281]: thread 'main' (1284281) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:50 KONPEKO vuinputd[1284281]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:32:50 KONPEKO vuinputd[1284281]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:32:55 KONPEKO vuinputd[1284309]: thread 'main' (1284309) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:55 KONPEKO vuinputd[1284309]: Error handling action: No such file or directory (os error 2)
Mar 26 02:32:55 KONPEKO vuinputd[1284309]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:32:55 KONPEKO vuinputd[1284308]: thread 'main' (1284308) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:55 KONPEKO vuinputd[1284308]: Error handling action: Device does not exist
Mar 26 02:32:55 KONPEKO vuinputd[1284308]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:32:55 KONPEKO vuinputd[1284312]: thread 'main' (1284312) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:55 KONPEKO vuinputd[1284312]: Error handling action: Device does not exist
Mar 26 02:32:55 KONPEKO vuinputd[1284312]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:32:55 KONPEKO vuinputd[1284313]: thread 'main' (1284313) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:32:55 KONPEKO vuinputd[1284313]: Error handling action: No such file or directory (os error 2)
Mar 26 02:32:55 KONPEKO vuinputd[1284313]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:33:43 KONPEKO vuinputd[1284512]: Create /dev/input
Mar 26 02:33:43 KONPEKO vuinputd[1284512]: thread 'main' (1284512) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:33:43 KONPEKO vuinputd[1284512]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:33:43 KONPEKO vuinputd[1284512]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:33:43 KONPEKO vuinputd[1284518]: thread 'main' (1284518) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:33:43 KONPEKO vuinputd[1284518]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:33:43 KONPEKO vuinputd[1284518]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:33:44 KONPEKO vuinputd[1284520]: Create /dev/input
Mar 26 02:33:44 KONPEKO vuinputd[1284520]: thread 'main' (1284520) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:33:44 KONPEKO vuinputd[1284520]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:33:44 KONPEKO vuinputd[1284520]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:33:44 KONPEKO vuinputd[1284535]: thread 'main' (1284535) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:33:44 KONPEKO vuinputd[1284535]: Error handling action: Value too large for defined data type (os error 75)
Mar 26 02:33:44 KONPEKO vuinputd[1284535]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mar 26 02:33:53 KONPEKO vuinputd[1284641]: thread 'main' (1284641) panicked at vuinputd/src/actions/handle_action.rs:13:9:
Mar 26 02:33:53 KONPEKO vuinputd[1284641]: Error handling action: Device does not exist
Mar 26 02:33:53 KONPEKO vuinputd[1284641]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Note: I am not making use of steam to run the games. Only heroic launcher and games patched to run standalone that I know work on another machine under heroic, not in a container env.

Please advise if this is a limitation to the current supported containers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions