Hard Light Productions Forums

Hosted Projects - Standalone => Wing Commander Saga => Topic started by: Captain Moran on December 23, 2007, 12:35:44 pm

Title: OPENGL slow than you-know-what....
Post by: Captain Moran on December 23, 2007, 12:35:44 pm
I recently installed new drivers for my nvidia 6800 GT and for some reason (maybe my screw up) all my OpenGL apps are slow, slow, slow.

Anyone hit this before?
Title: Re: OPENGL slow than you-know-what....
Post by: CKid on December 23, 2007, 01:37:05 pm
No, and I have the same card.
Title: Re: OPENGL slow than you-know-what....
Post by: ARSPR on December 23, 2007, 03:53:31 pm
Read this thread: SCP Troubles (http://www.hard-light.net/forums/index.php/topic,50345.0.html)

You can be suffering from ForceWare 169.xx issues. And maybe they don't work fine with OGL applications in general. As example even with the latest official release (169.25 in Vista 169.21 in XP), the game doesn't render fine with original -no_glsl render system.

Please perform any tests you can think of, (reinstall drivers, reinstall old drivers, test any other OGL game you have, ...) and add the info to the linked thread.
Title: Re: OPENGL slow than you-know-what....
Post by: FlashFire on December 23, 2007, 05:44:30 pm
You might have already covered this base, but what OS are you running? Vista is known to have issues with OGL.
Title: Re: OPENGL slow than you-know-what....
Post by: Captain Moran on December 24, 2007, 09:15:43 am
I'm pretty sure it was 169.xx driver issues. I am in the process of rebuilding my system (which I needed to do anyway for other reasons.) I will post results.

Thanks, all.....
Title: Re: OPENGL slow than you-know-what....
Post by: Captain Moran on December 26, 2007, 09:29:54 am
Figured it out...

I had reset my AGP Aperture setting in BIOS to a very low value.

On my particular motherboard this has a drastic effect on OpenGL performance. After much other mucking about, I reset the AGP aperture to something more reasonable and all is well.
Title: Re: OPENGL slow than you-know-what....
Post by: FlashFire on December 26, 2007, 05:17:21 pm
Wow.. talk about your obscure fixes.
Title: Re: OPENGL slow than you-know-what....
Post by: jr2 on December 27, 2007, 02:45:23 am
That's not obscure.  IGPs use some of the system memory as their own (because they don't have any dedicated memory for themselves), and if the value is set high (eg, 128 MB with 256 MB total system memory) you get instability in the system.  If its set too low (eg, 32 or 64 MB), you get poor GFX performance.  @Captain, get like 1GB or preferrably 2GB of RAM, then set GFX memory as high as it will go.  That would be best for overall performance.
Title: Re: OPENGL slow than you-know-what....
Post by: karajorma on December 27, 2007, 03:02:16 am
Yeah but the problem wasn't the memory, the problem was the AGP Aperture. And that's a pretty uncommon problem because it's rare for it to be set so wrongly.
Title: Re: OPENGL slow than you-know-what....
Post by: FlashFire on December 27, 2007, 03:40:30 am
Yeah but the problem wasn't the memory, the problem was the AGP Aperture. And that's a pretty uncommon problem because it's rare for it to be set so wrongly.

That's what I mean. Shared memory of course affects performance if not enough is allocated to the video card... But the AGP Aperture... that's pretty uncommon.
Title: Re: OPENGL slow than you-know-what....
Post by: jr2 on December 27, 2007, 03:44:15 am
According to Breaking the BIOS Barrier, IIRC, the Aperture is supposed to be set to the same amount as the Video card's memory.  In an IGP, I think it also serves the dual purpose of setting the shared memory, as the values are supposed to be the same, no?
Title: Re: OPENGL slow than you-know-what....
Post by: karajorma on December 27, 2007, 05:31:56 am
You're assuming he has an IGP. Below 16MB will actually cause problems even on machines with AGP cards rather than integrated graphics. And that is a pretty odd error since you shouldn't be setting it that low in the first place.
Title: Re: OPENGL slow than you-know-what....
Post by: Captain Moran on December 27, 2007, 08:54:56 am
1. Yes. Setting it too low was a mistake.

