我已在我的新笔记本电脑(带有 Radeon Graphics 的 AMD Ryzen 7730U)上的 Ubuntu 上安装了 Gnome shell。我正在使用 WSL2。
输入 Ubuntu 命令行后,/usr/bin/gnome-session --session=gnome
我遇到了死机白屏。
我跑了journalctl /usr/bin/gnome-shell
,这是日志:
Feb 29 12:46:16 LAPTOP-6V6KHCPU gnome-shell[423]: Running GNOME Shell (using mutter 42.9) as a Wayland display server
Feb 29 12:46:16 LAPTOP-6V6KHCPU gnome-shell[423]: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Feb 29 12:46:16 LAPTOP-6V6KHCPU gnome-shell[423]: Failed to open gpu '/dev/dri/card0': No suitable mode setting backend>
Feb 29 12:46:16 LAPTOP-6V6KHCPU org.gnome.Shell.desktop[423]: Failed to setup: No GPUs found
-- Boot 6d3b14d8e9fd4a639431140796d325fe --
Feb 29 14:14:33 LAPTOP-6V6KHCPU gnome-shell[382]: Running GNOME Shell (using mutter 42.9) as a Wayland display server
Feb 29 14:14:33 LAPTOP-6V6KHCPU gnome-shell[382]: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Feb 29 14:14:33 LAPTOP-6V6KHCPU gnome-shell[382]: Failed to open gpu '/dev/dri/card0': No suitable mode setting backend>
Feb 29 14:14:33 LAPTOP-6V6KHCPU org.gnome.Shell.desktop[382]: Failed to setup: No GPUs found
Feb 29 15:12:57 LAPTOP-6V6KHCPU gnome-shell[384]: Running GNOME Shell (using mutter 42.9) as a Wayland display server
Feb 29 15:12:57 LAPTOP-6V6KHCPU gnome-shell[384]: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Feb 29 15:12:57 LAPTOP-6V6KHCPU gnome-shell[384]: Failed to open gpu '/dev/dri/card0': No suitable mode setting backend>
Feb 29 15:12:57 LAPTOP-6V6KHCPU org.gnome.Shell.desktop[384]: Failed to setup: No GPUs found
-- Boot 808ffab7ca6442b197b97e545247e583 --
Feb 29 16:37:30 LAPTOP-6V6KHCPU gnome-shell[395]: Running GNOME Shell (using mutter 42.9) as a Wayland display server
Feb 29 16:37:30 LAPTOP-6V6KHCPU gnome-shell[395]: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Feb 29 16:37:30 LAPTOP-6V6KHCPU gnome-shell[395]: Failed to open gpu '/dev/dri/card0': No suitable mode setting backend>
Feb 29 16:37:30 LAPTOP-6V6KHCPU org.gnome.Shell.desktop[395]: Failed to setup: No GPUs found
我认为这与 GPU 有关,但我不知道如何修复它。