https://bugs.kde.org/show_bug.cgi?id=445346
Bug ID: 445346
Summary: GStreamer with waylandsink in KDE Plasma Wayland
session: Video doesn't update (works in GNOME or using
Weston)
Product: kwin
Version: 5.23.2
Platform: Debian testing
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 143459
--> https://bugs.kde.org/attachment.cgi?id=143459&action=edit
Screencast showing the differing behaviour between KWin in a Plasma Wayland
session and in Weston
SUMMARY
When using GStreamer's "waylandsink" to play a video, the video does not update
when run in a KDE Plasma Wayland session using KWin as Wayland compositor. It
works fine in a GNOME session or when using a nested Weston instead.
(Audio is updated just fine, but the image seems "frozen"/stuck.)
STEPS TO REPRODUCE
1. make sure that gstreamer-plugins bad and the gst-launch-1.0 command are
available
* e.g. in Debian testing, packages "gstreamer1.0-tools" and
"gstreamer1.0-plugins-bad" need to be installed
2. in a Plasma Wayland session, run this command:
gst-launch-1.0 -v videotestsrc ! waylandsink
3. look at the video that is shown
OBSERVED RESULT
A test video shows up, but it looks like a static image, there are no visible
updates.
EXPECTED RESULT
The rectangle at the bottom right should update, the "black and white dots"
should be moving.
SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-2-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
ADDITIONAL INFORMATION
The expected behaviour can be seen e.g. by:
* running the same command inside Weston instead (screencast which shows both,
KWin and Weston behaviour is attached)
* using "glimagesink" instead of "waylandsink", by running this command:
gst-launch-1.0 videotestsrc ! glimagesink.
The actual/original use case where I came across this is LibreOffice, which
also uses "waylandsink" for video Playback in Impress presentations (added in
LibreOffice commit
https://git.libreoffice.org/core/+/9d18bc40416b651340804f44ba5fae65f3bbbcfa%5E%21
for the gtk3 variant; I am currently looking at this for the qt5/kf5/qt6
variant, since the "qwidgetvideosink" which is currently used for the qt5/kf5
variants is no longer under development and will possibly not be ported to Qt
6).
--
You are receiving this mail because:
You are watching all bug changes.