2. No. I do not have integrated graphics. I have a Geforce 6800 GT 256M.

3. I have 2 GB of ram. I am current running the AGP aperture at 256M which is the maximum value allowed by my BIOS. Running WCS at it's default settings has it looking and running very well.
Title: Re: OPENGL slow than you-know-what....
Post by: karajorma on December 27, 2007, 12:22:31 pm
Just out of interest what did you have it set to? I seem to remember that very low sizes cause problems with GART.
Title: Re: OPENGL slow than you-know-what....
Post by: Captain Moran on December 28, 2007, 09:15:19 am
4MB. The lowest setting my BIOS will support.
Title: Re: OPENGL slow than you-know-what....
Post by: FlashFire on December 28, 2007, 05:30:13 pm
4MB. The lowest setting my BIOS will support.

 :eek2:
Title: Re: OPENGL slow than you-know-what....
Post by: Captain Moran on January 02, 2008, 09:49:14 am
Ok, it's a long story.

I have a dual boot system with XP and Win98. I keep 98 around since I have quite a few games that just seem to have less problems on that OS. I also have dual video cards (Geforce 6800 GT AGP and Voodoo3 PCI) for much the same reason; I have games that were designed for 3DFX and just look and run better running under the Win98/Voodoo configuration.

I also have 2GB of RAM in my system which causes no end of fits for Windows 98. I use the MaxPhysPage workaround to get 98 to work, but there are known problems with using an AGP card due to the way the AGP memory is mapped to physical RAM. Just for grins I thought maybe lowering the aperture size might be a workaround but, alas, it it still gives 98 grief. My bad was not resetting the aperture back to something sane after my experimenting.

Given my configuration I am basically stuck using a PCI video card with my Win98 boot which is not a bad thing given what I run on Windows 98. All the games that require any kind of horsepower run on my XP config.
Title: Re: OPENGL slow than you-know-what....
Post by: Tolwyn on January 02, 2008, 03:22:34 pm
Just an idea: have you thought about using a virtual pc (Win98) for gaming? Virtual Box should be capable of handling older games, that do not require 3d acceleration.
Title: Re: OPENGL slow than you-know-what....
Post by: jr2 on January 03, 2008, 03:16:55 am
Also, try downloading CacheMan for Windows 9x.. IIRC, it has an option to actually limit your physical memory.  You want 256 MB of RAM for 9x, as it can't use more than this.

EDIT: here (http://www.outertech.com/index.php?_charisma_page=downloads).  You want Cacheman, not Cacheman XP... Cacheman is in the list.  ;)

EDIT2: 256 MB = 262144 KB, in case you must specify memory in KB.  ;)
Title: Re: OPENGL slow than you-know-what....
Post by: FlashFire on January 03, 2008, 04:52:08 am
The magic number for RAM in Windows 98 is 768 (or was it 798?). Anyway... I remember this I had 512 MB, then upgraded to 1 Gig only to discover Windows not playing along. I had to go with a registry hack to limit it to 7xx (... dyslexia sucks.)


PS - Not dyslexic... just forgetful.
Title: Re: OPENGL slow than you-know-what....
Post by: Captain Moran on January 03, 2008, 09:06:51 am
Actually, several Microsoft KB articles refer to 512M as the magic number which is what I use.

Cacheman is really not needed as you can specify max RAM for windows very easily in the SYSTEM.INI. file. I like to keep my Windows 98 partition very lean and mean. I don't even have a network defined for it. Besides, a well tuned system should not need any other so-called "optimization" tools. Thanks for the hint, though.
Title: Re: OPENGL slow than you-know-what....
Post by: jr2 on January 04, 2008, 04:16:32 am
http://www.techimo.com/forum/archive/index.php/t-22787.html

OK, so I guess It's 512 unless you enable a certain tweak...

http://answers.google.com/answers/threadview?id=333688

http://support.microsoft.com/kb/q223294/

Reply #3 here: http://help.lockergnome.com/windows2/win98-2gb-ram-install-ftopict484396.html
Title: Re: OPENGL slow than you-know-what....
Post by: FlashFire on January 04, 2008, 05:15:29 pm
I'm not going insane... I'm not going insane... I'm not going insane....