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

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    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.

  • xinayder@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 months ago

    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)
  • NateSwift@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 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@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 months ago

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