I found the fix. It seems funny but it is really fault of nvidia-driver- xxx. It somehow modifies power settings of the system. I am using latest Ubuntu 19.04 with 5.0.0-11-generic kernel but exactly same problem did happen wit any previous Ubuntu version and also with recent versions of Fedora.
I added the following line to /etc/modprobe.d/alsa-base.conf options snd-hda-intel enable_msi=1 enable=0,1 model=dell-headset-multi power_save=0 power_save_controller=N # note that pulseaudio -k && sudo alsa force-reload was not sufficient I had to reboot system because the modules were in some wrong state and they did not unload successfully 1. the enable_msi=1 : interupt setting is there because there is no sound after suspend 2. enable=0,1 : I did disabled the intel hdmi, spdif (non PCM) sound cards because some programs just used the diferent card no matter what was selected in ubuntu desktop controls/alsa mixer and this was the most simple method to get it working (you can list your cards by aplay -l) 3. model=dell-headset-multi this is required otherwise you will hear only cracking if you play something 4. power_save=0 without this you will hear nothing or cracking Note: You may also need to run sudo apt-get install --reinstall dkms alsa-base pulseaudio to get the system in to initial state if you modified something recently. Note: Out of the box ubuntu installation worked just fine, but after reinstall of nvidia-driver-XXX (415->418) / kernel (if the nvidia driver is installed) the sound just stops working and there is no error msg anywhere (dmesg, syslog) and the output is seems to selected properly and the mute etc is set properly in alsamixer. The problem is that the nvidia drivers somehow modifies the power settings and this breaks the audio. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1786495 Title: [Precision M4800, Realtek ALC3226, Green Headphone Out, Front] No sound at all Status in alsa-driver package in Ubuntu: Confirmed Bug description: I am head no sound from my headphone jack. Laptop speaker work fine. Tried 2 different headphones and still no sound. pavucontrol can see my headphone and I see the sound bar move but no sound comes out. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: alsa-base 1.0.25+dfsg-0ubuntu5 ProcVersionSignature: Ubuntu 4.15.0-30.32-generic 4.15.18 Uname: Linux 4.15.0-30-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/pcmC1D0p: hhernandez 2083 F...m pulseaudio /dev/snd/controlC1: hhernandez 2083 F.... pulseaudio /dev/snd/controlC0: hhernandez 2083 F.... pulseaudio CurrentDesktop: MATE Date: Fri Aug 10 07:59:09 2018 PackageArchitecture: all SourcePackage: alsa-driver Symptom: audio Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed Symptom_Card: Built-in Audio - HDA Intel PCH Symptom_DevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: hhernandez 2083 F.... pulseaudio /dev/snd/controlC0: hhernandez 2083 F.... pulseaudio Symptom_Jack: Green Headphone Out, Front Symptom_Type: No sound at all Title: [Precision M4800, Realtek ALC3226, Green Headphone Out, Front] No sound at all UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/19/2015 dmi.bios.vendor: Dell Inc. dmi.bios.version: A14 dmi.board.name: 0V5GVY dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 9 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA14:bd05/19/2015:svnDellInc.:pnPrecisionM4800:pvr01:rvnDellInc.:rn0V5GVY:rvrA00:cvnDellInc.:ct9:cvr: dmi.product.name: Precision M4800 dmi.product.version: 01 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1786495/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

