HP Spectre x360: no sound with internal speakers and no bluetooth on Ubuntu 20.04

In my case, I got sound temporary by run this more than once.

sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x01
sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01
sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x01
sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00

https://wiki.archlinux.org/index.php/HP_Spectre_x360_(2020)#Audio

My bluetooth works well from the beginning.