When the laptop goes into sleep mode, and is waken, the sound stops working. Restarting the laptop fixes it. But its annoying as I have to reload the tabs each time.
How is the sound connected ? Internal speakers or something else through usb ?
The built in speakers
You could try PulseAudio Volume Control for set up Audio Input and Output. Yu can install it with the Terminal Command sudo apt install pavucontrol
When installed, open it and go to the Output Tab. there click on the Marker on Your prefered Audio Output. On the Configuration Tab, you can turn off other Audio Sources that You don't need.
Try
systemctl --user restart pulseaudio.service
And
systemctl --user restart pulseaudio.socket
Doesnt work
So, I started having a serious issue when I was allowing my computer to go into any sort of DPMS. As soon as the power management kicks in, it freezes my computer, after putting the displays into a low powered blanking state.
Once that happens, no matter what keyboard command I use, nothing works, my computer is just completely frozen, requiring a forced power off, which I hate doing. Today, I was totally fed up with it, and went into my XScreenSaver APP and disabled DPMS.
Now the only thing I allow my computer to do, is to display a screensaver, thats it. Having said that, for those like yourself, who likely don't have XScreenSaver installed, you will need to prevent screen blanking.
Please make sure that you tell your computer to never blank the screen. You can access this area, by going to "Settings", then "Power."
What nvidia driver are you using ?
could you start a new post instead of this, as this isnt about video, screensaver problem.
unless you are having both sound and video problems? have you fixed it ? thanks
I believe that @StarTreker was relating to your issue, then describing the solution that worked: Disabling the Power Management that was inhibiting processes from starting.
It is possible that power manager is not allowing the sound service to start after wake from sleep, so worth trying.
Sorry if I confused you. I was simply trying to say that the problems you are facing, is likely due to power management kicking in. That is how I came to that conclusion, after reading your post.
So if power management, is causing the loss of sound, my suggestion is to prevent power management from kicking in. I tried to help you with my screenshot showing the power management setting for blanking, I told you to disable it.
I tried to help, its up to you man.
PS: I believe these issues to be one in the same IMO.
oh im sorry i misunderstood
thank you for helping i didnt realise.
I found on ubuntu forum to run this:
echo 1 > /sys/bus/pci/devices/0000:00:1f.3/remove
echo 1 > /sys/bus/pci/rescan
it seemed to work so um ya.
Is there a better way to do that? thanks
@zorincore-desktop If you are happy that fixed the problem. Would you please click on the under your post to mark it as "Solution". Thanks, Zab