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.
Linux Gaming
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
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?
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
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?
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 :)