PDA

View Full Version : Interesting experiment at work


Uriziel
October 21st, 2006, 03:50
If any of you are wondering if G3 would play any better on a "dream" machine, I can assure you it does'nt.

At my work we have access to some stuff you'll never likely use in the foreseeable future. We decided to test G3 on one of the machines that I'll briefly outline.

This particular PC has an AMD FX-74 3ghz CPU, 10GB RAM drive, 4GB of PC2 8500 system memory, and an Nvidia 7950 GTX. All of that you can buy, well almost. You'd better have DEEP pockets to find and buy the 10GB RAM drive. The ASUS mobo you simply can't buy yet, and never will be able to buy the configuration of the board we tested. Anyway.....

We toy'd with different settings for a day and still had terrible performance......terrible for a machine like this in particular. There seems to be a problem in the game engine itself. Keep in mind that the OS is installed in memory, the application(G3) is installed in memory. (BTW, the OS is a highly modified version of XP, similar in concept to TinyXP you can download.) As the game loads textures into memory, the engine seems to lose the location and reloads the texture again later. In theory with that much memory the game should be able to load all the textures into memory for instant access. Not so with G3's engine. A couple of co-workers are looking at the engine over the next few days and so we will know more. Also we are going to set up a duplicate machine using an ATI card and test it.

Now the funny part. Do you know I get PAID to do this LMAO. My boss loves the Gothic series(I wonder WHO got him playing it :D ) and wants us to fix what we can playability wise until PB patches things up :D

Acleacius
October 21st, 2006, 04:06
Wow, very intresting and impressive stuff, keep us informed and thanks. :)

svencha
October 21st, 2006, 06:25
That should be a warning to everyone considering spending big dollars on upgrading just for G3. Hopefully PB can get it optimized in time for the U.S release next month.

bjon045
October 21st, 2006, 07:05
10GB might not be enough, assuming you have XP + G3 installed, that already takes up around 7.2 GB space. The gothic3 VD system also requires some additional space. G3 can only use a maximum of 3gb application space RAM or 2 gb RAM?

How many FPS does it run? Just how terrible does it run? A godly machine like that should hopefully run it at least the higher end of terrible?

Maylander
October 21st, 2006, 10:32
G3s big problem will always be memory. It always has been in the Gothic series, and always will be, due to the nature of the game(loading such a big world all at once, and storing it in the memory). No super processor or anything will change that, it's all down to how much GB memory you have and what your graphics card is. The GF 7950 should run the game smoothly though - I know I run it smoothly on my GF7800GT even on high settings, altho I don't have too high resolution on it.

If you are experiencing any technical issues on such a machine I'd try to tweak it a bit, or lowering the resolution. Like I said, I have no real issues on my 2gig ram, GF7800gt comp. A bit of lag from time to time but thats it.

elkston
October 21st, 2006, 15:23
10GB might not be enough, assuming you have XP + G3 installed, that already takes up around 7.2 GB space. The gothic3 VD system also requires some additional space. G3 can only use a maximum of 3gb application space RAM or 2 gb RAM?

How many FPS does it run? Just how terrible does it run? A godly machine like that should hopefully run it at least the higher end of terrible?

He said that there was a 10GB RAM drive AND 4GB system memory. The RAM drive is used just like a hard disk so the game files are stored there. While the game is running, the 4GB system ram is being used.

The interesting thing is that having this RAM drive should really rocket the world streaming & loading since RAM access is orders of magnitude faster than the hard disk...but it seems he is not seeing it??? Odd...

I am also interested in knowing how you know exactly which textures are being loaded. I know that file activity can be monitored but I figured Gothic 3 would have its resources in some kind of archive as opposed to being distinct files. Are you using some kind of debugger? Or maybe the game has a console that gives verbose info...

JDR13
October 21st, 2006, 18:13
"This particular PC has an AMD FX-74 3ghz CPU"

This must be a typo right Uriziel?

Otherwise I would be interested in knowing how you got your hands on a cpu that hasn't even been released yet.

Uriziel
October 21st, 2006, 23:23
It has'nt been released to the public maybe, just like the mobo being used.

