Bug#958025: gnome-shell: Wayland session never starts

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#958025: gnome-shell: Wayland session never starts

Sam Morris
Package: gnome-shell
Version: 3.36.1-5
Severity: important

Since upgrading to 3.36, once GDM starts the login screen does not for
90 seconds. During this time trying to switch to a different VTY with
Ctrl+Alt+F5 etc. doesn't work.

With 'journalctl _UID=$(id -u Debian-gdm)' I see:

    Apr 17 15:16:09 systemd[20957]: gnome-session.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-pre.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-initialized.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: [hidden email]: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-failed.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-wayland.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: [hidden email]: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
    Apr 17 15:16:09 gnome-session[26371]: gnome-session-binary[26371]: WARNING: Error creating FIFO: File exists
    Apr 17 15:16:09 systemd[20957]: Reached target Session services which should run early before the graphical session is brought up.
    Apr 17 15:16:09 gnome-session-binary[26371]: WARNING: Error creating FIFO: File exists
    Apr 17 15:16:09 systemd[20957]: Starting Monitor Session leader for GNOME Session...
    Apr 17 15:16:09 systemd[20957]: Started Monitor Session leader for GNOME Session.
    Apr 17 15:16:09 systemd[20957]: Reached target Tasks to be run before GNOME Session starts.
    Apr 17 15:16:09 gnome-session-c[26378]: Error creating FIFO: File exists
    Apr 17 15:16:09 systemd[20957]: Starting GNOME Session Manager (session: gnome-login)...
    Apr 17 15:16:09 gnome-session[26380]: gnome-session-binary[26380]: WARNING: Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary
    Apr 17 15:16:09 gnome-session-binary[26380]: WARNING: Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary
    Apr 17 15:16:09 systemd[20957]: Started GNOME Session Manager (session: gnome-login).
    Apr 17 15:16:09 systemd[20957]: Reached target GNOME Session Manager is ready.
    Apr 17 15:16:09 systemd[20957]: Starting GNOME Shell on Wayland...
    Apr 17 15:16:09 gnome-shell[26385]: Failed to obtain high priority context
    Apr 17 15:16:09 gnome-shell[26385]: Failed to obtain high priority context

... then the delay, then:

    Apr 17 15:17:39 systemd[20957]: gnome-shell-wayland.service: start operation timed out. Terminating.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: State 'stop-sigterm' timed out. Killing.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Killing process 26385 (gnome-shell) with signal SIGKILL.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Killing process 26389 (gdbus) with signal SIGKILL.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Main process exited, code=killed, status=9/KILL
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Failed with result 'timeout'.
    Apr 17 15:17:44 systemd[20957]: Failed to start GNOME Shell on Wayland.
    Apr 17 15:17:44 systemd[20957]: Dependency failed for GNOME Shell on Wayland.
    Apr 17 15:17:44 systemd[20957]: Dependency failed for GNOME Wayland Session.
    Apr 17 15:17:44 systemd[20957]: Dependency failed for GNOME Wayland Session (session: gnome-login).
    Apr 17 15:17:44 systemd[20957]: [hidden email]: Job [hidden email]/start failed with result 'dependency'.
    Apr 17 15:17:44 systemd[20957]: gnome-session-wayland.target: Job gnome-session-wayland.target/start failed with result 'dependency'.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.target: Job gnome-shell-wayland.target/start failed with result 'dependency'.

I don't know of a good way to debug what is causing gnome-shell to get
stuck. I did get this backtrace from it:

    #0  0x00007f24c9031b4f in __GI___poll (fds=0x7ffd85431130, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29                                              
    #1  0x00007f24c5d2ed97 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1                                                                                          
    #2  0x00007f24c5d2cb31 in xcb_connect_to_fd () from /usr/lib/x86_64-linux-gnu/libxcb.so.1                                                                            
    #3  0x00007f24c5d30ac2 in xcb_connect_to_display_with_auth_info () from /usr/lib/x86_64-linux-gnu/libxcb.so.1                                                        
    #4  0x00007f24c8acfdb2 in _XConnectXCB () from /usr/lib/x86_64-linux-gnu/libX11.so.6                                                                                
    #5  0x00007f24c8ac0972 in XOpenDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6                                                                                
    #6  0x00007f24c761e074 in atspi_get_a11y_bus () from /usr/lib/x86_64-linux-gnu/libatspi.so.0                                                                        
    #7  0x00007f24c954260c in atk_bridge_adaptor_init () from /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0                                                          
    #8  0x00005639d6a786c7 in ?? ()                                                                                                                                      
    #9  0x00007f24c8f65e0b in __libc_start_main (main=0x5639d6a78470, argc=1, argv=0x7ffd854316b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
        stack_end=0x7ffd854316a8) at ../csu/libc-start.c:308                                                                                                            
    #10 0x00005639d6a78a1a in ?? ()                                                                                                                                      

