compton
compton copied to clipboard
Using compton to optimize for two gstreamer video vindows to remove tearing and frame skipping
Platform: Fedora 37 server amd64 with X11, LightDM and Openbox Desktop driver: default kernel driver for intel (it is Intel HD Graphics 500), single screen 1080p, use xrandr to set resolutions and other aspects of the display. use xorg.conf with "intel" driver and SNA accelmethod, DIR3
Compton version: compton-0.1-0.12.beta3 Compton configuration:compton --backend glx --paint-on-overlay --vsync opengl-swc --sw-opti
Steps of reproduction
If I open two gstreamer windows playing 1080p h264 video. Gstreamer is set to use vaapi sync to use HW acceleration. The computer is Beelink T4Pro which is a low performance, Celeron N3350, Intel HD500 graphics, mmc storage mini computer
Expected behavior
I expect smooth playback, in both instances of the gstreamer, without tearing. Seldom frame drops are acceptable, but not desired of course
Current Behavior
The videos skip a frame at random more frequently than desirable, once in a while the skipping happens several times within a 2 second period creating a nasty stuttering. but without compton, both instances are playing pretty smooth but with tearing which is even less acceptable than the frame dropping with compton enabled . I would like to configure the compton in the most optimal way to get as closer as possible to the desired smoothness of the video playback. I understand that with this limited hardware it is not likely will be perfect, but if you can suggest anything, that would be great