Better HN
topnewbestaskshowjobs
Log inSign up

zir_blazer

66 karma · joined Jun 27, 2026 (5mo ago) · 14 submissions

Submissions

comment 1w ago · link · parent

They DID do that, but not for consumer GPUs, only pure compute ones. 2013 Kepler based Tesla K40 had 12 GiB VRAM and a 16 GiB BAR1 requeriment (Also called Large BAR), and was stated in the datasheet itself: https://hpc.llnl.gov/sites/default/files/Tesla-K40-Board-Spe...

...and is fun to read issues from a decade ago about failing to get those working in desktop systems. Makes perfect sense why they never did that with no control over the Firmware ecosystem.

IIRC, there was at least one particular Tesla or Quadro model where nVidia was providing tools to flash its VBIOS because there were two versions, one with standard 256 MiB BAR and other with Large BAR, and you needed to reflash VBIOS with the version you wanted to use. This was of course pre ReBAR. ReBAR pretty much solved the issue because if it doesn't support ReBAR you get standard 256 MiB BAR compatibility mode, and if it does, then it is assumed it works. Large BAR GPUs tended to either made the system to not POST or failed to be initialized in anything not intended for it.

comment 2w ago · link · parent

That is because you are using a server Xeon E5 Motherboard at a time when Teslas and Large BARs were becoming a thing whereas he is using a consumer ASUS TUF GAMING X570-PLUS with a PCIe Switch hooked in that makes the MMIO resources from a single PCIe Port suddently becoming gigantic. Unlikely to have ever been tweaked, much less tested, by vendor for that use case.

comment 2w ago · link · parent

These kind of things should be fun to test in Coreboot. When Dasharo was released for the MSI PRO Z690-A DDR4 more than four years ago, I had issues with two Radeon 5600XT installed that was fixed after developer tuned some MMIO related parameters: https://github.com/Dasharo/dasharo-issues/issues/245 How many PCIe Switches you could chain and how many cards with absurd MMIO requeriments you can get working would be an interesing experiment.

In the last decade or so I have seen plenty of Firmware MMIO related issues. I remember certain SR-IOV supporting NICs (Usually Intel ones like i350 and other enterprise parts) not being able to reserve enough MMIO to create all the supported SR-IOV Virtual Functions in consumer Motherboards, in many cases you could get SR-IOV working but were limited to create like 4 VFs even if hardware supported 16 because that is what you could fit. This was essentially all a Firmware issue, not Hardware, but few people has the required skills to do any BIOS modding to fix rather convoluted things like MMIO allocation. Basically, you're trying to workaround Firmware issues elsewhere.

comment 2mo ago · link · parent

I had the exact opposite impression, there are a lot of user contributions working on old platforms, and even specific platform communities. For example, you have 15h.org which is a community dedicated to AMD Bulldozer / Piledriver generation, and they managed to fix a few things that were left broken in Coreboot. I also saw an influx of users working in Sandy Bridge / Ivy Bridge / Haswell era Intel platforms with an occasional Skylake. The problem is, precisely, that most of the user contributions are for old platforms that nobody that does NOT currently owns those will want to touch if you're purchasing new. I would have been very enthusiastic about that work if it was done about 10 years ago or so, nowadays they seem to be hobby projects that don't advance anything forward.

There do exists individual users that work on newer stuff, after the MSI Z690-A / Z790-P there were 2 people that did ports for H610 since at that point the platform was supported and they only had to port the Motherboard. However, they are rather rare, since the kind of user that Coreboot seems to attract are from the privacy and security anti-ME/PSP crowd that don't even want to use newer platforms, which is the exact opposite of my view.

A lot of the work companies does may be just for their internal systems or reference platform and these may not get to the hands of end users, ever. I still recall Phoronix articles covering Coreboot releases always taking a jab at the new supported Motherboards until the MSI Z690-A DDR4 port from 2022.

comment 2mo ago · link · parent

I was an early user of the Z690-A from 2022 and while it was dull in features, the basics (Boot Menu) were already present. The configuration UI was TianoCore/EDK2:

https://youtu.be/eSz2VPH64SE?t=343

https://docs.dasharo.com/dasharo-menu-docs/dasharo-system-fe...

I do recall hearing the same thing than you but for those that used SeaBIOS and needed to recompile and reflash just to change boot order...

comment 2mo ago · link · parent

Yes, I know that there are examples in the wild of that kind of AI modding:

https://www.downtowndougbrown.com/2026/08/fixing-an-emachine...

https://www.tomshardware.com/pc-components/cpus/modder-uses-...

