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!

A screenshot showing a specific shade of green, the HEX code for which is 004d00
you are viewing a single comment's thread
view the rest of the comments
[–] 71 points 7 months ago (15 children)

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.

  • source
  • hideshow 15 child comments
  • [–] 34 points 7 months ago (6 children)

    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

  • source
  • parent
  • hideshow 6 child comments
  • [–] 22 points 7 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 7 months ago (2 children)

    Probably causes less eye strain, while being noticeable.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 7 months ago* (last edited 7 months ago) (1 child)

    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?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 18 points 7 months ago

    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.

  • source
  • parent
  • [–] 6 points 7 months ago (3 children)

    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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 7 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 7 months ago (1 child)

    Okay, but no I'm concerned. Is there squirrel poop in my computer that I need to clean? :(

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 7 months ago

    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.

  • source
  • parent
  • [–] 1 point 7 months ago* (2 children)

    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..)

  • source
  • parent
  • hideshow 2 child comments