HP Envy x360 13-ar0022nn AMD Ryzen 5 3500U sound problem

Hi all, I have laptop HP Envy x360 13-ar0022nn AMD Ryzen 5 3500U ,with 8 /gb RAM.
I used Manjaro for last 6 months, but last 2 weeks i switched back to Win10 because i need my full sound system. Only problem , I have Bang & Olufsen, quad speakers,
but sound comming only from bottom, so 2 speakers…

More info:

inxi -Fxxxz output:

      Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A 
      Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM 
      Distro: Manjaro Linux 
      Type: Convertible System: HP 
      product: HP ENVY x360 Convertible 13-ar0xxx v: N/A serial: <filter> 
      Chassis: type: 31 serial: <filter> 
      Mobo: HP model: 85DE v: 41.36 serial: <filter> UEFI: AMI v: F.19 
      date: 12/26/2019 
      ID-1: BAT0 charge: 38.2 Wh condition: 52.7/52.7 Wh (100%) 
      volts: 15.8/15.4 model: 333-2B-49-A KC04053XL type: Li-ion 
      serial: <filter> status: Discharging 
      Topology: Quad Core 
      model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx bits: 64 
      type: MT MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB 
      flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
      bogomips: 33550 
      Speed: 1222 MHz min/max: 1400/2100 MHz boost: disabled 
      Core speeds (MHz): 1: 1222 2: 1222 3: 1231 4: 1275 5: 1266 6: 1223 
      7: 1259 8: 1248 
      Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel 
      bus ID: 04:00.0 chip ID: 1002:15d8 
      Device-2: Lite-On HP Wide Vision HD Camera type: USB driver: uvcvideo 
      bus ID: 3-1:2 chip ID: 04ca:709d 
      Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 driver: amdgpu 
      FAILED: ati unloaded: modesetting alternate: fbdev,vesa 
      resolution: 1920x1080~60Hz s-dpi: 96 
      OpenGL: renderer: AMD RAVEN (DRM 3.38.0 5.8.11-1-MANJARO LLVM 10.0.1) 
      v: 4.6 Mesa 20.1.8 direct render: Yes 
      Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio 
      vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
      bus ID: 04:00.1 chip ID: 1002:15de 
      Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
      vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel 
      bus ID: 04:00.5 chip ID: 1022:15e2 
      Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard 
      driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
      Sound Server: ALSA v: k5.8.11-1-MANJARO 
      Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
      vendor: Hewlett-Packard driver: rtw_8822be v: N/A port: f000 
      bus ID: 02:00.0 chip ID: 10ec:b822 
      IF: wlo1 state: up mac: <filter> 
      Local Storage: total: 942.70 GiB used: 6.97 GiB (0.7%) 
      ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8H 
      size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: HPS0 
      scheme: GPT 
      ID-2: /dev/sda type: USB vendor: HGST (Hitachi) model: HTS725050A7E630 
      size: 465.76 GiB rotation: 7200 rpm serial: <filter> scheme: GPT 
      ID-1: / size: 457.16 GiB used: 6.97 GiB (1.5%) fs: ext4 dev: /dev/sda2 
      Alert: No Swap data was found. 
      System Temperatures: cpu: 34.8 C mobo: 32.0 C gpu: amdgpu temp: 34 C 
      Fan Speeds (RPM): N/A 
      Processes: 235 Uptime: 9m Memory: 5.74 GiB used: 1.28 GiB (22.4%) 
      Init: systemd v: 246 Compilers: gcc: N/A Packages: pacman: 1161 
      Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

