Timmeey86 / CustomTrainingStatisticsPlugin

GNU General Public License v3.0
2 stars 1 forks source link

Frame drops at high fps #93

Open hutchy81 opened 2 years ago

hutchy81 commented 2 years ago

I use a 3080ti and normally run RL at 500 fps, when running your plugin i'm dropping frames running in the 300-400 region with the framerate bouncing up and down.

clearly i'm no expert, but is the on screen canvas refreshing on every tick? if so could it be reduced bearing in mind it only changes on shot reset?

p.s the plugin is great, keep up the development!!

maggaou commented 2 years ago

I did testing with plugin on/off and cannot confirm this. image System: Windows 10 AMD Ryzen 5 3600 AMD Radeon RX 6600 XT 16 GB 3600 MHz CL16 XMP

Graphic settings: image

What memory configuration are you using?

Timmeey86 commented 2 years ago

Everything within bakkesmod runs in the UI thread, not just the stats rendering, but keeping track of events as well. The plugin needs to listen to a lot of events, some of which get fired several times per second, therefore this behavior is to be expected. I can try and figure out if I can skip frames or anything, but it won't be easy. Do you get the frame drops only within custom training or during online play as well?

As a side note, I have taken a break from development but was planning to do some stuff over the next few weeks. However, I'm currently waiting for the Season 7 update since there will be a huge chance it will be breaking my plugin: https://www.rocketleague.com/news/season-7-changes-coming-to-custom-training/#

maggaou commented 2 years ago

@Timmeey86 nice. What are you planning to work next?