Coreboot in desktops is perhaps in the best shape it has been in more than a decade because you have the MSI Z690-A/Z790-P series for LGA 1700 (Which were current gen when released, and still viable if you want Intel with DDR4, albeit the boards aren't available in retail anymore) and the recently released port for the MSI B850-P for AM5 Phoenix. It was a major leap from previously, where it only supported ancient platforms or unobtanium reference boards. I bashed Coreboot a lot for that, but now you actually have usable options. Same with Servers, with the Gigabyte MZ33-AR1 for AMD Turin. When was the last time you saw Coreboot running on current gen boards available in retail, if ever?

comment 2mo ago · link · parent

No idea on the AXI Bus you're talking about, so can't make comparisons.

MMIO (Memory Mapped I/O) is essentially memory (Whenever RAM or ROM) from OTHER devices that is directly visible on the CPU Address Space. My understanding is that from the CPU side, MMIO is mostly transparent (Except for the massive increase in latency) because it gets used like if it was interacting with its own workspace with regular instructions like MOV.

What PCIe ReBAR changes is that before, you could only see a 256 MiB window onto the GPU VRAM, so there was an added overhead since the GPU may need to relocate things from inside that window somewhere else on its total VRAM (So yes, it may be interpreted as if what you see from the CPU side is just some kind of exchange buffer). I believe the best way to describe how it operates is comparing it to EMS (Expanded Memory) from the DOS days since it also worked with a similar, if not the same idea. You could only see a portion of the total memory from what was installed on the EMS card (A 128 KiB window located on the upper part of the 1 MiB address space from the 8086 CPU), so you had to switch which Page (Region) of the memory was visible, adding a lot of overhead and most likely requiring an additional buffer in main RAM to move data from one Page to another. However, since I have no knowledge if the GPUs really work like that I can't confirm. I never knew whenever the 256 MiB is "fixed" (You always see the same Region) or if you can decide which section of the VRAM to make visible.

comment 2mo ago · link · parent

These kind of BIOS modding shenannigans is why I got interesed in Coreboot, so that enhancing a Firmware capabilities becomes possible without touching propietary tools/code.

Other similar mods included adding NVMe Boot capabilities to older Firmwares that didn't supported them so that you could boot from modern NVMe drives if you used some kind of adapter (As none of those Motherboards have M.2 Slots, but you can use them with a PCIe-to-M.2 adapter card). Also adding required stuff to get certain CPUs booting in Motherboard that were never officially supported (Depending on generation, could be as simple as adding new CPU Microcode).

comment 2mo ago · link · parent

Since about 5 or 6 years ago, PCIe Video Cards advertise a capability known as Resizeable BAR. PCI Devices like GPUs require some memory to use for PCI MMIO, which is directly visible on the CPU Address Space. As a side note, this Address Space is shared with RAM, and anyone that was around when having 4 GiB RAM with a 32 Bit OS was common (Earlier than 2010 or so) knows that you only saw about 3.25 GiB RAM or so because of sharing the Address Space with PCI MMIO, and those fortunate enough to have used SLI usually saw even less than that, like 2.87 GiB RAM.

GPUs has been using a 256 MiB PCI MMIO window regardless of how much VRAM they actually have since... nearly forever? At least since PCIe is a thing, since I recall than AGP Aperture Size was seteable in era accurate BIOSes. PCIe 3.0 specification introduced a feature known as Resizeable BAR, where the PCI Device can tell a compatible Firmware how much MMIO it actually wants. GPUs uses that to tell a ReBAR capable UEFI Firmware that it wants more MMIO (Usually as big as the GPU VRAM), or uses legacy 256 MiB otherwise.

comment 2mo ago · link · parent

Not sure if this finding is new, but the author from FASM Thread apparently has a Zen 2 (He doesn't directly mention anything besides "Ryzen 7", some other poster mentions it is a 4800HS). There were a number of articles about RDRAND being broken on Zen 2 and earlier generations but fixed via Microcode from about 6 years ago:

https://www.phoronix.com/news/AMD-Releases-Linux-Zen2-Fix

https://arstechnica.com/gadgets/2019/10/how-a-months-old-amd...

No idea what happened after. And that also means that you suddently need information about user systems BIOS/Microcode.

comment 3mo ago · link · parent

>> I believe that only the first Pentium 3 core, Katmai, did this.

> No, all Pentium 3s as well as the Pentium M. Pentium 4 notably didn't suffer from it, but it of course had many, many, MANY other performance issues.

I had to google a bit to confirm this, and seems like I'm not the only one that understood it the way I did:

https://www.vogons.org/viewtopic.php?p=1360606#p1360606

https://www.vogons.org/viewtopic.php?p=1360620#p1360620

Basically, the info I knew was that Katmai had 128 Bits SSE registers but processed it as 2x64 Bits. That info is well reference pretty much everywhere. What is NOT explicitly mentioned is whenever Coppermine/Tualatin maintained that arrangement or had 128 Bits compute units for SSE, so the wording always made Katmai to look like an exception, as if everything else was 128 Bits.

comment 3mo ago · link · parent

> Additionally, some CPUs at the time only had a 64-bit data path and had to split SSE2 ops, but because of their 4-1-1 decode template, could only decode one such instruction per cycle.

I believe that only the first Pentium 3 core, Katmai, did this.

> This caused some confusion with the 64-bit version of Windows since Microsoft tried to say that x87/MMX shouldn't be used in long mode, but after queries from video processing companies had to document that the x87/MMX registers were enabled and context switched for user mode code.

I have some faint memories of hearing somewhere that Long Mode didn't support x87. I wonder if it is related to this early info you mention and it being Microsoft specific.

comment 3mo ago · link · parent

Currently it should work only with Phoenix based APUs (8700G and 8600G, the non-IGP 8700F and 8400F, and whatever other GE or PRO versions of those). It was already mentioned elsewhere that Phoenix2 8300G and 8500G does NOT work, so expect the doc to be fixed ASAP.

14.

The First Open-Source Firmware Released for Modern AMD Ryzen AM5 Platform(phoronix.com ↗)

5 points · by zir_blazer · 3mo ago · 1 comment