Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76368 - [gnome-shell] doesn't display after upgrade to 43 / gstreamer related
Attached to Project:
Arch Linux
Opened by Guoyi (malacology) - Tuesday, 01 November 2022, 08:42 GMT
Last edited by Toolybird (Toolybird) - Friday, 04 November 2022, 21:12 GMT
Opened by Guoyi (malacology) - Tuesday, 01 November 2022, 08:42 GMT
Last edited by Toolybird (Toolybird) - Friday, 04 November 2022, 21:12 GMT
|
DetailsDescription:
gdm can't be displaied after mutter and gnome-shell upgrade to 43 but it can be displaied after editing the configure file `/etc/gdm/custom.conf` ``` # GDM configuration storage [daemon] # Uncomment the line below to force the login screen to use Xorg WaylandEnable=false [security] [xdmcp] [chooser] [debug] # Uncomment the line below to turn on debugging Enable=true ``` XDG_SESSION_TYPE=wayland dbus-run-session gnome-session frozen from tty Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 04 November 2022, 21:12 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-shell 1:43.1-1
Friday, 04 November 2022, 21:12 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-shell 1:43.1-1
journalctl --boot=-1
[snip]
Nov 01 14:52:14 sesame login[363]: LOGIN ON tty1 BY pbryan
Nov 01 14:52:14 sesame kernel: fscrypt: AES-256-CTS-CBC using implementation "cts-cbc-aes-aesni"
Nov 01 14:52:14 sesame kernel: fscrypt: AES-256-XTS using implementation "xts-aes-aesni"
Nov 01 14:52:18 sesame systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Nov 01 14:52:18 sesame audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? >
Nov 01 14:52:18 sesame systemd[728]: Created slice User Core Session Slice.
Nov 01 14:52:19 sesame systemd[728]: Starting D-Bus User Message Bus...
Nov 01 14:52:19 sesame systemd[728]: Started D-Bus User Message Bus.
Nov 01 14:52:19 sesame dbus-daemon[785]: [session uid=1001 pid=785] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.0' (uid=1001 pid=76>
Nov 01 14:52:19 sesame systemd[728]: Starting Virtual filesystem service...
Nov 01 14:52:19 sesame dbus-daemon[785]: [session uid=1001 pid=785] Successfully activated service 'org.gtk.vfs.Daemon'
Nov 01 14:52:19 sesame systemd[728]: Started Virtual filesystem service.
Nov 01 14:52:19 sesame dbus-daemon[785]: [session uid=1001 pid=785] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.4' (uid=1001 pid=769 >
Nov 01 14:52:19 sesame systemd[728]: Starting Accessibility services bus...
Nov 01 14:52:19 sesame dbus-daemon[785]: [session uid=1001 pid=785] Successfully activated service 'org.a11y.Bus'
Nov 01 14:52:19 sesame systemd[728]: Started Accessibility services bus.
Nov 01 14:52:22 sesame systemd-logind[351]: Power key pressed short.
Nov 01 14:52:22 sesame systemd-logind[351]: Powering Off...
Nov 01 14:52:22 sesame systemd-logind[351]: System is powering down.
[snip]
Looks to me like gnome-shell is starting normally, but just not rendering on screen.
Using Wayland display name 'wayland-0'
I see the following lines which are not showing in the log provided by @jockl:
gnome-shell[449]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
gnome-shell[449]: Will monitor session 1
But I have no idea if this is significant or not.
Are folks using early KMS? [1]. If not, please try. What happens if you ssh login from another machine and have a poke around? Maybe try restarting the gdm service? Maybe even add a service delay as per
FS#63763?[1] https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start
pbryan 823 742 1 22:21 tty1 00:00:00 gnome-shell --wayland
pbryan 840 719 0 22:21 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
pbryan 846 719 0 22:21 ? 00:00:00 /usr/lib/gvfsd
pbryan 851 719 0 22:21 ? 00:00:00 /usr/lib/gvfsd-fuse /run/user/1001/gvfs -f
pbryan 859 719 0 22:21 ? 00:00:00 /usr/lib/at-spi-bus-launcher
pbryan 865 859 0 22:21 ? 00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1001/at-spi/bus
pbryan 875 823 0 22:21 tty1 00:00:00 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1001/.mutter-Xwaylandauth.HG6YU1 -listenfd 4 -listenfd 5 -displayfd 6 -initfd 7
pbryan 883 823 0 22:21 tty1 00:00:00 /usr/lib/gstreamer-1.0/gst-plugin-scanner -l /usr/bin/gnome-shell
What is Xwayland (pid 875) doing here?
Trying to `kill 823` had no effect. I had to `kill -9 823` to stop the process. Once stopped, I had control of tty1 back.
1. Add kms to HOOKS array in /etc/mkinitcpio.conf.
2. Run `mkinitcpio -p linux`.
3. Reboot.
4. Login to tty1 as user.
5. Run `gnome-shell --wayland`.
Same behavior observed.
Everything I am experiencing has already been said, but maybe this still helps somehow:
Booting straight into GDM Wayland results in just showing a freezed `_` cursor and no input being accepted (except pressing the power button, the system shuts down cleanly).
Forcing GDM in using X11 starts up GDM as it should.
Starting Gnome Wayland via GDM X11 results in a freezed screen.
It is the same with starting Gnome Wayland via another tty with `gnome-shell --wayland`. There is no error thrown or similar, just one message before the freeze showing up on screen: `libmutter-Message: 09:40:04.704: Running Gnomen Shell (using mutter 43.0) as a Wayland display server`.
`sudo journalctl -b -1 -r` output can be found in the file attached. (just pasted the snippet from logging into the other tty, starting `gnome-shell --wayland` and then pressing the power button to cleanly shut down).
This is happening on a Lenovo ThinkPad P14s Gen 2a (AMD Ryzen 7 PRO 5850U, 4k non-touch display).
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5710
Debian patch that reportedly (temporarily?) addresses this issue:
https://salsa.debian.org/gnome-team/gnome-shell/-/merge_requests/66
Alternative, uninstalling gstreamer-vaapi also worked for me as workaround.
Can confirm, after removing gstreamer-vaapi Gnome Wayland and GDM are starting (with a small noticable delay of a couple of seconds, but good enough as a workaround until we are getting the upstream patch).
However, after reading several of the linked issues in other distros, I realized that I did not have the VA-API driver package for my GPU installed. For my system (12th gen Intel), installing the intel-media-driver package resolved the issue and allowed me to boot GNOME 43 with gstreamer-vaapi.
https://wiki.archlinux.org/title/Hardware_video_acceleration#Intel