Man repeats scene in room of suicidal girl while imaginary Nazi soldier oversees and gives hints
It seemed he needed to achieve some kind of realization in order to break the loop, girl was like someone he liked or she liked him and if he messed up she ended up blowing her brains with some weapon, it seems the Nazi guy (with uniform and all) was not seen by her, and kept telling stuff to the guy
Saw this part in someone else's laptop on a flight, so no idea if it was a show or movie, looked quite modern aesthetic