Slashdot Mirror


Half- Life 2 Stutter Solved

As a followup to the story on Saturday about the HL2 stutter bug, Voodoo Extreme has news that a patch is on the way, with an ETA of tomorrow. "A patch will be coming for this issue that will load all of the required textures into video memory on level load, rather than doing it during game play."

13 of 81 comments (clear)

  1. Great by Anonymous Coward · · Score: 5, Funny

    I hope someone will make a torrent for it, for all the people that don't have a legal copy.

  2. hmm? by Sv-Manowar · · Score: 3, Interesting

    "A patch will be coming for this issue that will load all of the required textures into video memory on level load, rather than doing it during game play."

    Surely this would have been noted during Beta testing, unless they were testing on all high end machines ?

    1. Re:hmm? by jpmoney · · Score: 3, Interesting

      I'm not sure what these "high end" machines were. I have the problem (intermittantly and only for a few seconds, but it does happen) on my Athlon 64 3200+, 1G PC3200, Nvidia 6800, etc. I know its not the "latest" with PCI express, etc out, but I'd still call it "high end".

      I guess if I had a 4.0ghz overclocked, watercooled system with a 512 meg 6800 Ultra PCI express (do they even exist yet?) I'd be smooth, but for now I'm mostly smooth.

      You think it'll work? It'll take a miracle (or longer load-times upfront).

      That is the root question though - how did this bug get through QA? Its fairly annoying and beyond that takes away from the "immersion" you have during gameplay.

      --
      unf.
    2. Re:hmm? by vhold · · Score: 4, Insightful

      If its only intermittent and only for a few seconds, you might have the auto-save stutter. The game has auto save points sprinkled about rather liberally that are the only cause of quite a few peoples' stutter. I don't know what part of suddenly writting out 8 megs to disk in the middle of gameplay seemed like a good idea at the time, with no way of turning it off.

      I'm worried that even after this fix, that problem might still remain.

  3. So the fix... by llevity · · Score: 4, Insightful

    Will make the loading times even longer? Great!

  4. This hurts the computer industry by 2bluemike · · Score: 5, Funny

    I would have preferred to have them say "Oh, the only way to fix it is by upgrading to 64-bit AMD, 3GB RAM, etc. etc." My stock would have gone up :-/

  5. Great (sarcasm) by NeMon'ess · · Score: 3, Insightful

    Now the level load times will be longer. More important, someone explain why there's any video memory to spare? I'm presuming the main point was to free up space and swap textures out when entering a new area that didn't need those anymore. If all level textures are loaded at once, some aren't going to fit, right?

    1. Re:Great (sarcasm) by cookd · · Score: 5, Informative

      Textures can be in one of 3 "places":
      1. In the HalfLife level files, compressed and raw.
      2. In system memory, properly formatted for direct transfer to the video card.
      3. In video card memory.

      Going from stage 1 to stage 2 takes some CPU power as well as disk access. Going from 2 to 3 is probably a lot easier on the system, even if the system memory has been paged out (just page back in, no significant CPU cycles used, just a bit of latency).

      If properly done, you can do some of the stage-1 to stage-2 work while the game is playing, but it is a real balancing act between keeping frame rates up during play and keeping load times down between levels. If the balance is off just a bit, the work isn't done by the time the texture is needed, and the game stuttttters.

      --
      Time flies like an arrow. Fruit flies like a banana.
    2. Re:Great (sarcasm) by ZosX · · Score: 3, Interesting
      Going from stage 1 to stage 2 takes some CPU power as well as disk access. Going from 2 to 3 is probably a lot easier on the system, even if the system memory has been paged out (just page back in, no significant CPU cycles used, just a bit of latency).

      By hitting the pagefile, the resulting memory space is swapped. It would take it a very long time for it to be passed from the hard drive back into RAM. Probably it would occur somewhere around 33-66 MB/sec. Compared to the hundreds of megabytes per second that DDR memory can pump out. A hard drive is a whole lot slower than just having that data cached in RAM. The last thing you would want to do is swap it out, and it would be more likely that the operating system's components would be swapped out before an actively running task's would. Ever let windows sit idle when running apps that eat up most of your physical ram? When you close that application and let the system swap back in, it can take a few good minutes for the system to be responsive again. While the preemptive tasking in Windows leaves a lot to be desired for (IMHO), it still tries to balance I/O with user interactivity, however I have seen W2K choke with just a 10% cpu kernel load, while heavy paging is happening. If you are pulling information off of the drive (happens a whole lot in 3D games), you would certainly not want the drive to accessing paged memory at the same time. Sound starts stuttering because it is not being cached fast enough, etc.

      Sorry just a ramble. Swapping is and likely will always be a very large performance hit.

  6. They planned this all along by 2bluemike · · Score: 5, Funny

    STEAM: Still Time Enough After its on the Market

  7. Optimization gone awry? by seanellis · · Score: 3, Interesting
    Rules of Optimization:
    • Rule 1: Don't do it.
    • Rule 2 (for experts only): Don't do it yet.
    • - M.A. Jackson

    Aggressive memory management of textures is an optimisation. If you don't absolutely need to do it, you shouldn't do it. And it seems from the nature of the patch that you don't absolutely need to do it.

    Obviously, I'm not being 100% fair - perhaps it needed to be done and then the texture load went down because the assets were redesigned.

  8. St-st-stutt-tt-ttering? by bryhhh · · Score: 4, Funny

    Wh-wh-wh-what st-st-st-st-stutt-tt-tt-ering?

  9. Torrent: It's not just for pirates anymore by superultra · · Score: 4, Funny

    If the patch is distributed by Steam, legit users will need the torrent as well!