No Sound Asus G15

Hey everyone!
I’ve not had sound on my laptop since installing Manjaro. Bluetooth audio always works fine, and I haven’t been able to test with a 3.5 connection. There’s sort of a weird behavior here too, where if I plug it into an HDMI device, I still don’t get audio - but if I leave my laptop overnight with the HDMI cable in, when I come back the next day onboard sound will work fine until the next reboot. I spent a lot of time troubleshooting it last year and got no results, so I just reinstalled and hoped it’d eventually fix itself in updates but that hasn’t happened yet.
Here’s some info from my system :

inxi -Fxxxz

System:
  Kernel: 5.15.28-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: KDE Plasma v: 5.24.3 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G512LWS_G512LWS v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G512LWS v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: G512LWS.314 date: 04/27/2021
Battery:
  ID-1: BAT0 charge: 42.7 Wh (73.2%) condition: 58.3/66.0 Wh (88.3%)
    volts: 15.7 min: 15.7 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: discharging cycles: 29
CPU:
  Info: 8-core model: Intel Core i7-10870H bits: 64 type: MT MCP smt: enabled
    arch: Comet Lake rev: 2 cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
  Speed (MHz): avg: 1004 high: 2101 min/max: 800/5000 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 883 12: 2101
    13: 1990 14: 1348 15: 943 16: 800 bogomips: 70421
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: ASUSTeK driver: i915
    v: kernel ports: active: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:9bc4 class-ID: 0300
  Device-2: NVIDIA TU104M [GeForce RTX 2070 SUPER Mobile / Max-Q]
    vendor: ASUSTeK driver: nvidia v: 510.54 pcie: speed: 5 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:1e91 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,nv,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: Najing CEC Panda 0x004d res: 1920x1080 hz: 144
    dpi: 142 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.3.7
    direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: Unknown lanes: 63
    port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno2 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:3 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 411.99 GiB (86.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital
    model: PC SN530 SDBPNPZ-512G-1002 size: 476.94 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 21106000 temp: 27.9 C
    scheme: GPT
Partition:
  ID-1: / size: 468.09 GiB used: 411.99 GiB (88.0%) fs: ext4 dev: /dev/dm-0
    mapped: luks-04a21236-5b3a-4d54-a5d8-ded13ce56a22
  ID-2: /boot/efi size: 299.4 MiB used: 440 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 31.0 C pch: 30.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 2600
Info:
  Processes: 348 Uptime: 5m wakeups: 1 Memory: 15.41 GiB
  used: 2.7 GiB (17.5%) Init: systemd v: 250 Compilers: gcc: 11.2.0
  clang: 13.0.1 Packages: 1371 pacman: 1349 flatpak: 22 Shell: Zsh v: 5.8.1
  default: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.14

pulseaudio --dump-conf

### Read from configuration file: /etc/pulse/daemon.conf ###
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
local-server-type = user
cpu-limit = no
enable-shm = yes
flat-volumes = no
rescue-streams = yes
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-15.0/modules
default-script-file = /etc/pulse/default.pa
load-default-script-file = yes
log-target = 
log-level = notice
resample-method = auto
avoid-resampling = no
enable-remixing = yes
remixing-use-all-sink-channels = yes
remixing-produce-lfe = no
remixing-consume-lfe = no
lfe-crossover-freq = 0
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 4
default-fragment-size-msec = 25
enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 8000
deferred-volume-extra-delay-usec = 0
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 200000

I also have my alsa-info.sh but it doesn’t seem to want me posting it here.

Just for fun, you could use pipewire and remove pulseaudio.

pamac install manjaro-pipewire

It will remove a lot of dependencies, so you should double-check if it removes too much. If in doubt, post the output here before agreeing.

Didn’t do a thing. But it does seem to be running:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 141
Tile Size: 65472
User Name: s3kshun-8
Host Name: UNDEADASYLUM
Server Name: PulseAudio (on PipeWire 0.3.48)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: db87:feb2

Its behavior is much the same as with Pulse. The software itself indicates audio is being played, I see the levels, but nothing actually comes out of the system. If it’s not too terribly broken, I’ll try to leave it plugged into my TV overnight and see if it does the usual behavior.