This is one is very confusing, which probably speaks to the current UI in Heroic. I just want to say, run this game in gamescope, so I can use HDR.

I have the latest version of Heroic, installed via Flatpak as the devs recommend. If I go to configure the game in the UI it has an entire settings page dedicated to Gamescope but nothing that says “enable gamescope”.

Anyone get this working?

  • million@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Thanks! I actually have that installed already.

    How do I tell Heroic to launch the game under gamescope vs the normal compositor?

    • rtxn@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      It’s weird. You have to check the “enable upscaling” box, then set “Game Width” and “Game Height”, but leave “Upscale {Width,Height}” empty.

      • million@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 months ago

        I wouldn’t have thought to try that, thanks. Can confirm it looks like it is running Gamescope now. However I am still not getting an HDR switch in Alan Wake 2.

        Getting the following errors:

        “CreateSwapchainKHR: Creating swapchain for non-Gamescope swapchain. Hooking has failed somewhere! You may have a bad Vulkan layer interfering. Press OK to try to power through this error, or Cancel to stop.”

        “QueuePresentKHR: Attempting to present to a non-hooked swapchain. Hooking has failed somewhere! You may have a bad Vulkan layer interfering. Press OK to try to power through this error, or Cancel to stop.”

        • rtxn@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          2 months ago

          I don’t use HDR so I’m of limited help there. You’ll have to pass those options using the “Additional Options” field. Run gamescope --help and look for relevant options. Also remember that HDR support on Linux is still primitive.

          • million@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 month ago

            Got it working, added to -f --hdr-enabled to the Additional Options section under the upscale options in the Gamescope tab. Note that you need to have upscape ticked even with additional options added.

            Unfortunately it looks washed out and awful.

            Edit: Just a quick note for folks this later on - it does indeed seem Flatpak related, or at the very least I got similar results under the Steam flatpak trying to run game in HDR. I ended installing the native package Steam and lo and behold, HDR no longer looks as washed out, though it still looks a little off compared to Windows. Those swapchains errors I was getting also vanish.

            • rtxn@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              2 months ago

              Unfortunately it looks washed out and awful.

              That tends to happen when HDR is not supported somewhere in the pipeline from the game renderer to the monitor. It’s not a standard Wayland feature, most compositors only have experimental or WIP implementations, and X11 is never getting it. You’ll also have to use the perfect settings to make it look any good.

              When I said “primitive”, I really meant “sharpened stick” primitive.

              It could also be Flatpak’s sandboxing messing it up, so maybe try running the game through Lutris. The existing installation should work fine.