ffmpeg x11grab on Xvfb interferring with SDL-1.2 app run from docker image
Are there known issues when using ffmpeg x11grab to screen cast from Xvfb running an SDL-1.2 app (https://github.com/civctp2/civctp2 does not use OpenGL with SDL) from a docker image (inside GitLab CI)?
Screen casting with ffmeg x11grab from Xvfb running a java-GUI from a docker image (inside GitLab CI) works: https://gitlab.com/romangrothausmann/dind-sikuli/-/jobs/166447668/artifacts/file/start.mpg and I was also able to use ffmpeg x11grab from X11 on my local PC when runing ctp2 from docker image
but when using the same command to record ctp2 on Xvfb the SDL canvas stays black. My guess is that x11grab somehow irritates SDL but only if run on Xvfb because ctp2 then issues this at startup:
The program 'ctp2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 13 error_code 2 request_code 130 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)