amir-arad / EmptyEpsilon

Open source bridge simulator. Build with the SeriousProton engine.
http://emptyepsilon.org/
GNU General Public License v2.0
2 stars 0 forks source link

Big issues with dock systems #28

Open tdelc opened 5 years ago

tdelc commented 5 years ago

Hi,

Sorry once again for a new issue, i have applied all your docks and drones branch and your navigation branch. Now I have a huge problem : if a create a drone from a cargo, when i fastly scroll down in the relay screen, the game crash.

I test it a lot, i think it is only when there is a drone in the scenario. And even with the debug mode, i cannot find where the code fail.

If you have a idea, i will be very greatful :)

amir-arad commented 5 years ago

thanks so much for the report! will investigate

amir-arad commented 5 years ago

currently it seems to crash when zooming out of the "blue" grid, after rendering any 3-D model at any previous time in the same process. investigating.

tdelc commented 5 years ago

Thanks for the comment, I didn't test once again, but I think that the problem also appear sometime between the "yellow" and the "green" grid. But in fact, It could appear when the grid is changing.

amir-arad commented 5 years ago

we believe it only happens on certain computers. could you write here the spec of the computer that this crash happens on?

tdelc commented 5 years ago

Windows 8.1 64 bits ; Quad CPU 2.33Ghz ; RAM : 4 Go ; EE compiled with Codeblock. I didn't test with a other computer.

amir-arad commented 5 years ago

What GPU?

tdelc commented 5 years ago

sorry, CPU = GPU in french :)

amir-arad commented 5 years ago

I mean: what model of graphic card?

tdelc commented 5 years ago

ah ok, I am not in my house, I say you this night

tdelc commented 5 years ago

NVIDIA GeForce GTX 780

amir-arad commented 5 years ago

so in all our findings, the computers who consistently displayed this bug (4 so far) had a graphic accelerator (Nvidia in all of them I think), and the computers who do not have this bug (3 so far) don't have any additional accelerator other what comes in their i3/5/7 CPU. I don't have regular access to a computer with an accelerator card (Murphy's law) so i can't debug.

My assumption is that the 3-d rendering changes the mode of the accelerator by one of the GL API methods (probably here), and that state causes a crash when the radar view does its layering tricks and things are so close together they overlap.

what do you think?

tdelc commented 5 years ago

I confirm that on a other PC without accelator card, I don't have the bug.

For this week end, I will use only one computer by station, so it will be ok. After that, yes, I would be interested to reset the GL state each time. Deleting the 3D ship into the docks master is not a good solution for me, because it is pretty cool to see the drone.

Thanks for your findings !

amir-arad commented 5 years ago

have fun storming the castle!

tdelc commented 5 years ago

Thanks !

amir-arad commented 5 years ago

It's still an issue I would like to solve. maybe not a top priority right now, but no reason closing it