Problem:
While booting into Ubuntu 24.04 LTS, the laptop's audio works only 1 out of 10 times. I either "HDMI/Display port" (with this, audio from external monitor's headphone jack works fine), or a normal functional laptop audio (sound is from laptop's internal speakers). I get "HDMI/Display Port" most of times when I boot with external monitors plugged in. Also, booting without external monitor mostly gives "Dummy Output", with which both the laptop's internal speakers and the headset jack are non-functional.
However, bluetooth audio works completely fine in either case, without any issues.
What I am trying to achieve is a consistent functional laptop internal speaker.
What I have tried so far:
Adding the following lines with different combinations in
alsa-base.conf
located in/etc/modprobe.d
:options snd-hda-intel model=dell options snd-hda-intel model=generic options snd-hda-intel model=clevo-p950 options snd_hda_intel index=0,1 id=PCH,HDMI
Restarting PulseAudio using:
systemctl --user restart pulseaudio
Countless other tweaks mentioned in similar problems.
Cross-verified any potential hardware issues in audio using Windows (which is installed in a separate disk). Audio works perfectly fine each time, so this rules out any issues with hardware.
Tried out other kernels using Mainline Kernels.
Relevant system information:
Generated when HDMI/Display port was the audio: http://alsa-project.org/db/?f=b8d833b9303f51c7381122f2851c1a9d270dd5c1
Generated when the laptop's internal speakers were working: http://alsa-project.org/db/?f=4254b05d5833fc76d953c15f2c405611ed76f0b5
Additional Information:
OS: Ubuntu 24.04.1 LTS x86_64
Host: Inspiron 15 7000 Gaming (Dell 7567)
Kernel: 6.8.0-47-generic
CPU: Intel i7-7700HQ (8) @ 3.800GHz
GPU: Intel HD Graphics 630
GPU: NVIDIA GeForce GTX 1050 Ti Mobi
NVIDIA Driver Version: 560.35.03 (proprietary)
External Monitor: BenQ GW2270