No sound after screensaver

Discussion created by deathlock2k on Nov 7, 2019

I have a hp pavilion desktop with a  Ryzen 7 2700 3.2 ghz Radeon Rx-580 running Window 10, after 20 min of idle time the screensaver comes on and every time after the restart after this idle time the sound goes off, and the only way to get sound back is to restart the  computer. I try the troubleshooter it tells that the deice is unplugged, so i plug in headphones and i get sound.