JDR13
October 22nd, 2006, 06:51
mmmm...a few pics would be cool.


So you're saying that Gothic 3 didn't run any faster on that system compared to a normal mid-range system?

Uriziel
October 22nd, 2006, 07:35
What I'm saying is there is an apparent bottleneck in the game engine itself limiting performance. This system should run any game released at maximum settings. G3 does'nt play on it any better than a P4 2.5ghz, 2gb pc 3700 ram, ati x1900 xtx, 7200 rpm 250gb drive machine we tested it on. Both have slowdowns, stutters, pauses, etc. And don't confuse gameplay with performance testing. We realize there are bugs and other gameplay issues, that will hopefully be patched.

I talked to Ken earlier today and he is going to rebuild the system into a watercooled/iced case and start OC testing after we runs the ATI card test. Daniel and Duy are disecting the game engine now. Have'nt heard from them. From the tests earlier it appears something is wrong inside the engine.

Quick example: Imagine a 360 degree circle around the nameless hero. As he moves through the gameworld, new textures should load into memory and be ready to be displayed when needed as he walks forward. Once memory capacity is met the new textures overwrite older textures to the memory space. The engine and GPU know the location of textures to be called up when needed....lets say the hero turns 180 degrees and runs back......the textures should already be loaded into memory and can be displayed instantly. At some point as he continues to run back, new textures must be loaded again since they were overwritten when memory filled up. Simple enough right? What we are seeing is new textures being loaded and reloaded even though memory capacity has not been met. The engine is "losing" the locations of previously loaded textures and writing them over and over.

Someone asked earlier about how these memory writes are monitored. Special software is the easiest response :P The memory bus can be tapped and software records and analyzes the data. This has no effect on the test systems performance. The "tap" leads to another device running the software.

elkston
October 22nd, 2006, 15:44
Someone asked earlier about how these memory writes are monitored. Special software is the easiest response :P The memory bus can be tapped and software records and analyzes the data. This has no effect on the test systems performance. The "tap" leads to another device running the software.

Oh you've got an In-Circuit Emulator :) Well then you've got some serious tools
for reverse engineering! Keep us informed on what you find.

Just from your descriptions it would seem PB has some kind of bug with their
resource cache. Perhaps certain entries are getting aged out/replaced too soon?

Ragnar
October 22nd, 2006, 16:16
Uriziel, Is there any interaction going on between your crew and PB on the result that you are discovering during the analyzing of the PB G3 engine? It would be nice to know that the guys over at PB are taking a proactive approach to the results you are finding…and correct them.

bjon045
October 22nd, 2006, 16:17
He said that there was a 10GB RAM drive AND 4GB system memory. The RAM drive is used just like a hard disk so the game files are stored there. While the game is running, the 4GB system ram is being used.

I am quite aware of what he said. Just because he has 4GB of ram doesn't mean G3 can use all of it. It is a 32bit application so the maximum possible it can use is 2GB if I am not mistaken. G3 also uses a VD drive system which requires more HD space (in this case a RAM drive), this probably doesn't use the 3GB space remaining but I just mentioned it as a possibility.

elkston
October 22nd, 2006, 19:04
I am quite aware of what he said.


OK. Sorry if I misunderstood.

Just because he has 4GB of ram doesn't mean G3 can use all of it. It is a 32bit application so the maximum possible it can use is 2GB if I am not mistaken.


Well in theory each process can access 4GB of virtual address space (2^32), but
as you noted there is usually a limit as to what portion of that can actually be
in RAM (the "working set"). Usually Win32 processes have a default working set well below 2GB and they have to make a system call to request more. It would be interesting to see if Gothic 3 requests more than 2GB if its in a system with 4GB...

Uriziel
October 23rd, 2006, 01:48
Uriziel, Is there any interaction going on between your crew and PB on the result that you are discovering during the analyzing of the PB G3 engine? It would be nice to know that the guys over at PB are taking a proactive approach to the results you are finding…and correct them.

