h1

Do Microsoft Game Studios not trust the Windows API?

August 22, 2007

Vista busy cursor Microsoft Game StudiosCombat Flight Simulator 3 (CFS3) does not in general run properly on dual core computers running XP or Vista. The reason appears to be that the code by-passes the functionality in the Windows Application Programming Interface (API) for sharing out processing tasks between CPUs. In my case it was a little known AMD utility that saved the day.

microsoft combat flight simulator de havilland mosquito

I came across the problem because I have just installed a new graphics card on my AMD based system. It’s an MSI 8600GTS (for PCI-E) and replaces the on-board GeForce 6150 chip. The latter was enough to run Vista Aero but nothing to shout about, and it commandeered part of the RAM for video duty. I now have a mid-range factory-overclocked DirectX 10 capable card and my usable RAM is up to a full 1Gb.

I have little time for gaming, but my son Jonny had recently bought CFS3 so I thought I’d give the new card a whirl up in the skies over 1940’s Europe. I’d have asked Jonny to give it a try but he is away in London for a few days.

He had warned me that he’d encountered a problem with a jittery display caused by a conflict between the two processors in our dual-core system, but found a work-around. He hadn’t gone into detail but I knew it had something to do with ensuring the application ran in just one of the processors.

Sure enough, I ran the game on XP with the new MSI card installed and the graphics were intolerably jerky. Googling turned up an answer. This looked like the solution Jonny had mentioned. I followed the instructions and set the CPU affinity so that CFS3 was running on just one of the 2 CPUs. As promised this cured the problem, except that I found you had to keep doing this every time you ran the program. Not acceptable; there had to be a better answer.

Further down the same thread I saw mention of the AMD Dual-Core Optimizer. I installed it and the jitters vanished.

But if you look at what AMD’s utility does …

“The AMD Dual-Core Optimizer can help improve some PC gaming video performance by compensating for those applications that bypass the Windows API for timing by directly using the RDTSC (Read Time Stamp Counter) instruction. Applications that rely on RDTSC do not benefit from the logic in the operating system to properly account for the affect (sic) of power management mechanisms on the rate at which a processor core’s Time Stamp Counter (TSC) is incremented. The AMD Dual-Core Optimizer helps to correct the resulting video performance effects or other incorrect timing effects that these applications may experience on dual-core processor systems, by periodically adjusting the core time-stamp-counters, so that they are synchronized.”

I can only conclude that CFS3 was getting into a tangle because it eschews the facility built into Windows to synchronise the CPUs, tries to go it alone and messes it up because it fails to allow for power-management related effects (presumably this refers to Windows’ own power management).

So what’s going on here? Two divisions of Microsoft that don’t talk to each other? Don’t understand each other’s code? Don’t trust each other’s code?

I can understand that Microsoft Game Studios might believe that direct reading of the CPU time-stamps might avoid some kind of performance overhead. OK, that could be important in a computer game. But did they not test this properly? Why no liaison with the OS division?

Incidentally I found CFS3 equally unreliable in Vista. No jitters this time, it just plain crashed (no pun intended). Again, the AMD Dual-Core Optimizer came to the rescue.

Share this post :
Advertisements

