Complete refresh rate cycle done in miliseconds

So, I updated Ubuntu to the 18.04 version and the problem is apparently solved. Below is the output of timeByFrames.py.