I had the same problem. But I get a solution on the HP site.
I changed my Realtek settings in Windows 11 Registry and it will work fine.
Find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4d36e96c-e325-11ce-bfc1-08002be10318}\xxxx\PowerSettings
where 'xxxx' is one of keys which contains
DriverDesc value 'Realtek High Definition Audio'.
Note: There may be multiple ones containing PowerSettings,
for example 'Nvidia High Definition Audio'.
You'll find there three binary values and set them:
- ConservationIdleTime = ff ff ff ff;
- IdlePowerState = 00 00 00 00;
- PerformanceIdleTime = ff ff ff ff.
Please check this web page for full info.