At this time...no. We normally work under contract, but this is a pet project for the bossman. To be honest I'm not sure what we are doing is even legal without a contract. I'd have to ask the legal gurus, but I'm not sure anyone is allow to "inspect" any code without permission. I just do as I am told lol.

On a side note. I was told that our server based authorization system was going to be offered to PB as a highly secure copy protection alternative. Dunno if that every happened though. At one time I was told our system was used exclusively by the military and financial institutions. But whadda I know.

@elkston
Yes, we have some serious tools and contacts. Software is sent to us under contract and it is our job to hack it, break it, find any flaw or exploits possible. At least 90% of it is software you'll never know exists, done for the military and financial institutions. And I'm not saying we do it, but it is slightly possible that we sometimes look at other similar products and features and compare it to the contracted code sample. *coughs*

@Gorath
What I posted on another site was not wrong. A NO-DVD is not piracy, it is part of fair use. Giving news that a pirated copy is available(also discussed here) is not condoning piracy....it is stating a fact. I never said check torrent sites. I never said hit the newsgroups or IRC. I never said ANYTHING pointing the person to the pirated copy. I did however state the size of the NO-DVD to help prevent the poor soul from getting the virus instead of the NO-DVD. Deleting my post and a short PM would have been nice. Calling me out in public and closing the thread was not cool. Had you simply deleted my comments into a smiley face or altogether would have been cool. I don't appreciate how you handled it. There were several better ways. BTW, I'm posting this off topic comment cause I'm too lazy to start a new thread :D Peace bro :)

Arhu
October 23rd, 2006, 02:43
Whatever you find out, make sure you send your findings to the developers. ;)

Corwin
October 23rd, 2006, 06:11
Uriziel: Without entering your differences with Gorath, let me say one thing. We deal with a large number of Developers and Publishers and we are welcome with (nearly) all of them. For this reason, we MUST take a strong stand on anything which can be 'perceived' as supporting or encouraging any form of Piracy, no matter how the term is defined or interpreted!! Rightly, or wrongly, many publishers do not approve of the use of No-CD/DvD 'patches'. We are caught in the middle!! :)

Gorath
October 23rd, 2006, 07:07
Bypassing copy protection is illegal in Germany, and maybe in the whole EU because these kind of laws are usually based upon some stupid paper from Brussels.
The situation may be different in other countries, but that doesnīt matter because our server is located in Germany.

Corwin already explained our position on piracy.

Your post contained more informations than we can tolerate. My reaction was rather moderate. A few people were banned for asking for a crack or providing a link to one (which you didnīt do). You didnīt even get a warning, I only let the thread alive as an example for others. I can delete it if you prefer it that way.

Acleacius
October 23rd, 2006, 10:20
I am glad your guys are still looking through the code and you analysis of the engine forgetting or Dumping(?) current data incorrectly causing a need for reload of current datas, very intresting as it would seem to explain many things.

Uriziel
October 23rd, 2006, 22:26
Corwin and Gorath...I'm not trying to stir the pot. If you are caught in the middle you are caught in the middle. I just think the approach of zero discussion of cracks works about as well as not talking about sex with your children. Developers and pubs have a right to be compensated for their efforts. The public has a right to protect their property also.....remember the starforce sh!tstorm?

