Re: ximagesrc is super choppy on Linux on high end hardware...
Robert Ayrapetyan via gstreamer-devel <[email protected]> Tue, 24 Oct 2023 17:22:29 -0700
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAAboi9uzb7=cOjTCSw5tafBXni+UUf4N+Npvza7dKz=PZuLhcQ@mail.gmail.com> |
Are you using the XShm extension (-Dgst-plugins-good:ximagesrc-xshm=enabled)? With XShm you can smoothly get 60 FPS for your resolution with almost no CPU usage. On Tue, Oct 24, 2023 at 11:53 AM Davide Perini via gstreamer-devel <[email protected]> wrote: > > 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? > > What can I do to troubleshoot this problem? > > Thanks >