You are not logged in.

#1 2024-02-09 03:56:36

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Sound Not Working Through Speakers on Razer Blade 14 w/ Arch Hyprland

Hello Arch Linux Community,

I'm encountering an issue on my Razer Blade 14 where audio isn't playing through the laptop's built-in speakers. Headphones and Bluetooth audio devices work fine, but the speakers remain silent. My system uses WirePlumber and PipeWire for audio management, and I've noticed several errors in the WirePlumber logs that might be related. Notably, I initially didn't have alsamixer on my system, which prevented me from checking ALSA mixer settings directly. I have since installed alsa-utils to access alsamixer.

System Details:

Laptop Model: Razer Blade 14
GPU: NVIDIA GeForce RTX 4070 Ma
CPU: AMD Ryzen 9 7940HS w/ Rade
Kernel Version: `6.7.4-arch1-1`
Sound System: Using ALSA and PulseAudio
Recent Changes: updated packages

Thank you in advance for any help you can provide!

Issue Summary:

- No audio from built-in speakers, but audio works through headphones and Bluetooth.
- pavucontrol shows sound output from applications (e.g., Brave) but no system sound activity.
- WirePlumber is active and running, but logs indicate several errors.
WirePlumber Log Errors:

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running)
   Main PID: 945 (wireplumber)

Feb 08 20:38:37 grimoire wireplumber[945]: ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
...
Feb 08 20:38:37 grimoire wireplumber[945]: SPA handle 'api.alsa.acp.device' could not be loaded; is it installed?
...
Feb 08 20:38:37 grimoire wireplumber[945]: Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

Troubleshooting Steps Taken:

- Installed pipewire-pulse alsa-utils and accessed alsamixer to check and adjust audio settings.
- Verified WirePlumber and PipeWire services are active and running.
- Checked and switched sound output devices in pavucontrol.
- Reviewed WirePlumber and PipeWire configuration files for potential misconfigurations.

I'm at a bit of a loss for what to try next. Could the errors in the WirePlumber log be related to my speaker issue? Any guidance on how to resolve these audio issues or further steps to diagnose the problem would be greatly appreciated.

Thank you in advance for your help!

Last edited by mrmetaverse (2024-02-11 19:58:30)

Offline

#2 2024-02-09 10:00:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,773

Re: Sound Not Working Through Speakers on Razer Blade 14 w/ Arch Hyprland

ALSA and pulseaudio and wireplumber is a combination that doesn't make sense. You probably rather want to opt for pipewire-pulse which should in turn also depend on alsa-card-profiles wireplumber is complaining about.

If that didn't help already post