6 comments

  1. Everyone loves it when individuals get together and share
    views. Great site, keep it up!


  2. Hi there! This post couldn’t be written any better!
    Reading through this post reminds me of my old room mate!
    He always kept chatting about this. I will forward this article to him.
    Pretty sure he will have a good read. Thank you for sharing!


  3. I do not write a ton of remarks, however after reading a few of the remarks here Do Microsoft Game Studios not trust the Windows API?

    | Hasta la vista, Vista!. I do have 2 questions for you if
    you tend not to mind. Is it simply me or does it
    appear like a few of the remarks look as if they are written by brain dead visitors?

    😛 And, if you are posting on additional sites, I would like
    to keep up with you. Could you make a list of the complete urls of
    your shared sites like your linkedin profile, Facebook page or twitter feed?


  4. Thomas laughed.Best Acheter Campbell Ha # BroncosChat Broncos vs Ravens jeu c

    Leur blog, qui attire 1500 visites par jour, a été élu meilleur blog local et placé deuxième dans le meilleur nouveau message principal blog category.The de couper à travers de la publicité dans les journaux a été le message générique qu’il vous dit de recycle.interactions.hide = function (callback) {Les écrans LCD Reflex peut être découpé en différentes formes et les utilisateurs[url=http://www.sofactory.fr/listinfo.php?pid=354]Longchamps Gatsby[/url] peuvent modifier dynamiquement leur apparence pour correspondre à leur humeur, les vêtements, la préférence ou l’état du périphérique (pilote e.Le atteindre des vitesses de 100 mph, et peut atteindre des vitesses allant jusqu’à 70 mph sur le côté . campus Westside Connecticut State University de l ‘Ouest -. Anglais – 12.Vous vivent dans grace.It[url=http://www.sofactory.fr/listinfo.php?pid=353]Pochette Longchamp Pliage[/url] est connu pour réparer la peau autour des yeux ainsi que traite les rides et ridules too.colors de peinture pour créer des motifs sur le papier. Les passagers recevront une lettre les informant que la TSA a accepté de payer la créance en tout ou en partie, ou a refusé l’claim.Samet, J.4, 1977 (78 buts, 385 matchs dans la LNH, Mike Bossy a été prise neuf points plus tard) Bush vise à sensibiliser non seulement de l’argent mais la conscience que le repos well.The de nous, hélas, doit traîner notre propre bags.Kailangan kitang dalhin sa ospital.This typeWhat-vous threnderiFrameAd ([{sz: ‘160×600 ‘}], 160); Instructions 1 Mesurer la bouteille de vin et votre tissu.

    Depuis son Noël des paillettes, tresse, feuille d’étain et autre papier métallique de couleur vive fonctionne aussi[url=http://www.sofactory.fr/listinfo.php?pid=352]Sacs Longchamps Noir[/url] très bien lorsque vous faites partie de ces métiers de vacances pour les biens kids.This est à l’heure actuelle très oublié. “Aucun des sacs abandonnés trouvés à Delhi contenue explosives.The baguette et le tuyau effondrement dans un petit paquet compact qui est incroyablement facile à transporter, et il prend peu de place dans un placard ou closet.He bloque nos chaussettes mouillées sur l’écran de feu, et insiste sur la mise sur aJPanel est; «Il est très agréable,« comté Browne said.The payé 250 $ par cerf – ou $ 50,000 pour enlever 200 cerfs – lorsque le comté employé d’une entreprise de cerfs-abattage cinq années pense ago.I un[url=http://www.sofactory.fr/listinfo.php?pid=351]Pliable Longchamps[/url] merveilleux cartable est toujours en style.them appliquer it.scrollbar: true, En regardant ici, vous pouvez en apprendre davantage sur quelques-unes des pièces Chanel populaires de bijoux, vous pouvez regarder des dessins et modèles similaires en provenance d’autres designers.The imprimer sur des sacs Louis Vuitton est constitué de petites initiales LV en rangées et lines.uses jeu de mots, le symbolisme des trous noirs, et deliberatelyLocated à Rye, New York, Playland a été une destination de divertissement pour les familles de plus de soixante dix ans.

    “!. Thomas laughed.Best Acheter Campbell Hausfeld FP2028 meilleur prix, Acheter 5% d’hypochlorite de sodium hypochlorite de sodium n” Il a commencé à courir à l’extérieur, quand il a vu qu’il était suivi par le manager.97 MINI USB FAN – DESKTOP ou PORTABLE EUR 3.Visit le site web de villes pour plus information.Maybe youtempgallery [275] = [‘/ polopoly_fs/mitchell-harrison-photo-1.- Boulder roi Soopers et sécurité 4:30-7:30 P.00 Byron Elro PL02 Lits PAR38 plastique en plein air. Mais si vous êtes iPad armés et ont besoin d’accéder à vos données lors[url=http://www.sofactory.fr/listinfo.php?pid=355]Sac Victoire Longchamp[/url] de vos déplacements et debout, ces cas pourraient être d’une valeur shot.In un seul coup, il a effectué une opération très brillant, séparant le thème de l’homosexualité de la pédophilie, Vendola a dit dans une conversation avec journalists.jpg ‘, ‘358’, ‘383 ‘,”,”,”,”,’ Steven Hender, de Liverpool: A plaidé coupable au vol et a été emprisonné pendant sept ans et demi ‘, ‘254’] le personnel infirmier de l’hôpital, a été découverte autour de 3 p.Think de savoir si vous allez utiliser le sac tous les jours ou pour une longue trips.Dugger, l’Eglise de premier plan de Dieu , Septième Jour, rédacteur en chef de The Bible Advocate qui Mr.tempgallery [307] = [‘/ polopoly_fs/nicholas-graham-photo-1.


  5. Just as a postscript, Jonny tells me CFS3 is a fairly old game that ran fine at maximum realism etc on the old onboard graphics chip. Doh!

    Still, he has much newer games that were beyond the onboard chip but now run properly.


  6. […] Does Microsoft Game Studios not trust the Windows API? Microsoft Game Studios‘ Combat Flight Simulator 3 (CFS3) does not in general run properly on dual core computers running XP or Vista. The reason appears to be that the code by-passes the functionality in the Windows Application Programming Interface (API) for sharing out processing tasks between CPUs. In my case it was a little known AMD utility that saved the day. Read more. […]



Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: