Author Topic: Problem  (Read 6340 times)

0 Members and 2 Guests are viewing this topic.

well ever since ive gotten my new hardware ive had trouble running fs2 but i think the problem is really simple. Here is what I am on right now

AMD X2 4400+
BFG 7800GT With Forceware 77.79
1024 RAM
DFI Board
Directx 9.0c

The problem is that when I open up fs2 it runs like a slideshow. The pointer can only move like every 5 seconds for one second. It happens in both OGL and DirectX, with and without media VPs. Ive tried all of the recent builds with no success but I think ive found the problem. I just dont know what do to do fix it. here is the spew.


Code: [Select]
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
Setting language to English
soundcard = DirectSound
** MAX_CHANNELS set to 26.  DS reported 26.
GR_CPU: Family 15, MMX=Yes
Using PURE D3D DeviceAlpha texture format = ARGB, 4:4:4:4
Non-alpha texture format = ARGB, 1:5:5:5
D3D_32bit 1, bits_per_pixel 32Direct3D Initialized OK!
Size of bitmap info = 760 KB
Size of bitmap extra info = 52 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
Loading 2_PreLoadLogo.pcx for the first time.
MEMLEAK DEBUG: lock pcx
TIMER ROLLED!
Using high memory settings...
Wokka!  Error opening file (interface.tbl)!
Unable to parse interface.tbl!ANI 2_radar1 with size 170x170 (33.6% wasted)
ML Freespace Multi Log - Opened Sun, Oct 09, 2005  at 12:03PM
----
----
----


Windoze reported 16 joysticks, we found 1
Current soundtrack set to -1 in event_music_reset_choices
cf_get_file_list_preallocated looking for type=7, filter="*-mus.tbm"
Wokka!  Error opening file (armor.tbl)!
Unable to parse armor.tbl!cf_get_file_list_preallocated looking for type=7, filter="*-amr.tbm"
cf_get_file_list_preallocated looking for type=7, filter="*-wxp.tbm"
couldn't find particle pcx for Akheton SDG
found ani Akheton_Particle for Akheton SDG, with 11 frames and 25 fps
couldn't find particle pcx for Morning Star
found ani Morningstar_Particle for Morning Star, with 21 frames and 10 fps
couldn't find particle pcx for MorningStar D
found ani Morningstar_Particle for MorningStar D, with 21 frames and 10 fps
couldn't find particle pcx for Maxim
found ani Maxim_Particle for Maxim, with 21 frames and 10 fps
couldn't find particle pcx for Maxim D
found ani Maxim_Particle for Maxim D, with 21 frames and 10 fps
couldn't find particle pcx for UD-8 Kayser
ANI Kayser_Particle with size 80x80 (37.5% wasted)
found ani Kayser_Particle for UD-8 Kayser, with 7 frames and 30 fps
couldn't find particle pcx for UD-D Kayser
found ani Kayser_Particle for UD-D Kayser, with 7 frames and 30 fps
couldn't find pcx for Circe
found ani Circe_Bitmap for Circe, with 20 frames and 15 fps
couldn't find particle pcx for Lamprey
ANI Lamprey_Particle with size 86x86 (32.8% wasted)
found ani Lamprey_Particle for Lamprey, with 9 frames and 20 fps
couldn't find particle pcx for Shivan Heavy Laser
found ani Shivan_Laser_Stream for Shivan Heavy Laser, with 11 frames and 35 fps
couldn't find particle pcx for Shivan Mega Laser
found ani Shivan_Laser_Stream for Shivan Mega Laser, with 11 frames and 35 fps
cf_get_file_list_preallocated looking for type=7, filter="*-wep.tbm"
Wokka!  Error opening file (difficulty.tbl)!
Unable to parse 'difficulty.tbl'!  Code = 5.
Loaded modular ship table file ships.tbl
cf_get_file_list_preallocated looking for type=7, filter="*-shp.tbm"
Wokka!  Error opening file (hud_gauges.tbl)!
Unable to parse hud_gauges.tbl!  Code = 5.
cf_get_file_list_preallocated looking for type=7, filter="*-hdg.tbm"
ML 10/09 12:03:09~   psnet_init() detected lan connection
ML 10/09 12:03:09~   psnet_get_ip() reports IP : 0.0.0.0

ML 10/09 12:03:09~   Receive buffer set to 4096

ML 10/09 12:03:09~   Send buffer set to 4096

ML 10/09 12:03:09~   Error on IPX startup 10047

ML 10/09 12:03:09~   Network
ML 10/09 12:03:09~   Found no RAS connections
cf_get_file_list_preallocated looking for type=25, filter="*.pcx"
cf_get_file_list_preallocated looking for type=32, filter="*.pcx"
loading animated cursor "cursor"
ANI cursor with size 24x24 (25.0% wasted)
Ships.tbl is : VALID
Weapons.tbl is : VALID
cfile_init() took 59
Got event GS_EVENT_TEAM_SELECT (49) in state NOT A VALID STATE (0)
Loading 2_ChoosePilot-m.pcx for the first time.
MEMLEAK DEBUG: lock pcx
cf_get_file_list_preallocated looking for type=28, filter="*.pl2"
cf_get_file_list_preallocated looking for type=28, filter="*.plr"
Loading 2_ChoosePilot.pcx for the first time.
MEMLEAK DEBUG: lock pcx
TIMER ROLLED!
Loading 2_CPB_060002.pcx for the first time.
MEMLEAK DEBUG: lock pcx
Loading cursor.ani for the first time.
ANI cursor.ani with size 24x24 (25.0% wasted)
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
Frame  0 too long!!: frametime = 0.279 (0.279)
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!
TIMER ROLLED!


It seems every time the 'timer rolls' the cursor freezes for like 5 seconds. anyone have any idea whats going on because its just killing me not being able to play fs2 on this new comp of mine. Thanks.

 
bump

any ideas guys?

I really need to fix this!

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Sounds like it's taking an extremely long time for frames to render?
-C

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
toss it into Mantis. I think you'll get a response there.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Sticks

  • 29
What build is this?

Edit: Never mind, I see that you tried all the recent stuff. Have you tried something a bit older to see when the problem started happening?
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus

 
damn.......
i just clean installed XP and fs2 on a brand new hdd, updated to all the latest drivers and still no go. The same problem happens on scp fs2 as well as vanilla fs2. Maybe these new graphics cards have something inhibiting them from working right with freespace 2. Has anyone else with a 7800GT or X2 been experiencing these problems? If so it should be addressed soon.

 

Offline CaptJosh

  • 210
Have you tried OpenGL instead of D3D on FS2Open?
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Sticks

  • 29
Are you having graphics issues with other games? This sounds like a hardware issue to me.
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus

 
no problems with any other games

doom3
guild wars
WoW
Civilization 3
X2 The threat

Games that dont work
Freespace 1
Freespace 2

So obviously there is a common denominator in this problem I am having. Freespace hates my top of the line hardware. I doubt i will be the only one having this problem in the future. And yes this happens in both ogl and d3d.

 

Offline aldo_14

  • Gunnery Control
  • 213
Unfortunately, I'd imagine it might be a mite difficult to find a load of people with the same spec for testing..........

 
I found it in the code.

C:\cvs\fs2_open\code\io\timer.cpp(195):      mprintf(( "TIMER ROLLED!\n" ));

Code: [Select]

QueryPerformanceCounter(&time_tmp);
if ( time_tmp.QuadPart < Timer_last_value ) {
// The clock has rolled!
Timer_base = time_tmp.QuadPart;
[b]mprintf(( "TIMER ROLLED!\n" ));[/b]
// Hack: I'm not accounting for the time before roll occured,
// since I'm not sure at what value this timer is going to roll at.
// Time_now = time_tmp.QuadPart;
}
Time_now = time_tmp.QuadPart - Timer_base;
Timer_last_value = time_tmp.QuadPart;

out->QuadPart = Time_now;

LEAVE_CRITICAL_SECTION( Timer_lock );
}
#endif // _WIN32


Now i wonder what causes it....

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
I highly doubt this is related to video problems.  It's definitely an issue with the timer but I can't say why.  Possibly some other hardware issue but likely just something between Windows and the system...

Oh, you have a dual core CPU?  That would most likely be your issue.  It's having a fit with QueryPerformanceCounter so I guess we'll have to add that to the todo list, though I'm not sure what to do about it.  Off to MSDN I guess.

For now I think it will work if you run the game(s) in compatibility mode.  If that doesn't help any report back and I'll put this at the top of my list of things to fix.

 
holy crap i cant believe i diddnt think of that......
thanks taylor compatibility mode fixed it
im gonna go add this to the Wikki for future reference because this will be a problem in the future most likely IMO

*wonders if he is the first one who has ever run fs2 on a dual core processor*

 
lots of bugs in compatibility mode but at least it works

Freespace 2 obviously has some very serious issues with X2 processors

whats the next step?

EDIT: Still does it after a certain period of time, this is bad
« Last Edit: October 10, 2005, 04:04:07 pm by 2010 »

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Quote
Originally posted by MatthewPapa
Freespace 2 obviously has some very serious issues with X2 processors

whats the next step?

I'm busy debugging something else right now but I'll research this tonight and see if I can get some type of fix going.  I'll have no way to test it properly though so I'll just PM you a build link to try.  If it works then I'll commit it but I'm hesitant to do so until it's been tested (given that I have no idea what the fix would be).

The big things to test will be joystick input and streaming audio (voices, music) since those things will run in different threads and so different cores.  If that stuff works ok then it should just be the timer that's the problem since it's already known to have multi-proc issues.  The rest of the game should be sticking to that one main thread and so it shouldn't have anything bad going on for the most part.

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
I have heard that there is some way to disable one core for a given process in the task manager, something related to "processor affinity." Don't know any details of this, though.

 
ok thanks for the help

*diddnt know freespace2 was somewhat multithreaded*

kazan said he thinks the problem "is a block of windows specific code. base win32 api at that - not even DX." if that will help you any.

once again, if u need any testing let me know. i got a copy of MSVC 2005, let me know id there is anything there i can do as well.

 
Quote
Originally posted by CP5670
I have heard that there is some way to disable one core for a given process in the task manager, something related to "processor affinity." Don't know any details of this, though.


you couldnt have been more right! that fixed it...at least for now. i will keep everyone posted.

 
 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Quote
Originally posted by MatthewPapa
kazan said he thinks the problem "is a block of windows specific code. base win32 api at that - not even DX." if that will help you any.

I already know exactly where and what the problem is, it's documented by Microsoft (checked on that before).  It is a base win32 api that's the problem but there are several alternatives.  The only question is how to properly fix it without hurting single-proc machines in any way.  There is some overhead with locking and I want to avoid that if at all possible for the multi-proc people.  I'd rather just fix the code than to rely on processor affinity since that will work but it's probably not the best solution (there are complaints about it from what I understand).