EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.62k stars 341 forks source link

Simulator with network Server SD Structure path need minutes to open #5651

Open elekSENDER opened 2 weeks ago

elekSENDER commented 2 weeks ago

Is there an existing issue for this problem?

What part of EdgeTX is the focus of this bug?

Simulator

Current Behavior

After selecting a SD Structure path folder with a server adress (i.e: //server01/public/EdgeTX/SD_TX16S) everything in companion looks normal and functionable. SD synchronizing is working, models can be opened and were editable. Until opening simulator: startup screen is coming up, but then the simulator holds on startupscreen for several minutes (3-5min). After this time the simulator is coming up und works normally. At this "freezetime" on the taskmanager ethernet network monitor occurs a weird traffic with low usage (approx. 1-2Mbit/s up and down on a 1Gbit connection) from opening the simulator till normal working. By closing the simulator window in freeszetime, companion freezes and can only be closed by taskmanager or with the window which tells you companion.exe does not work any more (close/wait for programm). If you wait after closing simulator until the slow ethernet traffic was over companion is working well again.

This was a former issue in OpenTX as well, in the later versions (I tried OpenTX 2.3.15) the simulator works fine with a network adress.

Expected Behavior

Simulator normal working with network path.

Steps To Reproduce

Enter/choose a network path in SD Structure path. Synchronize the SD Card Open any model. Start simulator.

Version

2.10.5

Transmitter

FrSky X10 / X10S (ACCST), RadioMaster TX16S / TX16SMK2

Operating System (OS)

Windows

OS Version

Windows 10 home ver22H2

Anything else?

No response

elekSENDER commented 2 weeks ago

same behavior on a Windows 10 Pro ver 22H2

elekSENDER commented 2 weeks ago

and the same on a Windows 11 Home ver 23H2

elecpower commented 2 weeks ago

Test model TX16S with one special function ON Play Track 4wd repeat 3s.

EdgeTX 2.10.5 with TX16S sim on Win 10 22H2 with SD path set to:

Results: no noticeable difference

So it would appear it relates to the model settings eg widgets or its your IT environment.