Closed Hubro closed 1 year ago
one solution to this would be to stop using poo poo browsers.
Hey now, Vivaldi is a pretty great browser! It's just based on a poo poo browser...
firefox: works obs: works
cHrOmIuM: works doesnt work fix pushed works doesnt work
xdg-desktop-portal-wlr apparently fixed the problem in Sway.
@mordax7 Do you have a link? I'm unable to find anything like this being resolved recently in xdpw :thinking:
@Hubro I do not have a link. My work colleagues running Sway with xdg-desktop-portal-wlr 0.6 had the same problem with Chromium as xdg-desktop-portal-hyprland has. Apparently after the release 0.7 of xdg-desktop-portal-wlr Chromium started to work again. But again, this is only what has been told to me by one, two colleagues.
should work after c0e233955568fbea4e859336f6d3d14d51294d7c
@vaxerski Can we get a release?
idk, can you?
done
should work after c0e2339
I've been able to make it work on chronium using xdg-desktop-portal-hyprland-git (AUR). Color needs to be setted to 8 bits
monitor = $screen1,3840x2160@60,0x0,1,bitdepth,8
10 bit is expected to not work correctly at the moment on xdg-desktop-portal-hyprland or in xdg-desktop-portal-wlr (sway)
Proof. Also tested on Google Meet and works as expected.
should work after c0e2339
I've been able to make it work on chronium using xdg-desktop-portal-hyprland-git (AUR). Color needs to be setted to 8 bits
monitor = $screen1,3840x2160@60,0x0,1,bitdepth,8
10 bit is expected to not work correctly at the moment on xdg-desktop-portal-hyprland or in xdg-desktop-portal-wlr (sway)
Proof. Also tested on Google Meet and Zoom (web version) and works as expected.
should work after c0e2339
I've been able to make it work on chronium using xdg-desktop-portal-hyprland-git (AUR). Color needs to be setted to 8 bits
monitor = $screen1,3840x2160@60,0x0,1,bitdepth,8
10 bit is expected to not work correctly at the moment on xdg-desktop-portal-hyprland or in xdg-desktop-portal-wlr (sway)
Proof. Also tested on Google Meet and Zoom (web version) and works as expected.
This doesn't seem to change anything for me, unfortunately.
You might need hyprland-git too. I'm on AMD, if that matters.
should work after c0e2339
I've been able to make it work on chronium using xdg-desktop-portal-hyprland-git (AUR). Color needs to be setted to 8 bits
monitor = $screen1,3840x2160@60,0x0,1,bitdepth,8
10 bit is expected to not work correctly at the moment on xdg-desktop-portal-hyprland or in xdg-desktop-portal-wlr (sway)
Proof. Also tested on Google Meet and Zoom (web version) and works as expected.
@Zeioth What packages/versions are you using?
Im on:
hyprland-nvidia-git r2895.7fde80f3-1
hyprland-scratchpad-git 814e260-1
waybar-hyprland-git 0.9.17.r159.ga9a22234-1
xdg-desktop-portal-hyprland-git 1:r282.2bdadd2-1
vivaldi 6.0.2979.18-1
The screensharing worked fine until like a week ago, can't tell what happened.
This happens when trying to select entire screen (previewer is black).
journalctl --user --user-unit wireplumber.service -f
:
<WpPortalPermissionStorePlugin:0x55f5181f02e0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
For me, screensharing seems to work again in Electron-based applications and Firefox.
Still having this issue running the latest release:
xdg-desktop-portal 1.16.0-1
xdg-desktop-portal-hyprland 0.3.1-1
wireplumber 0.4.14-1
pipewire 1:0.3.70-1
google-chrome-beta 114.0.5735.26-1
slack-desktop 4.32.122-1
Verified that services are running without startup errors, that I don't have any conflicting xdg-desktop-portal-*
packages and that apps are running on wayland.
The <WpPortalPermissionStorePlugin:0x55f5181f02e0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
warning happends for me when running OBS as well (where recording works), so it's probably not related.
Running xdg-desktop-portal-hyprland
in debug mode while screen sharing through https://mozilla.github.io/webrtc-landing/gum_test.html I get the following output:
2023/05/17 14:40:07 [DEBUG] - hyprland: toplevel handle created 55edaeeb0cf0
2023/05/17 14:40:07 [DEBUG] - hyprland: toplevel app_id foot
2023/05/17 14:40:12 [DEBUG] - hyprland: toplevel handle created 55edaeead200
2023/05/17 14:40:12 [DEBUG] - hyprland: toplevel app_id code-url-handler
2023/05/17 14:41:53 [INFO] - dbus: create session method invoked
2023/05/17 14:41:53 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_82/webrtc_1808441346
2023/05/17 14:41:53 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_82/webrtc_session2143620336
2023/05/17 14:41:53 [INFO] - dbus: app_id:
2023/05/17 14:41:53 [INFO] - dbus: select sources method invoked
2023/05/17 14:41:53 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_82/webrtc657185157
2023/05/17 14:41:53 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_82/webrtc_session2143620336
2023/05/17 14:41:53 [INFO] - dbus: app_id:
2023/05/17 14:41:53 [INFO] - dbus: option types:1
2023/05/17 14:41:53 [INFO] - dbus: option multiple: 0
2023/05/17 14:41:53 [INFO] - dbus: persist 1
2023/05/17 14:41:53 [DEBUG] - dbus: select sources: found matching session /org/freedesktop/portal/desktop/session/1_82/webrtc_session2143620336
2023/05/17 14:41:53 [INFO] - wlroots: capturable output: Samsung Electric Company model: C27HG7x: id: 49 name: HDMI-A-1
2023/05/17 14:41:53 [DEBUG] - Screencast: Picker: Running command "WAYLAND_DISPLAY=wayland-1 QT_QPA_PLATFORM="wayland" XCURSOR_SIZE=24 HYPRLAND_INSTANCE_SIGNATURE=_1684325237 XDPH_WINDOW_SHARING_LIST="2934624768[HC>]code-url-handler[HT>]tmp.txt - dsod - Visual Studio Code[HE>]2934639856[HC>]foot[HT>]foot[HE>]2933169728[HC>]foot[HT>]foot[HE>]2933169376[HC>]google-chrome-beta[HT>]gUM Test Page - Google Chrome[HE>]" hyprland-share-picker"
2023/05/17 14:41:57 [DEBUG] - Screencast: Attempting to find screen for screen:HDMI-A-1
2023/05/17 14:41:57 [INFO] - xdpw: screencast instance 0x55edaeeb31a0 has 1 references
2023/05/17 14:41:57 [INFO] - xdpw: 1 active screencast instances
2023/05/17 14:41:57 [INFO] - wlroots: output: HDMI-A-1
2023/05/17 14:41:57 [DEBUG] - hyprland: toplevel handle created 55edaeeb2a40
2023/05/17 14:41:57 [DEBUG] - hyprland: toplevel app_id hyprland-share-picker
2023/05/17 14:41:57 [DEBUG] - hyprland: toplevel closed hyprland-share-picker
2023/05/17 14:41:57 [INFO] - dbus: start method invoked
2023/05/17 14:41:57 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_82/webrtc1562734181
2023/05/17 14:41:57 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_82/webrtc_session2143620336
2023/05/17 14:41:57 [INFO] - dbus: app_id:
2023/05/17 14:41:57 [INFO] - dbus: parent_window:
2023/05/17 14:41:57 [DEBUG] - dbus: start: found matching session /org/freedesktop/portal/desktop/session/1_82/webrtc_session2143620336
2023/05/17 14:41:57 [INFO] - wlroots: no modifiers available for format 0
2023/05/17 14:41:57 [INFO] - pipewire: stream state changed to "connecting"
2023/05/17 14:41:57 [INFO] - pipewire: node id is -1
2023/05/17 14:41:57 [INFO] - pipewire: stream state changed to "paused"
2023/05/17 14:41:57 [INFO] - pipewire: node id is 72
2023/05/17 14:41:57 [INFO] - xdph: registered restoreToken with token 0F795BE1-357B-4942-9A80-E50900BEBA2A
2023/05/17 14:41:57 [DEBUG] - dbus: start: returning node 72
2023/05/17 14:41:58 [INFO] - pipewire: stream state changed to "error"
2023/05/17 14:41:58 [INFO] - pipewire: node id is 72
2023/05/17 14:42:10 [INFO] - dbus: session closed
2023/05/17 14:42:10 [DEBUG] - dbus: destroying session 0x55edaeeb25c0
2023/05/17 14:42:10 [DEBUG] - xdpw: screencast instance 0x55edaeeb31a0 now has 0 references
2023/05/17 14:42:10 [DEBUG] - xdpw: destroying cast instance
2023/05/17 14:42:10 [DEBUG] - pipewire: destroying stream
2023/05/17 14:42:10 [INFO] - pipewire: stream state changed to "unconnected"
2023/05/17 14:42:10 [INFO] - pipewire: node id is -1
2023/05/17 14:42:10 [DEBUG] - hyprland: toplevel closed google-chrome-beta
and output from chrome logs:
[14824:15323:0517/144630.195916:ERROR:shared_screencast_stream.cc(241)] PipeWire stream state error: no more input formats
[14824:15323:0517/144630.195926:ERROR:shared_screencast_stream.cc(204)] PipeWire remote error: no more input formats
'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:417 pw_thread_loop_wait()
[14824:14824:0517/144638.525552:ERROR:wayland_event_watcher.cc(39)] libwayland: xdg_surface@58: error 5: Tried to set invalid xdg-surface geometry
Also seeing this on nixOS with latest hyprland/google-chrome as of today.
I can post the trace if useful?
I can try tomorrow with 8 but colour depth.
(Edit: tried it, didn't solve the issue)
So a few more details. Window sharing works fine in Firefox, but not in Chrome/Chromium.
Running hyprland and xdg-desktop-portal-hyprland from the nix flake.
xdg-desktop-portal-hyprland-0.pre+date=2023-04-25_c0e2339
hyprland-0.25.0+date=2023-05-17_79b8576
xdg-desktop-portal-1.16.0
google-chrome-113.0.5672.92
Trace when I try to share a window:
May 18 09:04:30 loki xdg-desktop-portal-hyprland[569818]: warning: queue 0x1bb25f0 destroyed while proxies still attached:
May 18 09:04:30 loki xdg-desktop-portal-hyprland[569818]: wl_display@1 still attached
May 18 09:04:30 loki wireplumber[2564]: <WpPortalPermissionStorePlugin:0x88d670> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
May 18 09:04:30 loki pipewire[2563]: pw.context: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
May 18 09:04:30 loki pipewire[2563]: pw.context: Object: size 336, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 2 (Spa:Enum:MediaType:video)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 12 (Spa:Enum:VideoFormat:BGRA)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Enum, flags 00000000 72 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188085734146
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188085734146
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188084251394
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188084250882
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188075858177
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 0
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 72057594037927935
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle -1x-1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Object: size 248, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 2 (Spa:Enum:MediaType:video)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 12 (Spa:Enum:VideoFormat:BGRA)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle -1x-1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
May 18 09:04:30 loki hyprland[4166]: [4155:569848:0518/090430.072195:ERROR:shared_screencast_stream.cc(241)] PipeWire stream state error: no more input formats
May 18 09:04:30 loki hyprland[4166]: [4155:569848:0518/090430.072208:ERROR:shared_screencast_stream.cc(204)] PipeWire remote error: no more input formats
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Object: size 336, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 2 (Spa:Enum:MediaType:video)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 11 (Spa:Enum:VideoFormat:RGBA)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Enum, flags 00000000 72 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188085734146
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188085734146
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188084251394
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188084250882
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188075858177
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 0
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 72057594037927935
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle -1x-1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Object: size 248, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 2 (Spa:Enum:MediaType:video)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 11 (Spa:Enum:VideoFormat:RGBA)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle -1x-1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Object: size 336, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 2 (Spa:Enum:MediaType:video)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 8 (Spa:Enum:VideoFormat:BGRx)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:modifier (131074), flags 00000018
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Enum, flags 00000000 72 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188085734146
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188085734146
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188084251394
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188084250882
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 144115188075858177
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 0
May 18 09:04:30 loki pipewire[2563]: pw.context: Long 72057594037927935
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle -1x-1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Object: size 248, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 2 (Spa:Enum:MediaType:video)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 8 (Spa:Enum:VideoFormat:BGRx)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 1x1
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle -1x-1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: params Spa:Enum:ParamId:EnumFormat: 1:0 Invalid argument (output format (no more input formats))
May 18 09:04:30 loki pipewire[2563]: pw.context: Object: size 184, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 2 (Spa:Enum:MediaType:video)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 1 (Spa:Enum:MediaSubtype:raw)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:format (131073), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Id 7 (Spa:Enum:VideoFormat:RGBx)
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Rectangle 3824x2102
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 0/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:maxFramerate (131077), flags 00000000
May 18 09:04:30 loki pipewire[2563]: pw.context: Choice: type Spa:Enum:Choice:Range, flags 00000000 40 8
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 1/1
May 18 09:04:30 loki pipewire[2563]: pw.context: Fraction 60/1
May 18 09:04:30 loki pipewire[2563]: pw.link: (85.0 -> 94.0) negotiating -> error (no more input formats)
Started working today after updating the system. Looks like a upstream issue have been resolved.
@dsod Hi, can you specify updated packages versions? Like what versions of chrome, xdg-desktop-portal-hyprland etc. are you using right now, so others can test it too)
Hey, sure:
xdg-desktop-portal 1.16.0-3
xdg-desktop-portal-hyprland 0.3.1-1
wireplumber 0.4.14-1
pipewire 1:0.3.70-2
google-chrome 113.0.5672.126-1
slack-desktop 4.32.122-1
Hmm I'm running similar versions on nixOS and still seeing the same problem sadly
@jnsgruk
Have you solved this?
I'm also on NixOS
, since about a week I have the same issue for both Firefox and Chrome/Brave, while a few months ago it appeared only on Chrome and Firefox worked. It started around the same time when I went from Hyprland 0.27.2 -> 0.28.0
, but reverting (via flake
inputs) didn't make a difference.
I'm getting (Chrome)
[154218:154218:0809/141155.388860:ERROR:feature_processor_state.cc(39)] Processing error occured: model WebAppInstallationPromo failed with UkmEngineDisabled, message:
[154218:155257:0809/141224.464920:ERROR:shared_screencast_stream.cc(241)] PipeWire stream state error: no more input formats
[154218:155257:0809/141224.464932:ERROR:shared_screencast_stream.cc(204)] PipeWire remote error: no more input formats
and a similar pipewire
output as you posted above.
Afraid not -- still broken here.
closing due to the v1.0 rewrite
feel free to open a new issue if this still happens
should work after c0e2339
I've been able to make it work on chronium using xdg-desktop-portal-hyprland-git (AUR). Color needs to be setted to 8 bits
monitor = $screen1,3840x2160@60,0x0,1,bitdepth,8
10 bit is expected to not work correctly at the moment on xdg-desktop-portal-hyprland or in xdg-desktop-portal-wlr (sway)
Proof. Also tested on Google Meet and Zoom (web version) and works as expected.
Thank you! 10 bit wasn't working for me but switching 8 bit was an instant fix.
Screen capture works perfectly in OBS and Firefox, but when I try to screen capture in Chrome, Chromium or Vivaldi (so apparently any Chromium based application) then I just get a loading spinner that never resolves.
Meanwhile, Pipewire prints this error:
(Copied from
journalctl --user --user-unit pipewire.service -f
)I spotted the words "framerate" and "maxFramerate" in the error message, so I thought perhaps my 240hz monitor was the culprit. I reduced my framerate to 60, restarted xdg-desktop-portal-hyprland, xdg-desktop-portal and pipewire, but I still got the exact same error.
chromium 112.0.5615.165-1
google-chrome 112.0.5615.165-1
vivaldi 6.0.2979.15-1
firefox 112.0.1-1
hyprland 0.24.1-1
xdg-desktop-portal 1.16.0-1
xdg-desktop-portal-hyprland 0.3.0-1
pipewire 1:0.3.69-2
wireplumber 0.4.14-1