[Pkg-utopia-maintainers] Bug#982853:

Michael Schaller misch at google.com
Mon Feb 15 13:37:53 GMT 2021


I've installed `xdg-desktop-portal-gtk` and rebooted but that didn't
solve the issue either.
>From the timestamps it looks like `xdg-desktop-portal` isn't starting
fast enough.

```
$ journalctl --user --boot --output=short-iso-precise --unit pipewire.service
-- Journal begins at Fri 2021-02-05 11:44:35 CET, ends at Mon
2021-02-15 14:37:02 CET. --
2021-02-15T14:11:35.860927+0100 misch-x1v6 systemd[2659]: Started
Multimedia Service.
2021-02-15T14:11:35.911895+0100 misch-x1v6 pipewire[2678]: Failed to
connect to system bus: Unable to autolaunch a dbus-daemon without a
$DISPLAY for X11
2021-02-15T14:11:35.911906+0100 misch-x1v6 pipewire[2678]: Failed to
connect to system bus
2021-02-15T14:11:35.911912+0100 misch-x1v6 pipewire[2678]:
"/usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-portal.so":
failed to initialize: Cannot allocate memory
2021-02-15T14:11:35.911936+0100 misch-x1v6 pipewire[2678]: daemon
0x7ffd33aec7b0: could not load module "libpipewire-module-portal":
Cannot allocate memory
2021-02-15T14:11:35.911941+0100 misch-x1v6 pipewire[2678]: failed to
load modules: Cannot allocate memory
2021-02-15T14:11:35.912446+0100 misch-x1v6 systemd[2659]:
pipewire.service: Main process exited, code=exited,
status=255/EXCEPTION
2021-02-15T14:11:35.912622+0100 misch-x1v6 systemd[2659]:
pipewire.service: Failed with result 'exit-code'.
2021-02-15T14:11:36.047677+0100 misch-x1v6 systemd[2659]:
pipewire.service: Scheduled restart job, restart counter is at 1.
2021-02-15T14:11:36.047766+0100 misch-x1v6 systemd[2659]: Stopped
Multimedia Service.
<3 more start attempts>
2021-02-15T14:11:36.798683+0100 misch-x1v6 systemd[2659]: Started
Multimedia Service.
2021-02-15T14:11:36.833535+0100 misch-x1v6 pipewire[2708]: Failed to
connect to system bus: Unable to autolaunch a dbus-daemon without a
$DISPLAY for X11
2021-02-15T14:11:36.833548+0100 misch-x1v6 pipewire[2708]: Failed to
connect to system bus
2021-02-15T14:11:36.833558+0100 misch-x1v6 pipewire[2708]:
"/usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-portal.so":
failed to initialize: Cannot allocate memory
2021-02-15T14:11:36.833589+0100 misch-x1v6 pipewire[2708]: daemon
0x7ffdd52af3d0: could not load module "libpipewire-module-portal":
Cannot allocate memory
2021-02-15T14:11:36.833597+0100 misch-x1v6 pipewire[2708]: failed to
load modules: Cannot allocate memory
2021-02-15T14:11:36.834125+0100 misch-x1v6 systemd[2659]:
pipewire.service: Main process exited, code=exited,
status=255/EXCEPTION
2021-02-15T14:11:36.834315+0100 misch-x1v6 systemd[2659]:
pipewire.service: Failed with result 'exit-code'.
2021-02-15T14:11:37.047385+0100 misch-x1v6 systemd[2659]:
pipewire.service: Scheduled restart job, restart counter is at 5.
2021-02-15T14:11:37.047409+0100 misch-x1v6 systemd[2659]: Stopped
Multimedia Service.
2021-02-15T14:11:37.047436+0100 misch-x1v6 systemd[2659]:
pipewire.service: Start request repeated too quickly.
2021-02-15T14:11:37.047442+0100 misch-x1v6 systemd[2659]:
pipewire.service: Failed with result 'exit-code'.
2021-02-15T14:11:37.047491+0100 misch-x1v6 systemd[2659]: Failed to
start Multimedia Service.
```

```
$ journalctl --user --boot --output=short-iso-precise | grep
'org.freedesktop.portal.Desktop'
2021-02-15T14:11:37.728816+0100 misch-x1v6
/usr/libexec/gdm-x-session[2716]: dbus-daemon[2716]: [session
uid=113690 pid=2716] Activating service
name='org.freedesktop.portal.Desktop' requested by ':1.12' (uid=113690
pid=2833 comm="/usr/libexec/ibus-extension-gtk3 ")
2021-02-15T14:11:37.851366+0100 misch-x1v6
/usr/libexec/gdm-x-session[2962]:
[E][000000120.001411][module-portal.c:137 on_portal_pid_received()]
Failed to receive portal pid:
org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of name
'org.freedesktop.portal.Desktop': no such name
2021-02-15T14:11:37.851312+0100 misch-x1v6 pipewire[2962]: Failed to
receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could
not get PID of name 'org.freedesktop.portal.Desktop': no such name
2021-02-15T14:11:38.292556+0100 misch-x1v6
/usr/libexec/gdm-x-session[2716]: dbus-daemon[2716]: [session
uid=113690 pid=2716] Successfully activated service
'org.freedesktop.portal.Desktop'
```



More information about the Pkg-utopia-maintainers mailing list