View Issue Details

IDProjectCategoryView StatusLast Update
0005329Multi Theft Auto : San AndreasClientpublic2010-05-30 21:54
ReporterDragonAssigned Toccw 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformQ9450 | GTX 280 | 2 GB DDR3 RAMOSWindows XP Home EditionOS Version2002 SP 3
Product Version 
Target Version1.0.4Fixed in Version1.0.4 
Summary0005329: Performance problems due to async object loading
Description

The async object loading commits seems to have changed the way how the default gta worlds is being loaded as well, causing performance lags when being warped to far away areas with lots of objects.

The problem is that turning the async loading on in the settings doesn't revert this changed behavior but makes everything take even longer. Gta seems to skip the temporary low quality model displaying now but instead waits for the high quality models to be loaded completely which takes quite some time, causing a noticeable lag in the performance when changing between areas.

TagsNo tags attached.

Activities

ccw

2010-05-14 17:46

administrator   ~~0011465

One issue per bug report, please

Dragon

2010-05-14 17:49

reporter   ~~0011466

http://bugs.mtasa.com/view.php?id=5330

ccw

2010-05-14 20:33

administrator   ~~0011467

Just to clarify, this problem occurs even with the async option turned off?

Dragon

2010-05-14 20:43

reporter   ~~0011468

unfortunately yes. in all builds with this option turning it off only results in the performance lag to be longer, it's like this:

untested 25 and before: warping somewhere doesn't lag, low quality models show first, it takes some time until the high quality models are loaded but the gameplay is not being interrupted

builds with async loading setting turned on: warping warping causes a short freeze but when the game is running again the high quality models are ready and showing, overall it took less time for the high quality models to appear, but unfortunately causes this noticable short freeze just before its done

builds with async loading but turned off: same as above, but the freeze is a bit longer

Mr.Hankey

2010-05-14 20:59

reporter   ~~0011469

For me there have always been short freezes when warping to far away locations.
I could notice it beeing slightly improved when turning async loading on but it still is pretty noticable.
You can experience this best in race gamemode when switching spectators.

Also i cannot confirm that LOD's don't appear anymore. They did work quite well on GTA objects.

ccw

2010-05-23 03:09

administrator   ~~0011488

Please try untested-1655 with async loading turned on

Mr.Hankey

2010-05-25 11:54

reporter   ~~0011495

The short freezes are gone now but the model loading is still pretty slow. It can take up to 4-5 seconds before every object is visible and you can really see them pop up one after another.

ccw

2010-05-30 00:15

administrator   ~~0011506

Model loading should be faster when you spawn in 1.0.4-untested-1680

ccw

2010-05-30 21:54

administrator   ~~0011515

Assumed fixed with recent async changes

Issue History

Date Modified Username Field Change