CS2 on KDE plasma goes black for a few seconds - eviltoast

Hello,

I tried to jump over to KDE from gnome yesterday and have experienced a lot of issues in CS2. Maybe I am missing some shared libs or anything, if you know of fixes to the following issues I would love to hear them :)

  • Every so often my screen goes black while playing cs2. It remains black for a few seconds before coming back alive.

  • My KDE panels are appearing Infront of CS2 every time I alt tab and the only way to fix it is to go into settings and go > Windowed > back to Fullscreen.

I am running endeavourOS Nvidia 545.29.06 on a GTX 1070ti

Thank you