[Bug][macOS] OpenBitFun 运行时 WindowServer GPU 持续偏高,撤销屏幕录制权限后下降
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- macos, rust
- Área
- desktop, performance
Línea de trabajo
Start by tracing the macOS screen capture and Computer Use paths, then compare their capture stream lifetimes with the related WebView GPU report in issue #3585. The measurements link elevated WindowServer GPU use to OpenBitFun and show it drops after screen recording permission is revoked, but do not identify the cause. Done means reproducing the load and locating whether an idle capture stream or WebView redraw contributes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
环境
- OpenBitFun 1.0.8
- Mac17,9,Apple M5 Pro(16 核 GPU),48 GB 内存
- macOS 27.2(26B123)
- 内置屏幕 3024×1964 @ 120 Hz(BetterDisplay 配置)
问题描述
OpenBitFun 运行时,全局 GPU Device Utilization 长时间约 66–73%,Activity Monitor 将大部分 GPU 使用率记在 WindowServer 上;OpenBitFun 主进程和它的图形进程自身几乎没有 GPU 使用率。
撤销 OpenBitFun 的“屏幕录制”权限并重启应用后,GPU 使用率明显下降,但仍高于完全退出应用时的基线。这表明屏幕录制权限或与其相关的路径可能参与了问题;目前尚不能确认具体是活跃的 ScreenCaptureKit 流、WebView 重绘,还是其他机制。
复现与测量
同一会话、约 2 秒间隔采样:
| 状态 | 样本数 | GPU Device Utilization | WindowServer CPU |
|---|---|---|---|
| OpenBitFun 运行(退出前) | 10 | 66.7% | 43.1% |
| OpenBitFun 完全退出 | 79 | 23.1% | 18.4% |
| OpenBitFun 重开(撤销权限前) | 30 | 66.7% | 46.3% |
| 撤销屏幕录制权限并重启后 | 8 | 30–36%(平均约 33%) | Activity Monitor 中约 48.5%* |
撤销权限后的 8 次连续 ioreg 读数为 35、36、36、32、30、31、31、31%。Activity Monitor 同期将 WindowServer GPU 显示为约 27.6%;OpenBitFun 主进程及 OpenBitFun Graphics and Media 进程显示 0% GPU,WebContent 进程也显示 0% GPU。
其他对照:
- ⌘H 隐藏 OpenBitFun 窗口后,权限撤销前仍约 66–73%。
- 显示器休眠后,权限撤销前 GPU 仍会回升到约 65%。
- 关闭 ToDesk 对 GPU 使用率没有可测影响。
* WindowServer CPU 是 Activity Monitor 当前瞬时读数;前面三组 CPU 数据来自同一轮采样口径,最后一组不是严格同口径对照。
期望结果
应用空闲或不需要屏幕内容时,不应持续触发足以让 WindowServer GPU 长时间处于高位的工作;若捕获流只在特定功能期间需要,应在不再需要时停止。
希望协助确认
能否检查 macOS 屏幕捕获/Computer Use 路径是否会在空闲时持续持有捕获流,或是否存在会造成类似 WindowServer GPU 负载的 WebView 重绘循环?撤销屏幕录制权限后重启使占用从约 67% 降至约 33%,但未降至完全退出应用时的约 23%,所以这应视为强相关线索,而非已确认的根因。
相关问题:#3585(窗口可见时 WebView 持续高 GPU;本报告的占用在隐藏窗口/显示器休眠时仍存在,且与屏幕录制权限变化相关)。
- Lenguaje dominante
- Rust
- Estrellas
- 2.3k
- Forks
- 236
- Merge medio
- 13 h 23 min
- PR fusionados (30 d)
- 335
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GCWing/OpenBitFun
-
[Feature]: 模型服务表单缺少「图像生成」分类入口 —— 后端已支持 default_models.image_generationPosiblemente ocupada @skyfireitdiy la tomó hace 20 días. Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 74/100
GCWing/OpenBitFun#3279 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Bug] 切换会话/工作区时 manage_dialog_queue 返回 "Session is not loaded on the execution host"Posiblemente ocupada @Raing5Days la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
GCWing/OpenBitFun#3729 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
GCWing/OpenBitFun#3728 ·
Los mantenedores suelen responder en 1 día
-
[Feature]: 让magpie 可以识别Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
GCWing/OpenBitFun#3727 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
GCWing/OpenBitFun#3724 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de GCWing/OpenBitFun
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
`nsh-core` fails to compile when taffy's default `calc` feature is enabled elsewhere in the graphAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
longbridge/nsh#966 ·
Los mantenedores suelen responder en 1 día
-
Windows docs: pin a tested ConPTY version for Kitty graphics; 1.25.260930003 corrupts large uploadsAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
raphamorim/rio#2021 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
hydro-project/infinity#187 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
near/near-sdk-rs#1676 ·
Los mantenedores suelen responder en 2 días