Slashdot Mirror


Nvidia GPUs Can Leak Data From Google Chrome's Incognito Mode (softpedia.com)

An anonymous reader writes: Nvidia GPUs don't clear out memory that was previously allocated, and neither does Chrome before releasing memory back to the shared memory pool. When a user recently fired up Diablo 3 several hours after closing an Incognito Mode window that contained pornography, the game launched with snapshots of the last "private" browsing session appearing on the screen — revealing his prior activities. He says, "It's a fairly easy bug to fix. A patch to the GPU drivers could ensure that buffers are always erased before giving them to the application. It's what an operating system does with the CPU RAM, and it makes sense to use the same rules with a GPU. Additionally, Google Chrome could erase their GPU resources before quitting."

148 comments

  1. Porn AND Diablo? by halivar · · Score: 5, Funny

    Are you sure this isn't God judging your evil deeds?
    /duck
    /run

    1. Re:Porn AND Diablo? by Ol+Olsoc · · Score: 1

      Are you sure this isn't God judging your evil deeds? /duck /run

      Probably searching for Enchantress porn as well.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    2. Re:Porn AND Diablo? by Penguinisto · · Score: 1

      That depends - does it rely on him putting on his Wizard Hat and Robe?

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    3. Re:Porn AND Diablo? by GrumpySteen · · Score: 1

      I think it's more likely that Diablo was extremely horny.

    4. Re:Porn AND Diablo? by djnforce9 · · Score: 1

      Certainly, only God felt that the guy did not view the porn for long enough and gave him a little extra glimpse before he got his game on.

  2. Ads by bill_mcgonigle · · Score: 4, Interesting

    > Google Chrome could erase their GPU resources before quitting.

    Why blank it when you can write a gaming ad to the buffer instead? #incentives

    Why write a gaming ad when you can write a Radeon ad instead? #alsoincentives

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    1. Re:Ads by fuzzyfuzzyfungus · · Score: 1

      Any chance you feel like patenting that atrocious, but clever, terrible plan to help ensure that someone who isn't even slightly joking doesn't go running with it?

    2. Re:Ads by cfalcon · · Score: 1

      Patents cost money to file, and require a lot of effort to write. It's still a good idea, just an expensive one.

    3. Re:Ads by Anonymous Coward · · Score: 0

      We need open source software to fully automate the filing of patents! Problem solved!

    4. Re:Ads by davester666 · · Score: 1

      There is also the bug where Diablo 3 is displaying effectively random data [data it allocated in the GPU, but never initialized before displaying].

      --
      Sleep your way to a whiter smile...date a dentist!
  3. Note by Anonymous Coward · · Score: 1

    Google have said they won't fix the bug.

    1. Re:Note by Anonymous Coward · · Score: 1

      Google have said they won't fix the bug.

      In other shocking news, researchers have discovered that when an application releases storage resources, instead of writing a series of random data patterns onto the disk, the OS simply marks the space as "free". Even though this would be a simple fix, Google has chosen not to do it!

    2. Re: Note by bill_mcgonigle · · Score: 1

      Oh, is Chrome caching incognito mode data on disk and failing to shred it? Crappy spyware.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    3. Re: Note by steveb3210 · · Score: 1

      Oh, is Chrome caching incognito mode data on disk and failing to shred it? Crappy spyware.

      Thats not what this article says.

    4. Re:Note by cfalcon · · Score: 2

      There's some BIG differences there. First, there's OS tools available that try to handle this case. Second, there's great workarounds for this insecure-but-fast disk habit, such as storing the data encrypted, or on an encrypted partitions. Third, the time/tradeoff is much greater with disk cases- writing a block of RAM on SHUTDOWN ONLY is not nearly as great a burden as writing over an arbitrary file on the disk.

      I could see Google's position on this- it's not technically their fault- but they could at least try to blank the RAM that they allocate on exit.

    5. Re:Note by Anonymous Coward · · Score: 0

      That's not a comparable situation, because there's no way to read that data later without elevated privilege. None of the regular filesystem APIs can give you a file that views whatever garbage was last left on the drive. Here, another application simply allocating a texture or framebuffer can read that old data.

    6. Re:Note by MachineShedFred · · Score: 2

      Why should Google fix Nvidia's fuck up? Like they even could.

      There's plenty to not like about some of Google's recent moves, but you're just being a hater here.

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    7. Re:Note by darkain · · Score: 1

      Additionally, if you're using a Copy-On-Write file system like ZFS, the contents wouldn't be overwritten anyways.

    8. Re:Note by Anonymous Coward · · Score: 1

      shouldn't an application that purports to be "secure" be paranoid enough to zero-out any memory it used "just in case". sure, the driver/OS *should* do this, but the application arguably shouldn't trust that they will. IMHO

    9. Re:Note by Anonymous Coward · · Score: 0

      So what happens if the application crashes?
      The OS handing initialized memory to any random unprivileged application is a OS bug.

    10. Re:Note by GrumpySteen · · Score: 1

      Technically, it's a feature.

      In ye olden days, writing zeroes to a chunk of memory when it was freed could actually take a long time and bog down the single processing thread that existed in your CPU. To avoid that, the memory was simply marked as unused without clearing it. This was a significant performance enhancement at the time.

      We're long past the days when we need that particular performance enhancement, but it's still there because "that's the way it's always been done." It's not that it can't be fixed; it's that nobody in the OS world has cared enough to fix it.

    11. Re:Note by HuntingHades · · Score: 1

      Google Chrome actually has a big disclaimer when you start incognito (aka private) mode pointing out that it isn't actually "secure"; it just simply won't retain any cookies or or history from that private session after you close it, and that anyone observing your web traffic can see everything you are doing whether or not the session is "private"

    12. Re:Note by Dog-Cow · · Score: 1

      Every modern OS from Windows to Linux clears memory before making it available to user-land. Where the hell have you been for the past 20 years?

    13. Re:Note by KingMotley · · Score: 1

      You mean blank on de-allocation. Unless you are going to try and track every block you've ever used (and possibly released -- and possibly now owned by someone else) and do it at exit -- which smells like a memory leak waiting to happen. Otherwise you need to blank before de-allocating it, which depending on how much is being allocated/de-allocated could significantly impact performance.

    14. Re:Note by KingMotley · · Score: 1

      By memory, I'm going to go with the assumption you mean RAM, and specifically RAM attached to the CPU, instead of the more generic term memory which would include any type of memory or RAM attached to other things than the CPU (HDD, SSD, video, cache, processory cache, IO buffers, etc). As this isn't RAM attached to the CPU, it's not exactly the same thing, and modern OSes don't typically blank them before handing them off, sometimes quite thankfully. It would be a major pain if every time an application tried to open a file on a HDD/SSD/etc for reading the OS blanked it out first. It would make reading config files difficult.

      Secondly, it really isn't the OS that would be responsible for such a thing as the video drivers (especially the low level ones that chrome is likely using) handle GPU memory allocations, etc not the OS. Feel free to complain to your video card manufacturer that they aren't blanking memory on either allocation or deallocation or both.

    15. Re:Note by Anonymous Coward · · Score: 0

      What the hell are you smoking? It's *always* been the program developer's responsibility to zero out newly allocated memory resources. I've never worked in an operating system that zeroed out memory that it's giving to you.

      For example see the C++ documentation for malloc, where it says:

      Allocates a block of size bytes of memory, returning a pointer to the beginning of the block.
      The content of the newly allocated block of memory is not initialized, remaining with indeterminate values.

    16. Re:Note by Anonymous Coward · · Score: 0

      It would be a major pain if every time an application tried to open a file on a HDD/SSD/etc for reading the OS blanked it out first. It would make reading config files difficult.

      It also would be a major security hole if you could truncate() a file to a larger size and read the contents of whatever used to be on those disk blocks before.

      Secondly, it really isn't the OS that would be responsible for such a thing as the video drivers (especially the low level ones that chrome is likely using) handle GPU memory allocations, etc not the OS.

      So are you claiming video drivers are not part of the operating system?

    17. Re: Note by Anonymous Coward · · Score: 0

      Why use a filesystem API when you can use dd to read from the block device?

    18. Re:Note by Anonymous Coward · · Score: 0

      I've never worked in an operating system that zeroed out memory that it's giving to you.

      Really? You never worked in Windows or any *NIX?
      VirtualAlloc: "The function also guarantees that when the caller later initially accesses the memory, the contents will be zero."
      sbrk: "The amount of allocated space increases as the break value increases. The newly-allocated space is set to 0."

      For example see the C++ documentation for malloc, where it says:

      Newsflash: C++ is not an operating system.

    19. Re:Note by KGIII · · Score: 1

      Do you mind a dumb question?

      If the user has enough RAM, wouldn't it be possible to reserve a goodly chunk and then wipe the entirety (some resource hit here - I should think) when de-allocated/closed such as at the end of the session?

      I'm slowly, but surely, getting back into poking at code - it's been like 8 years since I've even really looked at any and even longer since I've really done much of any. I'm seeing why this is happening (I think) but I'm not seeing why it's not being fixed. At least conceptually, I should think it'd be fairly trivial. I guess the language might matter here but I assume Chrome's written in a language with some specific memory allocation tools. (I don't actually know what it is written in, I kind of figured it'd be written in C or C++ and I know those both support some fairly neat things with memory if wielded properly.)

      Sorry if 'tis a dumb question but I've found it's better to ask and learn then assume and look stupid. In case you're curious, yes, it was professionally hired programmers who helped me to learn that lesson. It's kind of neat what you can learn by admitting you haven't a clue but you're willing to learn. You can also bribe them with coffee or after-work beer. Pfft... They've probably now got a "manager" that thinks he knows everything, if the stories here are to any indicator, but I digress...

      Managing programmers. Heh... You can kind of steer 'em but I tried managing. It was like herding cats. Give 'em something to poke at and they'll keep themselves busy and actually be productive. As far as the programmers I know, that seems to cross both genders. Ah well, that's a mini-novella in exchange for your (hopeful) answer. It's almost 2000 hrs and I'm old, so you get the short version.

      --
      "So long and thanks for all the fish."
    20. Re:Note by Anonymous Coward · · Score: 0

      Since you're quoting MS documentation for VirtualAlloc you should probably read the whole page: it only zeros memory if you supply the MEM_COMMIT or MEM_RESET flags. See also HeapAlloc (requires HEAP_ZERO_MEMORY bit: The allocated memory will be initialized to zero. Otherwise, the memory is not initialized to zero.); GlobalAlloc (requires GMEM_ZEROINT bit: Initializes memory contents to zero.); LocalAlloc (requires LMEM_ZEROINT bit: Initializes memory contents to zero.); and ZeroMemory and SecureZeroMemory (to zero memory Windows has allocated to you).

    21. Re: Note by Anonymous Coward · · Score: 0

      Mill CPUs will automatically zero out newly-allocated memory. Actually, that's not entirely accurate... Their cache controller simply returns 0 for everything until the first time after allocation that something is written to an address.

      So once those hit the market, *any* OS that's running on one will "zero out the memory" before your app gets it.

      Unfortunately they don't exist in actual hardware yet.

    22. Re:Note by Anonymous Coward · · Score: 0

      *facepalm*
      Try reading, writing or executing a page from VirtualAlloc without specifying MEM_COMMIT. What are the contents of a page you can't access?
      HeapAlloc, GlobalAlloc, LocalAlloc - all of these give you access to memory already owned by the same process, so there's no process isolation issues there. If they actually have to allocate new memory, it starts out zeroed. Go ahead, GlobalAlloc a 1MiB chunk without GMEM_ZEROINIT and dump its contents. Oh look, \x00s. "Is not required to zero memory" != "will not zero memory".

  4. They should just rename it PornMode by Anonymous Coward · · Score: 1

    cmon no one uses it for anything else.

    1. Re:They should just rename it PornMode by Austerity+Empowers · · Score: 4, Insightful

      There is value in using that mode for porn (although your IP address is still exposed, and it's unclear that anyone is going to understand why you were at LustyHotBabes.com for any non auto-erotic pursuits). But it is also incredibly useful for the times you want to visit a site that caches credentials locally or otherwise relies on client-side tracking, but you don't want that behavior. I do not like to leave data for gmail, facebook, linked-in etc. on my work machine, for example, I don't own it and IT can seize it at any time.

    2. Re:They should just rename it PornMode by Anonymous Coward · · Score: 3, Informative

      Use it to browse sites that need cookies to work, but then use them to fix or mess with prices against you. Like airline sites and travel search engines that will sometimes raise prices if you search from a browser with the same cookies.

      Use it to follow links you don't want messing with other tracked histories. You see an article on weird stuff for sale but don't want Amazon or other sites suggesting related stuff every time you visit in the future?

      Having trouble with sites that stupidly use cookies to track login attempts, either because you don't quite remember your password or because of connection problems requiring you to login too frequently? Or similarly to visit sites that try to only work a certain number of times before requiring a fee, but also restrict their tracking of visit count to cookies.

      It is basically an easy way to pre-emptively stop cookies from remembering things for a particular session, instead of having to clean-up things afterwards.

    3. Re:They should just rename it PornMode by MachineShedFred · · Score: 5, Funny

      it's unclear that anyone is going to understand why you were at LustyHotBabes.com for any non auto-erotic pursuits

      I'm sure they read it for the articles. You know, unlike Slashdot where nobody reads the articles.

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    4. Re:They should just rename it PornMode by Anonymous Coward · · Score: 0

      Why even use your main gaming PC for porn? If you're smart enough to know how to fix a GPU bug, you should be smart enough to set up a "Porn VM". Who cares if the porn sites track you on your porn VM? They'll just think you're a dirty perv with a perpetual arm cramp. Use a VPN if you're concerned about your IP address.

    5. Re:They should just rename it PornMode by Anonymous Coward · · Score: 0

      60fps 4K porn is too jerky in a VM.

    6. Re:They should just rename it PornMode by lazarus2004 · · Score: 1

      Good tip, while we were Christmas shopping my wife asked me why in the fark a sample of uranium ore was in my Amazon suggested items. It took me several seconds to realize that it was likely there from reading "The worst stuff for sale" blog which I generally find highly amusing. In fact, I am pretty glad it found the radioactive gag gift instead of several of the other postings that could have come up :-p I'd provide a link, but I can't be arsed.

    7. Re:They should just rename it PornMode by spire3661 · · Score: 1

      Its also useful for logging into other google accounts that you want to keep separate. Its either use a different browser like Edge or go incognito.

      --
      Good-bye
    8. Re:They should just rename it PornMode by Waccoon · · Score: 1

      Yes, there's value in using incognito mode for porn.

      There's value in using a completely separate web browser for, say, online banking. I'd only trust incognito mode to be "good enough".

  5. AMD Open Source Driver on Linux by grumbel · · Score: 4, Informative

    The AMD Open Source Driver on Linux do the same thing. It's not really a new or spectacular bug, graphics cards and drivers have done that stuff for quite a long while. Once there was also a fun bug that would make large texts in Firefox 'bleed' into the desktop background image, so it wasn't just showing old content, but actively manipulating content of another application.

    1. Re:AMD Open Source Driver on Linux by Anonymous Coward · · Score: 0

      I've an old ATi radeon which does the same thing, displaying a snapshot of the "previous" desktop when restarting X.org and sometimes crashing X/radeon on large images

    2. Re:AMD Open Source Driver on Linux by fuzzyfuzzyfungus · · Score: 1

      It's honestly somewhat surprising(perhaps a testament to the fact that with great power comes nontrivial chance of really crashing the hell out of things, perhaps just the availability of softer targets) that GPUs don't get involved in much scarier evil more often.

      Easily among the most powerful devices in the system that isn't the CPU(and, while not necessarily ideal for things that aren't specific compute workloads, turing complete), plenty of RAM to store payload to be injected in assorted places or data stolen from other areas of the system, plus DMA, which offers a great deal of latitude in doing whatever the hell you want, above and beyond whatever weaknesses the GPU driver may have.

      With the move toward firmware signing, to keep people from flashing gaming cards into super cheap almost-Quadro/Firepro cards, they aren't a great place for a persistent bug; but they are otherwise pretty scary pieces of hardware, especially if some optimist has enabled WebGL...

    3. Re:AMD Open Source Driver on Linux by The+MAZZTer · · Score: 4, Insightful

      Yeah. Your GPU was not designed with security of the information stored in it in mind. It was designed to play video games and a few other things, and it's not a big deal if a few of your game textures leak, if it means the GPU can be slightly faster at managing its memory. The responsibility should be Chrome's to clear out its GPU memory in incognito mode after it's done using it.

    4. Re:AMD Open Source Driver on Linux by Anonymous Coward · · Score: 3, Insightful

      > Chrome's to clear out its GPU memory in incognito mode after it's done using it.

      The driver manages the GPU memory and there is no particular reason to assume that if Chrome did that it would actually write to the same RAM location that had the sensitive data and not some other random memory area it was assigned temporarily.
      Thus the calls for Chrome to fix it are nonsense. Yes, it might work. But it might break any time with a driver update. This needs to be in the drivers.
      The discussion and arguments isn't really any different than for kernel-allocated memory for the CPU.

    5. Re:AMD Open Source Driver on Linux by goarilla · · Score: 1

      I still have bleeding visual buffers when using MPlayer, mpv, firefox or any opengl application on Linux.

    6. Re:AMD Open Source Driver on Linux by edtice1559 · · Score: 3, Insightful

      It used to be that the programmer was responsible for clearing sensitive data out of general-purpose memory to ensure that no other process got access to the data. It didn't work out very well. Now, the OS is responsible for clearing out memory prior to handing it to another process. It doesn't really make sense to have every application do something that could be implemented one time, correctly, in the operating system.

    7. Re:AMD Open Source Driver on Linux by Anonymous Coward · · Score: 0

      An application has no guarantee it will be able to run code to clear out the memory. The OS is responsible for that and the driver is part of the OS. It should never be the responsibility of userland to guard the OS against bad actors.

    8. Re:AMD Open Source Driver on Linux by Anonymous Coward · · Score: 0

      Not even surprised in the slightest that it is Chrome doing it.

      I've had god knows how many random issues with graphical glitches when using Chrome.
      A common one is the window behind the browser bleeding through over the top of Chrome in partial amounts. (mainly updating regions of the lower window)

      The whole damn graphics stack in Chrome is 10 kinds of fukt and they have no intentions of fixing it.
      Yes, Chrome, not anything else with webkit. Hell knows how they managed that.

    9. Re:AMD Open Source Driver on Linux by Billly+Gates · · Score: 1

      So what do you want to make a bet a clever hacker could then write a webgl script to download pics of your bank information? SOme banks report with javascript ads and can see this used to steal information

    10. Re:AMD Open Source Driver on Linux by KGIII · · Score: 1

      Heh! Did you once work for me?

      --
      "So long and thanks for all the fish."
    11. Re:AMD Open Source Driver on Linux by Anonymous Coward · · Score: 0

      What a stupid thing to say, you should never assume your OS will do sane things and always assume you can't trust your OS.

      I added what you logically implied.

    12. Re:AMD Open Source Driver on Linux by sad_ · · Score: 1

      It goes back to the beginning of computing.
      I remember well on the Amiga that after a reset you could run several rippers that would pull out the gfx and music (as long as it was not overwritten) from memory of the game/demo you were playing. Later i saw similar programs in DOS for PC that did the same thing.
      Does the linux kernel zero-out the bits it unallocates? I don't know and would assume not, it's an expensive operation.

      --
      On a long enough timeline, the survival rate for everyone drops to zero.
  6. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  7. Why is Diablo showing this? by zifnabxar · · Score: 2

    I'm less concerned with GPUs not clearing their memory when done (known bug in PCs) and more with the fact that Diablo 3 is just using whatever happens to be in the buffer.

    1. Re:Why is Diablo showing this? by Anonymous Coward · · Score: 0

      In which case you're mistaken about priorities, because security comes higher than aesthetics.

      captcha: females. M'lady M'ode.

    2. Re:Why is Diablo showing this? by The+MAZZTer · · Score: 1

      It likely only shows for a single frame or two until Diablo renders its content to it.

    3. Re:Why is Diablo showing this? by Anonymous Coward · · Score: 0

      It may have only been up for a frame or two, but the OP lost their saving throw vs. enraged wife and will take 4d6 damage, and 1d6 damage per day until the wife's rage buff expires.

    4. Re:Why is Diablo showing this? by dkman · · Score: 2

      This is what I came to say. Why would an application draw from memory it hasn't written to yet? I know that games often go to a black screen at launch. Is it just chance that it chose an area that was zeroed vs random garbage? I would think that if it just pulled from the beginning of memory that people would see some old image pretty often. Maybe that is the case and we just perceive it as a flicker unless it hangs for a moment as it did for him.

      --
      I refuse to sign
    5. Re:Why is Diablo showing this? by MachineShedFred · · Score: 1

      Also, why did the GPU driver assign the exact same start address for the frame buffer? If it randomized this somewhat, I would think you would end up with much less of a chance of this happening without taking a performance hit to clear the buffer whenever launching / cleaning up a thread.

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    6. Re:Why is Diablo showing this? by Anonymous Coward · · Score: 0

      im curious why a web browser is using the gpu

    7. Re:Why is Diablo showing this? by Anonymous Coward · · Score: 0

      That's even worse by displaying an uninitialized buffer.
      That sort of thing can lead to crashes if not handled properly.
      Reminds me of that time Skype did when they forced that shit video-interface on everyone with version 5 and it had straight BSOD crashes for a large number of people for YEARs until Microsoft bought them and fixed such a trivial issue.

    8. Re:Why is Diablo showing this? by scdeimos · · Score: 1

      I guess you've never rebooted a computer with either an nVidia or an AMD/ATI video card in it. It's very common for the boot screen (and even the desktop immediately after login) to briefly display old content from prior to the reboot. I see this on Linux, OSX and Windows machines every single day. It's not a Diablo problem, it's that the video drivers don't even bother initializing video RAM to a known state at driver startup let alone before allocating memory to applications.

    9. Re:Why is Diablo showing this? by rl117 · · Score: 1

      Because you might be streaming content into the texture after its creation e.g. with GLTexSubImage2D (or 3D). You might already be running the render loop a few times over before it's fully filled. Ideally the driver would only ever give you blanked memory so it would be transparent and imperceptible.

  8. Re: Performance Hits? by Anonymous Coward · · Score: 1

    Most programs don't bother zeroing memory after using it for that very reason. Unless the memory has something important in it, usually.

  9. Why does a web browser need GPU for basic by Joe_Dragon · · Score: 1

    Why does a web browser need GPU for basic web? unless that is a flash or HTML5 driven pron site?

    1. Re:Why does a web browser need GPU for basic by Ambassador+Kosh · · Score: 1

      Using a GPU to render a website allows faster rendering with lower power usage.

      Think of all the elements on a page that can be composited with something designed to do it with different levels of transparency.

      If you want laptops and mobiles to run faster and last longer on battery power then part of that is using computer resources more efficiently. Lots of stuff right now is wasted and the CPU is busy with memory IO due to poor algorithms.

      --
      Computer modeling for biotech drug manufacturing is HARD! :)
    2. Re:Why does a web browser need GPU for basic by Anonymous Coward · · Score: 0

      Why does a web browser need GPU for basic web? unless that is a flash or HTML5 driven pron site?

      For performance reasons.

    3. Re:Why does a web browser need GPU for basic by Anonymous Coward · · Score: 0

      WebGL? Who says we're talking about "basic web", whatever that means to you?

    4. Re: Why does a web browser need GPU for basic by tysonedwards · · Score: 5, Insightful

      You mean using a graphics processing unit to process graphics? What level of weapons grade bullshit is this?

      --
      Thirty four characters live here.
    5. Re:Why does a web browser need GPU for basic by Anonymous Coward · · Score: 0

      To make porting to obscure OSes/architectures harder

    6. Re:Why does a web browser need GPU for basic by Anonymous Coward · · Score: 0

      Well, good job, me. Here's the link I meant to include: https://www.chromium.org/developers/design-documents/gpu-accelerated-compositing-in-chrome

    7. Re:Why does a web browser need GPU for basic by fuzzyfuzzyfungus · · Score: 2

      In the case of most modern OS window managers, don't most programs end up getting their output scrawled onto some surface that the GPU manipulates, even the seriously retro ones that predate the concept of 'GPU' as anything other than a RAMDAC and some primitive fixed-function elements?

      Chrome, and similar, interact substantially more than that; but I thought that most of the various desktop transparency/preview/fancy-window-swooshing/etc. stuff was handled by drawing program output to something that the GPU can then manipulate.

    8. Re:Why does a web browser need GPU for basic by Anonymous Coward · · Score: 1

      (GPU is irrelevant.)

      This browser shows things on the screen, so that the user can see it. (It's not the legendary braille or text-to-speech browser that HTML purists are always warning you that some of your website's users using.)

      And of course, if you show things on the screen, then they're going to get into video memory. (So that the user can see what the computer is trying to show them.)

      And though I said the GPU is irrelevant to the situation, it turns out there is nevertheless an answer to your question anyway. Since the mid 1980s (Amiga in 1985; is your computer older than that?) some people have used specialized hardware to quickly blit things around in video memory or (later) to composite multiple windows into a single display, so that (for example) your computer can show you multiple "windows" (the output of computer programs) at the same time. So the GPU may end up working with the video memory. I don't know if you have heard of this stuff, but it sounds like you have heard of web browsers and GPUs so I suspect that you may have encountered these technologies without realizing they were "under the hood" of that mysterious computer-box-thing.

    9. Re: Why does a web browser need GPU for basic by Anonymous Coward · · Score: 0

      All processing aside, the graphics card kinda needs to have the image in memory to be able to show it on the screen.

    10. Re:Why does a web browser need GPU for basic by MachineShedFred · · Score: 1

      Wait, a video porn site that uses Flash?

      Can't be...

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    11. Re: Why does a web browser need GPU for basic by edtice1559 · · Score: 1

      The OP was viewing adult content. It was most likely video. And the GPU has dedicated video decoding hardware. Chrome was probably offloading this and somehow some last rendered frame was in the GPU RAM when the next application launched.

    12. Re:Why does a web browser need GPU for basic by Anonymous Coward · · Score: 0

      I realize that I phrased that poorly: I meant that even programs that are old enough to not know what a GPU is have their output mapped to a surface that the windowing system can use the GPU to manipulate. Windowing systems that predate GPUs obviously wouldn't work this way; but ones that do use the GPU can provide the legacy drawing mechanism to support older programs and then take that output and map it to a surface rather than display it directly on the screen.

  10. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  11. Re: Performance Hits? by Delwin · · Score: 4, Informative

    The performance hit is real - and without custom silicon it's quite expensive. This bit me on the ass recently on a GPGPU project I was working because the amount of time taken to clear the buffer before use was about 10x the amount of time to actually do the computation.

  12. WebGL has had similiar issues by Anonymous Coward · · Score: 2, Insightful

    It's been shown that you randomly snag other running applications data by initializing new framebuffers and seeing what happens to be in them.

    The problem is that your graphics card simply cant zero out chunks of ram every time an application requests them, not if you want your high performance rendering for your video games. This issue is an old one, and one that's tied to the hardware architecture itself, and can't be fixed as easily as the submitter seems to think.

    1. Re:WebGL has had similiar issues by mattventura · · Score: 1

      It's true that zeroing upon reallocation is slow, but wouldn't zeroing in the background before deallocating do the trick?

    2. Re:WebGL has had similiar issues by tepples · · Score: 2

      Consider the following policy: If a process requests video memory, and all of this memory previously belonged to the same process, don't clear it. Otherwise, zero it. And while the GPU is idle, zero some of the memory released by processes in the background, especially by processes that have ended. How would such a policy interfere with "high performance rendering for your video games"?

    3. Re:WebGL has had similiar issues by Anne+Thwacks · · Score: 1
      not if you want your high performance rendering for your video games.

      Cant we have a choice? Security or speed?

      The last time I played it computer game, it was DOS based. Or maybe colossal cave? I don't Need a GPU (and would not buy anything from NVidia if I did. Their own support for Linux is terrible, and Nouveau does not even work).

      --
      Sent from my ASR33 using ASCII
    4. Re:WebGL has had similiar issues by Anonymous Coward · · Score: 0

      Admittedly, I'm not a programmer, but you wouldn't even have to do that. A simple change to make Chrome render the entire window as one color (doesn't matter which color) for one frame (its final one) upon shutdown, and this is resolved.

    5. Re:WebGL has had similiar issues by Anonymous Coward · · Score: 0

      It doesn't have to zero memory on every allocation (or deallocation), only when it's allocated to a process other than the last one which used it.

      In practice, this might mean implementing some form of affinity, so the driver tries to avoid giving process A memory which was last used by process B if process B is still alive.

      But ultimately, so long as the gaming press continues to obsess over meaningless benchmarks, I suspect that any cost would be unacceptable to the hardware vendors.

    6. Re:WebGL has had similiar issues by Anonymous Coward · · Score: 0

      $ sudo lshw | grep nouveau
                                      configuration: driver=nouveau latency=64 maxlatency=1 mingnt=5

      that's even no an old box sitting in closet - works pretty good unless you're leading/bleeding edge

      this does not mean you should take my example for more than an anecdote but i do not have bugs with it - with this distro

      mint crashes X but further up the chain it works pretty well - bug can be replicated

      if you're stuck with nvidia and want to use the open source drivers then try a different version if it doesn't work but that shouldn't be a problem as you'd not purchase one so you might need/want to try it on a gifted video card

    7. Re:WebGL has had similiar issues by Carewolf · · Score: 1

      It's been shown that you randomly snag other running applications data by initializing new framebuffers and seeing what happens to be in them.

      The problem is that your graphics card simply cant zero out chunks of ram every time an application requests them, not if you want your high performance rendering for your video games. This issue is an old one, and one that's tied to the hardware architecture itself, and can't be fixed as easily as the submitter seems to think.

      Of course it can. If there is hardware support for it, clearing memory is practically free. Remember DRAM works by refreshing itself every single tick, you can opt not to refresh and thus blank it. Even without that, zeroing using a modern GPUs enourmous parallel power is also cheap.

  13. Google chrome is just mucked up by Anonymous Coward · · Score: 1

    Personally I just think Chrome is becoming more mucked up by the version. I used to think it was the best browser, but I definitely think Google is going down the Firefox path of over playing serious bugs and continuing to update without fixing the important stuff. I mean it might set all the records for compliance and standards.
    But crashes happening regularly, Pepper Flash is awful, I get so many page rendering issues and CPU cycle pegs from Chrome helper on both Mac's and Windows its not funny anymore. I would like to ask a Google employee sometime what the fuck kind of browser do they use? It must not be Chrome.

    1. Re:Google chrome is just mucked up by TheDarkMaster · · Score: 1

      The developers that actually knows how to coding are retiring and being replaced by the "web scale" kids.

      --
      Religion: The greatest weapon of mass destruction of all time
  14. Boy Scout rulez apply... by the_skywise · · Score: 1

    Leave the memory better than you found it.

    Been doing this stuff for years and it never even occurred to me that this could be an issue. By "cleaning" up the memory usage on shutdown I just made sure I free'd the memory, not clearing it on the way out.

    JVM and .NET VM makers take note - You could add this to your GC and shutdown code and give all programs automatic support for this easily.

    1. Re:Boy Scout rulez apply... by JesseMcDonald · · Score: 2

      JVM and .NET VM makers take note - You could add this to your GC and shutdown code and give all programs automatic support for this easily.

      It would be better to put this in the OS cleanup code, clearing the buffers in a background thread before they're returned to the free pool. If the cleanup is left up to the application or framework then the application could exit due to a crash without getting a chance to clear the buffers.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    2. Re:Boy Scout rulez apply... by the_skywise · · Score: 1

      Agreed.

      But if you're writing a secure program it's something to keep in mind. (Something like a cfree or cdelete might be overkill/difficult to implement because of performance issues or sheer complexity but things like clearing video memory or other specific resources might still be a good idea.)

      Honestly, after all the secure software initiatives and outcries that came out in the last decade I'm surprised this didn't pop up until now...

  15. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  16. Google's answer to Chrome issues by Anonymous Coward · · Score: 0

    I love Google's support answer to all issues. Turn off hardware rendering. Really, that's what all the brains tell people with issues. Just turn off hardware rendering.
    Seriously Google, you cannot fix shit so just tell people to disable it. I'm beginning to wonder why I still use Chrome these days? I guess only because Firefox still sucks and I find nothing other then Chrome that works on both Mac and PC's.

  17. Not just Chrome by Anonymous Coward · · Score: 0

    I've seen this happen in Firefox.

    1. Re:Not just Chrome by Anonymous Coward · · Score: 1

      It's because the bug is in NVidia drivers, not in the application.

  18. Re: Performance Hits? by fuzzyfuzzyfungus · · Score: 2

    Out of curiosity, in terms of 'what should be done', is the idea that an application should be responsible for clearing memory before releasing it considered a good practice; or is it considered a least-worst option to deal with the fact that the OS can't necessarily be trusted to do the job properly?

    Speaking as a complete layman, I would think that, just as handling memory allocation is usually left to the OS, in an ideal world the OS' memory allocation mechanism would also be responsible for clearing something before allocating it to some other process, rather than relying on every last random application to behave correctly.

    Is that a "No, so wrong I'd need to spend ages teaching you enough to even understand why it's stupid." situation? A "It'd be nice, but since we can't trust the OS we clear memory before we release it if we are concerned about it." or a "Too much overhead to do universally; but having a mechanism to tell the OS 'this memory is now free, needs cleaning' would be nice" situation?

  19. Re: Performance Hits? by 91degrees · · Score: 1

    Surely the GPU can zero hardware quickly though.

  20. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  21. iOS does a similar thing by Anonymous Coward · · Score: 1

    The multi-tab view in iOS has a similar "bug" where if you're viewing something in private mode the jpg preview for that tab remains even if you change pages/open new/close that specific tab. Can't recall the exact steps to reproduce consistently but I've noticed it several times.

  22. Re: Performance Hits? by Anonymous Coward · · Score: 1

    It's considered good practice, the applications could also zero it out but you can infer the memory manager has 'cleared' the memory, too. This is how heap attacks happen, though, in some cases. Trusting what's in memory is generally considered to be bad, even if it's 'your' memory. Now, when it comes to GPUs performance is king -- millions of a second matter as the impacts are generally multiplied by literally billions of operations. And what you're describing I believe is sometimes attributed to garbage collection; basically it scrambles or writes out data as it's freed but this is rare and not the norm.

  23. Not just PornMode by crow · · Score: 4, Interesting

    I use "incognito mode" all the time. Anytime I see some interesting link on Facebook, I always open it in incognito mode. Just one more level of protection against associating the link with my account or leaving behind unwanted trash.

    I also find it very useful for news sites that let you have a certain number of articles free before throwing up a paywall. Using incognito mode resets the counter back to zero.

    1. Re: Not just PornMode by Anonymous Coward · · Score: 1

      Incognito mode is actually more of a developer tool. If you want to make sure you see the site you are developing "fresh" without having to worry about pre-existing cookies or local storage values.

    2. Re:Not just PornMode by Anonymous Coward · · Score: 0

      This won't do what you think.
      The association with your Facebook account is carried on the querystring of the URL, *not* in cookies. So, alas, even if you follow a Facebook link in incognito mode, the site you're browsing off to will still know everything about you.

      The paywall/counter reset, though, is spot on.

    3. Re: Not just PornMode by rhazz · · Score: 1

      That might be one use, but hardly the primary purpose, or even the marketed purpose of the feature.

    4. Re:Not just PornMode by MobyDisk · · Score: 1

      I use private/incognito mode to access my bank, so that I can be sure there are no XSS attacks. It's also useful for browsing pages you are working on so that you know nothing is cached. Plus you can have two simultaneous sessions going with the same browser, but cookies and history won't be shared. It is also good for testing supercookies.

      I kinda like the idea of every tab being a "private mode" tab. It's kinda how the web was intended to be in the first place.

  24. Re: Performance Hits? by Arkh89 · · Score: 1

    I cannot believe you on this. How was this done? Using cudaMemset, clEnqueueFillBuffer or something equivalent? Or your own code (coalesced memory access...)?

  25. Lazy-ass developers by Anonymous Coward · · Score: 0, Insightful

    This has always been a problem, practically since the dawn of computing. That problem is: leaving trash everywhere.

    And, this is as much a real life problem as it is a problem in the computing space. Have you ever seen a developer's work area? There's garbage everywhere - empty hot pocket boxes, empty cans of red bull, crusty kleenex all over the floor from late night fap sessions to animated hentai porn, and so on. Is it any wonder that these poor real-life hygiene habits make it into the code they write?

    No developer I've ever had the misfortune of working with has ever cared about cleaning up resources after they are used.

    1. Re:Lazy-ass developers by Anonymous Coward · · Score: 0

      Flame bait

      Look, there is a specific reason why memory and disk sectors don't get zeroed when they are freed by an application. It takes time, lots of time to actively write zeros into storage, so you don't do it unless you have a reason.

      There is a valid reason that pretty much forever the operating systems has declined to erase unused disk sectors or clear memory before it gets turned back to the operating system. If you want it to be zeroed, you had better do it yourself. It's called defensive programming, never assume *anything*....

    2. Re:Lazy-ass developers by jones_supa · · Score: 1

      +1 Funny

  26. Re: Performance Hits? by cfalcon · · Score: 1

    The performance hit for overwriting 4 gigs (or usually less) of RAM on *process or thread shutdown* shouldn't be that onerous... should it? I could be missing something about when it frees it.

  27. Virtual memory? by bucky0 · · Score: 1

    Question from a layman: Do GPUs have a physical-virtual memory mapping? Ex: Could process A get space on the GPU, then when process B requests memory, the GPU would give process B the physical pages process A used to have (while copying the actual data over) to defragment the physical pages, leaving B with a copy of what A used to own? Or, perhaps process B requests so much memory that the texture space requested by process A gets paged out to main memory?

    --

    -Bucky
  28. Re: Performance Hits? by AntiAntagonist · · Score: 1

    If that's the case then Nvidia should really be on the hook for this rather than Google.

    If the memory space is unallocated then the card should zero out any memory space that was recently released whenever the card isn't under heavy load.

  29. Re: Performance Hits? by Anonymous Coward · · Score: 0

    I'm not 100% certain this is true. The GPU, unlike the system / main CPU doesn't necessarily have overview of the applications that are using memory (and the execution stats of said applications) as that usually is the purview of the OS (and thus the clearing of memory after an application / thread / process completes is typically an OS feature). If the above is true, it's then more a matter of the OS also remembering to clear the GDDR RAM used, along with the system RAM (or the Graphics allocated system RAM in the case of shared memory) when a process terminates.

    This would probably be easier and safer than the other option asking the graphics driver to monitor all processes and perform clearing out from under the OS. This would be the only way I can see of putting the handling of the memory management for the graphics card under the graphics card's production company.

    *-- I am not an OS or hardware programmer, please take the above more as a question than a statement and feel free to point out areas where I am wrong or oversimplifying things.

  30. Re: Performance Hits? by Eunuchswear · · Score: 1

    Nope, it's Google selling "porn mode", it should be up to Google to avoid your feeelthy pictures lying around.

    --
    Watch this Heartland Institute video
  31. Re: Performance Hits? by Anonymous Coward · · Score: 0

    What GP says is not that clearing memory is slow, but that his particular (stage of) computation is fast.

    If you have broken your task into infinitesimal pieces and slap some bookkeeping code such as clearing memory onto each and every one, it will get expensive. If you use a less chatty design and only clear memory on startup of a complete calculation, instead of for each stage, the overhead becomes a lot less noticeable.

  32. Welcome to 2006 by tepples · · Score: 1

    The GPU, unlike the system / main CPU doesn't necessarily have overview of the applications that are using memory

    I thought per-process allocation of video memory was one of the big changes from Windows XP and DirectX 9 to Windows Vista and DirectX 10 that required changes to drivers to support the new Windows display driver model (WDDM).

    1. Re:Welcome to 2006 by edtice1559 · · Score: 1

      But I think the OP mentioned Linux!

  33. The OS to blame? Don't think so... by gwolf · · Score: 4, Insightful

    The GPU memory is not handled by the OS, it runs on a separate piece of hardware, a full computer system if you allow, that does not run an OS by itself.

    The NUMA API for using nVidia cards for GPGPU operations is quite simple and straightforward; when requesting memory, it allocates a chunk; when releasing it, it's just marked as "not yours anymore". Due to the massive parallel programming model, there is even some *value* in not clearing it, as for algorithmic iterations sometimes you can save the cost of populating and freeing memory blocks if you know you will get the same pieces of RAM (or if it does not really matter, and each algorithmic pass can work exclusively on a given set of data until a certain point has reached — think i.e. symmetric encryption schemes).

    Due to every time more intelligent C compilers (and of course higher level constructs) we have got used to memory being zeroed out on assignation, but no AFAICT no standard mandates that. I would place the burden of cleaning the memory on the *initialization* of the new application. After all, be it pr0n or just random flipped bits, Diablo looks bad by starting with the display of digital noise.

    I don't think it should be *too much* of a concern for Chrome cleaning up before closing a tab. Yes, there is a certain thing about it being "incognito mode" that should be honored, and –as a special case– it *should* ensure to clean up its act. But the main fault I'd say is at Diablo.

    1. Re:The OS to blame? Don't think so... by Anonymous Coward · · Score: 1

      there is even some *value* in not clearing it, as for algorithmic iterations sometimes you can save the cost of populating and freeing memory blocks if you know you will get the same pieces of RAM

      Jesus Christ! There are people who know how to program on this site. You're going to give someone a heart attack with comments like that!

      Also, it's not Chrome's responsibility to clear the memory. That might be a mitigation strategy, but no OS or driver should ever hand uncleared memory to a different application. Ever! What if Chrome crashes before it can clear the memory? We've had the performance discussion before, when some deemed clearing system RAM too costly. The answer is always the same: It costs what it costs. Do it right or don't do it at all. In software, the cost is always higher if you don't do it right from the start.

    2. Re:The OS to blame? Don't think so... by tepples · · Score: 1

      there is even some *value* in not clearing it, as for algorithmic iterations sometimes you can save the cost of populating and freeing memory blocks if you know you will get the same pieces of RAM

      Jesus Christ! There are people who know how to program on this site. You're going to give someone a heart attack with comments like that!

      I don't think gwolf was referring to exploiting the undefined behavior of use after free. I think it was more along the lines of object pooling.

    3. Re:The OS to blame? Don't think so... by ComputerGeek01 · · Score: 2

      Diablo looks bad by ?starting with the display of digital noise.

      This brings up an interesting point, I think what we really have here is an exploit in the NVidia drivers rather than a "Super Scary oh noze mine pr0nz gots pwnd" privacy issue. What if next time, instead of stills from your latest crush fetish video, your VRAM was sitting on a call to "glGetTexImage()" and pulls an arbitrary instruction onto your stack? It is basically telling us that read-after-release is possible and DMA can be a lot of fun in the "right" hands. This is a lot more interesting than this rather pedestrian article is making it out to be. More importantly it finally illustrates that "Don't worry, it's a Walled Garden" is just as dumb of a security measure as it sounds.

    4. Re:The OS to blame? Don't think so... by Anonymous Coward · · Score: 0

      The GPU memory is handled by the OS/Kernel, via the drivers. The main kernel code has to trust the kernel drivers are good citizens and are responsible for their own resources.

    5. Re:The OS to blame? Don't think so... by hankwang · · Score: 2

      "AFAICT no standard mandates that. I would place the burden of cleaning the memory on the *initialization* of the new application."

      Common sense mandates that a multi-user system separates users and processes from each other. If I log off from a workstation, the next user should not be able to do screen captures (potentially confidential documents, emails with passwords) using software that exploits this "feature".

    6. Re:The OS to blame? Don't think so... by gwolf · · Score: 1

      And it happens as you describe — on the main system's memory. However, the GPU is not the main system. It is more akin to a peripherial computer, with lots of intelligence and RAM of its own. Think of it as a printer. Do you really care if your printer blanks its buffers between jobs? No, as long as one job's leftover contents will in no way corrupt any next job's output.

    7. Re:The OS to blame? Don't think so... by Anonymous Coward · · Score: 0

      When a random unprivileged process can read from the buffer? Yes, I *do* care.

  34. No, chrome can't fix this by Anonymous Coward · · Score: 0

    This is not the responsibility of any application to fix. Any app could crash/be killed at any time before any of its own attempts to clean up get executed. This lands squarely in the domain of the OS--to enforce clean and secure separation of resources between processes and users.

  35. Re: Performance Hits? by Anonymous Coward · · Score: 0

    You don't need to memset after use because the multitasking/mutliuser OS will clear pages as they are mapped. Otherwise any process under any privilege could scan the whole ram for previously mapped information such as password or content of file otherwise restricted.

    It is a bug that the driver do not clear the frame buffer/texture when they are mapped. There is no performance penalty to fill with zero one time at start-up memory that will be filled 60 time per second with millions of polygons. Nvidia need to fix this shit.

  36. Google marked the bug as "won't fix" by Anonymous Coward · · Score: 0

    Gee, what a surprise.

  37. Re: Performance Hits? by Anonymous Coward · · Score: 0

    However clearing the buffer for a single frame (a single time) probably takes on the order of a few ms total which is miniscule compared to the time to actually terminate the process. If we're talking about rendering dozens of frames a second, say in a game, that's a different story.

  38. Re: Performance Hits? by Anonymous Coward · · Score: 0

    If the memory space is unallocated then the card should zero out any memory space that was recently released whenever the card isn't under heavy load.

    Nope, because that's a feature exclusive to Tesla and Grid.
    Yes, nvidia is crippling security on their consumer cards to sell you the "professional" version.

  39. Are you saying Windows is more secure than Linux? by tepples · · Score: 1

    Are you claiming that graphics drivers under GNU/Linux cannot tell whether the same process allocated two different chunks of video memory? If so, this is a security advantage of Windows over GNU/Linux, and GNU/Linux developers need to get their act together to fix it.

  40. Nothing new here. by BarbaraHudson · · Score: 1

    This has been the case for video cards pretty much since the beginning. You could even write batch files into video ram and then have a program execute after a warm boot and then run the code. Did this as a proof of concept on a VGA/Hercules combo (two separate cards). So, it's a feature, if you decide to see it that way.

    --
    "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
  41. Previous allocated memory huh? by basecastula+ · · Score: 1

    Has anyone noticed the same sort of thing with different Linux distributions and am hardware? Where the next login with briefly show the last thing from the previous session. It only shows the bottom 1/3 for me most of the time with lots of noise around the middle.

  42. This affects more than Invidias... by Anonymous Coward · · Score: 0

    I had an old PC with an ATI Radeon card that did almost the same thing. Sometimes after restarting the PC after a crash, the first screen after the bios loaded was a screenshot like image of whatever was on the screen before the crash for a few seconds. It also happened on an even older PC with only integrated graphics. I think that one was an Intel graphics chip on an old HP Pavilion.

  43. Re:Are you saying Windows is more secure than Linu by edtice1559 · · Score: 1

    Well I'm not saying that exactly. The OP pointed out security feature on Windows that may or may not have solved this. I don't know if that feature exists on Linux or not. It would actually be harder to implement on Linux since AFAIK there is only one X Server process. But this isn't my area of expertise.

  44. cache issues by Anonymous Coward · · Score: 0

    Both Chrome and Firefox should clear the GPU cache with EVERY RELOAD of a page! It's a huge, unpatched bug, which can very easily crash the browser.

  45. Re:Are you saying Windows is more secure than Linu by KGIII · · Score: 1

    I'll thread this here so that hopefully tepples sees it too. Sometimes it's great to hit the threads late - I usually try to not go further forward than page 1 (unless I am all caught up) for that very reason. Oh, I work back to forward from the eldest unread thread.

    Neither of which is here or there.

    I could put this almost anywhere in this thread and, I think, it'd be perfectly on-topic. This is absolutely the best, most educational, insightful thread I have read on Slashdot in a *very* long time. This, this thread, is why I come here. Oh, I get great answers all the time but I'm actually in the process of re-learning some programming because my brain's getting mushy (opposite, really, it's plasticizing as happens with age) and this? This tells me a bit about how much I have missed.

    I didn't do much of my own coding after about 1998. Yup... I'd say I did a bit more until 2000. Then I might have helped out with some suggestions (they'd moved to C++ and my code had been in C) or ideas for a while after that but I never actually typed a single line, comment, or made any commits. Instead, at most, I may have given a suggestion as to ways I thought of that they might be able to reach the goal - sometimes good, sometimes not so good. I am not a programmer -- I learned to program (some) because I had to.

    It might even be accurate to say that I didn't do /most/ of my own programming after some time in the middle/late part of 1996. That's almost twenty years ago and I can still kind of remember the feeling of turning "my baby" over. I shit you not, it was a lot like seeing your kid go off on their first day of school - perhaps their first day of college. You're letting someone else control the destiny of something that you've invested your life in and, equally important and counting sharp ass metal bits inside of computers, you've spilled your own blood for it. I'd actually be surprised if nobody here knew what I was talking about - perhaps even better than I do.

    I asked a question, above, and - after reading all this, I think it's still a fine question for me as I've not yet truly got an answer but I think I do. (Chrome might not have permissions to actually control the memory on the GPU or, perhaps, doing so is resource intensive - is that a penalty hit worth it for more anonymity in something called "incognito mode?") That was not, by the way, my question up above. Just stating what I've learned (or not) from reading this far down.

    This is absolutely fascinating and really topical for me at this point. While I am looking at two specific languages, I'm trying to get my brain to work right again - thinking in terms of how and not the specifics. That's a greater process than it used to be and, well, far more complex than it was some 15+ years ago.

    I guess what I'm getting at is that this is a fine place to express my gratitude. This was one of the reasons I had my first account long ago, have this account now, and return frequently. That's an overly complicated way of trying to thank not just you, nor just the people who are taking the time to answer, but also to thank those for asking questions that I might not have thought of on my own. Mushy sentiment? Sure but heartfelt and sober sentiment and true gratitude. Thanks Slashdot. We seriously should form a board and buy this place and let the community run it as a non-profit. Maybe I should look into that when I get back to Maine.

    --
    "So long and thanks for all the fish."
  46. Re:Are you saying Windows is more secure than Linu by KGIII · · Score: 1

    Now that I think about it and sorry to reply to myself - but, does this still work if you have disabled 'hardware acceleration' or started it from the terminal with the --disable-gpu-composting because if that's enabled then I think the browser just uses the regular RAM and not the GPU's RAM?

    I'm quite positive that I'm missing something because it can't be that easy. I'm gonna scroll down the thread again. I keep getting stuck every few posts and ending up reading a few links from Google just to help me make sure that I'm understanding enough this to actually be able to benefit from it.

    --
    "So long and thanks for all the fish."
  47. What about the HDMI audio buffer? by Anonymous Coward · · Score: 0

    Does this non-clearing of memory then also apply to the HDMI audio stream as well? How close to real time could an exploit then grab both video and audio from a compromised machine?

  48. Absolutely! by Gallomimia · · Score: 1

    I have seen yesterday's game come on the screen when first booting into some environments. Data remains. For a long time.

    --
    Sadly, a Libertarian cannot force his views on another, and freedom cannot spread as does the cancer known as religion.
  49. Also happens on Mac OS by Keybounce · · Score: 1

    Even on my Mac OS, running Minecraft, I see this. When Minecraft starts up, it opens a window, displays what ever is in the graphics memory, and then eventually clears it out and shows it's welcome window.

    That graphics memory can be anything from screen rendering pieces, to other window data, etc.

    I wonder if anything would survive a logout, and then someone else logging in?

    1. Re:Also happens on Mac OS by grumbel · · Score: 1

      Graphic memory doesn't just survive logouts, it survives soft-reboots as well (e.g. the login screen in Linux likes to show garbage from the previous boot). To clear the memory you have to switch of the computer completely.

  50. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion