https://bugs.freedesktop.org/show_bug.cgi?id=98993
--- Comment #4 from smoki smoki00790@gmail.com ---
Yeah, that is separate issue... try output=openglnb instead of opengl, that disable billinear filtering and seems fixes that border around dosbox.
But DRI3 flickering stays :)