zeio
New Member
Hey, I am using `gentoo` with `hyprland`, trying to set up screen capturing through `pipewire`. Here is a strange error I get when I add `screen capture pipewire` to the scene. The following message is repeatedly printed in the obs log:
And 'wireplumber' log tail looks like this:
Where message 'script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs' is printed repeatedly. I've successfully run OBS on gnome with the same pipewire installation. My guess is that the problem may be related to wireplumber not being able to get permissions for capturing the screen. Is it possible to somehow give wireplumber this permission through OBS settings or config file?
Code:
info: [pipewire] Negotiated format:
info: [pipewire] Format: 8 (Spa:Enum:VideoFormat:BGRx)
info: [pipewire] Modifier: 0x0
info: [pipewire] Size: 1366x768
info: [pipewire] Framerate: 0/1
And 'wireplumber' log tail looks like this:
Code:
W 17:26:00.029054 m-portal-permissio ../wireplumber-0.4.14/modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x55a50fb15c40> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
I 17:26:00.029338 script/access-port access-portal.lua:64:updateClientPermissions: <WpClient:39:0x55a50fba37f0> Ignoring portal check for non-sandboxed client
I 17:26:00.029386 script/access-port access-portal.lua:31:setPermissions: <WpClient:39:0x55a50fba37f0> Granting ALL access to client 39
I 17:26:00.041225 script/restore-str restore-stream.lua:386:restoreStream: <WpNode:40:0x55a50fc02720> restore values from Input/Video:media.role:Screen
I 17:26:00.042533 script/create-item create-item.lua:85:chunk: <WpSiNode:0x55a50fb85be0> activated item for node 40
I 17:26:00.042723 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.043034 script/policy-node policy-node.lua:79:createLink: link obs <-> xdg-desktop-portal-hyprland passive:nil, passthrough:false, exclusive:nil
I 17:26:00.043434 pw.metadata ../pipewire-0.3.80/src/pipewire/impl-metadata.c:186:impl_set_property: 0x55a50fb72e30: add id:40 key:target.node type:Spa:Id value:-1
I 17:26:00.043586 script/restore-str restore-stream.lua:178:saveTarget: <WpNode:40:0x55a50fc02720> saving stream target for obs -> nil
I 17:26:00.044091 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.044519 script/policy-node policy-node.lua:545:findUndefinedTarget: ... default target picked: xdg-desktop-portal-hyprland (28), can_passthrough:false
I 17:26:00.044912 script/policy-node policy-node.lua:654:checkFollowDefault: <WpSiNode:0x55a50fb85be0> ... set metadata to follow default
I 17:26:00.046965 script/policy-node policy-node.lua:150:chunk: <WpSiStandardLink:0x55a50fbd0ae0> activated si-standard-link
I 17:26:00.047250 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.047747 script/policy-node policy-node.lua:545:findUndefinedTarget: ... default target picked: xdg-desktop-portal-hyprland (28), can_passthrough:false
I 17:26:00.049467 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.050303 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.050882 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.052200 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.052875 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
W 17:26:00.029054 m-portal-permissio ../wireplumber-0.4.14/modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x55a50fb15c40> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
I 17:26:00.029338 script/access-port access-portal.lua:64:updateClientPermissions: <WpClient:39:0x55a50fba37f0> Ignoring portal check for non-sandboxed client
I 17:26:00.029386 script/access-port access-portal.lua:31:setPermissions: <WpClient:39:0x55a50fba37f0> Granting ALL access to client 39
I 17:26:00.041225 script/restore-str restore-stream.lua:386:restoreStream: <WpNode:40:0x55a50fc02720> restore values from Input/Video:media.role:Screen
I 17:26:00.042533 script/create-item create-item.lua:85:chunk: <WpSiNode:0x55a50fb85be0> activated item for node 40
I 17:26:00.042723 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.043034 script/policy-node policy-node.lua:79:createLink: link obs <-> xdg-desktop-portal-hyprland passive:nil, passthrough:false, exclusive:nil
I 17:26:00.043434 pw.metadata ../pipewire-0.3.80/src/pipewire/impl-metadata.c:186:impl_set_property: 0x55a50fb72e30: add id:40 key:target.node type:Spa:Id value:-1
I 17:26:00.043586 script/restore-str restore-stream.lua:178:saveTarget: <WpNode:40:0x55a50fc02720> saving stream target for obs -> nil
I 17:26:00.044091 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.044519 script/policy-node policy-node.lua:545:findUndefinedTarget: ... default target picked: xdg-desktop-portal-hyprland (28), can_passthrough:false
I 17:26:00.044912 script/policy-node policy-node.lua:654:checkFollowDefault: <WpSiNode:0x55a50fb85be0> ... set metadata to follow default
I 17:26:00.046965 script/policy-node policy-node.lua:150:chunk: <WpSiStandardLink:0x55a50fbd0ae0> activated si-standard-link
I 17:26:00.047250 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.047747 script/policy-node policy-node.lua:545:findUndefinedTarget: ... default target picked: xdg-desktop-portal-hyprland (28), can_passthrough:false
I 17:26:00.049467 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.050303 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.050882 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.052200 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.052875 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
W 17:26:00.029054 m-portal-permissio ../wireplumber-0.4.14/modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x55a50fb15c40> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
I 17:26:00.029338 script/access-port access-portal.lua:64:updateClientPermissions: <WpClient:39:0x55a50fba37f0> Ignoring portal check for non-sandboxed client
I 17:26:00.029386 script/access-port access-portal.lua:31:setPermissions: <WpClient:39:0x55a50fba37f0> Granting ALL access to client 39
I 17:26:00.041225 script/restore-str restore-stream.lua:386:restoreStream: <WpNode:40:0x55a50fc02720> restore values from Input/Video:media.role:Screen
I 17:26:00.042533 script/create-item create-item.lua:85:chunk: <WpSiNode:0x55a50fb85be0> activated item for node 40
I 17:26:00.042723 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.043034 script/policy-node policy-node.lua:79:createLink: link obs <-> xdg-desktop-portal-hyprland passive:nil, passthrough:false, exclusive:nil
I 17:26:00.043434 pw.metadata ../pipewire-0.3.80/src/pipewire/impl-metadata.c:186:impl_set_property: 0x55a50fb72e30: add id:40 key:target.node type:Spa:Id value:-1
I 17:26:00.043586 script/restore-str restore-stream.lua:178:saveTarget: <WpNode:40:0x55a50fc02720> saving stream target for obs -> nil
I 17:26:00.044091 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.044519 script/policy-node policy-node.lua:545:findUndefinedTarget: ... default target picked: xdg-desktop-portal-hyprland (28), can_passthrough:false
I 17:26:00.044912 script/policy-node policy-node.lua:654:checkFollowDefault: <WpSiNode:0x55a50fb85be0> ... set metadata to follow default
I 17:26:00.046965 script/policy-node policy-node.lua:150:chunk: <WpSiStandardLink:0x55a50fbd0ae0> activated si-standard-link
I 17:26:00.047250 script/policy-node policy-node.lua:676:handleLinkable: <WpSiNode:0x55a50fb85be0> handling item: obs (40)
I 17:26:00.047747 script/policy-node policy-node.lua:545:findUndefinedTarget: ... default target picked: xdg-desktop-portal-hyprland (28), can_passthrough:false
I 17:26:00.049467 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.050303 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.050882 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.052200 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
I 17:26:00.052875 script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs
Where message 'script/restore-str restore-stream.lua:297:chunk: <WpNode:40:0x55a50fc02720> saving stream props for obs' is printed repeatedly. I've successfully run OBS on gnome with the same pipewire installation. My guess is that the problem may be related to wireplumber not being able to get permissions for capturing the screen. Is it possible to somehow give wireplumber this permission through OBS settings or config file?