2009-09-21 snapshot

Post anything about MX Simulator here. Please. I'm begging you.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

How many forums lock the edit functions ? i don't know any other than here...

I tryed to set windowed mode at launch time, but crash. memory's not growing (stay near 15640k) - when i switch the crashed mx.exe & taskman, memory reduced slowly 15616 - 15612 - 15588 -15680 now after 10 min crashed. Cpu occupation vary from 0 to 5 (more on 4%) (look like normal state). I can't close the black window normaly I have to kill tak & cursor move normaly above window & change from mxs "+" cursor to windows arrows when out. No refresh above the mxs windows (moved windows stay drawed). Sometime I can close application if close it fast, just after crash.

I can change resolution normaly but crash when try to switch to windowed mode from high resolution setted.
Sorry JLV, but after a lot of tries. This happen with old versions too, (tested with all versions since 2009-07-15) : The windowed mode swith only work from a fullscreen resolution of 640x480. All other resolution there's the same crash. (black windows & no responses (now always 640x480 after i tried to switch from this resolultion once)).

Seem the game run fine with new ati drivers (since 9.8) only in 640x480 !

How the windowed resolution is setted, now, it switch allways 640x480 when I try windowed mode. Even if i setted it in hi-res and quit game to apply modification without crash.
So I setted manually a hi-resolution in config. file then I can play in windowed mode.

Curious, now i setted 1600x1200 in first config lines, I can switch but if i try to switch from other resolution : crash ! (even for 640x480)
Seem the resolution in config file is not setted automaticaly, then i can swith windowed mode only If it correspond to the setted resolution in config. file
CONCLUSION:
The first lines :
xres=1600
yres=1200
stay when I set my resolution to other. The line "video_mode=1800x1440" is setted well.
And crash appear when both are differents and try to swith to windowed.


Next i'll check if memory growing correspond to this. (sorry for my english)
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Another info : when I say :
And crash appear when both are differents and try to swith to windowed.
I have to add : and when the game's resolution is setted to the max (my windows desktop is setted to 1800x1440) and it is the only resolution for wich I can't set windowed mode without crashing, even editing the config. file manually.
I will try to play in 1600x1200 setted manually in config. at both places & check my memory.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Memory continue to grow, maybe it's a seven related problem, i will try lastest drivers in vista64.
But there's some curious things : Memory only grow when i move with the bike (land scrolling), then brake and stop then memory stay stable, even if other bike's are moving on screen.
Cpu activity is curious too, near 5% when i ride straight and memory grow . Then up to near 10-20% when i stop and memory is stabilized. My cpu cap is at 50% (dualcore ?) when I turn fast, or crashing, when I see a "fast land scrolling" on screen. I saw some little freeze at these times when cpu is at 50%. (look like if vertical refresh was disabled, but it's active).
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Crashed at 1908456 k (in seven). And maybe another problem, minor & seem since a long time ago, but CPU core work both, but not at the same time, and maximum total occupation is 50%.
jlv
Site Admin
Posts: 14933
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2009-09-21 snapshot

Post by jlv »

Thanks totorox, that's very helpful. Does the memory leak still happen with "ground texture levels" set to 0? Also, do you have framebuffer objects on or off?
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

jlv wrote:Does the memory leak still happen with "ground texture levels" set to 0?
No :)
My fbo was set to disabled, but I tryed with, it was same.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Oups, too fast. I tryed with & without FBO, and with lower texture resolution, then now : with texture level at 0, growing continue, but slower. Then there's a fast growing when I crash ( then during replacement) and when I enter menu (with esc), when the 3D view is darker with menu text above.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Another question, it is normal to have Ground mipmaps enabled when FBO is enabled (mipmap disabled of course). I like the render without mipmaps on certains tracks, then with FBO enabled, it is impossible to obtain grany pictures. (have to disable FBO & mipmap).
Is the openGL 'Tripple buffering' setting from ATi drivers may be a problem ? I tried with & without, seem no differences.

So with FBO on & texture level to 0, seem the memory grow but very slow, 100k per turn. (when new track part is discover), it's beter than 1Mo/s when moving while setted to 10 ;)
But when I enter in menu, growing is back at 1Mo/s.

I'll continue to try tomorrow, good night ;)
jlv
Site Admin
Posts: 14933
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2009-09-21 snapshot

Post by jlv »

I suspect it's happening when I call glCopyTexSubimage2D. I did a little searching and found a lot of complaints about memory leaks with recent ATI drivers. I'm not sure it will be possible to find a workaround for it.

Does it still happen when you play back a demo?
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

jlv wrote:Does it still happen when you play back a demo?
Yes, same. But with Ground Texture levels set to 0 it's not easy to see growing so I can play without crashing for longer time.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Not very long :( Another kind of crash, mxs simply closed without message.
I saw yesterday AMD use the 8.6 driver for the new HD 5x00 card, i will go back to them or trying 9.7 before (last stable with vista).

