The Foo Fighters frontman delighted the audience with an impromptu performance amid recent controversies surrounding Tenacious D.