Manjaro KDE audio not working

So yesterday I broke my manjaro installation beyond repair. So I had no choice but to reinstall it today. I backed up my data to my windows partition and reinstalled manjaro. Once I set everything up I realised the audio isnt working at all. But it works when I plug in Headphones. I followed guides on the forum with similar problems and now my headphones also dont work now. I went to audio settings and for output I get headphones and Speaker(unavailable) Please help I dont want to reinstall again…

Here is the input of
inxi -SMA

System:
Host: shanthosh-hppavillion Kernel: 5.8.11-1-MANJARO x86_64 bits: 64
Desktop: KDE Plasma 5.19.5 Distro: Manjaro Linux
Machine:
Type: Convertible System: HP product: HP Pavilion x360 Convertible
v: Type1ProductConfigId serial: <superuser/root required>
Mobo: HP model: 81A9 v: 57.53 serial: <superuser/root required>
UEFI: Insyde v: F.38 date: 12/09/2019
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: N/A
Sound Server: ALSA v: k5.8.11-1-MANJARO

EDIT: I switched to testing branch and I think the problem got worse. Now when I click the audio button it says “No output or input devices found” and pavu control has a dummy control

EDIT 2: All Sound related settings have dissapeared after reboot. pls help :frowning:

Welcome To Manjaro

Please post full response to

sudo dmesg | grep snd

and

sudo alsa-info.sh
sudo dmesg | grep snd gives no output 


sudo alsa-info.sh gave this 
ALSA Information Script v 0.4.65
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  aplay
  amixer
  alsactl
  rpm, dpkg
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See '/usr/bin/alsa-info.sh --help' for command line options.

alsactl: save_state:1595: No soundcards found...
cat: /tmp/alsa-info.rBYpCG2suP/alsactl.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : N

Your ALSA information is in /tmp/alsa-info.txt.vkXYRtpjrz

try these commands instead

sudo dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'
sudo alsa-info.sh --upload
sudo dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'


gives this

 sudo dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[sudo] password for shanthoshr: 
[    0.114165] ACPI: Added _OSI(Linux-Dell-Video)
[    0.114165] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.114166] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)

sudo alsa-info.sh --upload gives this

sudo alsa-info.sh --upload
alsactl: save_state:1595: No soundcards found...
cat: /tmp/alsa-info.7o6AB6KZIy/alsactl.tmp: No such file or directory
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://alsa-project.org/db/?f=553efb496cb54ff91e784692f519f9bab3568ffc
Please inform the person helping you.

http://alsa-project.org/db/?f=553efb496cb54ff91e784692f519f9bab3568ffc

The Modprobe option you added is no longer supported by kernel v5.8

!!Modprobe options (Sound related)

snd_hda_intel: dmic_detect=0

If you wish to continue to disable internal digital microphone, edit the file in /etc/modprobe.d/
and change the modprobe option to this:

options snd-intel-dspcfg dsp_driver=1

But it may now be possible get internal microphone working :

  1. remove ‘dmic_detect=0’ modprobe option
  2. install sof-firmware
  3. install development version of Pulseaudio pulseaudio-git from AUR

Thanks so much for the help. But it still didnt fix the issue. Its been 6 hours I tried everything on the internet and now I gave up. I just reinstalled manjaro. works like charm and takes 10 minutes.