• Leopard1907@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Lol, no

    All of them are enabled by default.

    Mesh shader support was enabled by default with Mesa 23.0

    GPL was enabled by default with Mesa 23.1

    RT was enabled by default with Mesa 23.2

    In fact, looking at Mesa env vars also reveals that.

    https://docs.mesa3d.org/envvars.html#radv-driver-environment-variables

    Env vars remained for those features are nogpl,nomeshshader,nort because they are all enabled by default so disabling needs env vars.

    • Zeioth@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      For the sake of completing your answer for other users:

      You have 3 categories of env vars.

      • Mesa: Sometimes can be used to enable experimental features in the RADV driver. Currently, nothing fancy to enable. See all env vars.
      • VK3D: For DX12 games. In new games, sometimes you might have to use VKD3D_FEATURE_LEVEL=12_x if proton doesn’t default to the newest feature level yet (because it is under development). This was necessary for Cyberpunk in the past, for example. But it shouldn’t normally be necessary. See all env vars.
      • DXVK: For DX9/DX10/11 games. The only relevant env var for regular users nowadays is DXVK_FILTER_DEVICE_NAME, which you use to decide what GPU to use when you have more than one. See all env vars.

      By general rule you shouldn’t need to set any env var at all.

      IMPORTANT NOTE FOR MULTI GPU USERS: VK3D uses VKD3D_FILTER_DEVICE_NAME and DXVK uses DXVK_FILTER_DEVICE_NAME. It’s very easy to get confused with that, so please pay attention.

      • Rhed0x@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        you might have to use VKD3D_FEATURE_LEVEL=12_x if proton doesn’t default to the newest feature level yet (because it is under development).

        You don’t. It’ll report 12_2 if your GPU supports the required features.