← 返回
未分类 中文

deckctl — Steam Deck / Bazzite Manager

Steam Deck & Bazzite system management — gamescope, flatpak, podman, GPU, performance, game mode, system health
Steam Deck 与 Bazzite 系统管理 — gamescope、flatpak、podman、GPU、性能、游戏模式、系统健康
silverod silverod 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 356
下载
💾 1
安装
1
版本
#bazzite#gamescope#gaming#latest#linux#steam-deck

概述

deckctl — Steam Deck / Bazzite System Manager

Manage Steam Deck hardware and Bazzite OS through OpenClaw. Covers gaming performance, system health, Flatpak management, GPU monitoring, and Gamescope session control.

When to Use

  • User asks about Steam Deck system status, performance, or configuration
  • Flatpak app installation, updates, or management
  • Gamescope session or game mode troubleshooting
  • GPU/memory/disk monitoring on Steam Deck hardware
  • Proton, Lutris, or containerized gaming setup
  • Sunshine/moonlight streaming configuration
  • MangoHud, vkBasalt, or OBS VkCapture toggles

Prerequisites

  • Steam Deck (LCD/OLED) or Bazzite desktop
  • gamescope-session-plus@steam systemd service
  • Flatpak, podman, rpm-ostree available

Commands Reference

System Status

# Full system health check
echo "=== System ===" && uname -a && uptime
echo "=== Memory ===" && free -h
echo "=== Disk ===" && df -h / /var/home
echo "=== GPU ===" && lspci | grep -i vga
echo "=== CPU ===" && cat /proc/loadavg && nproc
echo "=== Temp ===" && cat /sys/class/thermal/thermal_zone*/temp 2>/dev/null

Gamescope / Game Mode

# Check gamescope session
systemctl --user status gamescope-session-plus@steam.service

# Gamescope logs
journalctl --user -u gamescope-session-plus@steam.service --since "1 hour ago" --no-pager | tail -20

# Steam runtime info
ls ~/.steam/root/ubuntu12_32/steam-runtime/ 2>/dev/null

Flatpak Management

# List installed flatpaks
flatpak list

# Search for an app
flatpak search <query>

# Install a flatpak
flatpak install flathub <app-id>

# Update all flatpaks
flatpak update

# Check for updates without installing
flatpak remote-info flathub <app-id>

GPU & Performance

# GPU info
lspci -nnk | grep -iA3 vga

# GPU memory (AMD VanGogh)
cat /sys/class/drm/card*/device/mem_info_vram_total 2>/dev/null

# Vulkan info
vulkaninfo --summary 2>/dev/null | head -30

# Active GPU frequency (AMD)
cat /sys/class/drm/card0/device/pp_dpm_sclk 2>/dev/null
cat /sys/class/drm/card0/device/pp_dpm_mclk 2>/dev/null

# MangoHud toggle (per-game via env var)
MANGOHUD=1 %command%
# Or in Gamescope:
gamescope -W 1280 -H 800 -f -- mangohud <game>

Proton & Compatibility

# Installed Proton versions
ls ~/.steam/root/compatibilitytools.d/ 2>/dev/null
ls ~/.local/share/Steam/compatibilitytools.d/ 2>/dev/null

# Proton logs for a game
cat ~/.steam/root/logs/proton* 2>/dev/null | tail -20

# Protontricks
protontricks <appid> <verb>

Lutris

# Lutris version
lutris --version

# Lutris installed games
lutris --list-games

# Lutris runners
ls ~/.local/share/lutris/runners/ 2>/dev/null

Container Gaming

# Podman status
podman ps
podman images

# Distrobox containers
distrobox list 2>/dev/null

# Toolbox containers
toolbox list 2>/dev/null

Streaming (Sunshine)

# Sunshine status
flatpak list | grep -i sunshine

# Sunshine config
cat ~/.config/sunshine/config.conf 2>/dev/null

# Sunshine logs
journalctl --user -u sunshine --since "1 hour ago" 2>/dev/null | tail -20

OBS & Capture

# OBS plugins (VkCapture)
flatpak list | grep -i obs

# VkCapture layers
ls ~/.local/share/vulkan/implicit_layer.d/ 2>/dev/null
flatpak list | grep -i vkcapture

Network & Tailscale

# Network interfaces
ip addr show | grep -E "inet |wl|en"

# Tailscale
tailscale status 2>/dev/null

# Port forwarding (for Sunshine)
tailscale serve --bg 47989 2>/dev/null

Common Tasks

Install a game from Flathub

flatpak search "game name"
flatpak install flathub <app-id>

Check why a game is slow

  1. Check GPU frequency: cat /sys/class/drm/card0/device/pp_dpm_sclk
  2. Check thermal throttling: cat /sys/class/thermal/thermal_zone*/temp
  3. Check if MangoHud is running: pgrep -a mangohud
  4. Check Proton version: ls ~/.steam/root/compatibilitytools.d/
  5. Check VRAM usage: cat /sys/class/drm/card*/device/mem_info_vram_used 2>/dev/null

Enable/disable performance overlay

# MangoHud via environment
export MANGOHUD=1  # enable
export MANGOHUD=0  # disable

# Persistent for Steam games
echo "MANGOHUD=1" >> ~/.steam/root/steam.sh.d/mangohud.conf 2>/dev/null

Factory reset a Flatpak

flatpak uninstall --delete-data <app-id>

Troubleshooting

ProblemCheck
----------------
Game won't startProton version, disk space, GPU driver
Black screenGamescope resolution, HDR toggle, Wayland
StutteringVRAM, thermal throttling, swap
Audio cracklingPipeWire restart: systemctl --user restart wireplumber pipewire
Controller not workingevtest, journalctl -f, Steam Input settings
Flatpak won't updateflatpak repair, disk space
Steam Proton missingVerify Proton in Steam Settings > Compatibility

Notes

  • Steam Deck uses AMD VanGogh APU (RDNA 2, 8 CUs)
  • OLED model has same APU, better screen
  • Bazzite is Fedora-based with immutable root (rpm-ostree)
  • Flatpak is the primary package manager for GUI apps
  • Gamescope provides the gaming compositor layer
  • Always check thermal zones before diagnosing performance issues

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 18:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,879
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,564
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,890