this post was submitted on 16 Feb 2024
18 points (100.0% liked)

Linux Gaming

15500 readers
981 users here now

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:

founded 2 years ago
MODERATORS
 

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

top 10 comments
sorted by: hot top controversial new old
[–] just_another_person 6 points 10 months ago (1 children)

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.

[–] [email protected] 2 points 10 months ago (1 children)

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.

[–] just_another_person 2 points 10 months ago

Not normally a KDE user, so great tip in case I switch. ⛽

[–] [email protected] 3 points 10 months ago

X11 or Wayland?

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

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:

  1. Open CS2
  2. Press Alt+F3
  3. Click on "More actions"
  4. Click on "Configure special applications settings"
  5. Add a property
  6. Select "Fullscreen" (click on the "+")
  7. Select "Force" and "yes" for the "Fullscreen" parameter
  8. Click on "Ok" (apply and close)
[–] lambipapp 2 points 10 months ago

Thank you. I will test this :)

[–] NateSwift 1 points 10 months ago

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?

[–] Molecular0079 1 points 10 months ago* (last edited 10 months ago) (1 children)

Do you have a VRR monitor? Nvidia 545 has a VRR regression that causes this exact black screen issue. 550 beta drivers fix this.

[–] lambipapp 1 points 10 months ago (1 children)

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.

[–] Molecular0079 2 points 10 months ago

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