These engines if have problems with vvti sprocket, throttle or vaccum leak issues they do this. You need to get it tested with some professional to verify the live data feed.
Turn off on signals is sign of rough idle. Turn the ac on to see if the idle goes up