Funnyman Jason Segel is the unlikely choice to play tragic author David Foster Wallace in a new movie biopic.

The Forgetting Sarah Marshall actor will star as the Pulitzer Prize-nominated writer, who committed suicide in 2008, in The End of the Tour.

Jesse Eisenberg is also attached to the film and will play Rolling Stone reporter David Lipsky, according to

The script was adapted from Lipsky's book, Although Of Course You End Up Becoming Yourself: A Road Trip With David Foster Wallace.