ximagesrc is super choppy on Linux on high end hardware...
Davide Perini
perini.davide at dpsoftware.org
Fri Nov 3 16:57:35 UTC 2023
I'm using GStreamer Java and still trying to understand how make it work
with Wayland...
not that simple for me since it requires additional knowledge...
Il 25/10/2023 00:58, Nicolas Dufresne via gstreamer-devel ha scritto:
> Hi,
>
> Le mar. 24 oct. 2023, 16 h 00, Davide Perini via gstreamer-devel
> <gstreamer-devel at lists.freedesktop.org> a écrit :
>
> Hi,
>
> I'm using a simple pipeline like this
> gst-launch-1.0 ximagesrc startx=0 endx=3800 starty=0 endy=2150 !
> videoscale ! videoconvert ! autovideosink
>
> on Ubuntu 23.10 using an AMD Ryzen 9 7950X3D and an Nvidia RTX4090.
>
> Video drivers are correctly installed since I can play games at very
> high framerate...
>
> When I try to record the screen with the pipeline above, the screen
> became choppy, mouse starts lagging and the screen record get two or
> three frames per second.
>
> How this is possible?
>
>
> X11 capture requires copying frames out of the GPU memory, which is
> very slow on modern GPUs.
>
>
> What can I do to troubleshoot this problem?
>
>
> I would discourage from spending time on this, and suggest using the
> screen cast portal and a Wayland session.
>
> Nicolas
>
>
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20231103/2aaf9137/attachment.htm>
More information about the gstreamer-devel
mailing list