Midi to vcv works fine until i try to output the audio

Hi, I’m currently learning to use VCV Rack 2 and I can’t find a way to use a midi keyboard. When I plug in the midi to vcv module, it outputs gate and v/oct as they should be (I check with the scope module) but then when I try to select any working audio output (such as my computer speaker), it starts to lag. For example when I press a key then release it, the gate output stay on. Or only half of the key I press get processed. The issue also happens when I try to use the output keyboard. It stays like that unless I restart the program, even if I unplug the audio output.

My OS is ubuntu 22.04 and I’ve followed the vcv rack on linux post on this forum but I still have the same issue