* [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway)
@ 2021-09-29 11:47 timsofteng
2021-09-30 9:17 ` codingHahn
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: timsofteng @ 2021-09-29 11:47 UTC (permalink / raw)
To: ml
[-- 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Screen sharing in Chromium on Wayland (sway)
2021-09-29 11:47 [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway) timsofteng
@ 2021-09-30 9:17 ` codingHahn
2021-09-30 10:04 ` timsofteng
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: codingHahn @ 2021-09-30 9:17 UTC (permalink / raw)
To: ml
[-- 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Screen sharing in Chromium on Wayland (sway)
2021-09-29 11:47 [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway) timsofteng
2021-09-30 9:17 ` codingHahn
@ 2021-09-30 10:04 ` timsofteng
2021-09-30 11:43 ` codingHahn
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: timsofteng @ 2021-09-30 10:04 UTC (permalink / raw)
To: ml
[-- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Screen sharing in Chromium on Wayland (sway)
2021-09-29 11:47 [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway) timsofteng
2021-09-30 9:17 ` codingHahn
2021-09-30 10:04 ` timsofteng
@ 2021-09-30 11:43 ` codingHahn
2021-09-30 13:12 ` timsofteng
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: codingHahn @ 2021-09-30 11:43 UTC (permalink / raw)
To: ml
[-- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Screen sharing in Chromium on Wayland (sway)
2021-09-29 11:47 [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway) timsofteng
` (2 preceding siblings ...)
2021-09-30 11:43 ` codingHahn
@ 2021-09-30 13:12 ` timsofteng
2021-10-12 15:28 ` timsofteng
2021-10-12 15:28 ` [ISSUE] [CLOSED] " timsofteng
5 siblings, 0 replies; 7+ messages in thread
From: timsofteng @ 2021-09-30 13:12 UTC (permalink / raw)
To: ml
[-- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Screen sharing in Chromium on Wayland (sway)
2021-09-29 11:47 [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway) timsofteng
` (3 preceding siblings ...)
2021-09-30 13:12 ` timsofteng
@ 2021-10-12 15:28 ` timsofteng
2021-10-12 15:28 ` [ISSUE] [CLOSED] " timsofteng
5 siblings, 0 replies; 7+ messages in thread
From: timsofteng @ 2021-10-12 15:28 UTC (permalink / raw)
To: ml
[-- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ISSUE] [CLOSED] Bug: Screen sharing in Chromium on Wayland (sway)
2021-09-29 11:47 [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway) timsofteng
` (4 preceding siblings ...)
2021-10-12 15:28 ` timsofteng
@ 2021-10-12 15:28 ` timsofteng
5 siblings, 0 replies; 7+ messages in thread
From: timsofteng @ 2021-10-12 15:28 UTC (permalink / raw)
To: ml
[-- 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-10-12 15:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 11:47 [ISSUE] Bug: Screen sharing in Chromium on Wayland (sway) timsofteng
2021-09-30 9:17 ` codingHahn
2021-09-30 10:04 ` timsofteng
2021-09-30 11:43 ` codingHahn
2021-09-30 13:12 ` timsofteng
2021-10-12 15:28 ` timsofteng
2021-10-12 15:28 ` [ISSUE] [CLOSED] " timsofteng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).