garbled window content with mpv & radeonsi when opening video or changing window geometry
Originally reported there and partially fixed in mpv: https://github.com/mpv-player/mpv/issues/7105
With radeonsi, there is garbled window content for a brief moment when entering fullscreen (not fixed) and there also was this issue when opening a video in mpv (fixed with this commit: https://github.com/mpv-player/mpv/commit/8a0929973de15d9574595c5a098bb3446757ef16 ).
Question is why this is an issue with radeonsi (seems like Intel i965 isn't affected) and what would need to be changed in mpv, probably when it calls EGLSwapBuffers, to also fix the corruption when entering fullscreen/resizing window.
As a workaround, radeonsi_zerovram
does the trick, but there is the intention to fix it in mpv instead.
Attached are two apitrace captures when starting and entering fullscreen with mpv, before and after the commit mentioned above.