Compositor (or OpenGL) crahed when I plug in/out hdmi (second monitor)

Almost every time, when I plug in or plug out my second monitor via HDMI, all graphic interface crashed. I still can use it, but I’ve got tearing, all animations disabled and some apps crashed (Unfortunately, I can’t post images here)

I have been using linux for 2 years, but I don’t know a lot, and have no idea how to fix it.
Thank you for your help.

PS. I use Manjaro KDE on Laptop.