Notifications
Clear all

Udp Lag

12 Posts
2 Users
1 Likes
5,235 Views
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

Hi,

This is my layout:

-PS4pro F1 2019

-pc laptop asus 

-simhub licensed

-USBD480 (lcdinfo)

-arduino micro ledbar

-arduino uno with adafr... for motors( 2 fans and 2 rumble motors).

There is more lags... 

Is there a config. to become more fast or I missing anythings?

 

thx in advance.

 

 

 


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

Hi !

Here are a few checks : 

- Make sure game telemetry is set to 60hz :

Since you run the game on a console 
- Try to reboot your router, sometimes it may become unstable over time, and a fresh boot can solve a lot of mysteries
- Try to disable your firewall temporarily (some firewalls are known to cause latency issue, Microsoft defender is not known for that, this applies mostly to 3rd party firewalls.

- If you are using wifi : 
     - Make sure your wifi is not conflicting with neighbourhood ... in these times of lockdown wifi can be suffering a lot due to unusual neighbourhood activity

     - Avoid any torrents downloads or similar on your computer, this consumes lot of wifi bandwidth. And make sure wifi network is not overall overloaded
     - Try wired network to make sure wifi is not the problem.

Nicolas


   
ReplyQuote
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

@admin5435

 

thx so much Nicolas( for ur stunning job too!), so  today i noted that when game is not running, fps are ever 25 ,27 max. 
This laptop has 4gb ram ; the old one has 8gb . The new win10 (2018 ) and the old one win7 (2011) have the same settings and this last always to 60,61(sometimes) fps.

 

could be a ram dirlfference?

this morning i retry to play with my USBD480 and micro in old laptop and everything works ! 
The new without any udp recived and any devices(arduino etc.) run in 25-26....

I don’t know. I tried before ur suggests to disable firewalls and i use  on both the 4G thatering by my iphoneX as ever did . 

No one except myself on this network w/o my psw.

 

thx a lot again, with this sw i discover a new world ( pc apart )

cheers, 

Giampaolo (Coron virus Italy)😉

 

 


   
ReplyQuote
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

This is

my rig, 5000ansilumen fullhd retro screen


   
ReplyQuote
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

And this is the half car.....


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

@flight1

Do you have the log files ? Indeed falling to 25~30 fps is not normal, moreover with the game not running on the actual computer. I don't think ram is related 😉
The logs are stored in C:\Program Files (x86)\SimHub\logs

Wonderful rig ! wish I had enough space 😀

Nicolas (Corona Virus France 😉 )

 


   
Flight1 reacted
ReplyQuote
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

Hi Nicolas and Thx;

 

In Attached Files the last logs.

 

Thc in Advance.

Bye


   
ReplyQuote
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

@admin5435

 

these are the last logs

 


   
ReplyQuote
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

I try to add manually:

[2020-04-08 14:01:01,712] INFO - Starting SimHub v6.9.7 (build time : 22/02/2020 10:50:39)
[2020-04-08 14:01:01,815] INFO - Administrator privileges : True
[2020-04-08 14:01:01,899] INFO - OS version : Microsoft Windows NT 10.0.18363.0, Windows 10.0.18363
[2020-04-08 14:01:01,899] INFO - License status : Licensed
[2020-04-08 14:01:01,899] INFO - Process priority : Above normal
[2020-04-08 14:01:19,733] INFO - (Re)Starting F12019 Game Manager and plugin manager
[2020-04-08 14:01:19,748] INFO - Creating Codemasters F1 2019 game manager (CodemastersReader.CodemastersF12019Manager)
[2020-04-08 14:01:19,983] INFO - F12019 game manager created
[2020-04-08 14:01:19,983] INFO - Setting listening UDP to 20777
[2020-04-08 14:01:20,092] INFO - Setting UDP forwarding port to 192.168.0.4:20777
[2020-04-08 14:01:20,139] INFO - Checking configuration status for F12019
[2020-04-08 14:01:20,170] INFO - Configuration status for F12019: GameNotDetected
[2020-04-08 14:01:20,170] INFO - Creating plugin manager with plugins : SerialDashPlugin, AudioControlPlugin, GraphicalDashPlugin, KeyboardEmulatorPlugin, GarySwallowDataPlugin, JoystickPlugin, ShakeITBSV3Plugin, ShakeITMotorsV3Plugin, LapHitoryPlugin
[2020-04-08 14:01:29,488] INFO - JoystickManager : Starting game controllers detection
[2020-04-08 14:01:29,503] INFO - JoystickManager : End of detection
[2020-04-08 14:01:30,175] INFO - Loading font list
[2020-04-08 14:01:34,683] INFO - Starting Arduino in Multiple USB mode, devices configured :
{"CustomProtocol":{"Expression":null},"deviceName":"led rgb con micro","deviceUniqueId":"fc12ed1a-c528-4303-8133-ebf9b9d90eb6","displayModules":0,"readButtons":true,"disabled":false,"RgbLeds":16,"Motors":0,"speedLevel":11}
{"CustomProtocol":{"Expression":null},"deviceName":"motori e ventole","deviceUniqueId":"94bfc1ef-daf9-4675-b11f-3198ab98f8b4","displayModules":0,"readButtons":true,"disabled":false,"RgbLeds":0,"Motors":8,"speedLevel":11}
[2020-04-08 14:01:34,886] INFO - Matrix custom font custommatrixfont8x8 loaded
[2020-04-08 14:01:36,089] INFO - Web suggested IP :192.168.0.14
[2020-04-08 14:01:37,042] INFO - Web font-faces up to date
[2020-04-08 14:01:37,042] INFO - Loading plugins controls
[2020-04-08 14:01:41,487] INFO - Font list loading successful
[2020-04-08 14:01:43,334] INFO - Game successfully loaded
[2020-04-08 14:01:49,401] INFO - [WatchDog] Stacks dump :
{
"1": [],
"2": [],
"3": [],
"4": [],
"5": [
null,
".IL_STUB_PInvoke",
null,
"System.Runtime.Remoting.Channels.Ipc.IpcPort.WaitForConnect",
"System.Runtime.Remoting.Channels.Ipc.IpcServerChannel.Listen",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"7": [
"System.Threading.WaitHandle.WaitMultiple",
"System.Threading.WaitHandle.WaitAny",
"System.Net.TimerThread.ThreadProc",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"8": [],
"9": [],
"10": [],
"11": [],
"12": [],
"13": [],
"14": [
null,
".IL_STUB_PInvoke",
null,
"System.Net.Sockets.Socket.ReceiveFrom",
"System.Net.Sockets.UdpClient.Receive",
"CodemastersReader.F12019.F12019TelemetryReader.FetchData",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"15": [
"System.Threading.WaitHandle.WaitOneNative",
"System.Threading.WaitHandle.InternalWaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Management.MTAHelper.WorkerThread",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"18": [],
"17": [],
"16": [
"System.Threading.Thread.SleepInternal",
"System.Threading.Thread.Sleep",
"NAudio.CoreAudioApi.WasapiCapture.DoRecording",
"NAudio.CoreAudioApi.WasapiCapture.CaptureThread",
"NAudio.CoreAudioApi.WasapiCapture.<StartRecording>b__35_0",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"19": [],
"20": [
"System.Threading.Thread.SleepInternal",
"System.Threading.Thread.Sleep",
"SerialDash.ComportScanner+<>c.<DetectComPortCore>b__22_0",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"22": [],
"24": [
"System.Threading.Thread.SleepInternal",
"System.Threading.Thread.Sleep",
"SimHub.Plugins.InputPlugins.JoystickPlugin.<Init>b__20_1",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"23": [],
"21": [],
"25": [],
"26": [],
"27": [
null,
"System.Threading.Monitor.ObjWait",
"System.Threading.Monitor.Wait",
"System.Threading.Monitor.Wait",
"System.Threading.ManualResetEventSlim.Wait",
"System.Threading.Tasks.Task.SpinThenBlockingWait",
"System.Threading.Tasks.Task.InternalWait",
"System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification",
"Microsoft.AspNetCore.Hosting.WebHostExtensions.Run",
"SimHub.Plugins.Web.KestrelStartup.RunWebHost",
"SimHub.Plugins.Web.KestrelStartup+<>c__DisplayClass5_0.<Start>b__0",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"28": [],
"29": [],
"30": [
"GarySwallow.PluginSdk.GarySwallowDataPlugin.DataUpdate",
"SimHub.Plugins.PluginManager.manager_DataUpdated",
"GameReaderCommon.DataUpdatedDelegate.Invoke",
"GameReaderCommon.GameManagerBase<System.__Canon,System.__Canon,System.__Canon>.SendDataUpdatedEvent",
"GameReaderCommon.GameManagerBase<System.__Canon,System.__Canon,System.__Canon>.PollLoop",
"GameReaderCommon.GameLoop.MainLoop",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
]
}
[2020-04-08 14:01:49,401] INFO - [WatchDog] Abnormal Inactivity detected
[2020-04-08 14:01:49,401] INFO - Check main loop thread result :False
[2020-04-08 14:01:51,510] INFO - USBD480 : Found 0 display(s)
[2020-04-08 14:01:51,973] INFO - [WatchDog] Abnormal Inactivity recovered


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

Ah sorry, i was not clear enough, an interesting log would be after running the game and lag occurs. This log is after a fresh startup.
By the way to be sure before the test could you try to disable the Gary's plugin just to be sure to run on stock code?


   
ReplyQuote
(@flight1)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

Woow,

 

you Right!!! 
 
I disabled Gary.... and now we are on 58-59,5....

thank you !

 

one question: what does it do?

What changes will i see? (Or what i will not see anymore)


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

@flight1 the Gary's plugin is an extension to drive it's own set of leaderboards and dashboards. If you don't use them you can disable it safely.

 

 

 


   
ReplyQuote
Share: