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

  • michael_palmer@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

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

  • MonkderDritte@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    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.

    • Count Regal Inkwell@pawb.socialOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      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.

    • cevn@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

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

      • braindefragger@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        1 month ago

        I really don’t care about the votes, but that’s a you issue. What a rude response.

        Rocket League Never seen that once on either NVIDIA or AMD graphics. I’ve been hopping between Wayland and X11 for years.

        Are you running a “stable” distro? Cause I see this a lot here. You can’t always expect NEW and VERY BLEEDING EDGE tech (gaming on Linux) to work reliably on a distro that will take a year to include the latest packages.

        Boot into something like CachyOS. I doubt a distro like that with modern packages will have the same issue.

        • cevn@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

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

    • braindefragger@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      I know you’re getting downvotes and rude responses, but you’re correct. As a NVIDIA and AMD GPU Linux user , I watched this transition happen. My Wayland desktop is incredible.

  • MKC@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    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

  • strongarm@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

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

    • Count Regal Inkwell@pawb.socialOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      2 months ago

      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.