This is a problem that I've had since I start on Linux, when I log in, there is no audio in notifications, and videos or music and I can fix using this command
Alsamixer --> I set on "Dynamic" Enabled --> "Loopback" Enabled
and it works but when I installed Z-15 Lite I didn't need to do that until I install Z-16 lite I have to repeat that process, this time I make a script
Perhaps is kernel because when I use the kernel 5.4 sound card works but when I use a more updated kernel like 5.11 it doesn't work for that I had to make a script to fix it
Well I have same problem on kernel 5.4. with Z15 Core, also on Z16 Lite I'm trying from Live USB. But Setting "Loopback" = Enabled, seems to work on both. I hope that is consistent fix. I then save that working alsamixer setup (for subsequent bootups) using:
sudo alsactl store
I wonder if you would still need your script if you also stored your alsamixer setting that way.