Dear all,
Sorry if this may be off topic for TDE. I have a NVIDIA GT 1030 video card. I installed the proprietary driver version 535.146.02. The audio works fine from a fresh boot. However, if I recover from either suspend or hibernate pulseaudio stops working. The TDE sounds still work and mplayer can also play sound. However, firefox and vlc cannot. If I start vlc with a simple movie with sound, it says:
Audio output failed: The audio device "default" could not be used: Connection refused.
I did not have this problem with the opensource nouveau driver. Is there a way to restart pulseaudio? I tried with
pulseaudio --kill pulseaudio --start
But that didn't make a difference. It seems that alsasound works but not pulseaudio. Any ideas how to troubleshoot this would be appreciated.
Thanks!
Gianluca
PS: Also when I click on kmix there are now three choices: "Pulseaudio", "HDA Intel" and "HDA NVidia". Before installing the driver there were only the first two.
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------
You may find relief in the actual nvidia configuration application, where you can likely disable any nvidia audio.
dep Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
This is strange. After rebooting I no longer observe the problem with pulseaudio. I tried different combinations of suspend and hibernate and I still cannot reproduce the problem.
At some point before rebooting I entered (as user):
systemctl restart sound.target
Maybe that did the trick? vlc is a bit choppy when I start it the first time (after suspend or hibernate), but the second time it seems fine.
What is the "nvidia configuration application"? Is it `nvidia-settings`? I have never run it. But I will if the problem returns.
Also, where can you normally enter a command that needs to be executed when resuming from suspend or hibernate?
Thanks!
Gianluca
On Fri, 8 Dec 2023, dep wrote:
You may find relief in the actual nvidia configuration application, where you can likely disable any nvidia audio.
dep Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------
I also read that the problem is that after suspend sometimes the sound is sent to the HDMI. I found a couple of suggestions:
https://forums.linuxmint.com/viewtopic.php?t=313382
https://bbs.archlinux.org/viewtopic.php?id=253258
In the last thread: "As a workaround please disable that feature by editing /etc/pulse/default.pa and commenting or removing load-module module-switch-on-port-available and reboot the system."
Gianluca
On Fri, 8 Dec 2023, Gianluca Interlandi via tde-users wrote:
This is strange. After rebooting I no longer observe the problem with pulseaudio. I tried different combinations of suspend and hibernate and I still cannot reproduce the problem.
At some point before rebooting I entered (as user):
systemctl restart sound.target
Maybe that did the trick? vlc is a bit choppy when I start it the first time (after suspend or hibernate), but the second time it seems fine.
What is the "nvidia configuration application"? Is it `nvidia-settings`? I have never run it. But I will if the problem returns.
Also, where can you normally enter a command that needs to be executed when resuming from suspend or hibernate?
Thanks!
Gianluca
On Fri, 8 Dec 2023, dep wrote:
You may find relief in the actual nvidia configuration application, where you can likely disable any nvidia audio.
dep Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A.
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------