Could be something peculiar to Nvidia GPUs, or maybe it’s just Firefox, but I never see this colour anywhere else, only when something causes a glitch in the rendering of video content. Sometimes it’s not just the video player that goes green, but the entire viewport of the browser window. I’m mainly curious why it’s that colour, rather than just black or white or something like that.
- HEX: 004d00
- RGB: rgb(0, 77, 0)
Cheers!


The Video itself is rendered off screen in a special area of memory, then the browser simply uses a predefined color to tell the driver where to display the video. The driver then takes care of things like stretching to fit etc.
It’s not actually that shade typically, and you are just seeing a side effect of the glitch.
That’s old school hardware overlays, haven’t really been a thing since XP era Windows.
These days everything is a scene graph with normal texture buffers, and the compositor is responsible for either layering stuff over it or doing direct scanout of that surface.
That doesn’t really answer the question though. Obviously it’s the side effect of some kind of glitch, but why is it always this green, why not orange or blue
It’s the green screen which allows blending, melding, switching and superimposing layers. You see, the way it works is that I don’t know, but it got you reading this far and wasted a few moments of your time which could have been spent doing something else, like gardening.
But really the answer is probably because it’s very nearly in the middle of the VGA color palette.
Joke’s on you, I read that while taking a shit at work :)
Jokes on you, I’m a toilet tester; taking a shit and work is all I do.
Probably causes less eye strain, while being noticeable.
Yes, but did some programmer just decide it’s maxed out green, and then somebody else toned it down to a more reasonable green? How did we end up with this specific shade?
Sometimes when part of a keyframe is missing it’s filled with gray instead of repeating the previous image. That makes sense since it can get lighter or darker with delta, but IDK why out of bounds is green (and yes, the video decoding can overwrite some of the green if an object travels out of frame, for example).
This is probably just someone’s effort to pick a color similar looking to a green-screen in film, since it is serving the same technical effect.
I know a video capture program that used a very dark purple for the card to fill in with HW-accelerated video. In Microsoft Office 2003, Clippy uses a pure magenta and other assistants pure cyan. This fails to turn transparent because of desktop compositing in the Aero theme of Windows Vista and 7. So I think it can be any color but software I know uses those unlikely to appear in real video, but in hardware decoders the background of the video decoding buffer is green.
I’ve never really thought about what happens to data that the system fetches over the internet. So, just as if it would’ve been stored in permanent storage locally, it’s loaded into system memory, which then “serves” it back to the browser? In my beginner head, it then looks like this: YouTube -> system memory -> browser/media player
Correct. Eventually millions of very very tiny squirrels then eat the data once it is discarded.
I’m simplifying a bit, but that is generally how it works.
Okay, but no I’m concerned. Is there squirrel poop in my computer that I need to clean? :(
I mean, kind of? There are system traces of what the squirrels ate that build up, causing weird issues with other software over time. It’s why restarting your computer fixes so many software errors. Part of the close process of the computer is cleaning up most of the squirrel poops.
it doesn’t just update the dom via x/y? currently making an 8080 emu and am not using browser yet but may. also tell me more about your instance? (am an anarchist myself…)
anarchist.nexus is a piefed-instance in the anarchist flotilla.
You can read up on it here in the announcement post: https://lemmy.dbzer0.com/post/52641276
nice. will look into it. thx!