To become energetic or agitated by something, often an interest that one has. You know grandpa loves talking about the weather, so don't ask him about it unless you want to hear him go non-linear.
go non-linearbecome very excited or angry, especially about a particular obsession. informal
This expression may have originated as a humorous play on the phrase go off the rails (see rail).