sudo fuser -v /dev/snd/*
aplay -lL
systemctl --user status pulseaudio pipewire{,-pulse} wireplumber
pactl list cards

And post outputs (and adjust your OP in this regard) wrapped in bbcode code tags instead of markdown.

Online

#3 2024-02-11 19:56:22

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Re: Sound Not Working Through Speakers on Razer Blade 14 w/ Arch Hyprland

sudo fuser -v /dev/snd/*

╭─mrmetaverse@grimoire  ~ ‹node-›  ‹› 
╰─$ sudo fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  mrmetaverse    932 F.... pipewire
                     mrmetaverse    933 F.... wireplumber
/dev/snd/controlC1:  mrmetaverse    932 F.... pipewire
                     mrmetaverse    933 F.... wireplumber
/dev/snd/controlC2:  mrmetaverse    932 F.... pipewire
                     mrmetaverse    933 F.... wireplumber
/dev/snd/controlC3:  mrmetaverse    932 F.... pipewire
                     mrmetaverse    933 F.... wireplumber
/dev/snd/pcmC2D0p:   mrmetaverse    932 F...m pipewire
/dev/snd/seq:        mrmetaverse    932 F.... pipewire

aplay -lL

╭─mrmetaverse@grimoire  ~ ‹node-›  ‹› 
╰─$ aplay -lL

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
hdmi:CARD=Generic,DEV=1
    HD-Audio Generic, HDMI 1
    HDMI Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
sysdefault:CARD=Generic_1
    HD-Audio Generic, ALC298 Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC298 Analog
    Front output / input
surround21:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC298 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC298 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC298 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC298 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC298 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC298 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=Generic_1
    HD-Audio Generic
    USB Stream Output
usbstream:CARD=acp63
    acp63
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC298 Analog [ALC298 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

systemctl --user status pulseaudio pipewire{,-pulse} wireplumber

─mrmetaverse@grimoire  ~ ‹node-›  ‹› 
╰─$ systemctl --user status pulseaudio pipewire{,-pulse} wireplumber

Unit pulseaudio.service could not be found.
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled
; preset: enabled)
     Active: active (running) since Sun 2024-02-11 14:49:07 ES
T; 5min ago
TriggeredBy: ● pipewire.socket
   Main PID: 932 (pipewire)
      Tasks: 4 (limit: 18222)
     Memory: 35.2M (peak: 60.8M)
        CPU: 6.808s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/
pipewire.service
             └─932 /usr/bin/pipewire

Feb 11 14:49:07 grimoire systemd[922]: Started PipeWire Multimedia Servic
e.
Feb 11 14:49:07 grimoire pipewire[932]: [0:00:05.447656952] [932] ERROR I
PAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Feb 11 14:49:07 grimoire pipewire[932]: [0:00:05.447675757] [932] ERROR I
PAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Feb 11 14:49:07 grimoire pipewire[932]: [0:00:05.447703119] [932]  INFO C
amera camera_manager.cpp:284 libcamera v0.2.0

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enab
led; preset: enabled)
     Active: active (running) since Sun 2024-02-11 14:49:07 ES
T; 5min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 934 (pipewire-pulse)
      Tasks: 3 (limit: 18222)
     Memory: 57.3M (peak: 63.3M)
        CPU: 2.581s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/
pipewire-pulse.service
--More--

pactl list cards

╭─mrmetaverse@grimoire  ~ ‹node-›  ‹› 
╰─$ pactl list cards                                               130 ↵
Card #47
	Name: alsa_card.pci-0000_01_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA NVidia at 0xdd080000 irq 114"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.description = "HDA NVidia"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "2701439"
		device.product.id = "0x22bd"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "47"
		object.serial = "47"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xdd080000 irq 114"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 4, sources: 0, priority: 8000, available: no)
		pro-audio: Pro Audio (sinks: 4, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		[Out] HDMI4: HDMI / DisplayPort 4 Output (type: HDMI, priority: 1400, latency offset: 0 usec, availability group: HDMI/DP,pcm=9, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=9"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 1300, latency offset: 0 usec, availability group: HDMI/DP,pcm=8, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=8"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): HiFi
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, latency offset: 0 usec, availability group: HDMI/DP,pcm=7, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=7"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): HiFi
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=3"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): HiFi

Card #48
	Name: alsa_card.pci-0000_65_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0xdd7c8000 irq 115"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:65:00.1"
		device.description = "Rembrandt Radeon High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_65_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "2701265"
		device.product.id = "0x1640"
		device.product.name = "Rembrandt Radeon High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:65:00.1/sound/card1"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "48"
		object.serial = "48"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xdd7c8000 irq 115"
		alsa.driver_name = "snd_hda_intel"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 2, sources: 0, priority: 8000, available: no)
		pro-audio: Pro Audio (sinks: 2, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, latency offset: 0 usec, availability group: HDMI/DP,pcm=7, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=7"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=3"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): HiFi

Card #49
	Name: alsa_card.pci-0000_65_00.6
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "2"
		api.alsa.card.longname = "HD-Audio Generic at 0xdd7c0000 irq 116"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:2"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:65:00.6"
		device.description = "Family 17h/19h HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_65_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "2830054"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:65:00.6/sound/card2"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "49"
		object.serial = "49"
		object.path = "alsa:pcm:2"
		alsa.card = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xdd7c0000 irq 116"
		alsa.driver_name = "snd_hda_intel"
		device.string = "2"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 1, sources: 2, priority: 8000, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: HiFi
	Ports:
		[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "speaker"
				device.icon_name = "audio-speakers"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, availability group: Headphone, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Headphone"
				device.icon_name = "audio-headphones"
				card.profile.port = "1"
			Part of profile(s): HiFi
		[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "2"
			Part of profile(s): HiFi
		[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "3"
			Part of profile(s): HiFi

Offline

#4 2024-02-11 20:15:39

mrmetaverse
Member
Registered: 2023-10-04
Posts: 12

Re: Sound Not Working Through Speakers on Razer Blade 14 w/ Arch Hyprland

Please note: this is a separate issue from this other devices audio issues https://bbs.archlinux.org/viewtopic.php … 9#p2150039

Offline

Board footer

Powered by FluxBB