Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Pipewire screensharing not working in KDE
@ 2021-06-03 12:33 marcschulze98
  2021-06-23  1:46 ` HadetTheUndying
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: marcschulze98 @ 2021-06-03 12:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]

New issue by marcschulze98 on void-packages repository

https://github.com/void-linux/void-packages/issues/31274

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.12.8_1 x86_64 AuthenticAMD uptodate rrrmFFFFF
* packages:  kwin-5.21.5_1 plasma-workspace-5.21.5_1

### Expected behavior
Screensharing in KDE should work under wayland in applications such as firefox and obs.
### Actual behavior
Screensharing doesn't work
### Steps to reproduce the behavior
- Build plasma-workspace and kwin with the pipewire build option enabled
- Restart KDE
- Open firefox, navigate to https://mozilla.github.io/webrtc-landing/gum_test.html and click on "Screen capture"

### Additional info
- I know that pipewire is working *somewhat* because after enabling the build options I have working window previews (previously they were just empty boxes when I hovered over them).
- Pipewire works fine for me as an audio Server
- I have pipewire, pipewire-pulse, pipewire-media-session and xdg-desktop-portal-kde running
- when running "xdg-desktop-portal-kde -v" in a terminal I get the output `zkde_screencast_unstable_v1 does not seem to be available` when triggering screensharing in obs or firefox.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
@ 2021-06-23  1:46 ` HadetTheUndying
  2021-06-23 10:29 ` paper42
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: HadetTheUndying @ 2021-06-23  1:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

New comment by HadetTheUndying on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-866457233

Comment:
You may want to test https://github.com/void-linux/void-packages/pull/31549

I'll test on Gnome tomorrow.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
  2021-06-23  1:46 ` HadetTheUndying
@ 2021-06-23 10:29 ` paper42
  2021-06-23 11:03 ` Johnnynator
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2021-06-23 10:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-866722125

Comment:
> Build plasma-workspace and kwin with the pipewire build option enabled

what does this mean? pipewire should be enabled by default

> You may want to test #31549

That PR doesn't change anything with screen sharing.

Do you have the latest obs version? Are you sure it's not running under xwayland?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
  2021-06-23  1:46 ` HadetTheUndying
  2021-06-23 10:29 ` paper42
@ 2021-06-23 11:03 ` Johnnynator
  2021-06-23 11:04 ` Johnnynator
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Johnnynator @ 2021-06-23 11:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-866742051

Comment:
> > Build plasma-workspace and kwin with the pipewire build option enabled
> 
> what does this mean? pipewire should be enabled by default

No, I initially didn't enable it by default, since it made Plasma rather unstable under wayland. Most of the probmles are kinda resolved in regards of stability and I will enable it again with the next update (if I won't forget it).

But this only fixes one issue. Plasma under Void does seem to have a problem noticing that pipe wire is running/available and I wasn't able yet to figure out yet what the cause is.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (2 preceding siblings ...)
  2021-06-23 11:03 ` Johnnynator
@ 2021-06-23 11:04 ` Johnnynator
  2021-06-23 17:16 ` Johnnynator
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Johnnynator @ 2021-06-23 11:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-866742051

Comment:
> > Build plasma-workspace and kwin with the pipewire build option enabled
> 
> what does this mean? pipewire should be enabled by default

No, I initially didn't enable it by default, since it made Plasma rather unstable under wayland. Most of the probmles are kinda resolved in regards of stability and I will enable it again with the next update (if I won't forget it).

But this only fixes one issue. Plasma under Void does seem to have a problem noticing that pipe wire is running/available and I wasn't able yet to figure out yet what the cause is.


Also no Xwayland isn't the issue.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (3 preceding siblings ...)
  2021-06-23 11:04 ` Johnnynator
@ 2021-06-23 17:16 ` Johnnynator
  2021-06-24 10:53 ` paper42
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Johnnynator @ 2021-06-23 17:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-866742051

