‹ BackHN Continuity

Thread

The work by Valve's Timur Kristóf on improving old AMD GPUs on Linux

472 points · 97 comments · speckx

  1. wewewedxfgdf · · focus · HN ↗
    If only AMD did this.
    1. Waterluvian · · focus · HN ↗
      Is there financial incentive for them to bother?
      1. wewewedxfgdf · · focus · HN ↗
        Perhaps not but one of the great things about Nvidia is their latest drivers often support very old cards.
        1. Waterluvian · · focus · HN ↗
          Maybe there’s a prestige angle to somewhat shame them into keeping up with nvidia. Though my sense is that they’re barely peers anymore in this space. :(
        2. benoau · · focus · HN ↗
          They're in the process of ending support for everything below the RTX 2000 series -

          <a href="https:&#x2F;&#x2F;windowsforum.com&#x2F;news&#x2F;nvidia-ends-feature-support-for-maxwell-pascal-and-volta-gpus-with-590-driver.395102&#x2F;" rel="nofollow">https:&#x2F;&#x2F;windowsforum.com&#x2F;news&#x2F;nvidia-ends-feature-support-fo...

          1. kingstnap · · focus · HN ↗
            I mean the GTX 1080 is over a decade old.

            Compare it to some other products from that time:

            - AMD FX Piledriver CPUs

            - Skylake i7-6700K

            - iPhone 6s

            - Ubuntu 16.04 LTS

            - Oculus Rift CV1

            - Android 6 Marshmallow

            1. ahartmetz · · focus · HN ↗
              The GTX 1080 (Ti) still works for the vast majority of games in 1080p. The only thing that would really make it obsolete is driver issues.
              1. jasomill · · focus · HN ↗
                As does Skylake.

                Also, compared to replacing a CPU, which likely entails replacing motherboard and RAM, upgrading to something like a used or NOS 3070 is easy and inexpensive.

            2. Telaneo · · focus · HN ↗
              I wish we did better when it came to software support. Hardware can last a long time if some effort is made on the software side. The 6700k isn&#x27;t supported by Windows 11, but not for any good reasons. It&#x27;s still got the performance to do quite a lot.

              Bulldozer (and thus Piledriver) was stillborn unless you were a diehard AMD fan or an overclocker, so I don&#x27;t think it&#x27;s helpful to lump in here.

              I&#x27;d still use an iPhone SE (released the same year as the 6s) if the battery could be easily replaced and iOS still supported it. I don&#x27;t do anything on my phone that needs significant performance anyway.

              I still keep my 2012 Macbook Pro around as a backup machine if something happens to my main machines, and every time I drag it out to check up on it, it still works great. It stopped getting any significant MacOS updates in 2022, but Linux still gets updates.

        3. returnorthrow · · focus · HN ↗
          Perhaps René, the maintainer of T&#x2F;2 Linux, will end up vibe coding an NVIDIA driver one of these days. He’s been reverse engineering and vibe coding a bunch of drivers for old graphics lately and live streaming everything.
        4. jeroenhd · · focus · HN ↗
          I&#x27;ve been having issues with kernel updates because Nvidia dropped support for my GPUs. Apparently 9 years was the threshold for their &quot;very old card&quot; support because Pascal is now over.

          The community can&#x27;t fix it because their drivers are proprietary blobs. Open source drivers are essentially useless. I&#x27;ll have to stick to something like Ubuntu to keep the hardware working without fighting DKMS every update.

          This is the reason my next GPU will be either AMD or Intel.

        5. theandrewbailey · · focus · HN ↗
          Nvidia&#x27;s latest drivers don&#x27;t support GTX 1000 and older GPUs. They are barely 10 years old and are still plenty fast for a lot of software.
      2. emilsedgh · · focus · HN ↗
        One thing they should&#x27;ve learned from Nvidia is that it&#x27;s really worth it for them to invest making their devices function as broadly as possible. Crypto and AI waves both benefited Nvidia much more than AMD partly due to their devices being more universally usable.

        That &quot;partly&quot; was worth hundreds of billions of dollars but AMD were cheap&#x2F;shortsighted enough to hire a few dedicated engineers.

        1. jiggawatts · · focus · HN ↗
          Trillions.
        2. jeroenhd · · focus · HN ↗
          AMD put a lot of effort into supporting common features every GPU should support, like OpenCL&#x2F;OpenGL&#x2F;Vulkan. Nvidia put a lot of effort in proprietary crap that only worked on their cards.

          For various reasons, people flocked to CUDA and other proprietary crap. Then, when that proprietary crap became a money maker, people blamed AMD for not supporting their favourite proprietary crap.

          AMD did the right thing and was punished for it. They&#x27;re still doing the right thing and people still complain that their free full re-implementation of Nvidia&#x27;s runtime, designed for completely different hardware, isn&#x27;t good enough.

          AMD is not a saint of a company but it&#x27;s consistently better than Nvidia, every time. Doing the right thing just isn&#x27;t rewarded and it shows.

          1. Pannoniae · · focus · HN ↗
            on older (read: older than RDNA) AMD GPUs the OpenGL drivers are so poor that half the games just either crash outright or have colourswap bugs (RGBA -&gt; BGRA i.e. your game turns blue and orange)

            On Linux at least you can use Mesa to fix it up. On Windows you&#x27;re.... out of luck I guess unless someone writes a binarypatch or something?

            I wouldn&#x27;t call it great support, NV &quot;just works&quot;

        3. throwaway27448 · · focus · HN ↗
          Surely this should be the opposite direction, no? Nvidia drivers on linux have always been trash. If anything, I would much prefer nvidia learn from amd.
    2. bigyabai · · focus · HN ↗
      AMD supports Mesa precisely so that enthusiasts can do this.

      Nvidia doesn&#x27;t, and their Vulkan stack underperforms on Linux quite significantly.

      1. pjmlp · · focus · HN ↗
        Except VFX and Hollywood have no qualms using proprietary drivers.
        1. simoncion · · focus · HN ↗
          Even proprietary drivers can use Mesa. Most of Mesa is MIT-licensed.

          It&#x27;s just that Nvidia doesn&#x27;t care much about Linux, and -as always- Nvidia ignores what everyone else is doing and does their own thing. Sometimes doing their own thing works out really well in the short run, but -long term- they always fall behind.

          1. AceJohnny2 · · focus · HN ↗
            &gt; It&#x27;s just that Nvidia doesn&#x27;t care much about Linux

            Nvidia cares a lot about Linux. Just... on their terms.

            1. braiamp · · focus · HN ↗
              Yeah, Nvidia cares a lot if you are using compute (aka CUDA). If you are using their pure compute offerings, they are really top of the line on performance and tooling.
              1. okanat · · focus · HN ↗
                Though only with commercial distros. If you&#x27;re using a fixed version of RedHat, SUSE or Ubuntu (which Canonical offers a commercial version), you&#x27;re fine. Just hope that their support is long enough and NEVER EVER change kernel versions except patches!

                If your GPU is older than 5 years, then you&#x27;re in danger zone and you should have completely replaced your hardware 3 years ago and bought new Nvidia equipment now 10x more expensive!

            2. hobo123 · · focus · HN ↗
              Terms which famously caused Linus Torvalds to tell them to FU.
              1. bigyabai · · focus · HN ↗
                With fairness; some things have changed.

                The biggest issue was Nvidia&#x27;s insistence on buffer management with EGLStreams instead of GBM, which broke a lot of desktops. But they forfeit that fight ~4 years ago.

                1. torginus · · focus · HN ↗
                  EGLStreams actually was(is) a pretty good API, and I think most compositors would&#x27;ve had a much better time if they decided to implement that on top of GBM.

                  To summarize the difference between the two, with EGLStreams, you just request a buffer to draw into from a pool, then once you&#x27;re done, you just submit it, thereby relinquishing control of it.

                  With GBM, you explicitly need to manage the lifetime and access of your buffers, making sure you don&#x27;t leak or accidentally write it when the GPU&#x2F;driver tries to, there&#x27;s no clear ownership, and you have to handle surfaces for double&#x2F;triple buffering.

                  It&#x27;s a much lower level API, and much harder for drivers and app developers to get right, which was no doubt responsible for many years of buggy Wayland compositors - in fact, basically there wasn&#x27;t a single correct implementation until Valve built Gamescope&#x2F;their wlroots-based KWin fork and did a bunch of driver work.

          2. pjmlp · · focus · HN ↗
            They care about Linux, on their own distribution and licensing terms, NVidia even has their own distro.

            Like most FOSS done by companies, what they don&#x27;t care is GPL, which sadly will eventually be meaningless after boomer and Gen X devs that created the GNU movement no longer walk this plane.

            There isn&#x27;t a single embedded OS FOSS alternative to GNU&#x2F;Linux that uses GPL, including Linux Foundation&#x27;s own Zephyr.

          3. okanat · · focus · HN ↗
            Having two Mesa installations at once is how you summon dragons to fight. The FOSS Linux ecosystem doesn&#x27;t really play well with multiple versions of libraries.
    3. Arech · · focus · HN ↗
      Well, AMD open sources all its stack, making this possible.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.