• Fubarberry
    link
    fedilink
    English
    arrow-up
    37
    ·
    edit-2
    7 hours ago

    I tried to figure out if this was real, and the closest I found was this article where setting a solid color background in windows 7 would cause up to a 30sec delay during login. The solution was apparently to make a small image in the color you wanted, and tile that image so that it would cover the whole desktop.

    Here’s a hackernews discussion on it, includes some other fun stories like how windows 95 progress bars would complete faster if you were wiggling the mouse the whole time.

    • adarza@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      i always ran solid color backgrounds with win7. never experienced this ‘issue’.

    • Badabinski@kbin.earth
      link
      fedilink
      arrow-up
      19
      ·
      7 hours ago

      I bring up the mouse wiggling thing all the time when I’m sharing my screen at work. I get impatient with computers very easily, so I start wiggling and jiggling and doing figure 8s with my mouse cursor and say that “it makes the computer go faster.” Then I get to be distracted by telling someone how that used to be kiiinda true back in the good ol’ days of PS2 and single threaded cooperatively-multitasked operating systems (the fact that PS2 sends hardware interrupts still blows my mind a bit).

      Funnily enough, I learned about it from a greybeard who did a stint at Novell. He’d constantly jiggle his mouse around while waiting for shit and I bet he was just waiting for me to ask him why he thought it made the computer “faster.”

    • qjkxbmwvz@startrek.website
      link
      fedilink
      English
      arrow-up
      21
      ·
      8 hours ago

      Yeah, the only thing I could imagine would be that image loading/processing uses an optimized library, but a single color is (unlikely but possibly) implemented poorly as a loop over every pixel, with some egregious overhead.

      Most likely shit post though…

  • PartiallyApplied@lemmy.world
    link
    fedilink
    English
    arrow-up
    30
    ·
    9 hours ago

    Perhaps I’m just lost or the fool here, but wouldn’t it be usual that the overhead of spawning a thread would be much higher than just drawing the next pixel? If the post is true, could someone explain to me how a renderer with so much thread contention could optimize drawing on a CPU?

    • PotatoesFall@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      48
      ·
      9 hours ago

      Yeah the explanation can’t be true. It would take a single thread like 0 milliseconds to render the background image. That must be a shitpost.

      That being said, I can imagine the first part being true due to some random windows fuckery

      • kryptonianCodeMonkey@lemmy.world
        link
        fedilink
        English
        arrow-up
        14
        ·
        edit-2
        8 hours ago

        Also the potential number of threads would be in the millions if you used the entire color pallette on your background (limited by your display resolution). Even if you aren’t approaching that, surely most backgrounds have color values in at least the tens of thousands even with color compression. That just moves the bottleneck to your number of cores. Even the thread switching alone would have astronomically more overhead than just having one thread render the whole background.

  • mindbleach@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 hours ago

    If the initial claim isn’t simply bullshit, I’d suspect it’s a tiling issue.

    You could avoid special handling for solid-color backgrounds by using the image-as-background setup plus a solid-color image. And that image might as well be 1x1 px, right? But if image tiling is a loop that goes “open image, draw to buffer, close image” then you’re waiting on the filesystem about a million times… while it’s busy doing whatever the fuck Windows does at boot.

    I have absolutely no idea if this is how any version of Windows does things. But even having pulled it from my own ass, I must say, it’s plausible. It’d be quick to slap together with primitive DirectX. You’d never notice it for an image that repeats, like, twice. (Did Windows 95 default to the felt-green background, or that dithered-to-hell blue image?) As computers got faster and Windows ballooned, it could stick around for a while.

    But it still might be bullshit.

    • Zagorath@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 minutes ago

      You could avoid special handling for solid-color backgrounds by using the image-as-background setup plus a solid-color image. And that image might as well be 1x1 px, right? But if image tiling is a loop that goes “open image, draw to buffer, close image” then you’re waiting on the filesystem about a million times

      This makes sense to me. But unfortunately, according to a comment above, using a smaller image and tiling it is actually the solution to the slow loading.