
Stable uGridsToLoad (by Altimor)
#16
Posted 05 September 2013 - 11:41 AM
#17
Posted 05 September 2013 - 03:13 PM
#18
Posted 07 September 2013 - 02:21 PM
Keep your fingers crossed that these guys keep working on this stuff, because they may be able to uncover and address many stabilty issues in this way.
A: "Turns out there's another bug w high ugrids, an infinite loop in cell loading code. I hope to fix it tomorrow. I'm working on multithreaded cell loading atm."
A: "It definitely seems to be very finicky regarding PC differences. I can get grids up to 13 (poor performance but stable), other people have been able to use 15. For some reason if it fails the grid loading thread just continues forever. Breaking with the Visual Studio debugger during such a freeze showed that most of the threads were waiting for the grid loading thread to finish."
A: "From what I can tell the infinite loading is caused by 2 threads waiting on each other."
A: "uGridsToLoad 21: https://i.imgur.com/qtJh1tg.jpg
Extra contrast to show distant terrain: https://i.imgur.com/i8tLHNo.jpg
I have a rudimentary fix for the threading deadlock, but I'm not convinced it's stable right now."
B: "I hope you didn't changes to functions of critical sections or other similar as it's not solution, rather new bug. Please confirm or users will corrupt their saves."
B: "Hmm, just thought that replacing thread sync functions can be good idea, if to bypass only specific threads. Gonna try myself, but such simplest tricks require heavy testing."
A: "I stop a specific WaitForSingleObject several calls deep in CellRefLockEnter, I'm aware it's probably not safe and that's why I'm not releasing it yet."
B: "Then better to detect which threads to bypass after some time, from my experience render thread and objects loading thread may work together not synced without issues to files, some graphic bugs occur, but it's minor. The same should be with sound thread (that damn with real time priority)."
B: "Just thought, any changes to sync functions may fail in "non game" conditions, like alt+tab and some time passed after this. Don't forget to test also."
#19
Posted 07 September 2013 - 03:40 PM
#20
Posted 07 September 2013 - 03:53 PM
Boris-English is far kinder to the language then the torturous contortions of logic and facts that it was subjected to by our native snake oilers! :PAh Monty... Technical NON ******** might be a bit too much praise :P
Half of it is russian, and the other half is... well russian with a dialect hehe! :)
#21
Posted 07 September 2013 - 04:18 PM
#22
Posted 07 September 2013 - 05:26 PM
#23
Posted 07 September 2013 - 07:35 PM
Half of it is russian, and the other half is... well russian with a dialect hehe! :)[/quote]
LOL, oh Aiyen you're so funny >V<
[quote='MontyMM' pid='49348' dateline='1378587206']
[quote='Aiyen' pid='49346' dateline='1378586412']Ah Monty... Technical NON ******** might be a bit too much praise :P
Half of it is russian, and the other half is... well russian with a dialect hehe! :)[/quote]
Boris-English is far kinder to the language then the torturous contortions of logic and facts that it was subjected to by our native snake oilers! :P[/quote]
Agreed
[quote name=''MontyMM' pid='49354' dateline='1378592785']Yes' date=' and what I like about these core issues is that they could so obviously be responsible for fatal crashes, and he seems to think, perhaps possible to fix through DLL injection. What's really annoying, of course, is that the two main issues he's described, the infinite looping in the loading thread and the runaway unnecessary creation of new memory stacks, could have been fixed so easily by Beth coders.[/quote']
Yes, regrettfully these days most companies don't test their own products at the least not as thoroughly or worse they simply don't care. Part of it I can understand I myself probably wouldn't want to work on the engine anymore after working on the game for five years (that's how long it took for them to build Skyrim from Oblivion right?) My grandfather used to program for mainframes before he was able to sell his companies and patents to some bigwig (I can't remember which) and retire comfortably in his fifties. I wasn't even 7 and I could tell how much work he put into it (the passion you know?)
#24
Posted 08 January 2014 - 11:29 AM
#25
Posted 08 January 2014 - 01:53 PM
#26
Posted 08 January 2014 - 02:08 PM
#27
Posted 09 January 2014 - 12:35 AM
#28
Posted 12 January 2014 - 01:30 PM
#29
Posted 12 January 2014 - 04:04 PM
#30
Posted 16 January 2014 - 12:29 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users