It seem this happen just before in AceEventLog :
0000000019: 2009-10-02 15:22:23:350 : Exception: Reading or Writing attempt in protected memory. Exception Called by: ATI.ACE.CLI.Caste.Graphics.Runtime.RT_GraphicsAdapter_N::RefreshDisplaysManagerAdapter processID:01996 threadID:( ) domainName:(CCC.exe ) assemblyName:(CLI.Caste.Graphics.Runtime, Version=2.0.3512.36804, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
***********************************************************************************************************************
0000000018: 2009-10-02 15:22:23:319 FAILED:ADL_Display_SLSGrid_Cap and return value is: -1
Error Called by: ATI.ACE.CLI.Caste.Graphics.Runtime.RT_GraphicsAdapter_N::CheckSLSSupported processID:01996 threadID:( ) domainName:(CCC.exe ) assemblyName:(CLI.Caste.Graphics.Runtime, Version=2.0.3512.36804, Culture=neutral, PublicKeyToken=90ba9c70f846762e

There's no other event in application or system journal, seem my system is buggy (i disable some services yesterday, maybe too much ) : "13h30 Software Protection Platform Service is stopped."
Normaly ATi drivers, have a function to restart driver when crashed, but there's some time, since 9.6 or 9.7 driver, I don't see it working.

Also, did you noticed the crash when trying windowed mode ?
Shadow
Posts: 2772
Joined: Sun Dec 02, 2007 5:10 pm
Team: FSK
Location: Finland

Re: 2009-09-21 snapshot

Post by Shadow »

totorox wrote:Not very long :( Another kind of crash, mxs simply closed without message.
I saw yesterday AMD use the 8.6 driver for the new HD 5x00 card, i will go back to them or trying 9.7 before (last stable with vista).
I've tried the 8.6 already and didn't improve a thing, still kept crashing.
Image
Those who possess strength have also known adversity.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

I did a clean installation of 9.7 ATI x64 drivers, and it work very well now. No more glitches or errors.

Shadow, maybe you have some part of anciens drivers installed, i did a cleaning with 'driver sweeper' after removing 9.9 driver and restart windows each step (remove all ati driver by 'program and features' control panel -> restart -> cleaning with driver sweeper -> restart then reinstall 9.7 driver -> restart.) (i'm paranoid maybe... but it's ok now)

During that, I tried MXS with default MS drivers from Seven installation based on 8.6### and I couldn't swap to windowed mode too without MXS crashing... Curious.
But now, all work very well with 9.7, no memory leaks and I can switch any video resolution, mode, window size, etc.

I just noticed my CPU occupation status is maybe bigger and allways between near 45%, even in menu, or paused in backround while i writing (12-15 when reduced in taskbar). And both core seem to work correctly at same time.

CONCLUSION : seem lastest clean drivers for my radeon HD4870 is 9.7, that's all. Maybe AMD tried to reduce CPU occupation during openGL gaming but they should named their driver as beta status. Maybe I should try other OpenGL games and applications, but... next time sorry. (I had some crashes with Maya but I don't analyse why, I don't think they were graphical related)
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Plz, again, allow me to edit my posts thx.

Just to say I rollbacked to 9.7 driver under vista (x64) too, because I had same problems as with Seven.
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2009-09-21 snapshot

Post by totorox »

Here ACE event journal for information complement : (with Partial traduction from french)

Code: Select all

0000000021: 2009-10-02 16:07:41:494    Exception: Reading or writing attempt in protected memory. This often because another memory is damaged. 
 Exception  Called by: ATI.ACE.CLI.Caste.Graphics.Runtime.RT_GraphicsAdapter_2::RefreshDisplaysManagerAdapter           processID:01936 threadID:(                ) domainName:(CCC.exe                    ) assemblyName:(CLI.Caste.Graphics.Runtime, Version=2.0.3470.20826, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000020: 2009-10-02 16:07:34:265    Target: ATI.ACE.CLI.Aspect.DeviceDFP.Graphics.Dashboard.DB_DeviceDFP Method: ATI.ACE.CLI.Aspect.DeviceDFP.Graphics.Dashboard.DB_DeviceDFP
 Error      Called by: System.Windows.Forms.Form::OnClosing                                                             processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
------------------------------------------------------------------------------------------------------------------------
0000000019: 2009-10-02 16:07:34:265    Target: ATI.ACE.CLI.Aspect.DeviceDFP.Graphics.Dashboard.DB_DeviceDFP Method: ATI.ACE.CLI.Aspect.DeviceDFP.Graphics.Dashboard.DB_DeviceDFP
 Error      Called by: System.Windows.Forms.Form::OnClosing                                                             processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
------------------------------------------------------------------------------------------------------------------------
0000000018: 2009-10-02 16:07:34:265    Removing errant RevertAfterComponentUpdated observers.
 Error      Called by: System.Windows.Forms.Form::OnClosing                                                             processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
------------------------------------------------------------------------------------------------------------------------
0000000017: 2009-10-02 16:07:34:171    Exception: No process is associated with this object.
 Exception  Called by: ATI.ACE.CLI.Aspect.Radeon3D.Graphics.Dashboard.PreviewForm::Dispose                              processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(CLI.Aspect.Radeon3D.Graphics.Dashboard, Version=2.0.3470.20883, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000016: 2009-10-02 16:07:14:266    None None
 Error      Called by: System.RuntimeMethodHandle::_InvokeMethodFast                                                    processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
------------------------------------------------------------------------------------------------------------------------
0000000015: 2009-10-02 16:07:13:766    Start 3D preview application
 Error      Called by: ATI.ACE.CLI.Aspect.Radeon3D.Graphics.Dashboard.PreviewForm::Populate                             processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(CLI.Aspect.Radeon3D.Graphics.Dashboard, Version=2.0.3470.20883, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
------------------------------------------------------------------------------------------------------------------------
0000000014: 2009-10-02 16:07:02:394    None None
 Error      Called by: System.RuntimeMethodHandle::_InvokeMethodFast                                                    processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
------------------------------------------------------------------------------------------------------------------------
0000000013: 2009-10-02 16:07:01:505    null AspectName_
 Error      Called by: ATI.ACE.CLI.Component.Dashboard.DashboardForm2::AnyAdapterIsValid                                processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(CLI.Component.Dashboard, Version=2.0.3470.20831, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
------------------------------------------------------------------------------------------------------------------------
0000000012: 2009-10-02 16:06:55:234    Exception:Reading or writing attempt in protected memory. This often because another memory is damaged. 
 Exception  Called by: ATI.ACE.CLI.Caste.Graphics.Runtime.RT_GraphicsAdapter_2::RefreshDisplaysManagerAdapter           processID:01936 threadID:(                ) domainName:(CCC.exe                    ) assemblyName:(CLI.Caste.Graphics.Runtime, Version=2.0.3470.20826, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000011: 2009-10-02 16:06:54:688    Exception <atixcode.dll>: recover of the COM class maker for the compound with CLSID {981145A7-E08E-48F3-A1C4-52C28BCAAAF9} failed because following error 80040154.
 Exception  Called by: ATI.ACE.CLI.Aspect.TransCode.Graphics.Wizard.WZ_TransCode::Check                                 processID:01936 threadID:(CCCThreadNew:Wizard) domainName:(CCC.exe                    ) assemblyName:(CLI.Aspect.TransCode.Graphics.Wizard, Version=2.0.3470.20915, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000010: 2009-10-02 16:06:48:853    Could not find Type [ATI.ACE.CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard.DB_TutorialInfoCentre] from [CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard] in assembly [CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard]
 Error      Called by: ATI.ACE.LOG.Foundation.Services::LoadAssembly                                                    processID:01936 threadID:(                ) domainName:(CCC.exe                    ) assemblyName:(LOG.Foundation, Version=2.0.3428.28296, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
------------------------------------------------------------------------------------------------------------------------
0000000007: 2009-10-02 16:06:48:838    Exception <Load>: Impossible to load file or the assembly 'CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard' or one of dépendances. Specified file not found.
 Exception  Called by: ATI.ACE.LOG.Foundation.Services::LoadAssembly                                                    processID:01936 threadID:(                ) domainName:(CCC.exe                    ) assemblyName:(LOG.Foundation, Version=2.0.3428.28296, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000009: 2009-10-02 16:06:48:838    Could not find Type [ATI.ACE.CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard.DB_TutorialInfoCentre] from [CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard] in assembly [CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard]
 Error      Called by: ATI.ACE.LOG.Foundation.Services::LoadAssembly                                                    processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(LOG.Foundation, Version=2.0.3428.28296, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
------------------------------------------------------------------------------------------------------------------------
0000000008: 2009-10-02 16:06:48:838    Exception <Load>: Impossible to load file or the assembly 'CLI.AIB.TutorialInfoCentre.Tutorial.Dashboard' or one of dépendances. Specified file not found.
 Exception  Called by: ATI.ACE.LOG.Foundation.Services::LoadAssembly                                                    processID:01936 threadID:(CCCThreadNew:Dashboard) domainName:(CCC.exe                    ) assemblyName:(LOG.Foundation, Version=2.0.3428.28296, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000006: 2009-10-02 16:06:48:370    Exception <atixcode.dll>: recover of the COM class maker for the compound with CLSID {981145A7-E08E-48F3-A1C4-52C28BCAAAF9} failed because following error  : 80040154.
 Exception  Called by: ATI.ACE.CLI.Aspect.TransCode.Graphics.Wizard.WZ_TransCode::Check                                 processID:01936 threadID:(CCCThreadNew:Wizard) domainName:(CCC.exe                    ) assemblyName:(CLI.Aspect.TransCode.Graphics.Wizard, Version=2.0.3470.20915, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000005: 2009-10-02 16:06:47:746    Validation: Caste [0] is null
 Error      Called by: ATI.ACE.CCC.Implementation.CCC_Main::CCCNewThreadBegin                                           processID:01936 threadID:(CCCThreadNew:Runtime) domainName:(CCC.exe                    ) assemblyName:(CCC.Implementation, Version=2.0.3470.20910, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
------------------------------------------------------------------------------------------------------------------------
0000000004: 2009-10-02 16:06:45:827    Exception: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
 Exception  Called by: ATI.ACE.CLI.Caste.Graphics.Runtime.RT_GraphicsAdapter_2::RefreshDisplaysManagerAdapter           processID:01936 threadID:(CCCThreadNew:Runtime) domainName:(CCC.exe                    ) assemblyName:(CLI.Caste.Graphics.Runtime, Version=2.0.3470.20826, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000003: 2009-10-02 16:06:44:875    RT_GC_2
 Error      Called by: System.RuntimeMethodHandle::_InvokeConstructor                                                   processID:01936 threadID:(CCCThreadNew:Runtime) domainName:(CCC.exe                    ) assemblyName:(mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
------------------------------------------------------------------------------------------------------------------------
0000000002: 2009-10-02 16:06:43:877    Win32 Language: Current culture language is not an inexact supported language either fr-FR
 Error      Called by: ATI.ACE.CLI.Component.Runtime.Runtime::.ctor                                                     processID:01936 threadID:(                ) domainName:(CCC.exe                    ) assemblyName:(CLI.Component.Runtime, Version=2.0.3470.20824, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
------------------------------------------------------------------------------------------------------------------------
0000000001: 2009-10-02 16:06:43:424    Failed to merge manifest file: C:\Program Files (x86)\ATI Technologies\ATI.ACE\MOM-InstallProxy\mom-installproxy.xml with exception: Impossible de trouver le fichier 'C:\Program Files (x86)\ATI Technologies\ATI.ACE\MOM-InstallProxy\mom-installproxy.xml'.
 Error      Called by: ATI.ACE.CLI.Foundation.XManifestation::ReadManifest                                              processID:01936 threadID:(                ) domainName:(CCC.exe                    ) assemblyName:(CLI.Foundation.XManifest, Version=2.0.3428.28354, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
------------------------------------------------------------------------------------------------------------------------
0000000003: 2009-10-02 16:06:41:287    Exception: deleting a sub-key is not possible, because no exist.
 Exception  Called by: ATI.ACE.MOM.Implementation.MOM::Main                                                             processID:01508 threadID:(                ) domainName:(MOM.exe                    ) assemblyName:(MOM.Implementation, Version=2.0.3470.20910, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000002: 2009-10-02 16:06:41:287    Exception:deleting a sub-key is not possible, because no exist.. [i](not possible not remove a sub-key, because not existing)[/i]
 Exception  Called by: ATI.ACE.MOM.Implementation.MOM::Main                                                             processID:01508 threadID:(                ) domainName:(MOM.exe                    ) assemblyName:(MOM.Implementation, Version=2.0.3470.20910, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000001: 2009-10-02 16:06:41:053    Exception:deleting a sub-key is not possible, because no exist..  [i](not possible not remove a sub-key, because not existing)[/i]
 Exception  Called by: ATI.ACE.MOM.Implementation.MOM::Main                                                             processID:01508 threadID:(                ) domainName:(MOM.exe                    ) assemblyName:(MOM.Implementation, Version=2.0.3470.20910, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000020: 2009-10-02 15:45:50:847    Exception <Removing ATI COM from ROT>: The object's type must be __ComObject or derived from __ComObject.--Parameter name: o
 Exception  Called by: ATI.ACE.CLI.Component.Runtime.Runtime::Run                                                       processID:01996 threadID:(CCCThreadNew:Runtime) domainName:(CCC.exe                    ) assemblyName:(CLI.Component.Runtime, Version=2.0.3512.36801, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
0000000019: 2009-10-02 15:22:23:350    Exception: Reading or writing attempt in protected memory. This often because another memory is damaged. 
 Exception  Called by: ATI.ACE.CLI.Caste.Graphics.Runtime.RT_GraphicsAdapter_N::RefreshDisplaysManagerAdapter           processID:01996 threadID:(                ) domainName:(CCC.exe                    ) assemblyName:(CLI.Caste.Graphics.Runtime, Version=2.0.3512.36804, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
************************************************************************************************************************
Post Reply