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
Sounds like a compositor issue. Look up your issues more generally with KDE instead of focusing on CS2 directly. There are some tweaks you can make with the full screen compositor that can make your experience better. Also try full screen vs windowed settings modes and see if you get any difference.
In case this is a compositor issue, there is a keybind on KDE that lets you toggle it off. Easier than switching it in the settings every time.
Not normally a KDE user, so great tip in case I switch. ⛽
X11 or Wayland?
I haven’t noticed any issues with a 1080 using i3, so this definitely seems like a KDE issue. Are you getting desktop notifications when it goes black?
Do you have a VRR monitor? Nvidia 545 has a VRR regression that causes this exact black screen issue. 550 beta drivers fix this.
Thank you! I will keep an eye for the stable release.
Yes. I have a freesync monitor so it very well might be this issue.
As a a quick test, go into the Nvidia control panel and under OpenGL settings disable G-sync. If the problem goes away then you’re affected by the VRR regression. More info here: https://forums.developer.nvidia.com/t/545-drivers-have-bad-flickering-and-black-screen-issues-when-vrr-is-enabled/269801/46
For the panels issue, you can launch CS2, press Alt+F3 to open the window settings, go to configure special app settings, then set an option for the app so that it always launches in fullscreen mode.
I also added a shortcut to make games fullscreen by pressing Ctrl+Enter.
I believe this is a bug with KDE and should be reported to them. The same issue is reported on Valve’s repository but nothing has been done from Valve’s side to fix this issue.
EDIT: link for relevant issue: https://github.com/ValveSoftware/csgo-osx-linux/issues/3274
the workaround is written in one of the comments:
- Open CS2
- Press Alt+F3
- Click on “More actions”
- Click on “Configure special applications settings”
- Add a property
- Select “Fullscreen” (click on the “+”)
- Select “Force” and “yes” for the “Fullscreen” parameter
- Click on “Ok” (apply and close)
Thank you. I will test this :)