aplay --list-pcms output:

    Discard all samples (playback) or generate zero samples (capture)
    Rate Converter Plugin Using Samplerate Library
    Rate Converter Plugin Using Speex Resampler
    JACK Audio Connection Kit
    Open Sound System
    PipeWire Sound Server
    PulseAudio Sound Server
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
    Plugin for channel upmix (4,6,8)
    Plugin for channel downmix (stereo) with a simple spacialization
    Default ALSA Output (currently PulseAudio Sound Server)
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
    HD-Audio Generic
    USB Stream Output
    HD-Audio Generic, ALC285 Analog
    Default Audio Device
    HD-Audio Generic, ALC285 Analog
    Front output / input
    HD-Audio Generic, ALC285 Analog
    2.1 Surround output to Front and Subwoofer speakers
    HD-Audio Generic, ALC285 Analog
    4.0 Surround output to Front and Rear speakers
    HD-Audio Generic, ALC285 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    HD-Audio Generic, ALC285 Analog
    5.0 Surround output to Front, Center and Rear speakers
    HD-Audio Generic, ALC285 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    HD-Audio Generic, ALC285 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    HD-Audio Generic
    USB Stream Output
    USB Stream Output

speaker-test 1.2.3 output:

 Playback device is default
 Stream parameters are 48000Hz, S16_LE, 1 channels
 Using 16 octaves of pink noise
 Rate set to 48000Hz (requested 48000Hz)
 Buffer size range from 192 to 2097152
 Period size range from 64 to 699051
 Using max buffer size 2097152
 Periods = 4
 was set period_size = 524288
 was set buffer_size = 2097152
  0 - Front Left
 Time per period = 10,952330
  0 - Front Left
 Time per period = 10,950214
  0 - Front Left
 Time per period = 10,949573
  0 - Front Left
      [marko@marko-hpenvyx360convertible13ar0xxx ~]$ inxi --audio
   Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio 
   driver: snd_hda_intel 
   Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
   driver: snd_rn_pci_acp3x 
   Device-3: AMD Family 17h HD Audio driver: snd_hda_intel 
   Sound Server: ALSA v: k5.8.11-1-MANJARO 
>    marko@marko-hpenvyx360convertible13ar0xxx ~]$ 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
 lock-memory = no
 exit-idle-time = 20
 scache-idle-time = 20
 dl-search-path = /usr/lib/pulse-13.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
 enable-lfe-remixing = 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