By not allowing any discussion whats so ever the devs and pubs are shooting themselves in the foot. They should be getting the message out that piracy raises costs and complexity, and limits new game development. They should also implement "try before you buy"(I don't mean a demo) by using server based validation. There have simply been to many crap games released which furthered piracy. Think about how many games have been hyped using hollywood effects that have ZERO relation to gameplay. Simply put it is false advertising. Real in game footage should be freely available and tied into the ad campaign. People get the game and see it was nothing like what they expected.....then piracy gets a foothold. I will not personally buy a PS2 game until I have played it first. Too many times I have wasted money on overhyped crap. Lastly the devs and pubs need to take the time to release a bugfree quality game, and they should keep in mind that the pirates are not going to buy the game anyway, but they might buy it if it is a good quality game. Win the sale with quality, not by force ;)

Ragnar
October 24th, 2006, 00:35
At this time...no. We normally work under contract, but this is a pet project for the bossman. To be honest I'm not sure what we are doing is even legal without a contract. I'd have to ask the legal gurus, but I'm not sure anyone is allow to "inspect" any code without permission. I just do as I am told lol.

On a side note. I was told that our server based authorization system was going to be offered to PB as a highly secure copy protection alternative. Dunno if that every happened though. At one time I was told our system was used exclusively by the military and financial institutions. But whadda I know.

Damn...would be nice to see PB take on some honest help to optimize their code. Just think of it, we all could be playing a game that ran like a thoroughbred as opposed to a lame horse.

Gorath
October 24th, 2006, 01:06
Did you guys use the console to monitor cache usage and tweak the cache settings?

Gorath
October 24th, 2006, 01:23
Another idea from WoG: uncompress all game files.

Acleacius
October 24th, 2006, 03:02
What tool would be use it doesn't seem to be zip, maybe 7zip or rar?

Gorath
October 24th, 2006, 05:46
Doesnīt matter if you donīt have a RAM-drive. ;) Some tool from WoG. Itīs a trade-off between CPU cycles and HDD reading.

Ragnar
October 24th, 2006, 19:10
Yea…but what if there really is some kind of bizarre thing happening within the game core. No tweak or tool on earth will fix that except some good ‘ol fashion code reworking.

The only problem there is sometimes fixing one thing leads to something else breaking. :-/

lostnumber
October 24th, 2006, 19:17
Wow, after plowing through this thread I find myself hopeful and optimistic. Perhaps PB will release a patch that will resolve/improve upon a few performance issues? This along with a slew of bug fixes and a fair amount of game balancing would be great.

In line with performance issues, would disabling DOF and bloom increase frame rate? I can't really tell because when I do I find my character swimming through a sea of black blobs and missing textures (Yes I have the latest drivers for my gfx card). These graphical effects are novel at best, and I would probably enjoy the game more without them. I feel like a nearsighted light sensitive cave dweller when I play the game. I could go on with all of my other game related gripes, but I feel as though the voice of the forum has already done this. Stun-lock from the WBODs really has to go. I mean, having the ability shake off a very painful looking stab wound from a sword being rammed into my chest but not the strength to endure a few whatever-the-hell boars do to you with their nose is rather unrealistic as far as balance goes; unless they are magical boars with daggers for nose hairs...

Oh and by the way, Uriziel, your job kicks ass.

Acleacius
October 25th, 2006, 03:17
If you have an ATI, what works for me is Alt-Tab to the Desktop for 15 or 20 seconds, then back to the game, it seems to reset the graphics.

hwfanatic
October 27th, 2006, 14:52
Some people have also reported that "Alt-Tabbing" out of the game will cause all kinds of other problems, including savegame corruption.

Acleacius
October 27th, 2006, 15:13
You mean they try to Save then Alt-Tab, thats strange haven't heard of that one.

Well as I mentioned ot try if for resetting graphics, don't see how it could corrupt a Save.
Worst could happen is, crash which G3 does anyway, I have ATI and it works for me.

Hope Uriziel has another update soon. :)

JemyM
October 27th, 2006, 20:26
I have a AMD A64 4800+, 2x7900GTX and 2gb 2-2-2-5 ram.

The game runs ok in 1600x1200 x2aa x16qa and everything on max. I have done the important ini tweaks to increase cache etc but the rest I used to increase image quality instead of decreasing.

I have about 15 fps in the middle of the forest and 25+ when there's not alot of tree's around.

Sharteel
October 28th, 2006, 20:00
I have a AMD A64 4800+, 2x7900GTX and 2gb 2-2-2-5 ram.

The game runs ok in 1600x1200 x2aa x16qa and everything on max. I have done the important ini tweaks to increase cache etc but the rest I used to increase image quality instead of decreasing.

I have about 15 fps in the middle of the forest and 25+ when there's not alot of tree's around.

IMO, 15fps isn't ok -.-
ok performance would be 25-30 when there is much to render, and 40+ when there's not alot around....
and the fact that it got those performance on a system like yours, shows how the game was scripted poorly.

