大家好,Ubuntu 社区,
我最近将系统从 Ubuntu 23.04 升级到 23.10,从那时起(1 周)我在 Wayland 下启动 GNOME 时遇到了问题。以下是我的系统详细信息和已采取的步骤:
系统信息:
- 设备:MS Surface Pro 5 (Intel Iris Plus Graphics 640)
- Ubuntu 版本:10/23
- 内核:Linux 6.5.6-surface
问题描述:
更新到 Ubuntu 23.10 后,GNOME 窗口管理器不再在 Wayland 下启动。但是,X.org 运行良好。不过,在我看来,显示质量较低(屏幕撕裂、鼠标闪烁、帧率低)
屏幕分辨率和缩放比例:
我使用分辨率为 1920x1080px、缩放比例为 100% 的外接显示器。内置屏幕的分辨率为 2736x1824px,缩放比例为 200%。已启用小数缩放。
已采取的措施:
- 所有可用的更新均已安装。
- 分数缩放已被禁用。
- 我尝试通过在“gdm3 custom.conf”中添加“WaylandEnable=True”来强制使用 Wayland。
- 自动登录(无需输入密码)已停用。
- 我尝试重新安装“libglib2.0-0”。
- 测试了各种 Linux 内核:Linux 6.5.6-surface、Linux 6.3.2-surface、Linux 6.5.0-9-generic(Wayland 并非在所有这些内核下都能运行)
从登录屏幕(gdm Debug)记录(journalctl)
核心转储
Okt 22 18:10:28 ckoever-Surface-Pro-5 kernel: gnome-shell[10804]: segfault at 78 ip 00007f9bfd197c2b sp 00007f9bccff7de0 error 4 in libglib-2.0.so.0.7800.0[7f9bfd103000+9a000] likely on CPU 3 (core 1, socket 0)
Okt 22 18:10:28 ckoever-Surface-Pro-5 kernel: Code: 0f 1e fa 53 89 fb e8 74 c6 f6 ff 83 f8 ff 74 02 5b c3 89 df e8 76 dd f6 ff 66 0f 1f 44 00 00 f3 0f 1e fa 41 54 55 48 89 fd 53 <48> 8b 1f 48 89 df 48 85 db 74 12 e8 45 cc f6 ff 85 c0 75 41 5b 5d
Okt 22 18:10:28 ckoever-Surface-Pro-5 systemd[1]: Started [email protected] - Process Core Dump (PID 10847/UID 0).
Okt 22 18:10:28 ckoever-Surface-Pro-5 systemd-coredump[10848]: Process 10744 (gnome-shell) of user 1000 dumped core.
Module libudev.so.1 from deb systemd-253.5-1ubuntu6.amd64
Module libsystemd.so.0 from deb systemd-253.5-1ubuntu6.amd64
Stack trace of thread 10804:
#0 0x00007f9bfd197c2b g_rw_lock_writer_lock (libglib-2.0.so.0 + 0xb2c2b)
#1 0x00007f9bfcd657c1 n/a (libmutter-13.so.0 + 0x1657c1)
#2 0x00007f9bfcd65df6 n/a (libmutter-13.so.0 + 0x165df6)
#3 0x00007f9bfcd8c803 n/a (libmutter-13.so.0 + 0x18c803)
#4 0x00007f9bfcd8e424 n/a (libmutter-13.so.0 + 0x18e424)
#5 0x00007f9bfd170331 n/a (libglib-2.0.so.0 + 0x8b331)
#6 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#7 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10744:
#0 0x00007f9bfc925c7d syscall (libc.so.6 + 0x125c7d)
#1 0x00007f9bfd1967e4 g_cond_wait (libglib-2.0.so.0 + 0xb17e4)
#2 0x00007f9bfcd862db n/a (libmutter-13.so.0 + 0x1862db)
#3 0x00007f9bfd2a7c33 g_initable_new_valist (libgio-2.0.so.0 + 0x7bc33)
#4 0x00007f9bfd2a7d1d g_initable_new (libgio-2.0.so.0 + 0x7bd1d)
#5 0x00007f9bfcd89764 n/a (libmutter-13.so.0 + 0x189764)
#6 0x00007f9bfd6ff2c3 n/a (libgobject-2.0.so.0 + 0x252c3)
#7 0x00007f9bfd701273 g_object_new_valist (libgobject-2.0.so.0 + 0x27273)
#8 0x00007f9bfd7015cd g_object_new (libgobject-2.0.so.0 + 0x275cd)
#9 0x00007f9bfcd606cf n/a (libmutter-13.so.0 + 0x1606cf)
#10 0x00007f9bfcc7604c n/a (libmutter-13.so.0 + 0x7604c)
#11 0x00007f9bfd2a7c33 g_initable_new_valist (libgio-2.0.so.0 + 0x7bc33)
#12 0x00007f9bfd2a7d1d g_initable_new (libgio-2.0.so.0 + 0x7bd1d)
#13 0x00007f9bfccc8d29 n/a (libmutter-13.so.0 + 0xc8d29)
#14 0x00007f9bfcccf821 n/a (libmutter-13.so.0 + 0xcf821)
#15 0x00007f9bfcccfd43 meta_context_setup (libmutter-13.so.0 + 0xcfd43)
#16 0x000055bf99d4ad11 n/a (gnome-shell + 0x3d11)
#17 0x00007f9bfc8280d0 __libc_start_call_main (libc.so.6 + 0x280d0)
#18 0x00007f9bfc828189 __libc_start_main_impl (libc.so.6 + 0x28189)
#19 0x000055bf99d4b355 n/a (gnome-shell + 0x4355)
Stack trace of thread 10761:
#0 0x00007f9bfc925c7d syscall (libc.so.6 + 0x125c7d)
#1 0x00007f9bfd197140 g_cond_wait_until (libglib-2.0.so.0 + 0xb2140)
#2 0x00007f9bfd10bc83 n/a (libglib-2.0.so.0 + 0x26c83)
#3 0x00007f9bfd172a8a n/a (libglib-2.0.so.0 + 0x8da8a)
#4 0x00007f9bfd170331 n/a (libglib-2.0.so.0 + 0x8b331)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10759:
#0 0x00007f9bfc925c7d syscall (libc.so.6 + 0x125c7d)
#1 0x00007f9bfd1967e4 g_cond_wait (libglib-2.0.so.0 + 0xb17e4)
#2 0x00007f9bfd10bcab n/a (libglib-2.0.so.0 + 0x26cab)
#3 0x00007f9bfd171e0a n/a (libglib-2.0.so.0 + 0x8ce0a)
#4 0x00007f9bfd170331 n/a (libglib-2.0.so.0 + 0x8b331)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10764:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9bfa93b3f9 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-115.so.0 + 0x93b3f9)
#3 0x00007f9bfa93d555 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-115.so.0 + 0x93d555)
#4 0x00007f9bfa2191ee n/a (libmozjs-115.so.0 + 0x2191ee)
#5 0x00007f9bfa217027 n/a (libmozjs-115.so.0 + 0x217027)
#6 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#7 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10779:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10760:
#0 0x00007f9bfc91a18f __GI___poll (libc.so.6 + 0x11a18f)
#1 0x00007f9bfd19b3cf n/a (libglib-2.0.so.0 + 0xb63cf)
#2 0x00007f9bfd13dd20 g_main_context_iteration (libglib-2.0.so.0 + 0x58d20)
#3 0x00007f9bfd13dd71 n/a (libglib-2.0.so.0 + 0x58d71)
#4 0x00007f9bfd170331 n/a (libglib-2.0.so.0 + 0x8b331)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10802:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10763:
#0 0x00007f9bfc91a18f __GI___poll (libc.so.6 + 0x11a18f)
#1 0x00007f9bfd19b3cf n/a (libglib-2.0.so.0 + 0xb63cf)
#2 0x00007f9bfd13dd20 g_main_context_iteration (libglib-2.0.so.0 + 0x58d20)
#3 0x00007f9bf861d20d n/a (libdconfsettings.so + 0x720d)
#4 0x00007f9bfd170331 n/a (libglib-2.0.so.0 + 0x8b331)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10803:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10765:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9bfa93b3f9 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-115.so.0 + 0x93b3f9)
#3 0x00007f9bfa93d555 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-115.so.0 + 0x93d555)
#4 0x00007f9bfa2191ee n/a (libmozjs-115.so.0 + 0x2191ee)
#5 0x00007f9bfa217027 n/a (libmozjs-115.so.0 + 0x217027)
#6 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#7 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10766:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9bfa93b3f9 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-115.so.0 + 0x93b3f9)
#3 0x00007f9bfa93d555 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-115.so.0 + 0x93d555)
#4 0x00007f9bfa2191ee n/a (libmozjs-115.so.0 + 0x2191ee)
#5 0x00007f9bfa217027 n/a (libmozjs-115.so.0 + 0x217027)
#6 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#7 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10767:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9bfa93b3f9 _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-115.so.0 + 0x93b3f9)
#3 0x00007f9bfa93d555 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-115.so.0 + 0x93d555)
#4 0x00007f9bfa2191ee n/a (libmozjs-115.so.0 + 0x2191ee)
#5 0x00007f9bfa217027 n/a (libmozjs-115.so.0 + 0x217027)
#6 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#7 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10762:
#0 0x00007f9bfc91a18f __GI___poll (libc.so.6 + 0x11a18f)
#1 0x00007f9bfd19b3cf n/a (libglib-2.0.so.0 + 0xb63cf)
#2 0x00007f9bfd14046f g_main_loop_run (libglib-2.0.so.0 + 0x5b46f)
#3 0x00007f9bfd33e59a n/a (libgio-2.0.so.0 + 0x11259a)
#4 0x00007f9bfd170331 n/a (libglib-2.0.so.0 + 0x8b331)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10778:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10777:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10780:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10799:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
Stack trace of thread 10798:
#0 0x00007f9bfc894076 __futex_abstimed_wait_common64 (libc.so.6 + 0x94076)
#1 0x00007f9bfc8969fe __pthread_cond_wait_common (libc.so.6 + 0x969fe)
#2 0x00007f9be4f1ed2d n/a (iris_dri.so + 0x11ed2d)
#3 0x00007f9be4ecf1bb n/a (iris_dri.so + 0xcf1bb)
#4 0x00007f9be4f1ec5b n/a (iris_dri.so + 0x11ec5b)
#5 0x00007f9bfc897ada start_thread (libc.so.6 + 0x97ada)
#6 0x00007f9bfc92847c __clone3 (libc.so.6 + 0x12847c)
ELF object binary architecture: AMD x86-64
Okt 22 18:10:28 ckoever-Surface-Pro-5 systemd[1]: [email protected]: Deactivated successfully.
Okt 22 18:10:28 ckoever-Surface-Pro-5 systemd[6134]: [email protected]: Main process exited, code=dumped, status=11/SEGV
答案1
从加鲁达Linux论坛主题:
我修好了它。我删除了我安装的每个扩展,然后删除了 ./config 中的 dconf 文件夹,它对我有用。