[GH-ISSUE #4086] 在MacOS26中GPU资源异常占用问题 #2822

Open
opened 2026-02-27 00:54:23 +03:00 by kerem · 6 comments
Owner

Originally created by @lianshuze on GitHub (Oct 13, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/4086

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-2.3.58-mac-arm64.dmg

Platform detail (平台详情)

Darwin lianshuzes-MacBook-Pro.local 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:39 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8103 arm64

What steps will reproduce the bug?(重现问题的详细步骤)

打开electerm

What should have happened?(期望的结果)

GPU无异常消耗,低于10%

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

可以,目前发现的软件有:Termius、腾讯会议

Additional information(其他任何相关信息)

系统版本MacOS 26.0.1 (25A362)

打开electerm后,WindowServer GPU占用资源达到60%以上
Image

关闭electerm后,WindowServer GPU占用资源占用低于10%
Image

目前发现了一个开源框架“electron”存在此问题,并存在此问题的BUG报告
https://github.com/electron/electron/pull/48376

甚至出现了shamelectron
https://avarayr.github.io/shamelectron/

请维护者确认是否与electron存在关联

Originally created by @lianshuze on GitHub (Oct 13, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/4086 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-2.3.58-mac-arm64.dmg ### Platform detail (平台详情) Darwin lianshuzes-MacBook-Pro.local 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:39 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8103 arm64 ### What steps will reproduce the bug?(重现问题的详细步骤) 打开electerm ### What should have happened?(期望的结果) GPU无异常消耗,低于10% ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 可以,目前发现的软件有:Termius、腾讯会议 ### Additional information(其他任何相关信息) 系统版本MacOS 26.0.1 (25A362) 打开electerm后,WindowServer GPU占用资源达到60%以上 <img width="1439" height="834" alt="Image" src="https://github.com/user-attachments/assets/9624cd04-5e0b-407e-8f66-fbe090e4044a" /> 关闭electerm后,WindowServer GPU占用资源占用低于10% <img width="1439" height="834" alt="Image" src="https://github.com/user-attachments/assets/77c7b21a-7f4f-4d75-a2a5-ad9dea17bc6d" /> 目前发现了一个开源框架“electron”存在此问题,并存在此问题的BUG报告 https://github.com/electron/electron/pull/48376 甚至出现了shamelectron https://avarayr.github.io/shamelectron/ 请维护者确认是否与electron存在关联
Author
Owner

@zxdong262 commented on GitHub (Oct 13, 2025):

感谢反馈,我试试升级到最新版electron能不能解决

<!-- gh-comment-id:3396314357 --> @zxdong262 commented on GitHub (Oct 13, 2025): 感谢反馈,我试试升级到最新版electron能不能解决
Author
Owner

@lianshuze commented on GitHub (Oct 13, 2025):

将 Electron 升级到至少版本 v38.2.0、v37.6.0 和 v36.9.2

<!-- gh-comment-id:3396328781 --> @lianshuze commented on GitHub (Oct 13, 2025): 将 Electron 升级到至少版本 v38.2.0、v37.6.0 和 v36.9.2
Author
Owner

@zxdong262 commented on GitHub (Oct 13, 2025):

发布了,可以试试吗 https://electerm.html5beta.com

<!-- gh-comment-id:3397659515 --> @zxdong262 commented on GitHub (Oct 13, 2025): 发布了,可以试试吗 https://electerm.html5beta.com
Author
Owner

@lianshuze commented on GitHub (Oct 15, 2025):

Image

相对已经低很多了,但是它仍然具有较高的GPU资源消耗,红框标记的是关闭了之后GPU的下降,虽然可以接受,但我觉得它仍然处于异常消耗状态,至少我打开浏览器在编辑这个comment时,gpu的消耗和红框状态基本一致

Image
<!-- gh-comment-id:3404262213 --> @lianshuze commented on GitHub (Oct 15, 2025): <img width="1326" height="827" alt="Image" src="https://github.com/user-attachments/assets/8fc4762d-c47f-41d5-8688-ec56aa3af987" /> 相对已经低很多了,但是它仍然具有较高的GPU资源消耗,红框标记的是关闭了之后GPU的下降,虽然可以接受,但我觉得它仍然处于异常消耗状态,至少我打开浏览器在编辑这个comment时,gpu的消耗和红框状态基本一致 <img width="2093" height="1129" alt="Image" src="https://github.com/user-attachments/assets/b8cc0e67-3949-4e38-a7ed-a8b43135e8bc" />
Author
Owner

@lianshuze commented on GitHub (Oct 15, 2025):

Image
<!-- gh-comment-id:3404263394 --> @lianshuze commented on GitHub (Oct 15, 2025): <img width="1338" height="873" alt="Image" src="https://github.com/user-attachments/assets/bf56e23f-ae15-4900-9a54-79142bc30233" />
Author
Owner

@zxdong262 commented on GitHub (Dec 24, 2025):

可以试试最新版吗

<!-- gh-comment-id:3688849790 --> @zxdong262 commented on GitHub (Dec 24, 2025): 可以试试最新版吗
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2822
No description provided.