Turns out kwin was using some outdated opengl-related options and didn't detect the change in gpu drivers, which lead to broken composing in some places - clearing out [Composing] section in ~/.config/kwinrc and logout/login allowed kwin to redetect options needed.