Closed shibumi closed 3 years ago
Do you see anything about pipewire in dmesg
?
Can you confirm you aren't experiencing this:
https://github.com/emersion/xdg-desktop-portal-wlr/issues/89#issuecomment-788111941
@danshick Yes I can confirm. This file does not even exist on my machine (Arch Linux)
@danshick the funny part: When I start "wireplumber" daemon I can see the shared screen in my Chromium, but sharing still does not work.
@emersion dmesg is empty.. no logs about pipewire.
@danshick Yes I can confirm. This file does not even exist on my machine (Arch Linux)
Hmmm, it should. Maybe that's part of your problem?
λ pacman -Ql | grep pipewire | grep etc
pipewire /etc/
pipewire /etc/pipewire/
pipewire /etc/pipewire/client-rt.conf
pipewire /etc/pipewire/client.conf
pipewire /etc/pipewire/media-session.d/
pipewire /etc/pipewire/media-session.d/alsa-monitor.conf
pipewire /etc/pipewire/media-session.d/bluez-monitor.conf
pipewire /etc/pipewire/media-session.d/media-session.conf
pipewire /etc/pipewire/media-session.d/v4l2-monitor.conf
pipewire /etc/pipewire/pipewire-pulse.conf
pipewire /etc/pipewire/pipewire.conf
@danshick
❯ ls -la /etc/pipewire
.rw-r--r-- 2.2k root 4 Mar 19:47 client-rt.conf
.rw-r--r-- 1.9k root 4 Mar 19:47 client.conf
.rw-r--r-- 1.5k root 4 Mar 19:47 pipewire-pulse.conf
.rw-r--r-- 8.0k root 4 Mar 19:47 pipewire.conf
That's what I see. Interesting. Even when I reinstall pipewire on Arch Linux I don't get those files
@danshick
❯ pacman -Ql pipewire
pipewire /etc/
pipewire /etc/pipewire/
pipewire /etc/pipewire/client-rt.conf
pipewire /etc/pipewire/client.conf
pipewire /etc/pipewire/pipewire-pulse.conf
pipewire /etc/pipewire/pipewire.conf
This is the exact command.. your command is just looking in ALL packages for pipewire
... It looks like some other package is providing those.
@danshick ok interesting. I need the pipewire-media-session
-package on Arch linux. I will add this to the xdg-desktop-portal-wlr package. I didn't know thats a dependency.
This is the exact command.. your command is just looking in ALL packages for
pipewire
... It looks like some other package is providing those.
No, it isn't. If you look at the prefix, it shows what package the file is from. I realized I'm running pipewire-git from the AUR. The current release in pacman isn't new enough to include all of those configs yet.
Either way, it looks like the issue I pointed you to isn't of concern (AFAIK).
If you run systemctl --user status pipewire
, what do you see? What about journalctl --user -eu pipewire
?
Edit: You may want to redirect that second command to a log file to upload, it could be long.
Ok.. I installed the missing package. I have the /etc/pipewire/media-session.d/media-session.conf file now and I still have the same issue.
I guess it has something to do with these logs:
2021/03/08 15:52:23 [INFO] - pipewire: stream state changed to "connecting"
2021/03/08 15:52:23 [INFO] - pipewire: node id is -1
2021/03/08 15:52:23 [INFO] - pipewire: stream state changed to "paused"
Why is the stream paused?! When I start the "wireplumber" daemon I get this change in the xdg-desktop-portal-wlr logs:
2021/03/08 15:52:23 [INFO] - pipewire: node id is 120
2021/03/08 15:53:37 [INFO] - pipewire: stream state changed to "streaming"
And THEN I see the shared screen in my chromium, but according to my co-workers it still doesn't work. Mhhh
systemcctl --user status pipewire
:
● pipewire.service - Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2021-03-08 10:57:24 CET; 4h 59min ago
TriggeredBy: ● pipewire.socket
Main PID: 18513 (pipewire)
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─18513 /usr/bin/pipewire
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 25 (Spa:Enum:VideoFormat:GRAY8)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Rectangle 640x360
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Choice: type Spa:Enum:Choice:Enum, flags 00000000 40 8
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Fraction 15/1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Fraction 15/1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Fraction 30/1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: (147.0 -> 94.0) negotiating -> error (no more input formats)
journalctl --user -eu pipewire
:
Mar 08 10:57:24 motoko.shibumi.dev systemd[2246]: Started Multimedia Service.
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Object: size 168, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 2 (Spa:Enum:MediaType:video)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 1 (Spa:Enum:MediaSubtype:raw)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Choice: type Spa:Enum:Choice:Enum, flags 00000000 36 4
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 8 (Spa:Enum:VideoFormat:BGRx)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 7 (Spa:Enum:VideoFormat:RGBx)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 11 (Spa:Enum:VideoFormat:RGBA)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 8 (Spa:Enum:VideoFormat:BGRx)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 12 (Spa:Enum:VideoFormat:BGRA)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Rectangle 1x1
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Rectangle 1x1
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Rectangle -1x-1
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats))
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 2 (Spa:Enum:MediaType:video)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 1 (Spa:Enum:MediaSubtype:raw)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Id 25 (Spa:Enum:VideoFormat:GRAY8)
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Rectangle 640x360
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Choice: type Spa:Enum:Choice:Enum, flags 00000000 40 8
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Fraction 15/1
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Fraction 15/1
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: Fraction 30/1
Mar 08 14:49:09 motoko.shibumi.dev pipewire[18513]: (147.0 -> 138.0) negotiating -> error (no more input formats)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Object: size 168, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 2 (Spa:Enum:MediaType:video)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 1 (Spa:Enum:MediaSubtype:raw)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Choice: type Spa:Enum:Choice:Enum, flags 00000000 36 4
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 8 (Spa:Enum:VideoFormat:BGRx)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 7 (Spa:Enum:VideoFormat:RGBx)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 11 (Spa:Enum:VideoFormat:RGBA)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 8 (Spa:Enum:VideoFormat:BGRx)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 12 (Spa:Enum:VideoFormat:BGRA)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Rectangle 1x1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Rectangle 1x1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Rectangle -1x-1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats))
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Object: size 160, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 2 (Spa:Enum:MediaType:video)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 1 (Spa:Enum:MediaSubtype:raw)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 25 (Spa:Enum:VideoFormat:GRAY8)
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Rectangle 640x360
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Choice: type Spa:Enum:Choice:Enum, flags 00000000 40 8
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Fraction 15/1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Fraction 15/1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Fraction 30/1
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: (147.0 -> 94.0) negotiating -> error (no more input formats)
The node ID with number "-1" is strange, too...
@danshick mh Ok I fixed it now I think. I did:
$ sudo pacman -Syu pipewire-media-session
$ vim /etc/pipewire/media-session.d/media-session.conf #uncomment metadata
$ systemctl start --user pipewire-media-session
$ sudo killall xdg-desktop-portal
$ sudo killall xdg-desktop-portal-wlr
This fixed the issues for me :)
Closing, because this is not related to xdg-desktop-portal-wlr. I will add pipewire-media-session to the dependency list for xdg-desktop-portal-wlr + modify the wiki accordingly.
Here are the latest logs from portal-wlr:
2021/03/08 16:00:43 [DEBUG] - dbus: connected
2021/03/08 16:00:43 [DEBUG] - wlroots: wl_display connected
2021/03/08 16:00:43 [DEBUG] - pipewire: pw_loop created
2021/03/08 16:00:43 [DEBUG] - pipewire: establishing connection to core
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_shm (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: |-- registered to interface wl_shm (Version 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_drm (Version: 2)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_linux_dmabuf_v1 (Version: 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_compositor (Version: 4)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_subcompositor (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_data_device_manager (Version: 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_gamma_control_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register gtk_primary_selection_device_manager (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zxdg_output_manager_v1 (Version: 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: |-- registered to interface zxdg_output_manager_v1 (Version 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register org_kde_kwin_idle (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_idle_inhibit_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_layer_shell_v1 (Version: 2)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register xdg_wm_base (Version: 2)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_tablet_manager_v2 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register org_kde_kwin_server_decoration_manager (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zxdg_decoration_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_relative_pointer_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_pointer_constraints_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wp_presentation (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_output_manager_v1 (Version: 2)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_output_power_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_input_method_manager_v2 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_text_input_manager_v3 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_foreign_toplevel_manager_v1 (Version: 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_export_dmabuf_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_screencopy_manager_v1 (Version: 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: |-- registered to interface zwlr_screencopy_manager_v1 (Version 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_data_control_manager_v1 (Version: 2)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_primary_selection_device_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wp_viewporter (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_virtual_keyboard_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_virtual_pointer_manager_v1 (Version: 2)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwlr_input_inhibit_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_keyboard_shortcuts_inhibit_manager_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_seat (Version: 7)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register zwp_pointer_gestures_v1 (Version: 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_output (Version: 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: |-- registered to interface wl_output (Version 1)
2021/03/08 16:00:43 [DEBUG] - wlroots: interface to register wl_output (Version: 3)
2021/03/08 16:00:43 [DEBUG] - wlroots: |-- registered to interface wl_output (Version 1)
2021/03/08 16:00:43 [DEBUG] - wayland: registry listeners run
2021/03/08 16:00:43 [DEBUG] - wayland: xdg output listeners run
2021/03/08 16:00:45 [INFO] - dbus: create session method invoked
2021/03/08 16:00:45 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_341/webrtc2039474132
2021/03/08 16:00:45 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_341/webrtc_session1083367570
2021/03/08 16:00:45 [INFO] - dbus: app_id:
2021/03/08 16:00:45 [INFO] - dbus: select sources method invoked
2021/03/08 16:00:45 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_341/webrtc1916813910
2021/03/08 16:00:45 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_341/webrtc_session1083367570
2021/03/08 16:00:45 [INFO] - dbus: app_id:
2021/03/08 16:00:45 [INFO] - dbus: option types:3
2021/03/08 16:00:45 [INFO] - dbus: option multiple: 0
2021/03/08 16:00:45 [DEBUG] - dbus: select sources: found matching session /org/freedesktop/portal/desktop/session/1_341/webrtc_session1083367570
2021/03/08 16:00:45 [INFO] - wlroots: capturable output: BenQ Corporation model: BenQ GL2450: id: 37 name: DP-4
2021/03/08 16:00:45 [INFO] - wlroots: capturable output: BenQ Corporation model: BenQ GL2450: id: 39 name: DP-5
2021/03/08 16:00:45 [INFO] - xdpw: screencast instance 0x555c77a76050 has 1 references
2021/03/08 16:00:45 [INFO] - xdpw: 1 active screencast instances
2021/03/08 16:00:45 [INFO] - wlroots: output: DP-5
2021/03/08 16:00:45 [INFO] - dbus: start method invoked
2021/03/08 16:00:45 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_341/webrtc1885273598
2021/03/08 16:00:45 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_341/webrtc_session1083367570
2021/03/08 16:00:45 [INFO] - dbus: app_id:
2021/03/08 16:00:45 [INFO] - dbus: parent_window:
2021/03/08 16:00:45 [DEBUG] - dbus: start: found matching session /org/freedesktop/portal/desktop/session/1_341/webrtc_session1083367570
2021/03/08 16:00:45 [DEBUG] - wlroots: reset buffer
2021/03/08 16:00:45 [DEBUG] - wlroots: create shm buffer
2021/03/08 16:00:45 [DEBUG] - pipewire: registered event 0x555c77a76b80
2021/03/08 16:00:45 [INFO] - pipewire: stream state changed to "connecting"
2021/03/08 16:00:45 [INFO] - pipewire: node id is -1
2021/03/08 16:00:45 [INFO] - pipewire: stream state changed to "paused"
2021/03/08 16:00:45 [INFO] - pipewire: node id is 55
2021/03/08 16:00:45 [INFO] - pipewire: stream state changed to "streaming"
2021/03/08 16:00:45 [INFO] - pipewire: node id is 55
2021/03/08 16:00:48 [INFO] - pipewire: stream state changed to "paused"
2021/03/08 16:00:48 [INFO] - pipewire: node id is 55
2021/03/08 16:00:48 [INFO] - dbus: session closed
2021/03/08 16:00:48 [DEBUG] - dbus: destroying session 0x555c77a749d0
2021/03/08 16:00:48 [DEBUG] - xdpw: screencast instance 0x555c77a76050 now has 0 references
2021/03/08 16:00:48 [DEBUG] - xdpw: destroying cast instance
2021/03/08 16:00:48 [DEBUG] - pipewire: destroying stream
2021/03/08 16:00:48 [INFO] - pipewire: stream state changed to "unconnected"
2021/03/08 16:00:48 [INFO] - pipewire: node id is -1
You can see how the node switches from "paused" to "streaming"
@shibumi
I will add pipewire-media-session to the dependency list for xdg-desktop-portal-wlr + modify the wiki accordingly.
~Please don't do that. It is not a strict dependency.~
I might be wrong here as others are reporting the same.
I think your actual issue may have been here:
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
Mar 08 14:49:38 motoko.shibumi.dev pipewire[18513]: Id 25 (Spa:Enum:VideoFormat:GRAY8)
For some reason, it looks like xdpw was reporting that your pixelformat was in grayscale? Could that be possible? Do you have a grayscale display of some sort? Or maybe this is negotiation from a grayscale capture device?
Anyway, Chromium does not support that pixel format. That may have had something to do with your issue. I'm not sure why adding pipewire-media-session fixed your problem.
Same issue here and there is no grayscale display, just 1920x1200 color displays. Installing pipewire-media-session
resolved it.
Okay, maybe it is strictly required on Arch.
The problem with updating the dependencies is that the git version doesn't split out the required component into a separate package.
We'll have to see at the next pipewire release what the package composition looks like. We can note this in the wiki for now though.
For some reason, it looks like xdpw was reporting that your pixelformat was in grayscale? Could that be possible? Do you have a grayscale display of some sort? Or maybe this is negotiation from a grayscale capture device?
Nope, no grayscale capture device.
Hi, I have very often the same problem. Sometimes the whole screen sharing setup works and sometimes it does not. My setup is the following:
I set the environment variable:
XDG_CURRENT_DESKTOP=sway
and I have enabled pipewire in my browser. Furthermore I have pipewire02 installed.Sometimes it works, sometimes it does not. Today it does not work again and I have no idea why: When I try to share the screen via the Microsoft Teams Website in chromium I see the following:
I gathered the following debug logs: