Blink/Chromium fails to render APNGs properly
Hiii!
Issue with both electron and chromium; APNGs animate, but are blinky and disappear unless there's an animation keyframe. Problem doesn't show up on Firefox or with mpv, so it's not an issue with my APNG file; Same APNG also works in Chromium from Void and OSX without a problem.
During the playback, this gets thrown onto stderr:
[4600:4600:1127/025207.605509:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[4600:4600:1127/025207.608219:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[4607:4607:1127/025207.628830:ERROR:gpu_init.cc(537)] Passthrough is not supported, GL is disabled, ANGLE is
libpng warning: size in first frame's fcTL must match the size in IHDR
libpng warning: Skipped (ignored) a chunk between APNG chunks
libpng warning: Skipped (ignored) a chunk between APNG chunks
(...)
Before seeing the libpng warnings, I tried checking if it was an issue of mismatched framerates on my end (multiple screens, all with slightly different rates), but I wasn't able to make it any better/worse by changing them in xrandr.
My setup:
- Alpine edge
- latest everything (Chromium 107.0.5304.121-r0, Electron 21.3.1-r0)
- Xorg, icewm
- Test APNG: https://donotsta.re/emoji/blobcat/ablobcatwave.png
- Screencap: https://f.sakamoto.pl/what.mkv