Comment:
> > Build plasma-workspace and kwin with the pipewire build option enabled
> 
> what does this mean? pipewire should be enabled by default

No, I initially didn't enable it by default, since it made Plasma rather unstable under wayland. Most of the probmles are kinda resolved in regards of stability and I will enable it again with the next update (if I won't forget it).

But this only fixes one issue. Plasma under Void does seem to have a problem noticing that pipe wire is running/available and I wasn't able yet to figure out yet what the cause is.


Also no Xwayland isn't the issue.

Edit: Correction, I already enabled pipewire in 5.22.1 last week.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (4 preceding siblings ...)
  2021-06-23 17:16 ` Johnnynator
@ 2021-06-24 10:53 ` paper42
  2021-09-14 19:55 ` JaceHensley
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2021-06-24 10:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-867539360

Comment:
> Also no Xwayland isn't the issue.

obs doesn't show a pipewire screen sharing option when not running with the wayland backend.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (5 preceding siblings ...)
  2021-06-24 10:53 ` paper42
@ 2021-09-14 19:55 ` JaceHensley
  2021-09-15 23:11 ` Johnnynator
  2021-09-15 23:28 ` JaceHensley
  8 siblings, 0 replies; 10+ messages in thread
From: JaceHensley @ 2021-09-14 19:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

New comment by JaceHensley on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-919468173

Comment:
I'm hitting this as well.

pipewire: 0.3.35
firefox: 92
kde: 5.22.5
xdg-desktop-portal-kde: 5.22.5

I can't figure out what's going on. In firefox in the gUM test page I click "Use operating system setting" and then "Allow" but nothing happens, I do see "zkde_screencast_unstable_v1 does not seem to be available" when I run `xdg-desktop-portal-kde` in the terminal. But in Chromium it lets me select a screen (without a preview of the screen) but then after sharing the gUM page just displays a black screen with no cursor or anything. 

Does that have to do with Plasma under void not knowing when pipewire is running? I've added `pipewire` to "Login Scripts" in KDE

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (6 preceding siblings ...)
  2021-09-14 19:55 ` JaceHensley
@ 2021-09-15 23:11 ` Johnnynator
  2021-09-15 23:28 ` JaceHensley
  8 siblings, 0 replies; 10+ messages in thread
From: Johnnynator @ 2021-09-15 23:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-920452751

Comment:
I'm not sure yet where the issue is. `xdg-desktop-portal-kde` does not motivate kf.wayland.client enough to announce `zkde_screencast_unstable_v1`. so the ` m_screencasting = new Screencasting(m_registry, name, version, this);` line will never be called.

The autotest `testScreencastV1Interface` from `kwayland-server` on the other hand does manage to get the kwayland lib to announce screencast and does not fail. I need to check where the two differ and (except the obvious parts).

Another note for myself `QT_LOGGING_RULES="*.debug=true"` is pretty useful to get more verbose log, we want to see a line containing `kf.wayland.client: Unknown interface announced:  zkde_screencast_unstable_v1` in the output

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (7 preceding siblings ...)
  2021-09-15 23:11 ` Johnnynator
@ 2021-09-15 23:28 ` JaceHensley
  8 siblings, 0 replies; 10+ messages in thread
From: JaceHensley @ 2021-09-15 23:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New comment by JaceHensley on void-packages repository

https://github.com/void-linux/void-packages/issues/31274#issuecomment-920459377

Comment:
lmk if I can be of any help, getting logs or whatever else

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-09-15 23:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
2021-06-23  1:46 ` HadetTheUndying
2021-06-23 10:29 ` paper42
2021-06-23 11:03 ` Johnnynator
2021-06-23 11:04 ` Johnnynator
2021-06-23 17:16 ` Johnnynator
2021-06-24 10:53 ` paper42
2021-09-14 19:55 ` JaceHensley
2021-09-15 23:11 ` Johnnynator
2021-09-15 23:28 ` JaceHensley

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ https://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git