Severe lag between MIDI instrument and LMMS

Anything that doesn't fit into other topics goes here!
I just got a new laptop to replace my 10 year old one and I’m having a very bothersome issue with LMMS. When I record with my MIDI keytar there’s a severe lag between what I play and what is recorded 10.0.0.0.1 192.168.1.254 . This issue doesn’t happen when I’m just jamming out without recording, and the LMMS on my previous computer never had this issue. Is there a way to fix it?
First off, Welcome to the Forum maysobano!
Here are all important links:
http://lmms.io/forum/viewtopic.php?f=1&t=4740
-A few rules and useful forum instructions
If you like to introduce yourself, to the community, go here:
http://lmms.io/forum/viewtopic.php?f=4&t=4480
maysobano wrote:
Tue May 09, 2023 1:17 pm
severe lag between what I play and what is recorded.
:
previous computer never had this issue. Is there a way to fix it?
We need to know your:
* Name of your Operative System (Windows/ Linux/ Mac) And subtype (Home' 'Mint' '10.13' aso)
* lmms version, and the site where you got it from
* lmms sound device chosen
https://docs.lmms.io/user-manual/gettin ... o-settings
* hardware specification (ram & soundcard is the most important)
* Name Mark and version of MIDI-Hardware
* Buffer-size Latency setting
https://docs.lmms.io/user-manual/gettin ... uffer-size
Goto: C:\Users\<Username>\
There you have a file named .lmmsrc.xml
Open that in notepad
Copy and paste the content here (If you feel there is sensitive data, then delete it from the copy-paste

If the issue are with default content:
* lmms instrument involved
* lmms preset (if a factory preset is used)
* Name of FX-plugin if any used
If the issue are with non-default content:
* VST involved & link to a download for this VST
* Name of VST-FX-plugin if any used
* a screenshots of error-state -if any oddness appear
* a demo mmpz
* The name of theme