amixer --card=0 output:

Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

    [marko@marko-hpenvyx360convertible13ar0xxx ~]$ amixer --card=1
    Simple mixer control 'Master',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 87
      Mono: Playback 0 [0%] [-65.25dB] [on]
    Simple mixer control 'Speaker CLFE',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 87
      Front Left: Playback 52 [60%] [-26.25dB] [on]
      Front Right: Playback 52 [60%] [-26.25dB] [on]
    Simple mixer control 'Speaker Surround',0
      Capabilities: pswitch
      Playback channels: Front Left - Front Right
      Front Left: Playback [on]
      Front Right: Playback [on]
    Simple mixer control 'PCM',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 255
      Front Left: Playback 124 [49%] [-26.20dB]
      Front Right: Playback 124 [49%] [-26.20dB]
    Simple mixer control 'Line Out',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 87
      Front Left: Playback 87 [100%] [0.00dB] [on]
      Front Right: Playback 87 [100%] [0.00dB] [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: 0 [0%] [0.00dB]
      Front Right: 0 [0%] [0.00dB]
    Simple mixer control 'Capture',0
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 63
      Front Left: Capture 39 [62%] [12.00dB] [on]
      Front Right: Capture 39 [62%] [12.00dB] [on]
    Simple mixer control 'Auto-Mute Mode',0
      Capabilities: enum
      Items: 'Disabled' 'Enabled'
      Item0: 'Enabled'
    Simple mixer control 'Internal Mic Boost',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 3
      Front Left: 0 [0%] [0.00dB]
      Front Right: 0 [0%] [0.00dB]

Is it possible to fix that ? I really want to use Manjaro as my main OS, but this is the only thing holding me back. :sob:

@nikgnomic Went through troubleshooting and collecting information through chat, but this is way above my head Master. Will you help your padawan?

Could you have a look? (I’ve already tried hdajackretask but I cant make heads from tails…)


1 Like

Have you tried using pulseaudio instead of alsa? How does pavucontrol look?

yes, nothing was changed. Same output as alsa. I can choose from different profiles, like > analog surround 2.0 output to 5.1 output. That is only after I changed things in HDAjackretask. Before anything I had only analog stereo output

Support For AMD Renoir with a new driver was only available from June 2020 with v5.8 kernel
Linux 5.8 Sound Changes Bring New AMD Renoir ACP Driver - phoronix.com

This has the new driver snd_rn_pci_acp3x which appears to be the AMD equivalent of sof-firmware drivers for Intel laptops, supporting buit-in digital microphone array DMIC
Intel laptops needed the latest development version (13.99) of Pulseaudio to get recent patches for audio support
and Intel SoundOpenFirmware was released before AMD Audio Co-Processor

This from Arch forum confirms that latest version of Pulseaudio is needed for AMD
[SOLVED] Microphone not working on Thinkpad T14s / Multimedia and Games / Arch Linux Forums

so I recommend installing pulseaudio-git from AUR

Another Manjaro user posted recently that they had to remove packages
libao, fluidsynth, lib32-fluidsynth and manjaro-pulse to get pulseaudio-git installed
and then reinstall the packages again
HP Envy - Sound does not work in Manjaro 20.1 PLASMA
(I have also just noticed that manjaro-pulse is only a metapackage so installing it again is not really necessary)

I don’t want to draw to many parallels with Intel hardware, but pulseaudio 13.99 got a 4 speaker (and 4 microphone) Intel laptop working
Lenovo ThinkPad X1 Carbon (Gen 7) - ArchWiki
It might do the same for this hardware :crossed_fingers: but it should at least get you closer to a full working solution


Hi, thanks for your help.

I did this : uninstall alsa-tools
Removed : libao , fluidsynth , lib32-fluidsynth and manjaro-pulse

Installed pulseaudio-git and after reinstalled packages from above libao , fluidsynth , lib32-fluidsynth and manjaro-pulse

Than I did this :

  1. Install sof-firmware (tested with 1.4.2-1)

  2. Configure PulseAudio’s to load Alsa modules with the correct device and channel settings, by adding these two lines to /etc/pulse/default.pa :

load-module module-alsa-sink device=hw:0,0 channels=4 load-module module-alsa-source device=hw:0,6 channels=4

After reboot I dont have a sound. When I try to open volume control got message :

Establishing connection to PulseAudio.Please wait

What I did wrong ? xD

the extra changes in Archwiki link numbered 1-4 was an earlier solution without pulseaudio v13.99

installing sof-firmware is only needed for Intel laptops, but it should not harm system by having this installed

the two lines added to /etc/pulse/default.pa should not be needed

the commands to load sink and source modules are incorrect and are causing Pulseaudio to crash
sink device=hw 0,0 equates to card 0, subdevice 0 which on your system is the HDMI output
source ‘device=hw 0,6’ does not exist - HDMI card 0 does not have any audio capture subdevices

suggest you edit /etc/pulse/default.pa and remove the two additional lines

then reboot system

and post response to these commands

sudo alsa-info.sh --upload
pacmd dump



[marko@marko-hpenvyx360convertible13ar0xxx ~]$ pacmd dump
No PulseAudio daemon running, or not running as session daemon.

1 Like


Hi, what is the next step ?

Wait for him to catch up. He’s the resident sound expert and all and every complex sound issue (like B&O speaker) falls into his lap… :man_shrugging:

Have you tried starting pulseaudio manually on the terminal already and did that give you any visible errors / warnings???


I am no expert on this hardware, and I can’t find out much about it online yet

Archiwiki has some reports about AMD Raven laptops but just mention that audio works with the latest packages

Pulseaudio is not running (alsa-info data confirms this) and must be restored before continuing work on original problem with speakers

suggest uninstall sof-firmware and reinstall pulseaudio-git to clear changes made

and install latest v5.9 kernel
go to Manjaro Settings Manager manjaro-settings-manager -m msm_kernel and click Install

and also remove the home folder configuration for Pulseaudio

rm -r ~/.config/pulse/


and hope for better ALSA data and working Pulseaudio

Observations from alsa-info data

Onboard analog still only has one speaker output connection

!!ALSA/HDA dmesg

[   10.884149] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[   10.884152] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.884154] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)

