[kde] [Bug 476602] New: Gstreamer's pipewiresrc capturing from XDG screencast portal produces a black screen on Wayland
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sun Nov 5 20:39:27 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=476602
Bug ID: 476602
Summary: Gstreamer's pipewiresrc capturing from XDG screencast
portal produces a black screen on Wayland
Classification: I don't know
Product: kde
Version: unspecified
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: kde at copper.lt
Target Milestone: ---
Created attachment 162886
--> https://bugs.kde.org/attachment.cgi?id=162886&action=edit
Test python script that shows either the capture screen (works) or black window
(doesn't work)
SUMMARY
Getting the `streamID` & `filedescriptor` parameters from the
org.freedesktop.portal.ScreenCast portal and then using a gstreamer pipeline
with `pipelinesrc` and the aforementioned `streamID` & `filedescriptor`
parameters produces a black screen instead of the contents the stream should be
capturing.
Why I think it is a KDE Plasma issue: I am running an atomic distribution
(rpm-ostree based), rebased on Gnome, and the test script works. Everything
else besides the DE is the same.
STEPS TO REPRODUCE
1. Run test script via `python3 xdp-screen-cast.py`
2. Select which screen/window to share in the Screen share popup
3. Observe the demo window which has opened
OBSERVED RESULT
Demo window shows all-black
EXPECTED RESULT
Demo window shows the contents of the capture
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Using NVIDIA GPU, but like I said, the same works on Gnome.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list