Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux xorg 进程 CPU会逐渐变成100%, 内存也在增大 #60

Open
ashimidashajia opened this issue Oct 17, 2023 · 3 comments
Open

Comments

@ashimidashajia
Copy link

非常感谢您对 chrome 硬解的贡献。

我在linux 下已经编译了最新的 Libva 和 media driver, chrome 添加--enable-features=VaapiVideoDecodeLinuxGL,启动chrome可以正常解码h265。 长稳测试时,发现 xorg 进程内存会变大,CPU占用率会逐渐达到100%。
如果不进行h265解码,一切正常。
这可能是什么原因导致的呢?有没有什么分析的方向?

@StaZhu
Copy link
Owner

StaZhu commented Oct 18, 2023

抱歉,回复比较晚,其他Codec有这个问题吗

@ashimidashajia
Copy link
Author

其他的我没测试过。但我在同样的Linux环境下,使用mpv播放(调用的也是VAAPI硬解)同一个h265编码的文件,长稳测试就不会出现这个问题。但用 chrome 循环播放进行长稳就会这样。

@ashimidashajia
Copy link
Author

xorg 进程内存会渐长,感觉像是什么东西没释放,越积累越多,导致CPU使用率越来越高。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants