Title. Turning off the fancy effects (which can be done with Alt+Shift+F12) improves performance slightly, but having to toggle them on and off every time I start a game is Y’know. A thing.

I was wondering if there was a way to automate it, like game opens -> they turn off, game process ends -> they turn back on

  • MonkderDritteEnglish
    arrow-up
    15
    arrow-down
    0
    ·
    5 months ago
    edit-2
    5 months ago
    link
    fedilink

    There’s a ‘gamemode’ package (arch wiki) but it’s more for niceness and gpu governor.

    My proposal: figure out how you can disable effects via cli on KDE and create a little script.

  • MKCEnglish
    arrow-up
    14
    arrow-down
    1
    ·
    5 months ago
    edit-2
    5 months ago
    link
    fedilink

    you can create a application or window rule via the game’s window operation menu’s “more” submenu (can use the equivilant shortcut if full screen or no border) once you open the dialog, the thing you’d be looking to add is “block compositing” set to “force”. it will automatically turn compositing back on once the process is closed

    • qazEnglish
      arrow-up
      1
      arrow-down
      0
      ·
      5 months ago
      link
      fedilink

      I’ve also used this and it solved some performance issues with a game.

  • strongarmEnglish
    arrow-up
    8
    arrow-down
    0
    ·
    5 months ago
    link
    fedilink

    I was under the impression this was done automatically when in full-screen, are you sure this isn’t the case?

    • Count Regal InkwellOPEnglish
      arrow-up
      6
      arrow-down
      0
      ·
      5 months ago
      edit-2
      5 months ago
      link
      fedilink

      It might? I don’t use exclusive fullscreen ever. :P I’m too ADHD for that. I always have chat windows on my second screen and am constantly tabbing out on load screen and shit.

    • kugmoEnglish
      arrow-up
      1
      arrow-down
      0
      ·
      5 months ago
      link
      fedilink

      Proton used to disable compositing back in version 5 or 6, then one (minor) update messed it up. iirc it was reported to the issue tracker but still hasn’t been fixed. proton-ge still keeps the compositor disabled.

    • kjetilEnglish
      arrow-up
      1
      arrow-down
      0
      ·
      5 months ago
      link
      fedilink

      Yes, this happens automatically for me when I launch games. I don’t remember doing anything special to set it up (Kubuntu with nVidia drivers on X11). I do mostly game in true full screen though, not “full screened window”

  • kugmoEnglish
    arrow-up
    3
    arrow-down
    0
    ·
    5 months ago
    edit-2
    5 months ago
    link
    fedilink

    Autocomposer Kwin script

    Doesn’t work on Plasma 6 yet, but there’s probably a way to auto convert qt5 to 6 with minimal problems.

  • michael_palmerEnglish
    arrow-up
    3
    arrow-down
    1
    ·
    5 months ago
    link
    fedilink

    Lutris can execute scripts before launching game and after closing game. I use this to disable “win” key in games.

    • fl_spEnglish
      arrow-up
      1
      arrow-down
      0
      ·
      5 months ago
      link
      fedilink

      Pretty sure “turn off desktop effects” is an actual option in lutris.

  • qazEnglish
    arrow-up
    1
    arrow-down
    0
    ·
    5 months ago
    edit-2
    5 months ago
    link
    fedilink

    deleted by creator

  • CarlosCheddarEnglish
    arrow-up
    2
    arrow-down
    1
    ·
    5 months ago
    link
    fedilink

    Lutris has a toggle for this so you could check what that calls and add it to your launch script.

  • ZamundaaaEnglish
    arrow-up
    6
    arrow-down
    8
    ·
    5 months ago
    link
    fedilink

    Just use Wayland, then you don’t have to care about this

    • cevnEnglish
      arrow-up
      7
      arrow-down
      4
      ·
      5 months ago
      link
      fedilink

      Nice non answer. Wayland draws giant black boxes on my rocket league half the time so that won’t work.

        • cevnEnglish
          arrow-up
          1
          arrow-down
          1
          ·
          5 months ago
          link
          fedilink

          As a matter of fact, I switched out of Ubunth which had this and other issues, no black boxes on Fedora.

    • Count Regal InkwellOPEnglish
      arrow-up
      3
      arrow-down
      6
      ·
      5 months ago
      link
      fedilink

      Unfortunately Wayland breaks Inkscape and GIMP and even caused Firefox to be unstable for me.

      So like

      Thanks but no thanks?

      Maybe in 5 years. Let it stay in the oven for a bit longer.