Preheat the oven to 400°F and generously butter a 2.5-3 quart baking dish.
In a large bowl, whisk together the heavy cream, sour cream, garlic, chives, and salt until smooth. Stir in 4 ounces of the Gruyere, reserving the remaining Gruyere and all of the Parmesan for topping. Taste the mixture and adjust the seasoning if needed.
Add the sliced potatoes to the bowl and toss until every slice is well coated, making sure some shredded cheese clings to each potato.
Arrange the potatoes vertically or at a slight angle in the prepared baking dish, stacking them tightly together.
Pour any remaining cream mixture evenly over the top.
Cover the dish with foil and bake for 40 minutes.
Remove the foil and bake for 20 minutes more. Sprinkle the remaining Gruyere and Parmesan over the top, then bake for another 20 minutes, until golden and bubbling. Let rest for 10 minutes before serving.