No sound from built-in speakers

New laptop: HP Envy 16-h1023dx
Processor: Core i9-13900H
GPU: GeForce RTX 4060 Max-Q Mobile
lshw output for audio:
*-multimedia
description: Multimedia audio controller
product: Raptor Lake-P/U/H cAVS
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
logical name: card1
logical name: /dev/snd/controlC1
logical name: /dev/snd/hwC1D0
logical name: /dev/snd/hwC1D2
logical name: /dev/snd/pcmC1D0c
logical name: /dev/snd/pcmC1D0p
logical name: /dev/snd/pcmC1D31p
logical name: /dev/snd/pcmC1D3p
logical name: /dev/snd/pcmC1D4p
logical name: /dev/snd/pcmC1D5p
logical name: /dev/snd/pcmC1D6c
logical name: /dev/snd/pcmC1D7c
version: 01
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=sof-audio-pci-intel-tgl latency=32
resources: iomemory:620-61f iomemory:620-61f irq:208 memory:622d1d0000-622d1d3fff memory:622d000000-622d0fffff

The audio works over bluetooth and from the physical headphone jack, but not from the built-in speakers. It seems like it’s an output routing issue considering it works everywhere else, but I can’t figure it out. Any help is appreciated.