Most active commenters
  • jsheard(3)

←back to thread

518 points LorenDB | 19 comments | | HN request time: 0.728s | source | bottom
Show context
trollbridge ◴[] No.46173936[source]
Not to disrespect this, but it used to be entirely normal to have a GUI environment on a machine with 2MB of RAM and a 40MB disk.

Or 128K of ram and 400 kb disk for that matter.

replies(10): >>46173975 #>>46174032 #>>46174138 #>>46174272 #>>46174291 #>>46174522 #>>46174810 #>>46174831 #>>46179105 #>>46179554 #
maccard ◴[] No.46174032[source]
A single 1920x1080 framebuffer (which is a low resolution monitor in 2025 IMO) is 2MB. Add any compositing into the mix for multi window displays and it literally doesn’t fit in memory.
replies(8): >>46174159 #>>46174187 #>>46174618 #>>46174766 #>>46176381 #>>46178650 #>>46179683 #>>46182290 #
1. echoangle ◴[] No.46174159[source]
Do you really need the framebuffer in RAM? Wouldn't that be entirely in the GPU RAM?
replies(6): >>46174217 #>>46174228 #>>46174232 #>>46174790 #>>46174992 #>>46175002 #
2. znpy ◴[] No.46174217[source]
Aren’t you cheating by having additional ram dedicated for gpu use exclusively? :)
3. sigwinch ◴[] No.46174228[source]
VGA standard supports up to 256k
4. jerrythegerbil ◴[] No.46174232[source]
To put it in GPU RAM, you need GPU drivers.

For example, NVIDIA GPU drivers are typically around 800M-1.5G.

That math actually goes wildly in the opposite direction for an optimization argument.

replies(3): >>46174310 #>>46174452 #>>46175997 #
5. Rohansi ◴[] No.46174310[source]
> NVIDIA GPU drivers are typically around 800M-1.5G.

They also pack in a lot of game-specific optimizations for whatever reason. Could likely be a lot smaller without those.

replies(1): >>46174400 #
6. monocasa ◴[] No.46174400{3}[source]
Even the open source drivers without those hacks are massive. Each type of card has its own almost 100MB of firmware that runs on the card on Nvidia.
replies(1): >>46174904 #
7. jsheard ◴[] No.46174452[source]
Doesn't the UEFI firmware map a GPU framebuffer into the main address space "for free" so you can easily poke raw pixels over the bus? Then again the UEFI FB is only single-buffered, so if you rely on that in lieu of full-fat GPU drivers then you'd probably want to layer some CPU framebuffers on top anyway.
replies(2): >>46174701 #>>46174783 #
8. the8472 ◴[] No.46174701{3}[source]
well, if you poke framebuffer pixels directly you might as well do scanline racing.
replies(1): >>46174815 #
9. throwaway173738 ◴[] No.46174783{3}[source]
Yes if you have UEFI.
10. ◴[] No.46174790[source]
11. jsheard ◴[] No.46174815{4}[source]
Alas, I don't think UEFI exposes vblank/hblank interrupts so you'd just have to YOLO the timing.
12. jsheard ◴[] No.46174904{4}[source]
That's 100MB of RISC-V code, believe it or not, despite Nvidias ARM fixation.
13. maccard ◴[] No.46174992[source]
You’re assuming a discrete GPU with separate VRAM, and only supporting hardware accelerated rendering. If you have that you almost certainly have more than 2MB of ram
14. ErroneousBosh ◴[] No.46175002[source]
Computers didn't used to have GPUs back then when 150kB was a significant amount of graphics memory.
replies(1): >>46177337 #
15. hinkley ◴[] No.46175997[source]
Someone last winter was asking for help with large docker images and it came about that it was for AI pipelines. The vast majority of the image was Nvidia binaries. That was wild. Horrifying, really. WTF is going on over there?
16. trollbridge ◴[] No.46177337[source]
The IBM PGC (1984) was a discrete GPU with 320kB of RAM and slightly over 64kB of ROM.

The EGA (1984) and VGA (1987) could conceivably be considered a GPU although not turning complete. EGA had 64, 128, 192, or 256K and VGA 256K.

The 8514/A (1987) was Turing complete although it had 512kB. The Image Adapter/A (1989) was far more powerful, pretty much the first modern GPU as we know them and came with 1MB expandable to 3MB.

replies(3): >>46180590 #>>46181872 #>>46191382 #
17. ErroneousBosh ◴[] No.46180590{3}[source]
Neither EGA or VGA were "GPUs", they were dumb framebuffers. Later VGA chipsets had rudimentary acceleration, basically just blitters - but that was a help.

The PGC was kind of a GPU if you squint a bit. It didn't work the way a modern GPU does where you've got masses of individual compute cores working on the same problem, but it did have a processor roughly as fast as the host processor that you could offload simple drawing tasks to. It couldn't do 3D stuff like what we'd call a GPU today does, but it could do things like solid fills and lines.

In today's money the PGC cost about the same as an RTX PRO 6000, so no-one really had them.

18. Yeask ◴[] No.46181872{3}[source]
A video card is not a GPU.
19. lproven ◴[] No.46191382{3}[source]
> The 8514/A (1987) was Turing complete

WTF? Tell me more!

I have one, but I have no matching screen so I never tried it... Maybe it's worth finding a converter.