... it seems suspicious that trying to connect to (presumably) Xwayland
on the login screen, but I no longer have a working wayland-based login
screen to check. :)

-- System Information:
Debian Release: 10.3
  APT prefers stable-debug
  APT policy: (570, 'stable-debug'), (570, 'stable'), (550, 'testing-debug'), (550, 'testing'), (530, 'unstable-debug'), (530, 'unstable'), (500, 'stable-updates'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_USER
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
ii  evolution-data-server                        3.36.1-1
ii  gir1.2-accountsservice-1.0                   0.6.45-2
ii  gir1.2-atspi-2.0                             2.30.0-7
ii  gir1.2-freedesktop                           1.64.1-1
ii  gir1.2-gcr-3                                 3.28.1-1
ii  gir1.2-gdesktopenums-3.0                     3.36.0-1
ii  gir1.2-gdm-1.0                               3.34.1-3
ii  gir1.2-geoclue-2.0                           2.5.2-1
ii  gir1.2-glib-2.0                              1.64.1-1
ii  gir1.2-gnomebluetooth-1.0                    3.28.2-4~deb10u1
ii  gir1.2-gnomedesktop-3.0                      3.36.1-2
ii  gir1.2-gtk-3.0                               3.24.5-1
ii  gir1.2-gweather-3.0                          3.28.2-2
ii  gir1.2-ibus-1.0                              1.5.22-4
ii  gir1.2-mutter-6                              3.36.1-4
ii  gir1.2-nm-1.0                                1.14.6-2+deb10u1
ii  gir1.2-nma-1.0                               1.8.20-1.1
ii  gir1.2-pango-1.0                             1.42.4-7~deb10u1
ii  gir1.2-polkit-1.0                            0.105-25
ii  gir1.2-rsvg-2.0                              2.44.10-2.1
ii  gir1.2-soup-2.4                              2.64.2-2
ii  gir1.2-upowerglib-1.0                        0.99.10-1
ii  gjs                                          1.64.1-3
ii  gnome-backgrounds                            3.36.0-1
ii  gnome-settings-daemon                        3.36.0-1+b1
ii  gnome-shell-common                           3.36.1-5
ii  gsettings-desktop-schemas                    3.36.0-1
ii  libatk-bridge2.0-0                           2.30.0-5
ii  libatk1.0-0                                  2.36.0-2
ii  libc6                                        2.30-4
ii  libcairo2                                    1.16.0-4
ii  libecal-2.0-1                                3.36.1-1
ii  libedataserver-1.2-24                        3.36.1-1
ii  libgcr-base-3-1                              3.28.1-1
ii  libgdk-pixbuf2.0-0                           2.38.1+dfsg-1
ii  libgirepository-1.0-1                        1.64.1-1
ii  libgjs0g                                     1.64.1-3
ii  libgles2                                     1.1.0-1
ii  libglib2.0-0                                 2.64.1-1
ii  libglib2.0-bin                               2.64.1-1
ii  libgnome-autoar-0-0                          0.2.3-2
ii  libgnome-desktop-3-19                        3.36.1-2
ii  libgraphene-1.0-0                            1.10.0-1
ii  libgstreamer1.0-0                            1.16.2-2
ii  libgtk-3-0                                   3.24.5-1
ii  libical3                                     3.0.8-1
ii  libjson-glib-1.0-0                           1.4.4-2
ii  libmutter-6-0                                3.36.1-4
ii  libnm0                                       1.14.6-2+deb10u1
ii  libpango-1.0-0                               1.44.7-3
ii  libpangocairo-1.0-0                          1.44.7-3
ii  libpolkit-agent-1-0                          0.105-25
ii  libpolkit-gobject-1-0                        0.105-25
ii  libpulse-mainloop-glib0                      12.2-4+deb10u1
ii  libpulse0                                    12.2-4+deb10u1
ii  libsecret-1-0                                0.18.7-1
ii  libsystemd0                                  245.4-4
ii  libwayland-server0                           1.16.0-1
ii  libx11-6                                     2:1.6.7-1
ii  libxfixes3                                   1:5.0.3-1
ii  mutter                                       3.36.1-4
ii  python3                                      3.8.2-3

Versions of packages gnome-shell recommends:
ii  bolt                  0.8-4
ii  chrome-gnome-shell    10.1-5
ii  gdm3                  3.34.1-3
ii  gkbd-capplet          3.26.1-1
ii  gnome-control-center  1:3.36.1-1+b1
ii  gnome-menus           3.31.4-3
ii  gnome-user-docs       3.30.2-1
ii  ibus                  1.5.22-4
ii  iio-sensor-proxy      2.4-2
ii  switcheroo-control    1.2-2
ii  unzip                 6.0-23+deb10u1

Versions of packages gnome-shell suggests:
pn  gir1.2-telepathyglib-0.12   <none>
pn  gir1.2-telepathylogger-0.2  <none>

Versions of packages gnome-session depends on:
ii  gnome-session-bin      3.36.0-2
ii  gnome-session-common   3.36.0-2
ii  gnome-settings-daemon  3.36.0-1+b1

Versions of packages gnome-session suggests:
ii  desktop-base   10.0.2
ii  gnome-keyring  3.28.2-5

Versions of packages gnome-settings-daemon depends on:
ii  gnome-settings-daemon-common  3.36.0-1
ii  gsettings-desktop-schemas     3.36.0-1
ii  libasound2                    1.1.8-1
ii  libc6                         2.30-4
ii  libcairo2                     1.16.0-4
ii  libcanberra-gtk3-0            0.30-7
ii  libcanberra0                  0.30-7
ii  libcolord2                    1.4.3-4
ii  libcups2                      2.3.1-11
ii  libfontconfig1                2.13.1-2
ii  libgcr-base-3-1               3.28.1-1
ii  libgdk-pixbuf2.0-0            2.38.1+dfsg-1
ii  libgeoclue-2-0                2.5.2-1
ii  libgeocode-glib0              3.26.1-1
ii  libglib2.0-0                  2.64.1-1
ii  libgnome-desktop-3-19         3.36.1-2
ii  libgtk-3-0                    3.24.5-1
ii  libgudev-1.0-0                232-2
ii  libgweather-3-16              3.36.0-1
ii  liblcms2-2                    2.9-3
ii  libmm-glib0                   1.10.0-1
ii  libnm0                        1.14.6-2+deb10u1
ii  libnotify4                    0.7.7-4
ii  libnspr4                      2:4.25-1
ii  libnss3                       2:3.51-1
ii  libpam-systemd [logind]       245.4-4
ii  libpango-1.0-0                1.44.7-3
ii  libpangocairo-1.0-0           1.44.7-3
ii  libpolkit-gobject-1-0         0.105-25
ii  libpulse-mainloop-glib0       12.2-4+deb10u1
ii  libpulse0                     12.2-4+deb10u1
ii  libupower-glib3               0.99.10-1
ii  libwacom2                     1.3-2
ii  libwayland-client0            1.16.0-1
ii  libx11-6                      2:1.6.7-1
ii  libxext6                      2:1.3.3-1+b2
ii  libxi6                        2:1.7.9-1
ii  x11-xserver-utils             7.7+8

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy  2.4-2
ii  pulseaudio        12.2-4+deb10u1

Versions of packages gnome-settings-daemon suggests:
ii  usbguard  0.7.4+ds-1+b1

Versions of packages libgjs0g depends on:
ii  libc6                  2.30-4
ii  libcairo-gobject2      1.16.0-4
ii  libcairo2              1.16.0-4
ii  libffi7                3.3-4
ii  libgcc-s1              10-20200324-1
ii  libgirepository-1.0-1  1.64.1-1
ii  libglib2.0-0           2.64.1-1
ii  libmozjs-68-0          68.6.0-2
ii  libreadline8           8.0-4
ii  libstdc++6             10-20200324-1
ii  libx11-6               2:1.6.7-1

Versions of packages gnome-shell is related to:
ii  libegl-mesa0 [libegl-vendor]  18.3.6-2+deb10u1
ii  libgl1-mesa-dri               18.3.6-2+deb10u1
ii  libglx-mesa0 [libglx-vendor]  20.0.4-2

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#958025: gnome-shell: Wayland session never starts

Simon McVittie-7
Control: retitle -1 gnome-shell: after partial upgrade from buster, Wayland session never starts
Control: tags -1 + help

On Fri, 17 Apr 2020 at 15:48:51 +0100, Sam Morris wrote:
> ii  libgtk-3-0                    3.24.5-1
> ii  libwayland-client0            1.16.0-1
> ii  libx11-6                      2:1.6.7-1
...
> ii  libegl-mesa0 [libegl-vendor]  18.3.6-2+deb10u1
> ii  libgl1-mesa-dri               18.3.6-2+deb10u1
> ii  libglx-mesa0 [libglx-vendor]  20.0.4-2

I notice you're using the latest GNOME from testing/unstable, on a
system where many relevant packages have not been upgraded from stable.

Partial upgrades are sort-of-half-supported because they have to work
at least briefly during the upgrade from buster to bullseye, and in
principle the interdependencies between packages are meant to be tight
enough to prevent known-broken situations; but arbitrary mixtures of
packages in a stack as complex as GNOME are not something that we can
realistically test or support (the precise combination of packages on
your system probably doesn't exist anywhere else).

If there are stricter versioned Depends or versioned Breaks that would
fix this for you, I'm open to suggestions, but I don't think we have
anywhere near enough people in the GNOME team to be able to find them
all ahead of time.

    smcv

Reply | Threaded
Open this post in threaded view
|

Bug#958025: gnome-shell: Wayland session never starts

Simon McVittie-7
In reply to this post by Sam Morris
On Fri, 17 Apr 2020 at 15:48:51 +0100, Sam Morris wrote:
>     Apr 17 15:16:09 gnome-session-binary[26371]: WARNING: Error creating FIFO: File exists

From the gnome-session source code, this is something to do with
gnome-session running sessions as systemd user services, which is new in
GNOME 3.36. It wouldn't surprise me if this relies on relatively recent
features or fixes in systemd or a related component.

> ... it seems suspicious that trying to connect to (presumably) Xwayland
> on the login screen

AT-SPI :'-(

The GNOME developers have been trying to disentangle gnome-session,
gnome-settings-daemon etc. from X11, so that Xwayland is only started
when you need it - but it wouldn't surprise me if that needs fixes in
many components, which you probably don't have in a partial upgrade.

On which subject...

> ii  libatk-bridge2.0-0                           2.30.0-5
> ii  libatk1.0-0                                  2.36.0-2

One of these relatively-closely-related libraries is 18 months older than
the other. Perhaps the missing versioned dependency involves ATK/AT-SPI?

> ii  libegl-mesa0 [libegl-vendor]  18.3.6-2+deb10u1
> ii  libgl1-mesa-dri               18.3.6-2+deb10u1
> ii  libglx-mesa0 [libglx-vendor]  20.0.4-2

This also looks suspicious to me: you're mixing up modules from versions
of Mesa released 2 years apart.

    smcv

Reply | Threaded
Open this post in threaded view
|

Bug#958025: gnome-shell: Wayland session never starts

Sam Morris
On Fri, 2020-04-17 at 16:19 +0100, Simon McVittie wrote:
> I notice you're using the latest GNOME from testing/unstable, on a
> system where many relevant packages have not been upgraded from
> stable.

Yes, I usually roll with only the upgrades apt installs itself, and on
the (fairly rare) occasions where problems are caused by version skew
accross a source package I upgrade packages that apt missed by hand.

> On Fri, 17 Apr 2020 at 15:48:51 +0100, Sam Morris wrote:
> >     Apr 17 15:16:09 gnome-session-binary[26371]: WARNING: Error
> > creating FIFO: File exists
>
> From the gnome-session source code, this is something to do with
> gnome-session running sessions as systemd user services, which is new in
> GNOME 3.36. It wouldn't surprise me if this relies on relatively recent
> features or fixes in systemd or a related component.

Just as soon as I bet a grip on how GNOME sessions are started
everytihng changes again! :)

> > ... it seems suspicious that trying to connect to (presumably) Xwayland
> > on the login screen
>
> AT-SPI :'-(

Indeed, installing some debug symbols reveals:

   #0  0x00007f6a55f79b4f in __GI___poll (fds=fds@entry=0x7ffc6c2e5ae0, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
   #1  0x00007f6a52c41d97 in poll (__timeout=-1, __nfds=1, __fds=0x7ffc6c2e5ae0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
   #2  read_block (len=8, buf=0x556e9049b9b0, fd=44) at ../../src/xcb_in.c:388
   #3  _xcb_in_read_block (c=c@entry=0x556e904b85c0, buf=0x556e9049b9b0, len=len@entry=8) at ../../src/xcb_in.c:1075
   #4  0x00007f6a52c3fb31 in read_setup (c=0x556e904b85c0) at ../../src/xcb_conn.c:177
   #5  xcb_connect_to_fd (fd=fd@entry=44, auth_info=auth_info@entry=0x7ffc6c2e5c20) at ../../src/xcb_conn.c:359
   #6  0x00007f6a52c43ac2 in xcb_connect_to_display_with_auth_info (displayname=displayname@entry=0x556e9048f260 ":1024", auth=auth@entry=0x0, screenp=screenp@entry=0x0)
       at ../../src/xcb_util.c:532
   #7  0x00007f6a52c43c3a in xcb_connect (displayname=displayname@entry=0x556e9048f260 ":1024", screenp=screenp@entry=0x0) at ../../src/xcb_util.c:489
   #8  0x00007f6a55a13db2 in _XConnectXCB (dpy=dpy@entry=0x556e904b7370, display=display@entry=0x556e9048f260 ":1024", screenp=screenp@entry=0x7ffc6c2e5d6c)
       at ../../src/xcb_disp.c:78
   #9  0x00007f6a55a04972 in XOpenDisplay (display=0x556e9048f260 ":1024") at ../../src/OpenDis.c:129
   #10 0x00007f6a54751074 in atspi_get_a11y_bus () from /usr/lib/x86_64-linux-gnu/libatspi.so.0
   #11 0x00007f6a5648a780 in atk_bridge_adaptor_init (argc=<optimized out>, argv=<optimized out>) at ../atk-adaptor/bridge.c:1044
   #12 0x0000556e8f5986c7 in shell_a11y_init () at ../src/main.c:313
   #13 main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:525

And 'ss' reveals that the socket gnome-shell is trying to connect to is
owned by...

   u_str              LISTEN              0                    1                                                                              /tmp/.X11-unix/X1024 1037591                                              * 0                         users:(("gnome-shell",pid=70011,fd=38))                                        
   u_str              LISTEN              1                    1                                                                             @/tmp/.X11-unix/X1024 1037590                                              * 0                         users:(("gnome-shell",pid=70011,fd=37))                                        

gnome-shell!?

> ii  libatk-bridge2.0-0                           2.30.0-5
> ii  libatk1.0-0                                  2.36.0-2
>
> One of these relatively-closely-related libraries is 18 months older than
> the other. Perhaps the missing versioned dependency involves ATK/AT-SPI?

No luck so far having updated libatk1.0-0 to match...

> > ii  libegl-mesa0 [libegl-vendor]  18.3.6-2+deb10u1
> > ii  libgl1-mesa-dri               18.3.6-2+deb10u1
> > ii  libglx-mesa0 [libglx-vendor]  20.0.4-2
>
> This also looks suspicious to me: you're mixing up modules from versions
> of Mesa released 2 years apart.
>
>     smcv

I've updated these ones too for good measure :)

Anyway... I'll keep upgrading things and follow up if I figure out
which package fixes things...


--
Sam Morris <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Bug#958025: gnome-shell: Wayland session never starts

Sam Morris
On Fri, 2020-04-17 at 17:08 +0100, Sam Morris wrote:
> Anyway... I'll keep upgrading things and follow up if I figure out
> which package fixes things...

Upgrading libatspi2.0-0 improved things. Although gnome-shell still
hangs, the backtrace is now:

   #0  0x00007ff4b79b8b4f in __GI___poll (fds=fds@entry=0x7fffc4ee7df0, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29        
   #1  0x00007ff4b467ed97 in poll (__timeout=-1, __nfds=1, __fds=0x7fffc4ee7df0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46                                    
   #2  read_block (len=8, buf=0x560e38cb2580, fd=53) at ../../src/xcb_in.c:388
   #3  _xcb_in_read_block (c=c@entry=0x560e38cb77b0, buf=0x560e38cb2580, len=len@entry=8) at ../../src/xcb_in.c:1075                                                
   #4  0x00007ff4b467cb31 in read_setup (c=0x560e38cb77b0) at ../../src/xcb_conn.c:177
   #5  xcb_connect_to_fd (fd=fd@entry=53, auth_info=auth_info@entry=0x7fffc4ee7f30) at ../../src/xcb_conn.c:359                                                      
   #6  0x00007ff4b4680ac2 in xcb_connect_to_display_with_auth_info (displayname=<optimized out>, auth=0x0, screenp=0x0) at ../../src/xcb_util.c:532                  
   #7  0x00007ff48f204b26 in pa_client_conf_from_x11 () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so                                            
   #8  0x00007ff48f1c64d8 in pa_client_conf_load () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so                                                
   #9  0x00007ff48f24506b in pa_context_new_with_proplist () from /usr/lib/x86_64-linux-gnu/libpulse.so.0                                                            
   #10 0x00007ff48f2b2584 in gvc_mixer_new_pa_context (self=self@entry=0x560e38004f80) at ../subprojects/gvc/gvc-mixer-control.c:3319                                
   #11 0x00007ff48f2b3d0c in gvc_mixer_control_constructor (type=<optimized out>, n_construct_properties=1, construct_params=0x560e38c76400)                        
       at ../subprojects/gvc/gvc-mixer-control.c:3557
   #12 0x00007ff4b87d95fc in g_object_new_with_custom_constructor (n_params=1, params=0x7fffc4ee8810, class=0x560e38cb1600) at ../../../gobject/gobject.c:1855      
   #13 g_object_new_internal (class=class@entry=0x560e38cb1600, params=params@entry=0x7fffc4ee8810, n_params=n_params@entry=1) at ../../../gobject/gobject.c:1935    
   #14 0x00007ff4b87dae0b in g_object_new_with_properties (object_type=94619082364016, n_properties=<optimized out>, names=<optimized out>, values=<optimized out>)  
       at ../../../gobject/gobject.c:2099
      [lots of gjs and mozjs frames]

   After upgrading libpulse0 (which pulled in upgrades of all the
   installed binary packages from the pulseaudio source package) the
   problem is fixed!

   So I guess Breaks could be added to gnome-session to make sure
   libatk1.0-0 and libpulse0 get pulled in when GNOME 3.6 is installed; on
   the other hand, since so few people are likely to run into this problem
   and as you say skewed versions aren't really supportable, I won't be
   offended if you would prefer to close this bug without bloating gnome-
   session's dependencies. :)

   I remain faintly puzlled by the final mixture of X11 display sockets:

   u_str  LISTEN  0  1  /tmp/.X11-unix/X1024   1100515  *  0  users:(("Xwayland",pid=74039,fd=5))
      u_str  LISTEN  0  1  @/tmp/.X11-unix/X1024  1100514  *  0  users:(("Xwayland",pid=74039,fd=4))
      u_str  LISTEN  0  1  /tmp/.X11-unix/X1025   1100517  *  0  users:(("gnome-shell",pid=74013,fd=40))
      u_str  LISTEN  0  1  @/tmp/.X11-unix/X1025  1100516  *  0  users:(("Xwayland",pid=74039,fd=7))

... but things are definitely working again so I'm only faintly
puzzled. :)

