Patrick Stewart and Thomas Middleditch: a nerd match made in heaven. The two talked about “Star Trek,” “Silicon Valley” and even played a game of “F—, Marry, Kill” during Variety and PBS’ “Actors on Actors.”

The entire interview can be watched when the two-part fourth-season premiere of “Variety Studio: Actors on Actors” airs June 12 and June 19 on PBS SoCal. Presented by Shopbop/East Dane, the episodes will also be available to stream on Variety.com.