Internal Speaker audio sometimes works and sometimes doesn't and mic doesn't work at all

About the question you’re submitting

Have you searched the community for a relevant issue? (use “x” to select)

[x] No similar issues found

Detailed description

The audio can work initially and when I don’t use it for a while it stops working and I try playing audio again until it works randomly, so it doesn’t always initialize successfully, is this a kernel issue or which?
And also the internal mic is detected but it isn’t recording anything.

  1. Provide specific configuration and firmware version details
    Audio card: HDA Intel Audio ALC257
    CPU: Intel Core i7-1165G7 @2.8GHz
    GPU: Intel Iris Xe + Nvidia GeForce MX450
    RAM & Storage: 8GB LPDDR4 @3200MHz, 512 GB SSD & 1TB HDD
    FydeOS Version: Chromium: Version 114.0.5735.121 (64-bit) Platform: 15437.44.17.6 (Release Build v17.0-SP1) stable-channel amd64-fydeos_iris-io Channel: stable-channel Firmware Version: ARC Enabled: true ARC: 9381606 Enterprise Enrolled: false Developer Mode: true

  2. Include detailed logs
    To obtain the logs, enter /var/log/messages in the Chromium browser and locate the relevant log fragment. Copy and paste it here.
    Logs:
    system_logs_20230813-030724.txt.zip (1.3 MB)