Usb record on time, the playback in advence

I record on Cubase 12 pro with midi conection, the notes on the grid.
But, when I record with midi keybord on usb conection , I play on timr, bur the notes are in advence [befor grid].

I reinstal cubase 12 pro, reinstal midi driver [midex 8], and soundcard [motu 896 HD].

The problem is here to stay…

I tryed to record on my laptop and there everything is o.k.

Hi and welcome to the forum,

Please read this article.