You are not logged in.
Pages: 1
HP Envy 360 2-in-1 with Bang and Olufsen speakers. Windows and grub are both capable of producing sound, so it's not a hardware issue. I've been searching the forums for hours, so I'll post everything I've seen that others have asked for.
Installed packages:
:~$ pacman -Qs alsa
local/alsa-firmware 1.2.4-2
Firmware binaries for loader programs in alsa-tools and hotplug firmware
loader
local/alsa-lib 1.2.8-1
An alternative implementation of Linux sound support
local/alsa-plugins 1:1.2.7.1-1
Additional ALSA plugins
local/alsa-tools 1.2.5-1
Advanced tools for certain sound cards
local/alsa-topology-conf 1.2.5.1-1
ALSA topology configuration files
local/alsa-ucm-conf 1.2.8-1
ALSA Use Case Manager configuration (and topologies)
local/alsa-utils 1.2.8-1
Advanced Linux Sound Architecture - Utilities
local/pulseaudio-alsa 1:1.2.7.1-1
ALSA Configuration for PulseAudio
local/python-pyalsa 1.2.7-1 (alsa)
Python binding for the ALSA library
:~$ pacman -Qs alsa
local/alsa-firmware 1.2.4-2
Firmware binaries for loader programs in alsa-tools and hotplug firmware
loader
local/alsa-lib 1.2.8-1
An alternative implementation of Linux sound support
local/alsa-plugins 1:1.2.7.1-1
Additional ALSA plugins
local/alsa-tools 1.2.5-1
Advanced tools for certain sound cards
local/alsa-topology-conf 1.2.5.1-1
ALSA topology configuration files
local/alsa-ucm-conf 1.2.8-1
ALSA Use Case Manager configuration (and topologies)
local/alsa-utils 1.2.8-1
Advanced Linux Sound Architecture - Utilities
local/pulseaudio-alsa 1:1.2.7.1-1
ALSA Configuration for PulseAudio
local/python-pyalsa 1.2.7-1 (alsa)
Python binding for the ALSA library
colby@colby-arch:~$ pacman -Qs pulse
local/libcanberra 1:0.30+r2+gc0620e4-3
A small and lightweight implementation of the XDG Sound Theme Specification
local/libpulse 16.1-3
A featureful, general-purpose sound server (client library)
local/pulseaudio 16.1-3
A featureful, general-purpose sound server
local/pulseaudio-alsa 1:1.2.7.1-1
ALSA Configuration for PulseAudio
local/pulseaudio-bluetooth 16.1-3
Bluetooth support for PulseAudio
local/pulseaudio-zeroconf 16.1-3
Zeroconf support for PulseAudio
~/.asoundrc is empty
/etc/asound.conf
defaults.ctl.card 1;
defaults.pcm.card 1;
:~$ aplay -L
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
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 PulseAudio Sound Server)
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, ALC245 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
Front output / input
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 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=acp
acp
USB Stream Output
I have ran "amixer sset Master/Speaker/Headphone unmute"
speaker-test -c 2 produces no sound
No sound from bluetooth
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
Active: active (running) since Thu 2023-02-16 06:54:33 EST; 5h 16min ago
TriggeredBy: ● pulseaudio.socket
Main PID: 638 (pulseaudio)
Tasks: 8 (limit: 8654)
Memory: 21.3M
CPU: 926ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
├─638 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─668 /usr/lib/pulse/gsettings-helper
Feb 16 06:54:33 colby-arch systemd[631]: Starting Sound Service...
Feb 16 06:54:33 colby-arch pulseaudio[638]: stat('/etc/pulse/default.pa.d'): No such file or directory
Feb 16 06:54:33 colby-arch systemd[631]: Started Sound Service.
Feb 16 06:54:33 colby-arch pulseaudio[638]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
Alsamixer shows that all channels including master are open (two O's at the bottom of the bar).
Offline
Can you post
aplay -l
pactl list cards
pactl list sinks
pactl list sink-inputs
during the issue? You should probably remove that asound.conf while using pulse and rather use and check audio relevance in pavucontrol or similar.
Offline
:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC245 Analog [ALC245 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
:~$ pactl list cards
Card #0
Name: alsa_card.pci-0000_04_00.1
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xd05c8000 irq 90"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1637"
device.product.name = "Renoir Radeon High Definition Audio Controller"
device.string = "0"
device.description = "Renoir Radeon High Definition Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
HiFi: Play HiFi quality Music (sinks: 2, sources: 0, priority: 8000, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: off
Ports:
[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, latency offset: 0 usec, not available)
Part of profile(s): HiFi
[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, not available)
Part of profile(s): HiFi
Card #1
Name: alsa_card.pci-0000_04_00.6
Driver: module-alsa-card.c
Owner Module: 8
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xd05c0000 irq 91"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.6/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h/19h HD Audio Controller"
device.string = "1"
device.description = "Family 17h/19h HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
HiFi: Play HiFi quality Music (sinks: 1, sources: 2, priority: 40768, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: HiFi
Ports:
[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
Part of profile(s): HiFi
[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, not available)
Part of profile(s): HiFi
[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, not available)
Part of profile(s): HiFi
[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
Part of profile(s): HiFi
:~$ pactl list sinks
Sink #0
State: SUSPENDED
Name: alsa_output.pci-0000_04_00.6.HiFi__hw_Generic_1__sink
Description: Family 17h/19h HD Audio Controller Speaker + Headphones
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 8
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_04_00.6.HiFi__hw_Generic_1__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC245 Analog"
alsa.id = "ALC245 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xd05c0000 irq 91"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.6/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h/19h HD Audio Controller"
device.string = "_ucm0003.hw:Generic_1"
device.buffering.buffer_size = "384000"
device.buffering.fragment_size = "192000"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: hw:Generic_1: sink"
device.profile.description = "Speaker + Headphones"
alsa.mixer_device = "_ucm0003.hw:Generic_1"
device.description = "Family 17h/19h HD Audio Controller Speaker + Headphones"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
[Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
[Out] Headphones: Headphones (type: Headphones, priority: 200, not available)
Active Port: [Out] Speaker
Formats:
pcm
pactl list sink-inputs gives no output.
I also emptied asound.conf
I've used pavucontrol in the past with not much luck. I've reinstalled it now. I'll play youtube videos and see output in pavu, but no sound from speakers. I should also mention that audio via bluetooth did work at some point but I broke it in further attempts to get my speakers working. I'm not sure of the configuration I had at that point, but never at any point did I get sound from my speakers.
Offline
sink-inputs will give output during an attempt to play back something. Additionally output of
amxier -c1
#and as a general test, while not playing back anywhere else
speaker-test -Dhw:1 -c2
if you do not get anything out of that speaker test you either have a firmware, jack or a kernel issue. For the first, check whether there is an updated UEFI/BIOS from HP (I do remember some threads mentioning HP having a broken verb table implementation that hopefully gets fixed by an update) for the second you could check PIN associations in hdajackretask and whether something is "just" wired incorrectly, fwiw doing some googling, e.g. https://forums.linuxmint.com/viewtopic.php?p=2007709 suggests that to be the case.
Offline
Alright, here's sink inputs with a YouTube video playing:
:~$ pactl list sink-inputs
Sink Input #1
Driver: protocol-native.c
Owner Module: 13
Client: 5
Sink: 0
Sample Specification: float32le 2ch 44100Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 41752 usec
Sink Latency: 18438 usec
Resample method: speex-float-1
Properties:
application.icon_name = "microsoft-edge"
media.name = "Playback"
application.name = "Microsoft Edge"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "35"
application.process.id = "1287"
application.process.user = "colby"
application.process.host = "colby-arch"
application.process.binary = "msedge"
application.language = "en_US.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "eaf02a72e2b246489c5c316de853954d"
application.process.session_id = "1"
module-stream-restore.id = "sink-input-by-application-name:Microsoft Edge"
:~$ amixer -c1
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [off]
Front Right: Playback 87 [100%] [0.00dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic ACP LED',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [on]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 1 [33%] [10.00dB]
Front Right: 1 [33%] [10.00dB]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 63 [100%] [30.00dB] [off]
Front Right: Capture 63 [100%] [30.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
No sound at all from that speaker-test command.
I'll look into the firmware/jack/kernel issue now. Might not be able to get back to this until later today, but I'll report my findings when I do. Thanks for all the help.
Offline
So, I updated BIOS to the newest version and that didn't fix anything. When trying to override the pin with hdajackretask I get this error.
E: [pulseaudio] main.c: Failed to kill daemon: No such process
0x12 0x411111f0
0x13 0x40000000
0x14 0x411111f0
0x17 0x90170150
0x18 0x411111f0
0x19 0x03a11040
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40600001
0x1e 0x411111f0
0x21 0x03211020
1
So I checked pulseaudio.service and got this.
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
Active: active (running) since Fri 2023-02-17 20:41:38 EST; 2min 44s ago
TriggeredBy: ● pulseaudio.socket
Main PID: 1772 (pulseaudio)
Tasks: 8 (limit: 8654)
Memory: 10.0M
CPU: 3.504s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
├─1772 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─1780 /usr/lib/pulse/gsettings-helper
Feb 17 20:41:38 colby-arch systemd[627]: Starting Sound Service...
Feb 17 20:41:38 colby-arch pulseaudio[1772]: stat('/etc/pulse/default.pa.d'): No such file or directory
Feb 17 20:41:38 colby-arch systemd[627]: Started Sound Service.
Feb 17 20:41:38 colby-arch pulseaudio[1772]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
Doing research now, but currently idk what this means.
Offline
After many hours, I figured out that hdajackretask needed pulseaudio.service to be down to make changes. No config I've found through hdajaskretask, including the one linked, worked for me. I don't remember what I did to fix the error seen in the pulseaudio.service log, but it's not currently happening anymore. If it were a kernel issue, is there anything I could reasonably do about it?
Offline
Don't know whether you have found a solution, but I found a possible solution. If your laptop is the same as my wife's laptop, it looks like the linux kernel may not yet support audio for it? I can't say for sure as I've never manually built a kernel myself yet, but I planned to try the patch described here if it doesn't get support in the mainstream kernel in the near future. Would be nice if that would happen, but I don't know the process for recommending such changes.
The specific model of my wife's laptop is the HP Envy x360 15-ey0023dx.
Last edited by terminal_case (2023-03-13 14:15:05)
Offline
Pages: 1