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

81 comments

  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.

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

      Sinner!

  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. Re:hmm? by tktk · · Score: 1
      I read an interview with Gabe and there a question where he was asked to spec out low, mid, high end machines. From what I can recall, your specs are closer to mid range than to high end.

      Sadly, mine was actually slightly below the low end.

    4. Re:hmm? by Quarters · · Score: 1
      Unfortunately for you I doubt PCI-E machines show the stuttering. The problem is caused by uploading the texures from where they were stored in system memory to the video card. The AGP bus gets saturated and everything stutters.

      The vastly increased bandwith of PCI-E can probably handle the paging without issue.

    5. Re:hmm? by ForestGrump · · Score: 1

      I have a friend who bought HL2.
      Was over at his place last friday night watching the gameplay. He has a 2.2 gig ath, radeon 9700 i think.

      Anyway, all details turned up. The studder he expeirneces is right before alot of enemies pop up. he actually likes the studder because it gives a quick warning of what's to come.

      --
      Is it true that more people vote for the winner of American Idol, than vote for the president? -Ali G.
    6. Re:hmm? by SuperRob · · Score: 1

      I have a P4 3GHZ machine, 2GB of RAM, 120B Serial ATA hard drive, and an ATI X800XT PE ... and I STILL get stuttering. I don't think testing on high-end machines was the problem.

    7. Re:hmm? by Senjutsu · · Score: 1

      I reduced the stuttering to non-existence by changing the size of my AGP aperture. They may have been using a range of High- and Low- end machines that were simply better configured than most people's machines are.

    8. Re:hmm? by Anonymous Coward · · Score: 0

      Maybe if you increase the size of the hard disk. I've heard that 160gb drives give better results. I mean, it's just really good that you included how big your hard drive is. Otherwise I wouldn't be able to help you out. Thanks mate.

    9. Re:hmm? by Anonymous Coward · · Score: 0

      Thats just plain wrong, no fun in that. Still though with the budget their QA must of had I can't see why it got through

    10. Re:hmm? by Anonymous Coward · · Score: 0

      That is the root question though - how did this bug get through QA?

      The same way they let the "only 26 spawns available" bug in one of the six maps they bundled with it (dust) get by. YOu know, you can have 64 players on a server, but on that map, it's limited to 26.. 14 on one team and 12 on another. Ridiculous. And still hasn't been fixed.

    11. Re:hmm? by tsm_sf · · Score: 1

      Incorporating hardware limitations or software bugs into gameplay is kind of a cool idea. Something like the 'I love bees' website crashing your browser while displaying an error message that might lead to a clue would be fun to see. Once.

      --
      Literalism isn't a form of humor, it's you being irritating.
    12. Re:hmm? by delus10n0 · · Score: 1

      I have a Dell P4-3GHz, with an ATI X800 SE PCI-E, and it exhibits the stutter. It's pretty scattered throughout the game, but it does happen in the same places every time.

      --
      Not All Who Wander Are Lost
    13. Re:hmm? by edo-01 · · Score: 1

      I'm running HL2 on a twin proc Xeon 3ghz with 2 gig of ram and a PCI-E ATI AX800 XT and I get stuttering. It's always right before a badguy shows up too.

    14. Re:hmm? by Anonymous Coward · · Score: 0

      I'm on a pentium 3.3 with a 6800 gt oc and STILL get
      the stutter... So if they were testing it on high ends then they knew about it. Just like they know how much VAC (www.steampowered.com) doesn't stop cheaters and how much no one at steam seems to care.
      Hell, they left sv_cheats available when cs:source came out... duh

    15. Re:hmm? by metlin · · Score: 1

      Exactly!

      I feel the same too. But sometimes it gets really in the way, so it's really a double edged sword of sorts.

      Sometimes, it comes up at the wrong time and sometimes at the right time. But I've gotten used to it, so I might as well play it with the bug - it's like the Quake rocket bug, once you're used to it, it's a pain playing without it.

    16. Re:hmm? by dstrack · · Score: 1

      I downloaded the patch and I still have the stuttering problem. I have an Alienware Aurora ALX - AMD 64 FX-55, 2 GB RAM, 2 75GB Raptors in RAID 0 config, nVidia 6800 Ultra 256MB... I don't think it's hardware resource issue... is it? I love the game and continue to play it even with the stutter... but it's getting annoying. I need to try a clean reboot and play it that way with nothing running in the background - I don't have much running in the background now except for AOL IM, and MSN Msgr and some anti-virus stuff... which could be part of the problem? Anyone else download the "fix"?

    17. Re:hmm? by dstrack · · Score: 1

      Ok... after reading a bit on the HL2 forums, etc... I found that whatever I downloaded off of the STEAM News page is NOT the fix I thought it was... must be some new updated validation BS... anyway... there are apparently 3 fixes, 2 of which they've solved the 3rd is nVidia-specific - which is what I have... the waiting game...

  3. Hmmm.... by comwiz56 · · Score: 2, Interesting

    I wonder what else this patch will include. Maybe some anti-piracy stuff. Valve has to working on cracking down on that more. Anything else that needs patching?

    1. Re:Hmmm.... by syynnapse · · Score: 1

      they should release a patch that will let me run the game without $1200 worth of hardware upgrades. :/

      --

      System.out.println(syynnapse.getSig());

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

    Will make the loading times even longer? Great!

    1. Re:So the fix... by SuperRob · · Score: 2, Insightful

      I don't know entirely why this was modded as funny, but I suppose it's because there is no way to mod a post as "Bingo!". I'd bet this will do nothing but make the already atrocious loading times even more ... atrocious.

    2. Re:So the fix... by WhatAmIDoingHere · · Score: 1

      On a 2, almost 3, year old p4 1.7 with 512MB of PC133 the loading times aren't that bad. The first load is about 20-45 seconds, and level transitions are between 5 and 15 seconds.. loading from a save after the first load is about 20-25 seconds..

      Maybe I'm just lucky.

      --
      Not a Twitter sockpuppet... but I wish I was.
    3. Re:So the fix... by Rew190 · · Score: 1

      Hmmmm, but would you rather wait for another 3 seconds and have the game play flawlessly, or would you rather be completely sucked out of the moment in a firefight when your system stutters so that you could play the game three seconds earlier?

  5. 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 :-/

    1. Re:This hurts the computer industry by Hank+Reardon · · Score: 1

      Still wouldn't have helped...

      That's what my system is, and the stutter is horrible.

      --
      There's so little difference between politics and jihad lately...
    2. Re:This hurts the computer industry by superpulpsicle · · Score: 1

      Damn I thought this was just a problem with my slower system. Apparently not.

      The game still runs far superior than Doom III, which if I can add.... I am still struggling with these white spots after like 3 months now.

  6. 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 vhold · · Score: 2

      Well, we're talking about system memory here, not video. Maybe it turns out that Windows virtual memory paging is faster, or more importantly, more interrupt/interactivity friendly, then HL2's implementation of the same basic concept?

    2. 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.
    3. Re:Great (sarcasm) by NeMon'ess · · Score: 2

      Hadn't thought of that. Thanks for the theory.

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

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

      The point was that swapping doesn't have much of a CPU hit, and the latency for swapping is smaller than the latency for loading and filtering.

      Pulling in 10 MB of textures from swap and getting them onto the video card takes less than one second of latency and almost 0 CPU.

      Pulling 10 MB (decompressed size) of textures from the level files, decompressing them, filtering them for the installed graphics card and settings, and getting them onto the video card can take 5-10 seconds of 100% CPU usage.

      Guess which one is going to cause more stuttering?

      --
      Time flies like an arrow. Fruit flies like a banana.
    6. Re:Great (sarcasm) by SuiteSisterMary · · Score: 1

      So do something like GTA3, and many other games (that's the first one I can think of off the top my head, though) do; format the textures for your card during the install, or during the first time you play. Check to see if the video card has changed on run, and if not, well, you've already got the textures sitting on the harddrive ready to go.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
  7. Hooray by cuteseal · · Score: 1

    Hooray! Now will there be revised system (memory) requirements too?

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

    STEAM: Still Time Enough After its on the Market

  9. Bloodlines, plz? by schild · · Score: 1

    Sooooo, no word from Troika yet. Are they just sticking their heads in the sand on this one? The HL2 problems are amplified in Bloodlines.

    --
    schild
    editor, f13.net
    1. Re:Bloodlines, plz? by Jherico · · Score: 1

      I've heard from an insider that Troika is pretty much no more, so I wouldn't expect a lot of post-release patches for that game.

      --

      Jherico

      What can the average user can do to ensure his security? "Nothing, you're screwed"

    2. Re:Bloodlines, plz? by Anonymous Coward · · Score: 0

      Really? That's news.

      I guess they won't be selling many copies of V:TM Bloodlines, then?

      Never mind that it's gotten consistently high scores from reviewers. Never mind that the White Wolf fandom will buy anything branded as a Vampire game. Never mind that it's one of the few RPGs this year on the PC.

      And of course, there's nothing to the producers stating they have "something else in the works".

      Or maybe you're concerned that the highly skilled team of industry veterans at Troika are going to all go spontaneously batshit, thereby rendering them useless for any further game production?

      My contact at Troika seems to think they're doing alright, for whatever that's worth. Can you back up your point? Or is this just flamebait?

    3. Re:Bloodlines, plz? by Jherico · · Score: 1
      My contact is at Activision and basically says Troika has run out of publishers that will put up with them. I'm currently playing Bloodlines after finishing HL2, and I'm seriously amazed at how little they did with the engine. Its buggy, glitchy and nowhere near as good looking as HL2. I'm sure it will sell lots of copies, but aside from some minimal physics stuff, it looks like they slapped the RPG onto the old HL1 engine, not Source. I'm not saying that's what they did, just that thats what it looks like.

      Sure... Activision released the game because they made a huge investment into Troika, but apparently after getting this done, Activisions not going to throw good money after bad. Granted, my source isn't high up in Activision, so his word isn't some sort of guarantee. I'm just saying what I heard.

      --

      Jherico

      What can the average user can do to ensure his security? "Nothing, you're screwed"

  10. Oh good. by Leroy_Brown242 · · Score: 1

    Now I won't have those annoying stutters on the rest of my second pass through HL2.

    1. Re:Oh good. by Anonymous Coward · · Score: 0

      What the hell? Why would you play the same game twice? You seriously have NO life.

    2. Re:Oh good. by Anonymous Coward · · Score: 0

      Perhaps he has a half-life. :)))

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

    1. Re:Optimization gone awry? by vhold · · Score: 1

      What's going to be really strange is if it turns out that the reason they were able to eliminate it is because Windows virtual memory was naturally better at doing the same basic concept.

    2. Re:Optimization gone awry? by metalhed77 · · Score: 1

      If the problem's been fixed then what's your problem? I don't care about 'rules' that shouldn't be applied universally, I care about the game working properly. Why are you trying to hurt half life?

      --
      Photos.
    3. Re:Optimization gone awry? by Anonymous Coward · · Score: 0

      Why would that be surprising? Windows memory requirements have been practically doubling every new release. I'm sure that a lot of time and energy has gone into making Windows deal well with swapping.

    4. Re:Optimization gone awry? by Anonymous Coward · · Score: 0

      Following those rules is the problem with today's game industry. It results in quickly shipped garbage.

      The best rules for optimization are:
      - Design it in the architecture
      - Watch for efficiency every step of the way
      - make it tight BEFORE you ship

      This results in slower to market games that run fast on mediocre hardware (no Supercomputers required) with fewer bugs.

      Of course, it costs more to produce solid product, but sooner or later, with the sloppiness prevalent in the industry, it's going to crash hard unless some pride in workmanship is factored in on a regular basis.

    5. Re:Optimization gone awry? by Senjutsu · · Score: 2, Informative

      His point was that since the "on demand" texturing loading was causing the stuttering, it was Yet Another Example that premature optimization is the root of all evil. Trying to be clever about optimizing texture memory usage only ended up hurting performance.

      By loading all textures on level load, they remove the attempted optimization, and solve the problem.

    6. Re:Optimization gone awry? by cgenman · · Score: 2, Insightful

      By loading all textures on level load, they remove the attempted optimization, and solve the problem.

      And probably introduced the problem of much slower loading times. This screams of "stopgap" to me, and I wouldn't be surprised to see dynamic loading reintroduced at a future date without the associated, relatively minor problem.

    7. Re:Optimization gone awry? by Dmala · · Score: 2, Funny

      I have to object to your rule. As a QA Engineer, hasty, ill-conceived optimizations provide me with job security.

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

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

  13. Great. by Anonymous Coward · · Score: 0

    Just when I finish the game :-P
    (No matter, I'll be playing parts of it over again anyway...)

    1. Re:Great. by Talonius · · Score: 1

      Same here, they fix the shit and I already finished the game. Glad I played through the stutter ass.

      --
      My reality check bounced.
    2. Re:Great. by Trikenstein · · Score: 2, Funny
      (No matter, I'll be playing parts of it over again anyway...)

      I remember keeping a save of the original H-L for months.
      It was right before the ninja/assissins.
      I'd load up the game, go into god mode and crowbar the frak out of them.
      Great stress relief after a bad day.

  14. Size of hard drive won't change anything by Nomihn0 · · Score: 1

    In stuttering like this, the hard drive changes nothing. If the hard drive size does make a difference, it's a sign that there's another problem. The hard drive's seek time could make a difference, seeing as to how each half of the level has to be loaded into the RAM when approached, but not the capacity. The only time that hard drive capacity comes into play is with swap files. If you run out of available system RAM, your computer treats a swap file hard drive as though it is volatile memory. Reading from and writing to the hard drive is far slower than storing level detail in RAM. Having very little space on your hard drive left could yield a worse stutter. However, as I said, having to use a swap file at all is evidence that your computer is not adequate for this game.

  15. And this is why you read OPs first by Anonymous Coward · · Score: 0

    Boy am I a klutz. . . *notices sarcasm in grandparent post*. Sorry moderators. At least I had useful information, no?

  16. 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!

  17. Packaging change? by Malevolyn · · Score: 1

    So is it safe to assume that the copies sent to the store, sometime later, will already have this patch? This patch obviously raises memory requirements, I wonder if Valve will change the packaging to reflect that... Although I haven't played Half-Life 2. The patch could only load one or two new textures...

    --
    Your ad here.
    1. Re:Packaging change? by JohnFluxx · · Score: 1

      You have to connect to steam to play half life 2 anyway, so the patch will probably just be pushed in then.

    2. Re:Packaging change? by Malevolyn · · Score: 1

      Yeah, I'm a total idiot.

      --
      Your ad here.
  18. Counter-Strike: Source fix too? by nacturation · · Score: 1

    Played Half-Life 2 and noticed a bit of stuttering on occasion (a bit every five minutes maybe), though nothing like that demo video someone posted. However, when I play CS:Source, it eventually hits a point where the game freezes and the sound stutters constantly, necessitating a three finger salute to kill the process. Are these related? Or should I be madly trying all sorts of various drivers?

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  19. It doesn't matter by Taulin · · Score: 1

    Ahh...texture thrashing. My CD store bought copy is nothing more than a burnt version of what is downloaded from Steam. I kind of wish I downloaded it and saved the gas and time to pick it up, plus I would have gotten more goodies.

  20. Revolutionary Slow Motion Feature by vhold · · Score: 2, Interesting

    This will really date me, but on the box for Conan for the Commodore 64, it advertised:

    "Revolutionary Slow Motion Feature when the action gets really intense."

    It was basically the same flickering slow motion many c64 games got when the hardware wasn't up to the task.

    1. Re:Revolutionary Slow Motion Feature by tsm_sf · · Score: 1

      Hehe, looks like Marketing is good for something after all. That's a riot. FWIW, I don't remember that 'feature' in the Apple version of the game (are we talking about the one that had death messages like "you succumb to lassitude"?).

      --
      Literalism isn't a form of humor, it's you being irritating.
  21. I had the stutter somethin' fierce... by Brakz0rz · · Score: 2, Informative

    On my P4 1.8 512mb
    gf3.200ti w/128mb vid ram (obviously nothing fancy...)

    I added 256mb of system ram and there was no more stutter. Kind of surprised me actually. Even quick and auto saves are no worries anymore.

    --
    "Man will never be free until the last king is strangled with the entrails of the last priest." - Denis Diderot
    1. Re:I had the stutter somethin' fierce... by dstrack · · Score: 1

      I have 2 GB of RAM - had the stuttering problem - downloaded the so-called fix and it made it worse at first... I rebooted machine and it ran well for a while, but eventually the stuttering returned... probably not as bad, but still there for sure.

    2. Re:I had the stutter somethin' fierce... by dstrack · · Score: 1

      OK - what I downloaded was not the fix... If found it on STEAM News - I guess it was some sort of validation update... whatever...

  22. 20,000 steam accounts disabled!! by ibentmywookie · · Score: 1

    Valve has just disabled 20,000 steam accounts for using a banned CD key!

    Story here.

    Interesting reading :) Anyone want to submit this as a slashdot story in the games section? I can't be fscked writing it up.

    --
    -- The doctor said I wouldn't get so many nose bleeds if I just kept my finger out of there!
    1. Re:20,000 steam accounts disabled!! by Mitleid · · Score: 1

      Someone really needs to help me out here, as I'm incredibly confused by this situation.

      Am I to understand that there are individuals out there who pirated a copy of HL2 and still allowed their machines to log into Steam to authenticate. AND they used a valid Steam account to do all this with, so now they are blacklisted for life?

      My understanding to the inevitibility of HL2 getting cracked would be that the "fix" wouldn't be a CD Key that works, but probably be something that prevents HL2 from dialing home altogether. Are people really as foolish to think that simply using a pirated CD key on an authentication server like STEAM will keep them in the clear? It boggles the mind...

      --

      --
      Is it me, or did it just get fatter in here?
    2. Re:20,000 steam accounts disabled!! by vhold · · Score: 1

      So.. Valve purposely lets people register steam accounts and play the game for free for a couple days, and then bans them.. A lot of those people probably beat the game within that timeframe and lost nothing. I don't totally get it.

      Perhaps they managed to accomplish:

      Scaring some people away from pirating in the future.
      Misdirecting people away from the -real- warez versions that completely bypass the real Steam servers.

  23. Download steam updates elsewhere? by Mr_Silver · · Score: 1
    Can you download steam updates onto another machine?

    The reason I ask is that I have only a 56k modem at home - so would rather get the downloads on a fast connection, drop them onto a USB stick and take them home rather than sitting around for 2 hours for the updates to come down.

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
  24. Response Time by aliens · · Score: 2, Insightful

    I just want to note that this game has a great team behind it to be so quick with a fix. I mean nothing coming out the door is perfect. Unless you've ever developed anything more complicated than "Hello World" you know this. Doom 3 I think was extremely polished, but HL2 is an example of a developer wanting to make sure everyone gets a great playing experience.

    --
    -- taking over the world, we are.
  25. Someone who gave up... by puzmaster · · Score: 1