Indeed mate OBS works, or if you have a NVidia card you can use their shadowplay tech with alt+f9 which i prefer since obs sucks some fps which will be in short supply as it is
@Terreneitor Another trick to improve framerate in recording is using slower Time Scale for recording, and speeding up the video with editing later. So with 0.25 recording timescale, 15 fps will become 60fps on speedup of video. Audio you'll need to record separately with this method although.