---SERVICE---
● vdi-sunshine.service - VDI Linux desktop Sunshine host
     Loaded: loaded (/home/test2/.config/systemd/user/vdi-sunshine.service; enabled; preset: enabled)
    Drop-In: /run/user/1000/systemd/user/vdi-sunshine.service.d
             └─90-native-cursor.conf
             /home/test2/.config/systemd/user/vdi-sunshine.service.d
             └─tune.conf
     Active: active (running) since Fri 2026-11-06 13:36:28 CST; 2min 8s ago
    Process: 3301 ExecStartPre=/usr/bin/xrandr --newmode 2560x1440_60.00 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync (code=exited, status=1/FAILURE)
    Process: 3303 ExecStartPre=/usr/bin/xrandr --addmode Virtual-1 2560x1440_60.00 (code=exited, status=0/SUCCESS)
    Process: 3305 ExecStartPre=/usr/bin/xrandr --output Virtual-1 --mode 2560x1440_60.00 (code=exited, status=0/SUCCESS)
    Process: 3306 ExecStartPre=/bin/sh -c pactl list short sinks | grep -qw vdi_audio || pactl load-module module-null-sink sink_name=vdi_audio sink_properties=device.description=VDI-Audio (code=exited, status=0/SUCCESS)
    Process: 3311 ExecStartPre=/usr/bin/pactl set-default-sink vdi_audio (code=exited, status=0/SUCCESS)
   Main PID: 3313 (sunshine)
      Tasks: 33 (limit: 5691)
     Memory: 192.8M (peak: 194.2M)
        CPU: 3min 19.311s
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/vdi-sunshine.service
             └─3313 /usr/bin/sunshine /home/test2/.config/sunshine/sunshine.conf capture=kms

11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.406]: Info: Color coding: SDR (Rec. 601)
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.406]: Info: Color depth: 8-bit
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.406]: Info: Color range: MPEG
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.406]: Info: Streaming bitrate is 22988000
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.410]: Info: [libx264 @ 0x7767e8003a40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.412]: Info: [libx264 @ 0x7767e8003a40] profile Constrained Baseline, level 5.1, 4:2:0, 8-bit
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.417]: Info: Minimum FPS target set to ~22fps (45.4545ms)
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.878]: Info: Found default monitor by name: vdi_audio.monitor
11月 06 13:36:36 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:36:36.937]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
11月 06 13:37:27 test2-Standard-PC-Q35-ICH9-2009 sunshine[3313]: [2026-11-06 13:37:27.477]: Warning: Couldn't get drm fb for plane [45]: Invalid argument
---CONF---
sunshine_name = VDI-Ubuntu
capture = x11
encoder = software
sw_preset = ultrafast
sw_tune = zerolatency
min_log_level = 2
upnp = disabled
origin_web_ui_allowed = pc
hevc_mode = 1
av1_mode = 0
audio_sink = vdi_audio
system_tray = disabled
# 2K/30 基线：低延迟优先
fps = 30
bitrate = 20000
q = 1
sw_thread_count = 2
# 输出范围限制在主显示器，避免整桌面编码
output_name = 0
---DROPINS---
/home/test2/.config/systemd/user/vdi-sunshine.service.d/tune.conf
---/home/test2/.config/systemd/user/vdi-sunshine.service.d/tune.conf
[Service]
CPUAffinity=2 3
Nice=-10
---GNOME---
false
'toggle-maximize'
---PROC---
3313 /usr/bin/sunshine /home/test2/.config/sunshine/sunshine.conf capture=kms
5437 bash -c echo ---SERVICE---; systemctl --user --no-pager -l status vdi-sunshine.service; echo ---CONF---; cat ~/.config/sunshine/sunshine.conf; echo ---DROPINS---; find ~/.config/systemd/user/vdi-sunshine.service.d -maxdepth 1 -type f -print -exec sh -c 'echo ---$1; cat "$1"' sh {} \; 2>/dev/null || true; echo ---GNOME---; gsettings get org.gnome.desktop.interface enable-animations 2>&1 || true; gsettings get org.gnome.desktop.wm.preferences action-double-click-titlebar 2>&1 || true; echo ---PROC---; pgrep -af sunshine || true; for p in $(pgrep -x sunshine); do grep -E '^Cpus_allowed_list|^State|^VmRSS' /proc/$p/status; ps -o pid,ni,pcpu,psr,cmd -p $p; done
State:	S (sleeping)
VmRSS:	  277992 kB
Cpus_allowed_list:	2-3
    PID  NI %CPU PSR CMD
   3313   0  154   2 /usr/bin/sunshine /home/test2/.config/sunshine/sunshine.conf capture=kms

ERR
