<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
I'm using GStreamer Java and still trying to understand how make it
work with Wayland...<br>
not that simple for me since it requires additional knowledge...<br>
<br>
<br>
Il 25/10/2023 00:58, Nicolas Dufresne via gstreamer-devel ha
scritto:<br>
<blockquote type="cite"
cite="mid:CAKQmDh-2DG8SJopTzn=6+MzSYWvcXXWhNCNgUvr1ekiGNU4z1g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div>Hi,<br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le mar. 24 oct. 2023, 16 h
00, Davide Perini via gstreamer-devel <<a
href="mailto:gstreamer-devel@lists.freedesktop.org"
moz-do-not-send="true" class="moz-txt-link-freetext">gstreamer-devel@lists.freedesktop.org</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm using a simple pipeline like this<br>
gst-launch-1.0 ximagesrc startx=0 endx=3800 starty=0
endy=2150 ! <br>
videoscale ! videoconvert ! autovideosink<br>
<br>
on Ubuntu 23.10 using an AMD Ryzen 9 7950X3D and an Nvidia
RTX4090.<br>
<br>
Video drivers are correctly installed since I can play
games at very <br>
high framerate...<br>
<br>
When I try to record the screen with the pipeline above,
the screen <br>
became choppy, mouse starts lagging and the screen record
get two or <br>
three frames per second.<br>
<br>
How this is possible?<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">X11 capture requires copying frames out of the
GPU memory, which is very slow on modern GPUs.</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
What can I do to troubleshoot this problem?<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I would discourage from spending time on this,
and suggest using the screen cast portal and a Wayland
session.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Nicolas</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks<br>
<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>