Pin configurations in !!HDA-Intel Codec information show this for the ‘working’ speakers

Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out

  Pin Default 0x90170180: [Fixed] Speaker at Int N/A

  Connection: 3
     0x02 0x03* 0x06

and is showing a connection to

Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume"

so the most likely un-used connections for retasking
(all shown as Pin Default 0x411111f0: [N/A] Speaker at Ext Rear)

Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
   Connection: 2
     0x02* 0x03
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Connection: 2
     0x02* 0x03

less likely to be these, unless a connection can be made to 0x03 by retasking

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Connection: 1
Node 0x1e [Pin Complex] wcaps 0x400501: Stereo
  Connection: 1

These have no Connections and appear to be inputs

Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In

Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
1 Like

I did what you suggested to me .

Alsa-info output is here : http://alsa-project.org/db/?f=289265e75894b9b4f79533401f8edd32022f5d22

pacmd dump output is here :

marko@marko-hpenvyx360convertible13ar0xxx ~]$ pacmd dump

Configuration dump generated at Thu Oct 8 21:44:21 2020

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id=“0” name=“pci-0000_04_00.1” card_name
=“alsa_card.pci-0000_04_00.1” namereg_fail=false tsched=yes fixed_latency_ra
nge=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card
load-module module-alsa-card device_id=“1” name=“pci-0000_04_00.6” card_name
=“alsa_card.pci-0000_04_00.6” namereg_fail=false tsched=yes fixed_latency_ra
nge=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card
load-module module-jackdbus-detect channels=2
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_04_00.6.analog-stereo 0xdce2
set-sink-mute alsa_output.pci-0000_04_00.6.analog-stereo no
suspend-sink alsa_output.pci-0000_04_00.6.analog-stereo yes

set-source-volume alsa_output.pci-0000_04_00.6.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_04_00.6.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_04_00.6.analog-stereo.monitor yes
set-source-volume alsa_input.pci-0000_04_00.6.analog-stereo 0x2893
set-source-mute alsa_input.pci-0000_04_00.6.analog-stereo no
suspend-source alsa_input.pci-0000_04_00.6.analog-stereo yes

set-card-profile alsa_card.pci-0000_04_00.1 off
set-card-profile alsa_card.pci-0000_04_00.6 output:analog-stereo+input:analo

set-default-sink alsa_output.pci-0000_04_00.6.analog-stereo
set-default-source alsa_input.pci-0000_04_00.6.analog-stereo


I have sound now, but everything is as before… only 2 speakers available

Can you post a screenshot of all pins in hdajackretask, please?


Here it is

  1. Please read this:

Especially this:

Please make a screenshot of the relevant portion of the screen only!
(I.E.: don’t post a screenshot of the entire desktop to say that you have a minuscule button in the lower right edge of the screen that is turning red: take a screenshot of the relevant part only! )

:stuck_out_tongue_winking_eye: :crazy_face:

  1. You have a lot of unconnected pins. What is in the drop-down menu of location and device? (No screenshot! Type it before you post another 3 giant screenshots!)


1 Like

Ok, sorry… Got it now.

And sorry again, I went with screenshots, because list is long , haha, and I need to learn how to properly include all informations.



So what happens if you:

  • connect one of the unconnected pins to one of these,
  • install boot override,
  • reboot,
  • play

repeat for one unconnected pin until one of the speakers starts playing, then go onto the next unconnected pin.

Have you tried that yet? (I.E. Brute force attack)


That is a lot “reboots” :slight_smile:

Yeah, I know and why I posted this before the weekend!


haha, good move xD

but but, is there some quicker solution ? :stuck_out_tongue:

maybe something from this thread HP Envy x360 13-ar0022nn AMD Ryzen 5 3500U sound problem - #12 by nikgnomic

Because I have Manjaro installed on external SSd disk, and every boot is so slow. Reboot actually does nothing, i neeed to shut down laptop every time to be able to boot on external disk