Sunshine (flatpak) on Hyprland on AlpineLinux ― 2025年10月19日 16:56
課題
Sunshineを使って、Hyprlandをリモートから操作する事を試しています。Moonlightから、Sunshineに出来ているけど、マウスも、キーボードも効かない状況が発生していました。
Sunshine のログ
Warning: Unable to create virtual mouse: Permission denied Warning: Unable to create virtual keyboard: Permission denied Warning: Gamepad xone is disabled due to Permission denied Warning: Gamepad ds5 is disabled due to Permission denied Warning: Gamepad switch is disabled due to Permission denied Warning: No gamepad input is available
一時解決
- spice-vdagentd パッケージのインストール(uinputモジュールの登録)
- steam-devices パッケージのインストール
- /dev/uinput のパーミッション変更
$ ls -ltra /dev/uinput crw------- 1 root root 10, 223 Oct 19 16:51 /dev/uinput $ sudo chmod 660 /dev/uinput $ ls -ltra /dev/uinput crw-rw---- 1 root root 10, 223 Oct 19 16:51 /dev/uinput
steam-devices が必須かは、未整理。 パーミッション変更が妥当かも…。
未解決
Windows キーが、Moonlight 側に受け取られ、 Sunshine に送信できてない。
amdgpu_top ― 2025年09月25日 11:58
頭出し
GPU の認識状況や、使用状況を、SSH経由で確認できるので、 amdgpu_top を、よく使います。
使い方
現在、alpine linux では、edge:testing にて管理されています。 edge:testing を気軽に使うのは、気が引けたので、 ビルドすることにしました。
事前準備
最低限、以下のパッケージは、必要だと思います。
- binutils
- cargo
- libdrm-dev
- rust
使うためには、以下も必要かもしれません。
- libdrm
- linux-firmware-amdgpu
- xf86-video-amdgpu
ビルドと実行
0.11.0 が最新ですが、エラーが出たので、 0.10.5 を使用しています。
git clone https://github.com/Umio-Yasuno/amdgpu_top.git -b v0.10.5 cd amdgpu_top/ cargo install --locked --path . ./target/release/amdgpu_top
エラーについて
0.11.0 でのエラーは、rust 1.87 ゆえかもしれません。 if let に関連するのかなぁ。
error[E0658]: `let` expressions in this position are unstable
--> crates/libamdgpu_top/src/ppfeaturemask.rs:112:34
|
112 | if (n & 0b1) == 1 && let Ok(ftr) = PpFeatureMask::try_from(1 << i) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
宇多田ヒカルの「光」 ― 2025年09月25日 09:25
笑顔でうたっているのに。0:34。ふっと。涙が出てくる。
ゆっくり、情景と重なっていき、背伸びをしたところで、 また、不在が訪れる。声と曲を残して。
戻ってきて、うたいきる。

最近のコメント