从 20.04 升级到 22.04 - ubuntu 短暂锁定了我的 UI

从 20.04 升级到 22.04 - ubuntu 短暂锁定了我的 UI

感觉我不再收到 UI 事件或无法单击任何内容。好像我和所有应用程序之间有一个不可见的窗口。我可以通过按下 Windows 键并重新选择任何应用程序来退出它。

我在第三台显示器上运行tail -f /var/log/syslog,我没有看到那里的任何事件与冻结之间存在很强的相关性。最后两个与某种 CRON 作业有关:

Jan 27 23:17:01 AypahyosComputer CRON[79647]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)

Jan 27 23:30:01 AypahyosComputer CRON[80218]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)

不确定该用它做什么。

由于这是最近更新的结果,因此其他用户可能会对此感兴趣。

有什么想法可以进一步缩小原因范围吗?

编辑:将窗口从屏幕 1 移动到屏幕 2 时再次冻结

Jan 27 23:54:20 AypahyosComputer gnome-shell[2424]: Window manager warning: last_user_time (58371975) is greater than comparison timestamp (58371581).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Jan 27 23:54:20 AypahyosComputer gnome-shell[2424]: Window manager warning: 0x240000a appears to be one of the offending windows with a timestamp of 58371975.  Working around...
Jan 27 23:54:20 AypahyosComputer gnome-shell[2424]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x56495d472370] is on because it needs an allocation.
Jan 27 23:54:20 AypahyosComputer gnome-shell[2424]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x56495d87dee0] is on because it needs an allocation.
Jan 27 23:54:20 AypahyosComputer gnome-shell[2424]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x56495f8e6350] is on because it needs an allocation.

编辑:下次打开终端时冻结

Jan 27 23:58:17 AypahyosComputer systemd[2235]: Started Application launched by gnome-shell.
Jan 27 23:58:17 AypahyosComputer systemd[2235]: Started VTE child process 82078 launched by gnome-terminal-server process 72869.

编辑:这个冻结看起来很有趣,因为它与例外情况密切相关

Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x56496dcc9bd0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: == Stack trace for context 0x56495cf62180 ==
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #0   7ffe8950d7f0 b   resource:///org/gnome/shell/ui/workspacesView.js:639 (2cdd8055bf10 @ 33)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #1   7ffe8950d940 b   resource:///org/gnome/shell/ui/workspacesView.js:686 (2cdd8055bfb0 @ 488)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #2   56495f671038 i   resource:///org/gnome/shell/ui/workspace.js:855 (2cdd805072e0 @ 370)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #3   56495f670fb0 i   resource:///org/gnome/shell/ui/workspace.js:806 (2cdd80507240 @ 17)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #4   7ffe895118b0 b   resource:///org/gnome/shell/ui/workspacesView.js:1016 (2cdd8055ca10 @ 124)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #5   56495f670f20 i   resource:///org/gnome/shell/ui/overviewControls.js:715 (64cadfbcc40 @ 39)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #6   56495f670e98 i   resource:///org/gnome/shell/ui/layout.js:347 (1ede62830510 @ 22)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #7   56495f670e08 i   resource:///org/gnome/shell/ui/overview.js:586 (64cadfbaab0 @ 170)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #8   56495f670d88 i   resource:///org/gnome/shell/ui/overview.js:564 (64cadfbaa60 @ 12)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #9   56495f670d08 i   resource:///org/gnome/shell/ui/overviewControls.js:753 (64cadfbcd80 @ 55)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #10   7ffe89514d80 b   resource:///org/gnome/shell/ui/environment.js:151 (1ede628cc4c0 @ 39)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #11   7ffe895154a0 b   resource:///org/gnome/shell/ui/environment.js:317 (1ede628cc9c0 @ 14)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: == Stack trace for context 0x56495cf62180 ==
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #0   7ffe8950d940 b   resource:///org/gnome/shell/ui/workspacesView.js:688 (2cdd8055bfb0 @ 505)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #1   56495f671038 i   resource:///org/gnome/shell/ui/workspace.js:855 (2cdd805072e0 @ 370)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #2   56495f670fb0 i   resource:///org/gnome/shell/ui/workspace.js:806 (2cdd80507240 @ 17)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #3   7ffe895118b0 b   resource:///org/gnome/shell/ui/workspacesView.js:1016 (2cdd8055ca10 @ 124)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #4   56495f670f20 i   resource:///org/gnome/shell/ui/overviewControls.js:715 (64cadfbcc40 @ 39)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #5   56495f670e98 i   resource:///org/gnome/shell/ui/layout.js:347 (1ede62830510 @ 22)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #6   56495f670e08 i   resource:///org/gnome/shell/ui/overview.js:586 (64cadfbaab0 @ 170)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #7   56495f670d88 i   resource:///org/gnome/shell/ui/overview.js:564 (64cadfbaa60 @ 12)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #8   56495f670d08 i   resource:///org/gnome/shell/ui/overviewControls.js:753 (64cadfbcd80 @ 55)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x56496dcc9bd0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #9   7ffe89514d80 b   resource:///org/gnome/shell/ui/environment.js:151 (1ede628cc4c0 @ 39)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #10   7ffe895154a0 b   resource:///org/gnome/shell/ui/environment.js:317 (1ede628cc9c0 @ 14)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: Object St.Button (0x56496868eeb0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: Object St.Label (0x56496d4fc400), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: == Stack trace for context 0x56495cf62180 ==
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #0   56496d453018 i   resource:///org/gnome/shell/ui/windowPreview.js:566 (2cdd8050b420 @ 10)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: == Stack trace for context 0x56495cf62180 ==
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #0   56496d453018 i   resource:///org/gnome/shell/ui/windowPreview.js:567 (2cdd8050b420 @ 36)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: == Stack trace for context 0x56495cf62180 ==
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: #0   56496d453018 i   resource:///org/gnome/shell/ui/windowPreview.js:570 (2cdd8050b420 @ 77)
Jan 28 00:15:33 AypahyosComputer gnome-shell[2424]: Object .Gjs_ui_windowPreview_WindowPreview (0x5649686cbc20), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.

编辑:当发生冻结时,有关 nvidia 的有趣错误

Jan 28 00:55:02 AypahyosComputer kernel: [62015.480275] NVRM: API mismatch: the client has the version 515.86.01, but
Jan 28 00:55:02 AypahyosComputer kernel: [62015.480275] NVRM: this kernel module has the version 470.161.03.  Please
Jan 28 00:55:02 AypahyosComputer kernel: [62015.480275] NVRM: make sure that this kernel module and all NVIDIA driver
Jan 28 00:55:02 AypahyosComputer kernel: [62015.480275] NVRM: components have the same version.

我将确保我的 nvidia 驱动程序组件达到标准,并查看是否能让错误消失。

答案1

看起来,删除所有 nvidia 并重新安装 nvidia 驱动程序才能解决这些冻结问题。

相关内容