[-- Attachment #1: Type: text/plain, Size: 1539 bytes --] New issue by timsofteng on void-packages repository https://github.com/void-linux/void-packages/issues/33179 Description: <!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. --> ### System * xuname: *Void 5.13.19_1 x86_64 GenuineIntel notuptodate rrFFF* * package: *chromium-94.0.4606.61_1* ### Expected behavior When I launch chromium with specific flags I should have ability to share my screen. It works in firefox right now on my system. ### Actual behavior When launch chromium with needed flags I get this error in terminal: `[30861:30861:0929/144013.555951:ERROR:base_capturer_pipewire.cc(896)] Failed to create a proxy for the screen cast portal: Unknown or unsupported transport “disabled” for address “disabled:”` ![image](https://user-images.githubusercontent.com/51912173/135261553-d3e557a3-ccad-4568-8ed5-e4ed7db16621.png) ### Steps to reproduce the behavior 1. Install wayland, swaywm and wlr portal. 2. Open chromium with next flags: `chromium --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland` 3. Open site to test screensharing (e.g. [webrtc](https://www.webrtc-experiment.com/Pluginfree-Screen-Sharing/#7152534809036794) ). ### Note If I open firefox at the same time and share my screen then screensharing starts to work in chromium as well. But when I close firefox then screensharing in chromium stops to work.
[-- Attachment #1: Type: text/plain, Size: 367 bytes --] New comment by codingHahn on void-packages repository https://github.com/void-linux/void-packages/issues/33179#issuecomment-931114658 Comment: Screensharing on wayland has cost me a large amount of time. The problem are most likely wrongly configured env vars. Have you exposed the needed vars (i.e. WAYLAND_DISPLAY) to dbus? I managed to fix it using these steps.
[-- Attachment #1: Type: text/plain, Size: 562 bytes --] New comment by timsofteng on void-packages repository https://github.com/void-linux/void-packages/issues/33179#issuecomment-931179837 Comment: > Screensharing on wayland has cost me a large amount of time. The problem are most likely wrongly configured env vars. Have you exposed the needed vars (i.e. WAYLAND_DISPLAY) to dbus? I managed to fix it using these steps. I've exported this variables in `.zshrc`: export XDG_SESSION_TYPE=wayland export XDG_RUNTIME_DIR=/home/tim/.local/tmp export XDG_CURRENT_DESKTOP="sway" export XDG_SESSION_DESKTOP=sway
[-- Attachment #1: Type: text/plain, Size: 275 bytes --] New comment by codingHahn on void-packages repository https://github.com/void-linux/void-packages/issues/33179#issuecomment-931245402 Comment: You could try the steps here https://github.com/emersion/xdg-desktop-portal-wlr/issues/145#issuecomment-895276946 and report back
[-- Attachment #1: Type: text/plain, Size: 233 bytes --] New comment by timsofteng on void-packages repository https://github.com/void-linux/void-packages/issues/33179#issuecomment-931309343 Comment: @codingHahn I've added this line to sway config but notifications still does not work
[-- Attachment #1: Type: text/plain, Size: 214 bytes --] New comment by timsofteng on void-packages repository https://github.com/void-linux/void-packages/issues/33179#issuecomment-941121308 Comment: Eventually I invoke sway with `dbus-run-session sway` and it helps
[-- Attachment #1: Type: text/plain, Size: 1542 bytes --] Closed issue by timsofteng on void-packages repository https://github.com/void-linux/void-packages/issues/33179 Description: <!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. --> ### System * xuname: *Void 5.13.19_1 x86_64 GenuineIntel notuptodate rrFFF* * package: *chromium-94.0.4606.61_1* ### Expected behavior When I launch chromium with specific flags I should have ability to share my screen. It works in firefox right now on my system. ### Actual behavior When launch chromium with needed flags I get this error in terminal: `[30861:30861:0929/144013.555951:ERROR:base_capturer_pipewire.cc(896)] Failed to create a proxy for the screen cast portal: Unknown or unsupported transport “disabled” for address “disabled:”` ![image](https://user-images.githubusercontent.com/51912173/135261553-d3e557a3-ccad-4568-8ed5-e4ed7db16621.png) ### Steps to reproduce the behavior 1. Install wayland, swaywm and wlr portal. 2. Open chromium with next flags: `chromium --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland` 3. Open site to test screensharing (e.g. [webrtc](https://www.webrtc-experiment.com/Pluginfree-Screen-Sharing/#7152534809036794) ). ### Note If I open firefox at the same time and share my screen then screensharing starts to work in chromium as well. But when I close firefox then screensharing in chromium stops to work.