On Mon, May 02, 2022 at 04:56:30PM +1000, Jonathan Gray wrote:
> On Mon, May 02, 2022 at 10:16:16AM -0600, Thomas Frohwein wrote:
> >
> > Here, it triggered after running the game twice with less than 30
> > seconds of gameplay and then launching it a third time.
> >
> > I will see if I can find some opensource project that uses the FNA
> > ecosystem to be a better test case...
>
> If not apitrace could be used to replay the opengl calls.
> https://apitrace.github.io/
>
> Trying to update an old port I had of it to the latest version (11.0)
> breaks as it is setup to use git submodules now...
> going back to 10.0 builds. rough port attached.
>
> apitrace trace glxgears
> apitrace replay 5138.trace
>
> https://github.com/apitrace/apitrace/blob/master/docs/USAGE.markdown
>
> It is also possible to replay traces captured on linux and other
> systems.
sadly this doesn't seem to work with the games in question. When I launch
them with `apitrace trace fnaify` even with full mono environment and
runtime with apitrace, the game doesn't launch:
$ [...]
...
apitrace: redirecting dlopen("libGL.so", 0x102) from
/usr/local/lib/libSDL2.so.0.11
apitrace: tracing to
/home/thfr/games/fnaify/roguelegacy/gog/data/noarch/game/90118.trace
$
Not sure if maybe the mono runtime is interfering in some way...