News for hackers. Stuff that matters.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jzer0cool on Friday January 29, 2021 @09:11PM (#25965319)
One of my very first jobs I worked to test VGA cards. They were 4mb and 8mb. Yes you read that right, that is "m" as in megabytes. My setup was a 25 megahertz open case motherboard, a few of these. It was part of the last quality control station and I would pop each vga card into the PCI slot and boot it up.

I would basically run a macro which cycle through the resolutions from b/w, 4 colors, 16, 256, ... and up to a million or so. I think there is a name for this, but basically watching a prism of rainbow colors. At a million+ the color tones are very smooth and you don't see an outline.

I could not imagine I would be able to differentiate a billion colors from its previous factor. At that point, I would stamp it and it goes off to shipping for packaging, and to the customers.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by sorenjan on Friday January 29, 2021 @10:22PM (#25965695)
> They were 4mb and 8mb. Yes you read that right, that is "m" as in megabytes.

mb is short for millibit, the abbreviation for megabyte is MB (or MiB if you mean 2^20 bytes). I know it's a minor thing, but "m" and "M" does not mean the same thing, neither does "b" and "B", and they're mixed up too often.

Sorry for the off topic.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by SECProto on Friday January 29, 2021 @11:37PM (#25966120)
While we're being pedantic: I agree with you about SI prefixes, but bits are indivisible. A millibit doesnt exist (only possible use would be if one was referring to something like a transfer speed as "19 millibits per second", but that's kind of lacking meaning - "0.019 bit per second" or "1.14 bits per minute" would be better)
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dkbrk on Friday January 29, 2021 @11:57PM (#25966259)
> bits are indivisible

No, they're not. Sure, in more familiar scenarios where you're measuring the size of some amount of data it's an integer, but there's nothing mathematically wrong with having a not-integer number of bits.

See: https://en.wikipedia.org/wiki/Shannon_(unit)

If you do any sort of calculations with information theory you're quite likely to end up with a non-integer number of bits, and there's nothing wrong with that.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by reitzensteinm on Saturday January 30, 2021 @01:47AM (#25966860)
You can absolutely have two ranges which require 7.5 bits to store each (0-180) and write them to 15 bits of storage.

Just because physical hardware is more or less restricted to integer bit quantities doesn't mean fractional bits aren't a useful concept.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by SECProto on Saturday January 30, 2021 @02:13AM (#25967001)
Sure, I accept I was wrong, and millibits may have some niche usage. That said, the comment I was responding to was describing hardware with "4 mb" of ram. There's no confusion in that case.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dathinab on Saturday January 30, 2021 @02:37AM (#25967112)
Also in older texts MB often refers to MiB. Even today there are context where people nearly always mean MiB even when they write MB.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by reasonabl_human on Friday January 29, 2021 @10:26PM (#25965709)
Where does mebibyte come into play?
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by Phrodo_00 on Friday January 29, 2021 @10:35PM (#25965748)
Mebibyte comes from pedants (like myself) that say that the Mega prefix in SI means 10^6, but in computing we often take it to mean 2^20. Mebibyte is unambiguous, and if everybody used it (unlikely. I don't think either MacOs or Windows use it), then Mega would also be. Right now, when you see mega in a computing context you're not sure if it means 10^6 or 2^20, although a lot of times it doesn't even matter.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by stephenr on Saturday January 30, 2021 @12:05AM (#25966308)
It wouldn’t make sense for macOS to use the binary prefixes for file sizes, as it uses the decimal sizing method to show file sizes.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dr_zoidberg on Friday January 29, 2021 @11:53PM (#25966221)
Okay, this is second hand as I don't own a mac, but a friend who does noticed that on his macbook, macOS reports file sizes with megabyte being 10^6 bytes, whereas windows follos the 2^20 convention.

He was going crazy over a file being shown as 600Mb on Windows and 629Mb on mac. When he compared the bytes values, they were the same (around 629,145,600 bytes) and that settled it.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by rgovostes on Saturday January 30, 2021 @12:09AM (#25966333)
They changed the behavior of macOS a number of years ago (2012?) because disk manufacturers advertise storage capacity in 10^x, and the operating system displaying sizes in 2^y made the disks seem smaller and (in theory) caused confusion.

My MacBook Pro's internal "1 TB" disk is actually 1,000,240,963,584 bytes -- neither 1 TB nor 1 TiB.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jzer0cool on Saturday January 30, 2021 @01:07AM (#25966672)
I remember this. The packaging showing the calculation that 1MB = 1024 bytes
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by seppel on Saturday January 30, 2021 @09:17AM (#25969247)
> He was going crazy over a file being shown as 600Mb on Windows and 629Mb on mac. When he compared the bytes values, they were the same (around 629,145,600 bytes) and that settled it.

To be fair: It make sense to measure RAM in MiB, because it is addressed by binary address lines so you always end up with a power of two.

Files are, however, as big as somebody decided to write into them (modulo some rounding to the next sector, depending on file system implementation details). It does not make much sense to measure them in MiB. Quite often it just more confusing to calculate file sizes in MiB instead of MB. I dont even know why Microsoft stated that MiB business.

Similar with hard disks by the way. They contain as many sectors as the manufacturer was able to put on them. There is no power of two involved.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by saagarjha on Saturday January 30, 2021 @01:22AM (#25966751)
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by stephenr on Saturday January 30, 2021 @12:07AM (#25966322)
This is true, macOS reports it using decimal sizing.

I believe the reason is that all storage devices are marketed in decimal sizes anyway.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by shawnz on Saturday January 30, 2021 @09:06AM (#25969160)
"Mebibyte" and similar units were only coined in 1998, a few years after the era of 4mb/8mb graphics cards.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by fouc on Saturday January 30, 2021 @08:09PM (#25974727)
kB = KiloByte mB = MegaByte
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by mschuetz on Saturday January 30, 2021 @01:41AM (#25966834)
> I could not imagine I would be able to differentiate a billion colors from its previous factor.

Darker single color gradients exhibit very strongly noticeable color stairs. Tried to generate one for a background, locked horrible. It only looked good once I randomized the gradients a bit, i.e., even with 8 bit colors, you might need dithering.

Similar effects can be noticed in relatively dark photos of scenes with gradients, e.g., a sky.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by Ballas on Saturday January 30, 2021 @03:51AM (#25967444)
Are you sure the panel you are viewing on is in fact also 8bits/color? The only time I have experienced what you are describing was when the panel turned out to be 6bpc - at the time I was working with raw data from a 12 bit sensor.

Of course my experience is only 1 test point...

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by kuschku on Saturday January 30, 2021 @07:27AM (#25968518)
> Are you sure the panel you are viewing on is in fact also 8bits/color

Yes, if you actually compare a 10-bit and an 8-bit panel next to another, it's immediately obvious.

Here's a photo of a 6-bit, 10-bit and 8-bit gradient on a native 10-bit panel without any dithering (Dell UP2718Q): https://i.k8r.eu/VolYbQ.png

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by Ballas on Sunday January 31, 2021 @06:23AM (#25977997)
Thanks, that is very informative. Could you give a link to the source, or even the grey level range used here? I am trying to reproduce the results, but I an not having any luck unless I change my brightness/contrast to unacceptable levels.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by kuschku on Sunday January 31, 2021 @06:42AM (#25978103)
That’s the grey level test of the official VESA DisplayHDR Test application: https://www.microsoft.com/en-us/p/displayhdr-test/9nn1gpn70n...

Running on a Dell UP2718Q, in HDR10 mode.

That said, in person can be – depending on environmental lighting conditions – much more subtle. The test here was done with blinds closed in a mostly dark room.

In bright environments 8-bit is enough, and 6-bit with dithering can be close, but in dark environments (such as when watching a movie or gaming) you'll even notice banding in 10-bit content.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by the8472 on Friday January 29, 2021 @09:40PM (#25965482)
A rainbow is a rather bad test-case to distinguish color stops because it can vary two of the components at the same time. Monochromatic gradients make it easier to spot the quantization.

Additionally wider color gamuts also mean that each quantization step would cover a larger absolute difference if we kept things at 8bpc.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by Someone on Saturday January 30, 2021 @03:51AM (#25967446)
I don’t remember VGA doing millions of colors. I thought it did 256 colors, at best.

Wikipedia agrees with that (https://en.wikipedia.org/wiki/Video_Graphics_Array), but adds “The 640×480 16-color and 320×200 256-color modes had fully redefinable palettes, with each entry selected from an 18-bit (262,144-color) gamut.”. That, I don’t remember knowing, even reading that.

So, a quarter of a million, but only 256 at a time. I think the Macintosh II, doing 256 colors out of 16.7 million, looked better, especially with a Trinitron display (https://everymac.com/monitors/apple/classic_monitors/specs/a...).

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by compsciphd on Saturday January 30, 2021 @04:08AM (#25967526)
a "vga" card with 8mb of ram was probably a svga card (24 * 640 * 480 is just under 8 mega). no real reason for it to need 8mb otherwise back then.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by Narishma on Saturday January 30, 2021 @08:45AM (#25969004)
That's less than 1 MB.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by compsciphd on Saturday January 30, 2021 @05:45PM (#25973788)
you're right, I multiplied it by 10 in my head. but even more so for OP. It wasn't a plain vga card.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by lowbloodsugar on Saturday January 30, 2021 @02:55AM (#25967202)
4mb? 4mb! We used to dream of 4mb when I were a lad. We had 1mb for the whole computer, and we got 160k for graphics, if we were lucky!
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by tinus_hn on Saturday January 30, 2021 @03:20AM (#25967324)
Walking miles to school every day through rain and snow, uphill both ways!
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by agumonkey on Saturday January 30, 2021 @03:15AM (#25967302)
Matrix Millenium had 4MB of ram and was considered the beastiest of beast in its era. It's still peak in my brain :)
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by serf on Saturday January 30, 2021 @08:33AM (#25968906)
>It's still peak in my brain :)

that's neat that someone else does that.

i'm like that with the voodoo2, for some unknown reason.

don't get me wrong, the voodoo2 was great, but i'm not sure why it stuck in my head for that long.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by glhaynes on Saturday January 30, 2021 @10:54AM (#25970024)
I was watching a guy on YouTube the other day talking about a computer he was building. He made reference to how he was keeping some component simple (the memory interface, I believe), which would compromise performance, but he wasn't worried about it because the 68000 he was using in it was so fast.

My first thought was "yeah, that makes sense" but my second was "what could it possibly mean when we talk about a 68000 being 'fast' in 2021?!"

It really made me think about how an attribute like "fastness" can get endowed and then still stick 40 years later, almost as though it were describing some spiritual attribute that transcends the fact that a modern $0.25 microcontroller is many times more performant.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by agumonkey on Saturday January 30, 2021 @10:19AM (#25969735)
Actually I exaggerated a bit, Matrox was peak 2D era. And yeah 3dfx voodoo 2 still had a massive glow in my brain. It represented so much magic and power in its day. It started the 3d ~high quality FPS... (riva128 and geforce3 followed).

Same goes for some symbols like 386 dx2. Our young brain were imprinted hard.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by nine_k on Saturday January 30, 2021 @12:46AM (#25966563)
Think not about 4 times more hues, but about 4x the brightness range. Think about a 300 or 400 nit screen that shows you a scene with a bright sun but details in shadows still very discernible.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by bombcar on Friday January 29, 2021 @09:31PM (#25965421)
4mb! I remember trying driver after driver on the SimCity 3000 CD until I found one that worked with my 512K Oak VGA card.

Now cards have more RAM than I had disk.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by lloeki on Saturday January 30, 2021 @02:59AM (#25967213)
> Now cards have more RAM than I had disk.

Now CPUs have more L2/L3 cache than I had disk!

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jzer0cool on Saturday January 30, 2021 @01:15AM (#25966715)
"showmethemoney" ;)
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by viraptor on Friday January 29, 2021 @10:10PM (#25965646)
> I think there is a name for this, but basically watching a prism of rainbow colors.

It's called seizure test, aka intermittent photic stimulation ;) https://en.wikipedia.org/wiki/Intermittent_photic_stimulatio...

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by phire on Friday January 29, 2021 @10:11PM (#25965651)
Millions of colors is most likely 8bit color with 16.7 million colors. Still in use today.

7 bit color would also count as "millions of colors", but I don't remember any GPU ever offering it as a display mode.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by tyingq on Saturday January 30, 2021 @12:34AM (#25966492)
Unless I'm missing something (dithering?), 24bit color is 16.7M. 8 bit color is 256 colors, 7 is 128 colors.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by mixmastamyk on Saturday January 30, 2021 @03:00AM (#25967220)
8*3=24, 8 bit per channel is a description they use in visual effects. Recently the rest of the computing industry started using it. Yes, confusing.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by tyingq on Saturday January 30, 2021 @11:09AM (#25970160)
Ah, okay. I'm using old terminology I guess. Appreciate the gentle pointer.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by mixmastamyk on Monday February 01, 2021 @04:28PM (#25994217)
I asked the same question on starting a vfx job many years back. 8-bit, 256 colors for a feature film? Impossible, that would make it look like .gif or Windows95, right?
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by meditative on Saturday January 30, 2021 @03:00AM (#25967218)
you're correct. I assume they're referring to 8bit per colour (RGB) which is 24bit colour (True Colour) 16.7M
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by ecopoesis on Friday January 29, 2021 @09:15PM (#25965349)
They must have been fancy to use PCI. I would have expected ISA of AGP.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jimsmart on Friday January 29, 2021 @09:20PM (#25965365)
PCI was in fact pretty standard for graphics cards, in the period between ISA and AGP.

Edit: link https://www.tomshardware.com/uk/reviews/graphics-beginners,1...

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by barrkel on Friday January 29, 2021 @09:51PM (#25965542)
PCI graphics was standard around the time of Windows 3.11 and into Windows 95. Major difference in UI speed vs EISA graphics.

I used to work as a hardware technician in a local computer shop as a summer / weekend job back then. I installed dozens of 4mb Cirrus Logic PCI graphics cards when building PCs.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jzer0cool on Saturday January 30, 2021 @01:25AM (#25966771)
If I remember, AGP did not come out until later.

The motherboard multiple ISA and 1 PCI slot if I recall right. In fact I was testing VGA and also sound cards on the ISA slot. So checking sound and playing some mpeg video file.

I can maybe write up a short post about this if anyone would be interested more.

At home, away from work, I owned a mac which was running the power pc processor. And that was also 25 mhz. What I remember was how everything seemed integrated (e.g. not upgradable. Young me could not understand why there was no graphics card. I could only upgrade here the hard drive, or simm memory)

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by DavidSJ on Friday January 29, 2021 @10:21PM (#25965694)
I hate to be a stickler for this but please say MB, not mb, when you mean megabytes. There are contexts where the distinction between m and M, or b and B, really matters!
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by reaperducer on Saturday January 30, 2021 @02:01AM (#25966946)
There are contexts where the distinction between m and M, or b and B, really matters!

Is this one of them?

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by DavidSJ on Saturday January 30, 2021 @02:59AM (#25967216)
No, but I do see people use them inaccurately in those contexts also, and I suspect that’s partially out of habit.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dehrmann on Friday January 29, 2021 @11:37PM (#25966122)
> I could not imagine I would be able to differentiate a billion colors from its previous factor

Dark scenes on a OLED might look better since your eyes can adjust to low light.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dehrmann on Friday January 29, 2021 @11:41PM (#25966139)
> They were 4mb and 8mb

640px x 480x x 3 bytes per channel = ~1MB. So yeah, 4-8MB is about right for a VGA card.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by vetinari on Saturday January 30, 2021 @06:24AM (#25968226)
VGA could not do truecolor; the original VGA at this resolution 640x480 could do 16 colors, i.e. 4 bits per pixel and that means 150 kB framebuffer. It could do 256 colors with lower resolution (oficially 320x200, or "mode-x" 320x240).

VGA came with 256 kB RAM onboard. Then, in the early 90's, SVGA came with 512 kB and 1 MB onboard, and it could do 800x600, 1024x768 and 1280x1024. The main RAM would be around 4 MB for the midrange computer. It took until mid-90, that you could get 4 or 8 MB SVGA, that could also do hicolor and truecolor.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by singhkays on Friday January 29, 2021 @09:32PM (#25965429)
25 Mhz! Wow. Is the the GPU frequency or the CPU?
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jzer0cool on Saturday January 30, 2021 @01:12AM (#25966698)
CPU, 25 Mhz. This is when I learned to over clock the cpu to run at a higher speed, at risk of burning it. You simply moved a jumper on the board board and it would boot up at 33 Mhz, yahoo! My boss showed me this and I was able to test much faster, not having to wait so long during the boot sequence.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jacquesm on Friday January 29, 2021 @10:44PM (#25965810)
CPU, likely a high end 386 or a low end 486.