ToddMcF2002
October 28th, 2006, 20:56
I have a AMD A64 4800+, 2x7900GTX and 2gb 2-2-2-5 ram.

The game runs ok in 1600x1200 x2aa x16qa and everything on max. I have done the important ini tweaks to increase cache etc but the rest I used to increase image quality instead of decreasing.

I have about 15 fps in the middle of the forest and 25+ when there's not alot of tree's around.

15 fps on 7900GTX SLI??? You realize how ABSURD that is?!?!?!?!?!???

Acleacius
October 28th, 2006, 23:54
Yeah but look at those settings JemyM is using 16 x 12 thats alot of acreage on the screen at once, then 2aa by 16af with max settings.
You couldn't get better (proabably) in Oblivion either, even if you could turn on AA with a Nivida card.
Its a great machine and the game certianly needs to run better but its not like its that different.
Or am I jsut missing something?

ToddMcF2002
October 29th, 2006, 01:29
Or am I jsut missing something?

Well... unfortunately the answer is yes. That performance is inexcusable and PB is totally out to lunch with this build.

Here is Oblivion, with HDR and Foliage, 7900GTX SLI at 1600x1200. Look at the chart at the bottom. Min FPS 34, High FPS 45 And BTW, HDR is more punishing than 2xAA combined with pretty much any level of AF.

15 FPS??? That's a total joke and its NOT funny!!!

http://www.firingsquad.com/hardware/oblivion_high-end_performance/page11.asp

Uriziel
October 29th, 2006, 03:40
I see people asking for updates, but frankly there is'nt much to tell. We ran the ATI tests and it yielded similar results. Framerates for the ATI card were marginally faster, but not by enough to matter(1-2 fps). A test with beta nvidia drivers on the original setup then yielded 1-2fps better than the ATI. The cards are a tossup really, and nvidia drivers have always been more stable.....so I'd stick with nvidia.

Duy is the only one still working on the G3 project. He is quite unimpressed with the code, and laughed at the patch. I'm doing tests on different PPU cards. Like the ASUS best as it's heat signature is better. Although one of these cards is not needed right now, that WILL change in the near future. The addition of the PPU will add tremendously to most gaming experiences. Next week an NV80 reference card should arrive for testing. We only have some sample DX10 coded games, which would be optimized for DX10 and NV80's core anyway....so I'm a tad skeptical why we are bothering to test it right now. We get paid, so whadda I know.

On a side note. The bossman got pissed and uninstalled G3 from his machine after patch 2. He also pulled everyone off the project accept Duy, who did'nt have anything important to do anyway. Not a good sign.

ToddMcF2002
October 29th, 2006, 04:09
If NV80 is only scoring an additional ~4K on 3DMarks06 compared to a x1950XTX then I doubt it will be a silver bullet for G3. If you are seeing marginal gains on ATI then shaders arent the bottleneck anyway like they are in Oblivion.

Confucius say it aint the vid card: its a bad idea to load 2GB of world state into memory and start processing endless scripts in your game pump.

Uriziel
October 29th, 2006, 04:27
Todd you have to understand the the first NV80 cards are severely detuned. This is mainly a marketing strategy to be able to "improve" the cards every few weeks to fleece you outta more money to upgrade. The cards we test however, are NOT detuned....unlike what most reviewers get. Our info never goes public. We are hired by the various companies to test their hardware/software, and report directly back to them with our unbiased results.

Sharteel
October 29th, 2006, 10:08
Yeah but look at those settings JemyM is using 16 x 12 thats alot of acreage on the screen at once, then 2aa by 16af with max settings.
You couldn't get better (proabably) in Oblivion either, even if you could turn on AA with a Nivida card.
Its a great machine and the game certianly needs to run better but its not like its that different.
Or am I jsut missing something?

oblivion runs WAY better on my machine with 6xAA, 16xAF and HDR (i've got an ati card with the oblivion hdr+aa patch) on, all shadows on etc at maximum detail, and it doesn't stutter a bit
gothic 3 just plain sucks at performance :|