2 comments

  • marcus9999 35 minutes ago
    this fixes a real annoyance on older workstation boards where above 4g decoding is a requirement but the option isn't even in the bios menu. saw a build recently on an x79 board where it had to be exposed with a hand patched bios before anything like this or a modern gpu would work at all.
  • bigwheels 56 minutes ago
    What does this do? I perused the README but I'm still clueless on what the purpose and use-case is for ReBAR.

    (Posting this under the assumption others will also appreciate a bit of quick context.)

    • Moto7451 22 minutes ago
      Resizable Base Address Register. In short, rather than the 256MB of mapped memory available to the CPU for any PCI device, ReBAR capable devices can map larger memory to the CPU’s addressable memory space. Without ReBAR or sufficient tricks (that Intel GPUs lack) you have to shuffle 256MB chunks around between GPU and CPU.
    • segfaultbuserr 6 minutes ago
      Its commercial name is AMD Smart Access Memory. This generated much fanfare in the early 2020s after AMD officially supported it and marketed it as a new technology to boost GPU/gaming performance. What AMD did was just rebranding an obscure feature in the PCIe specification [1] for a decade that nobody bothered to use, which allowed one to map more VRAM, which improved performance. Presumably, AMD did it after validating and fixing any driver compatibility problems.

      [1] This is nothing new in the tech industry. Intel rebrands DVFS as SpeedStep, IOMMU as VT-d, AMD rebrands the NX bit as Advanced Virus Protection, etc.

    • wmf 51 minutes ago
      It allows the CPU to access all GPU VRAM. This improves gaming performance, especially for AMD GPUs.
      • willis936 23 minutes ago
        It should come with a warning label. If you're in a scenario where VRAM is being maxed out and thrashing main memory then ReBAR will worsen the frequency and magnitude of the stutters. I ran into this with a 3070 (8 GB) recently.
        • Moto7451 21 minutes ago
          I think you’re experiencing paging to main memory rather than anything ReBAR related. ReBAR itself reduces memory copy operations. It’s of course possible you’re experiencing some sort of BIOS bug.
    • mathisfun123 52 minutes ago
      > what the purpose and use-case is for ReBAR

      Literally the second sentence in the repo:

      > This provides performance benefits and is even required for Intel Arc GPUs to function optimally.

      • qudat 32 minutes ago
        Your quote doesn’t help me understand this project at all.

        What is a BAR let alone a resizable one? Readme just jumps in, which is fine, but I’m not sure why this is on HN or why I should care.

        • pizza234 26 minutes ago
          ReBAR stands for "Resizable BAR (Base Address Register)" - it makes the CPU's access window into GPU memory resizable; instead of accessing VRAM in small chunks, the CPU can access much more at once, which can improve performance on some modern GPUs.
        • mathisfun123 21 minutes ago
          i literally don't understand how people move through life - do you expect every single link on this site (or any site) to be ELI5 for you specifically? do you not understand that some things require effort/homework on your part?