• frozen@lemmy.frozeninferno.xyz
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Wait, AMD can raytrace on Linux? All the games I play on my 6800xt have the raytracing graphics options disabled.

    Edit: I’m an idiot, I forgot the 7xxx series has actual RT cores.

    • juipeltje@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I think you have to start the game with some arguments to enable ray tracing. Atleast that’s what i had to do to enable ray tracing in cyberpunk. Game crashed instantly after i turned it on though lol.

    • phx@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      You’ve been able to enable RT on a SteamDeck with the native (Linux based) OS for about 5+ months now. Performance may vary and it’s certainly not going to measure up to a 69xx/79xx series card, but it can do about 30FPS on Doom Eternal, at the native 800P screen which is pretty neat for a portable running an APU :-)

    • vividspecter@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      6xxx does support it, it’s just slower than 7xxx. I don’t bother because I don’t want the perf hit (even with these improvements) as I care more about high refresh rate/resolution support but good to see nevertheless, particularly for future cards where performance will improve further.

      You might want to upgrade Mesa too as I believe at least some of the RT options should now be enabled by default, but I haven’t tested myself. And you can force it with env variables, as the other commenter suggested.

    • SpicySquid@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I case you want to try it out, the setting I’ve used in Steam was:

      RADV_PERFTEST=rt VKD3D_CONFIG=dxr11 %command%

  • Two@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    This will only greatly affect games that don’t do batching of their own

  • mustardman@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Edit: I confused AMDVLK and RADV

    As great as AMD is with open source (comparatively), RADV has been a singular source of headaches on distro that install it by default. Many vulkan games wouldn’t launch and I hear performance is worse than the community Vulkan driver.

    • Espi@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      RADV is the default community Mesa driver, made by Valve engineers.

      AMD’s own Vulkan implementation is called AMDVLK, which is just a port of their Windows Vulkan libraries repackaged for Linux. AMDVLK usually moves faster than RADV and got raytracing much earlier. And even though RADV added raytracing as well, RADVs raytracing is much slower than AMDVLK. Maybe this changes will finally close the gap?

      • vividspecter@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        RADVs raytracing is much slower than AMDVLK. Maybe this changes will finally close the gap?

        One of the commenters claims this:

        the perf uplift from this PR is huge in a few games, out of the ones I own lego builders journey gets a 2x improvement in performance. Control gets an additional ~5 fps at 1080p, Minecraft RTX (education edition) gets ~10 fps more. When paired with the monolithic pipeline MR it completely blows amdvlk out of water.

        Tested on my rx6800.

        So hopefully that is the case. I’ll add that AMDVLK vs RADV has been pretty mixed over the years, and there have been times where RADV has been ahead (particularly with vkd3d-proton support) and usually catches up to and exceeds AMDVLK performance, with the exception of RT.

          • vividspecter@lemm.eeOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            You don’t seem to be the only one, heh. And yeah, everyone should just stick to the default RADV driver unless they feel like tinkering/testing.

    • vividspecter@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      You’d expect so, but I wouldn’t expect miracles. It will vary game by game as well, as only certain types of RT implementations will benefit from this boost.

    • Molecular0079@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      It probably will, but I doubt you can do any serious raytracing workloads on the Deck without sacrificing performance and battery life.