On Wed May 10 14:11:24 2023 +0000, Nikolay Sivov wrote:
Will it potentially stay flaky indefinitely?
Some games expect the streams to be in a deterministic and specific order. If we want to fix them then we have to fix the flakyness.
I have some patches for that already, currently in Proton, with some intermediate step that works around wg_parser non-determinism with some stream matching heuristics. It's imperfect though, so in the end I think it means we will need a completely different backend instead of wg_parser.
The advantage would be that we could get rid of several problems inherent to the presence of Glib threads. The downsides are that we then have to rely more on MF pipeline instead of GStreamer, and afaics it's not working well yet with decoder MFTs (I believe something related to decoder MFT eating input samples without outputting anything immediately).