gnome-shell 3.26.1 持续使用 20-30% CPU

Chr*_*ian 15 gnome-shell 17.10

我在XPS13 9360上从 17.04 升级到 17.10,并且和其他人一样,有很多问题。这一个现在是过程

/usr/bin/gnome-shell
Run Code Online (Sandbox Code Playgroud)

有一种方法可以使 CPU 使用率始终保持在 20% 到 30% 之间

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                     
2026 xxxxxx   20   0 4264020 703284 315308 S  29,6  4,3   9:32.37 gnome-shell                                                                                                 
Run Code Online (Sandbox Code Playgroud)

使用的版本是

$ gnome-shell --version
GNOME Shell 3.26.1
Run Code Online (Sandbox Code Playgroud)

这在系统启动后直接发生,除了运行终端htop(除了一些启动应用程序,如 Dropbox)外,没有任何打开,但显然没有繁重的图形程序。我不知道从哪里开始,这里有一些关于我的显卡的信息

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

$ glxinfo | grep -i render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 
Run Code Online (Sandbox Code Playgroud)

请让我知道我还应该发布什么来追踪这个问题——非常感谢!

Chr*_*ian 12

事实证明,gnome-shell当关闭系统监视器扩展https://extensions.gnome.org/extension/120/system-monitor/时,该进程下降到 10% 以下。

当将刷新时间增加到 1 秒时,它也保持在 10% 以下,而一旦我将它移到 1 秒以下,它就会再次上升。