Anyway, thanks for the help!

--
Sam Morris <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Bug#958025: gnome-shell: Wayland session never starts

Xerz
In reply to this post by Sam Morris
Hi, would like to confirm I seem to have the same issue despite
libatspi2.0-0, libatk1.0-0 and libpulse0 being automatically installed
and properly up-to-date. Since I don't know how to debug it, however,
all I could gather is that the Wayland GDM session freezes during 90
seconds and then switches back to X11. I tried to set the variable
AT_NO_BRIDGE=1 to no success. Any further help to debug would be
welcome.

Reply | Threaded
Open this post in threaded view
|

Bug#958025: gnome-shell: Wayland session never starts

Simon McVittie-7
On Mon, 20 Apr 2020 at 13:00:10 +0200, Xerz wrote:
> Hi, would like to confirm I seem to have the same issue despite
> libatspi2.0-0, libatk1.0-0 and libpulse0 being automatically installed and
> properly up-to-date.

Have you done a similar partial upgrade from stable to testing/unstable,
or are you using a fully updated testing/unstable system?

If you are using a fully updated system, it would probably be best if you
open a separate bug report using reportbug, so that we can see the package
versions you have installed.

Please include the complete systemd Journal log from an attempt to start
a session, starting at or before the first message associated with the
session and continuing until after the 90 second delay. The gdm "greeter"
session is enough, if you're using gdm.

You can censor private information from the log as long as you make it
obvious where you've done so.

Thanks,
    smcv