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
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ 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] 23+ 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
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ 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
  2021-11-09 18:33 ` JaceHensley
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ 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] 23+ messages in thread

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

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

New comment by JaceHensley on void-packages repository

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

Comment:
any updates on this? it's like the only thing that doesn't work for me with my current setup haha. Totally happy to dig in too just don't know where to start looking

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (9 preceding siblings ...)
  2021-11-09 18:33 ` JaceHensley
@ 2022-01-23 20:13 ` bakuhatu
  2022-01-23 22:14 ` bakuhatu
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bakuhatu @ 2022-01-23 20:13 UTC (permalink / raw)
  To: ml

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

New comment by bakuhatu on void-packages repository

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

Comment:
I just tried this:
`export QT_LOGGING_RULES="*.debug=true"
xdg-desktop-portal-kde -v`

And the output shows `xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available` among all the other stuff.

Then I run `obs --verbose` in a new terminal (excluded the stuff that didn't look weird):
```
...
QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
...
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
...
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
info: No blackmagic support
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory
...
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
warning: [pipewire] Failed to create session, denied or cancelled by user
warning: [pipewire] Failed to create session, denied or cancelled by user

```
Then, if I try to select a window from window capture:

```
xdp-kde-screencast: CreateSession called with parameters:
xdp-kde-screencast:     handle:  "/org/freedesktop/portal/desktop/request/1_100/obs8"
xdp-kde-screencast:     session_handle:  "/org/freedesktop/portal/desktop/session/1_100/obs8"
xdp-kde-screencast:     app_id:  ""
xdp-kde-screencast:     options:  QMap()
xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available
xdp-kde-session: "org.freedesktop.impl.portal.Session"
xdp-kde-session: "Close"
xdp-kde-session: "/org/freedesktop/portal/desktop/session/1_100/obs8"
```

If there's anything I can do to help, please tell me. 

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (10 preceding siblings ...)
  2022-01-23 20:13 ` bakuhatu
@ 2022-01-23 22:14 ` bakuhatu
  2022-01-24 18:54 ` JaceHensley
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bakuhatu @ 2022-01-23 22:14 UTC (permalink / raw)
  To: ml

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

New comment by bakuhatu on void-packages repository

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

Comment:
I might have done the `QT_LOGGING_RULES` thing wrong last time.

I tried again with `QT_LOGGING_RULES="*.debug=true" /usr/lib64/libexec/xdg-desktop-portal-kde -v`

saw this: 
`kf.crash: Could not find drkonqi in search paths: ("/usr/lib/libexec", "/usr/lib/qt5/libexec", "/usr/lib64/libexec")` 

but no  `kf.wayland.client: Unknown interface announced: zkde_screencast_unstable_v1`

Also, I tried looking at [waylandintegration.cpp](https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/waylandintegration.cpp):

```
connect(m_registry, &KWayland::Client::Registry::interfaceAnnounced, this, [this](const QByteArray &interfaceName, quint32 name, quint32 version) {
        if (interfaceName != "zkde_screencast_unstable_v1")
            return;
        m_screencasting = new Screencasting(m_registry, name, version, this);
    });
```
This is the part @Johnnynator was talking about I guess. 
I think it's connecting an interfaceAnnounced signal to m_registry, but I don't understand what the last two parameters are for and I can't find what `connect` is. My C++ knowledge is pretty basic so idk.

I couldn't find the `interfaceAnnounced` implementation, though I found the declaration in [kwayland/registry.h](https://github.com/KDE/kwayland/blob/10e3d60ab413e4389b9ecf88909f854f6eddbf1c/src/client/registry.h). I guess the implementation is the 4th argument to connect, but I don't know how to find where it calls that function/emits that signal to see what it's using as `interfaceName`.

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (11 preceding siblings ...)
  2022-01-23 22:14 ` bakuhatu
@ 2022-01-24 18:54 ` JaceHensley
  2022-01-24 19:21 ` bakuhatu
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: JaceHensley @ 2022-01-24 18:54 UTC (permalink / raw)
  To: ml

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

New comment by JaceHensley on void-packages repository

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

Comment:
So I saw the interface name being used here https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/data/org.freedesktop.impl.portal.desktop.kde.desktop.in#L36 would `X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1` need to be added to .desktop files of the applications?

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (12 preceding siblings ...)
  2022-01-24 18:54 ` JaceHensley
@ 2022-01-24 19:21 ` bakuhatu
  2022-01-24 19:54 ` bakuhatu
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bakuhatu @ 2022-01-24 19:21 UTC (permalink / raw)
  To: ml

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

New comment by bakuhatu on void-packages repository

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

Comment:
Adding that line to the .desktop file fixed OBS for me. 

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (13 preceding siblings ...)
  2022-01-24 19:21 ` bakuhatu
@ 2022-01-24 19:54 ` bakuhatu
  2022-02-06 18:41 ` russnes
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bakuhatu @ 2022-01-24 19:54 UTC (permalink / raw)
  To: ml

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

New comment by bakuhatu on void-packages repository

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

Comment:
Adding that line to the .desktop file fixed OBS for me. It crashes now when I try to select RetroArch for window capture, but I guess that's a separate issue. 

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (14 preceding siblings ...)
  2022-01-24 19:54 ` bakuhatu
@ 2022-02-06 18:41 ` russnes
  2022-02-07 23:34 ` bakuhatu
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: russnes @ 2022-02-06 18:41 UTC (permalink / raw)
  To: ml

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

New comment by russnes on void-packages repository

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

Comment:
I have the same issue, no windows to select in OBS in Window Capture (PipeWire) sources, and getting warning 

    warning: [pipewire] Failed to create session, denied or cancelled by user.

I have the package `xdg-desktop-portal-kde` installed, but I don't have the command in my PATH apparently. I see it running in `ps aux | grep xdg` though, not sure what started it, but could have been OBS. It doesn't go away if I close OBS.

pipewire 0.3.45
OBS 27.1.3
kde5 5.23.0
xdg-desktop-portal-kde 5.23.5
linux 5.15.19

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (15 preceding siblings ...)
  2022-02-06 18:41 ` russnes
@ 2022-02-07 23:34 ` bakuhatu
  2022-02-11 17:05 ` JaceHensley
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bakuhatu @ 2022-02-07 23:34 UTC (permalink / raw)
  To: ml

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

New comment by bakuhatu on void-packages repository

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

Comment:
After I updated pipewire (0.3.45) and other packages today, Select Window in OBS no longer shows the wayland window selector although my .desktop file was unchanged.

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (16 preceding siblings ...)
  2022-02-07 23:34 ` bakuhatu
@ 2022-02-11 17:05 ` JaceHensley
  2022-02-11 17:58 ` Johnnynator
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: JaceHensley @ 2022-02-11 17:05 UTC (permalink / raw)
  To: ml

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

New comment by JaceHensley on void-packages repository

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

Comment:
interesting, I was never able to get it working even with that line added to the `.desktop`

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (17 preceding siblings ...)
  2022-02-11 17:05 ` JaceHensley
@ 2022-02-11 17:58 ` Johnnynator
  2022-02-11 20:12 ` JaceHensley
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Johnnynator @ 2022-02-11 17:58 UTC (permalink / raw)
  To: ml

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

New comment by Johnnynator on void-packages repository

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

Comment:
Finally found some time to finish digging into this.
The issue lies in kservice not being able to find the needed desktop files of xdg-desktop-portal-kde
`KWIN_UTILS: Could not find the desktop file for "/usr/lib/libexec/xdg-desktop-portal-kde"`, which is due to our `.desktop` files referring to `lib64` and not just `lib`.
Will take a look how to fix this issue, but I will put a fix in together with the plasma 5.24 update, hopefully this weekend, if not somewhen next week.

Until then you can just edit the `/usr/share/applications/org.freedesktop.impl.portal.desktop.kde.desktop` to point to `/usr/lib/libexec/xdg-desktop-portal-kde`

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (18 preceding siblings ...)
  2022-02-11 17:58 ` Johnnynator
@ 2022-02-11 20:12 ` JaceHensley
  2022-02-11 23:45 ` Johnnynator
  2022-02-15 20:48 ` [ISSUE] [CLOSED] " Johnnynator
  21 siblings, 0 replies; 23+ messages in thread
From: JaceHensley @ 2022-02-11 20:12 UTC (permalink / raw)
  To: ml

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

New comment by JaceHensley on void-packages repository

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

Comment:
Editing that .desktop file worked, I can share my screens and windows from Firefox now!! :tada: 

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

* Re: Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (19 preceding siblings ...)
  2022-02-11 20:12 ` JaceHensley
@ 2022-02-11 23:45 ` Johnnynator
  2022-02-15 20:48 ` [ISSUE] [CLOSED] " Johnnynator
  21 siblings, 0 replies; 23+ messages in thread
From: Johnnynator @ 2022-02-11 23:45 UTC (permalink / raw)
  To: ml

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

New comment by Johnnynator on void-packages repository

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

Comment:
I do have a test repo up for plasma 5.24, kde framework 5.90 and some app updates.
Repo: https://void.johnnynator.dev/plasma-5.24/
Fingerprint: `f2:92:af:af:25:e5:9b:5f:8d:c4:c1:7d:90:2e:2d:19`

Build from this branch: https://github.com/Johnnynator/void-packages/tree/kde-stuff

I will finish it up and push to master once kde frameowkr 5.91 is released, hopefully later today.

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

* Re: [ISSUE] [CLOSED] Pipewire screensharing not working in KDE
  2021-06-03 12:33 [ISSUE] Pipewire screensharing not working in KDE marcschulze98
                   ` (20 preceding siblings ...)
  2022-02-11 23:45 ` Johnnynator
@ 2022-02-15 20:48 ` Johnnynator
  21 siblings, 0 replies; 23+ messages in thread
From: Johnnynator @ 2022-02-15 20:48 UTC (permalink / raw)
  To: ml

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

Closed issue by Konata390 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] 23+ messages in thread

end of thread, other threads:[~2022-02-15 20:48 UTC | newest]

Thread overview: 23+ 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
2021-11-09 18:33 ` JaceHensley
2022-01-23 20:13 ` bakuhatu
2022-01-23 22:14 ` bakuhatu
2022-01-24 18:54 ` JaceHensley
2022-01-24 19:21 ` bakuhatu
2022-01-24 19:54 ` bakuhatu
2022-02-06 18:41 ` russnes
2022-02-07 23:34 ` bakuhatu
2022-02-11 17:05 ` JaceHensley
2022-02-11 17:58 ` Johnnynator
2022-02-11 20:12 ` JaceHensley
2022-02-11 23:45 ` Johnnynator
2022-02-15 20:48 ` [ISSUE] [CLOSED] " Johnnynator

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).