You just need to change your roommate's sleeping position. The reason why he snores is that he sleeps on his back and snores easily. You just have to let him sleep on his side.
And you can also try to let him sleep, and he can only sleep when you are asleep.