Skip to content

[Bug]: 出现了非常巨大的延迟 #95

@276562578

Description

@276562578

错误描述

使用过程中出现了非常巨大的延迟

重现步骤

登录微信和qq之后就产生了巨大的延迟

预期行为

希望延迟可以接受,现在这个太离谱了

截图

Image Image

操作系统

Debian 12

浏览器

Chrome

Docker版本

Docker version 20.10.24+dfsg1, build 297e128

Docker Compose版本

docker-compose version 1.29.2, build unknown

相关日志

wechat-selkies    | INFO:main:Initiating unified pipeline shutdown. . .
wechat-selkies    | WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request.
wechat-selkies    | INFO:data_websocket:Stopping pcmflux audio pipeline. . .
wechat-selkies    | INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
wechat-selkies    | INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
wechat-selkies    | [pcmflux] Stop requested. Cleaning up capture loop. . .
wechat-selkies    | [pcmflux] Audio capture loop finished. Resources released.
wechat-selkies    | INFO:data_websocket:pcmflux audio pipeline stopped.
wechat-selkies    | INFO:main:Unified pipeline shutdown complete.
wechat-selkies    | INFO:data_websocket:Data WS handler for ('127.0.0.1', 42072) finished all cleanup.
wechat-selkies    | INFO:data_websocket:Stats sender: WS connection closed.
wechat-selkies    | INFO:data_websocket:Legacy client ('127.0.0.1', 49432) connected. Role: controller, Slot: None
wechat-selkies    | INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 49432)
wechat-selkies    | INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 49432)
wechat-selkies    | INFO:data_websocket:Attempting to establish PulseAudio connection. . .
wechat-selkies    | INFO:data_websocket:PulseAudio connection established.
wechat-selkies    | INFO:data_websocket:Registering new client for display: primary
wechat-selkies    | INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
wechat-selkies    | INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
wechat-selkies    | INFO:gst_app_resize:Openbox detected. Applying xrdb for DPI 96.
wechat-selkies    | INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
wechat-selkies    | INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
wechat-selkies    | INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
wechat-selkies    | INFO:gst_app_resize:Found xsettingsd process with PID: 587.
wechat-selkies    | INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 587 to reload config.
wechat-selkies    | xsettingsd: Reloading configuration
wechat-selkies    | xsettingsd: Loaded 5 settings from /config/.xsettingsd
wechat-selkies    | INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
wechat-selkies    | INFO:data_websocket:Starting display reconfiguration. . .
wechat-selkies    | INFO:data_websocket:Calculating new extended desktop layout from ALL clients. . .
wechat-selkies    | INFO:data_websocket:Layout calculated: Total Size=1920x874. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 874}}
wechat-selkies    | INFO:data_websocket:Mode 1920x874 not found. Creating it.
wechat-selkies    | INFO:data_websocket:Defining logical monitors for the window manager. . .
wechat-selkies    | INFO:data_websocket:Starting separate capture instances for each ACTIVE display region. . .
wechat-selkies    | INFO:data_websocket:Client 'primary' is active. Starting its capture.
wechat-selkies    | INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x874, Offset=0x0
wechat-selkies    | INFO:main:Parsed DRI node '/dev/dri/renderD128' to index 0.
wechat-selkies    | INFO:data_websocket:Video chunk sender started for display 'primary'.
wechat-selkies    | INFO:data_websocket:SUCCESS: Capture started for 'primary'.
wechat-selkies    | INFO:data_websocket:New frame backpressure task started for display 'primary'.
wechat-selkies    | INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 874}
wechat-selkies    | INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
wechat-selkies    | INFO:data_websocket:Display reconfiguration finished successfully.
wechat-selkies    | INFO:data_websocket:Reconfiguration process complete (state unlocked).
wechat-selkies    | INFO:data_websocket:Initial client settings message processed by ws_handler.
wechat-selkies    | INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
wechat-selkies    | INFO:data_websocket:Starting pcmflux audio pipeline. . .
wechat-selkies    | INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
wechat-selkies    | INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
wechat-selkies    | INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
wechat-selkies    | [pcmflux] Attempting to connect to PulseAudio device: output.monitor. . .
wechat-selkies    | INFO:data_websocket:pcmflux audio capture started successfully.
wechat-selkies    | INFO:data_websocket:pcmflux audio chunk broadcasting task started.
wechat-selkies    | VAAPI Encoder Initialized successfully.
wechat-selkies    | X Shared Memory Extension available.
wechat-selkies    | XShm setup complete for 1920x874.
wechat-selkies    | CPU cores available: 12
wechat-selkies    | Stream settings active -> Res: 1920x874 | FPS: 60.0 | Stripes: 1 | Mode: H264 (VAAPI) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-selkies    | [pcmflux] SUCCESS: Connected to PulseAudio.
wechat-selkies    | INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
wechat-selkies    | INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
wechat-selkies    | INFO:data_websocket:Received redundant resize request for primary (1920x874). No action taken.
wechat-selkies    | [pcmflux] SUCCESS: Opus encoder created.
wechat-selkies    | [pcmflux] Capture loop started. Device: output.monitor, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, Debug Logging: Off, PCM Chunk: 3840 bytes
wechat-selkies    | [pcmflux] First non-silent audio chunk detected! Encoding. . .
wechat-selkies    | WARNING:webrtc_input:Error reading clipboard with xclip: 
wechat-selkies    | WARNING:webrtc_input:Error reading clipboard with xclip: 
wechat-selkies    | WARNING:webrtc_input:Error reading clipboard with xclip:

附加信息

暂无

检查清单

  • 我已经搜索了现有的issues,确认这不是重复问题
  • 我已经阅读了README和相关文档
  • 我提供的信息足够详细,可以帮助重现问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions