なぜ画面がフリーズしてしまうのでしょうか?

なぜ画面がフリーズしてしまうのでしょうか?

最近、22.04 インストールが特定の方法でフリーズし始めました:

  1. 画面がフリーズしました。
  2. キーボード入力は何も実行されないようです。
  3. しかしコンピュータはまだ動作しています。

私はそれを知っています3これは本当です。Zoom 通話中にフリーズしたことがあります。通話は継続し、人々の会話は聞こえますが、前述したように、画面はフリーズし、キーボード (例: Ctrl+ Alt+ F1) で何をしても何も起こりません。

23.04 にアップグレードしましたが、問題は解決していません。

フリーズ前のシステム ログを調べましたが、何が起こっているのかわかりません。

質問への回答:

  1. デフォルトのグラフィック ドライバーは変更していません。
  2. 私のカーネルは 6.2.xxx です。

アップデート:

Firefoxと関係があると思います。新しい以下にログを記入してください(文字数の関係で古いものは削除しました)。すぐにFirefoxを開いた後。

Oct 11 10:20:14 thinkpad-E580 systemd[3585]: Started app-gnome-firefox-7954.scope - Application launched by gnome-shell.
Oct 11 10:20:15 thinkpad-E580 systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Oct 11 10:20:15 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=18.67.91.56 DST=192.168.1.107 LEN=52 TOS=0x00 PREC=0x00 TTL=249 ID=56662 PROTO=TCP SPT=80 DPT=51182 WINDOW=131 RES=0x00 ACK FIN URGP=0 
Oct 11 10:20:15 thinkpad-E580 firefox.desktop[7954]: ATTENTION: default value of option mesa_glthread overridden by environment.
Oct 11 10:20:15 thinkpad-E580 firefox.desktop[7954]: ATTENTION: default value of option mesa_glthread overridden by environment.
Oct 11 10:20:16 thinkpad-E580 dbus-daemon[3006]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.92' (uid=1000 pid=7954 comm="/usr/local/bin/firefox" label="unconfined")
Oct 11 10:20:16 thinkpad-E580 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
Oct 11 10:20:16 thinkpad-E580 dbus-daemon[3006]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 11 10:20:16 thinkpad-E580 systemd[1]: Started systemd-timedated.service - Time & Date Service.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Supervising 6 threads of 3 processes of 1 users.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Supervising 6 threads of 3 processes of 1 users.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Supervising 6 threads of 3 processes of 1 users.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Supervising 6 threads of 3 processes of 1 users.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Supervising 6 threads of 3 processes of 1 users.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Supervising 6 threads of 3 processes of 1 users.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Successfully made thread 8192 of process 7954 owned by '1000' RT at priority 10.
Oct 11 10:20:16 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:17 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:19 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:19 thinkpad-E580 rtkit-daemon[3934]: Supervising 7 threads of 4 processes of 1 users.
Oct 11 10:20:35 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=142.250.71.67 DST=192.168.1.107 LEN=52 TOS=0x00 PREC=0x00 TTL=122 ID=6468 PROTO=TCP SPT=80 DPT=46552 WINDOW=261 RES=0x00 ACK FIN URGP=0 
Oct 11 10:20:46 thinkpad-E580 systemd[1]: systemd-timedated.service: Deactivated successfully.
Oct 11 10:20:46 thinkpad-E580 systemd-logind[3061]: Power key pressed short.
Oct 11 10:20:48 thinkpad-E580 systemd-logind[3061]: Power key pressed short.
Oct 11 10:20:51 thinkpad-E580 systemd-logind[3061]: Power key pressed short.
Oct 11 10:21:00 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=34.117.65.55 DST=192.168.1.107 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=26377 PROTO=TCP SPT=443 DPT=52442 WINDOW=285 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:01 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=34.117.65.55 DST=192.168.1.107 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=26378 PROTO=TCP SPT=443 DPT=52442 WINDOW=285 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:01 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=34.117.65.55 DST=192.168.1.107 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=26379 PROTO=TCP SPT=443 DPT=52442 WINDOW=285 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:01 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=34.117.65.55 DST=192.168.1.107 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=26380 PROTO=TCP SPT=443 DPT=52442 WINDOW=285 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:02 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=34.117.65.55 DST=192.168.1.107 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=26381 PROTO=TCP SPT=443 DPT=52442 WINDOW=285 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:03 thinkpad-E580 systemd-logind[3061]: Power key pressed short.
Oct 11 10:21:04 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=142.250.71.67 DST=192.168.1.107 LEN=52 TOS=0x00 PREC=0x00 TTL=122 ID=6469 PROTO=TCP SPT=80 DPT=46552 WINDOW=261 RES=0x00 ACK FIN URGP=0 
Oct 11 10:21:04 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=34.117.65.55 DST=192.168.1.107 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=26382 PROTO=TCP SPT=443 DPT=52442 WINDOW=285 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:08 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=34.117.65.55 DST=192.168.1.107 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=26383 PROTO=TCP SPT=443 DPT=52442 WINDOW=285 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:10 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:98:da:c4:a8:9a:a6:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
Oct 11 10:21:21 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=198.252.206.25 DST=192.168.1.107 LEN=113 TOS=0x00 PREC=0x00 TTL=47 ID=37646 DF PROTO=TCP SPT=443 DPT=42052 WINDOW=63 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:22 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=198.252.206.25 DST=192.168.1.107 LEN=113 TOS=0x00 PREC=0x00 TTL=47 ID=37647 DF PROTO=TCP SPT=443 DPT=42052 WINDOW=63 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:26 thinkpad-E580 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=8c:16:45:27:f1:31:98:da:c4:a8:9a:a6:08:00 SRC=198.252.206.25 DST=192.168.1.107 LEN=113 TOS=0x00 PREC=0x00 TTL=47 ID=37650 DF PROTO=TCP SPT=443 DPT=42052 WINDOW=63 RES=0x00 ACK PSH URGP=0 
Oct 11 10:21:26 thinkpad-E580 systemd-logind[3061]: Power key pressed short.

答え1

残念ながら、ログには問題の原因を明確に示すものはありません。

この問題は、多くの場合、不安定なグラフィック ドライバーが原因で発生します。グラフィック ドライバーを変更すると、OS が機能しなくなる可能性があります (そのため、最初にバックアップを作成してください)。ただし、Ubuntu の「追加ドライバー」アプリにアクセスして、代替ドライバーを試すことができます。それでも問題が解決しない場合は、メーカーがドライバーを提供している場合は、メーカーから直接ドライバーをインストールすることもできます。

この問題はメモリ (RAM) の不良によっても発生する可能性がありますが、その場合、ズームなどが動作し続けることは期待できません。これをテストするには、memtest86+ などのツールを使用できます。

関連情報