No sound chromebook x360 c14

Hello there!

I’ve decided to remove chromeOS (hp x360 c14) and replace it with manjaro. What a great difference! I love it!

I have however not been able to get my soundcard to work.
Lets start with the beginning, this is my system output:

inxi --admin --verbosity=7                                                                                                                                                             245 ✘  base  
System:
  Host: manjaro Kernel: 5.15.65-1-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=132c0983-7600-47e3-b5a6-a1cb78ee220a rw quiet splash apparmor=1
    security=apparmor resume=UUID=b125d531-c3f9-4f5e-bf7c-0644d0456280
    udev.log_priority=3
  Desktop: GNOME v: 42.4 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Google product: Dragonair v: rev4
    serial: <superuser required> Chassis: type: 9 serial: <superuser required>
  Mobo: HP model: Dragonair v: rev4 serial: <superuser required>
    UEFI: coreboot v: MrChromebox-4.17.2 date: 07/18/2022
Battery:
  ID-1: BAT0 charge: 51.9 Wh (100.0%) condition: 51.9/61.2 Wh (84.9%)
    volts: 12.8 min: 11.6 model: 333-1C- BC03060 type: Li-ion serial: 122C
    status: charging cycles: 216
  Device-1: hid-0018:27C6:0E02.0004-battery model: GDIX0000:00 27C6:0E02
    serial: N/A charge: N/A status: N/A
Memory:
  RAM: total: 7.64 GiB used: 2.21 GiB (28.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: Intel Core i5-10210U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 10 level: v3 built: 2018
    process: Intel 14nm family: 6 model-id: 0x8E (142) stepping: 0xC (12)
    microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 4124 high: 4200 min/max: 400/4200 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4182 2: 4200 3: 4101
    4: 4101 5: 4101 6: 4017 7: 4191 8: 4100 bogomips: 33615
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe
    pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand
    rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2
    ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
    vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology
    xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: DP-2,eDP-1
    empty: DP-1 bus-ID: 00:02.0 chip-ID: 8086:9b41 class-ID: 0300
  Device-2: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera
    type: USB driver: uvcvideo bus-ID: 1-7:3 chip-ID: 05c8:03e1 class-ID: 0e02
    serial: SunplusIT Inc
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: DP-2 model: Philips PHL 276B1 serial: UK02146030617
    built: 2021 res: 2560x1440 dpi: 109 gamma: 1.2
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: eDP-1 model: AU Optronics 0x818b built: 2019 res: 1920x1080
    dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 22.1.7
    direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS driver: sof-audio-pci-intel-cnl
    alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:02c8 class-ID: 0401
  Sound Server-1: ALSA v: k5.15.65-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: no
  Sound Server-4: PipeWire v: 0.3.57 running: yes
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: d8:f8:83:25:6e:21
  IP v4: 172.30.142.105/22 type: dynamic noprefixroute scope: global
    broadcast: 172.30.143.255
  IP v6: 2001:610:4c0:2140:f269:894d:83f9:7ca5/64
    type: dynamic noprefixroute scope: global
  IP v6: fe80::a559:dcd7:381e:1e5d/64 type: noprefixroute scope: link
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152 bus-ID: 2-2.5:3 chip-ID: 0bda:8153 class-ID: 0000
    serial: 001000001
  IF: enp0s20f0u2u5 state: down mac: 00:d2:b1:a7:ea:26
  WAN IP: 195.169.251.159
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-10:5 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 116.48 GiB used: 34.18 GiB (29.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/mmcblk1 maj-min: 179:0 vendor: SanDisk model: DA4128
    size: 116.48 GiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: 0x8b748316 rev: 0x8 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 107.38 GiB size: 105.14 GiB (97.91%) used: 34.18 GiB
    (32.5%) fs: ext4 dev: /dev/mmcblk1p2 maj-min: 179:2 label: N/A
    uuid: 132c0983-7600-47e3-b5a6-a1cb78ee220a
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 312 KiB
    (0.1%) fs: vfat dev: /dev/mmcblk1p1 maj-min: 179:1 label: NO_LABEL
    uuid: C899-878E
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/mmcblk1p3 maj-min: 179:3 label: swap
    uuid: b125d531-c3f9-4f5e-bf7c-0644d0456280
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-2:2 info: Genesys Logic Hub ports: 6 rev: 2.1 speed: 480 Mb/s
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-2.3:4 info: HP Business Slim Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s
    power: 100mA chip-ID: 03f0:2b4a class-ID: 0300
  Device-2: 1-2.4:6 info: HP Optical Mouse [672662-001] type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s
    power: 100mA chip-ID: 03f0:094a class-ID: 0301
  Device-3: 1-7:3 info: Cheng Uei Precision Industry (Foxlink) HP Wide
    Vision HD Camera type: Video driver: uvcvideo interfaces: 2 rev: 2.0
    speed: 480 Mb/s power: 500mA chip-ID: 05c8:03e1 class-ID: 0e02
    serial: SunplusIT Inc
  Device-4: 1-10:5 info: Intel AX201 Bluetooth type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0026 class-ID: e001
  Hub-3: 2-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 2-2:2 info: Genesys Logic USB3.2 Hub ports: 5 rev: 3.2
    speed: 5 Gb/s chip-ID: 05e3:0625 class-ID: 0900
  Device-1: 2-2.5:3 info: Realtek RTL8153 Gigabit Ethernet Adapter
    type: Network driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s
    power: 288mA chip-ID: 0bda:8153 class-ID: 0000 serial: 001000001
Sensors:
  System Temperatures: cpu: 53.0 C pch: 43.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 286 Uptime: 9m wakeups: 1823 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: pm: pacman pkgs: 1474 libs: 335 tools: gnome-software,pamac,yay
  pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 running-in: gnome-terminal
  inxi: 3.3.21

I’ve seen numerous topics discussing this but solutions vary.
Firstly I’ve found that pipewire and pulseaudio where running at the same time. I’ve managed to disable that, but unfortunately still no dice.

I’ve tried to do this but also no effect.

I’ve found some interesting info that might help:

systemctl --user status pipewire                                                                                                                                                           ✔  base  
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Thu 2022-09-22 14:58:25 CEST; 46min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1432 (pipewire)
      Tasks: 2 (limit: 9354)
     Memory: 4.1M
        CPU: 27ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1432 /usr/bin/pipewire

Sep 22 14:58:25 manjaro systemd[1196]: Started PipeWire Multimedia Service.
Sep 22 14:58:25 manjaro pipewire[1432]: mod.rt: Can't find xdg-portal: (null)
Sep 22 14:58:25 manjaro pipewire[1432]: mod.rt: found session bus but no portal
Sep 22 14:58:25 manjaro pipewire[1432]: mod.rt: RTKit error: org.freedesktop.DBus.Error.AccessDenied
Sep 22 14:58:25 manjaro pipewire[1432]: mod.rt: could not make thread 1440 realtime using RTKit: Permission denied

and

stat /usr/bin/pipewire-media-session                                                                                                                                                       ✔  base  
  File: /usr/bin/pipewire-media-session
  Size: 412208    	Blocks: 808        IO Block: 4096   regular file
Device: 179,2	Inode: 3684074     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-09-22 14:47:21.000000000 +0200
Modify: 2022-05-11 15:37:22.000000000 +0200
Change: 2022-09-22 14:47:21.343611699 +0200
 Birth: 2022-09-22 14:47:21.343611699 +0200

but this one is the weirdest:

pipewire                                                ✔  base  
[E][00029.020341] mod.protocol-native | [module-protocol-:  728 lock_socket()] server 0x55d50a0b3d00: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00029.020433] pw.conf      | [          conf.c:  594 load_module()] 0x55d50a0761f0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00029.020503] default      | [      pipewire.c:  125 main()] failed to create context: Resource temporarily unavailable

Can anyone help me please ? What should i do next ?

the mod.rt errors were introduced with the latest stable pipewire update…
you have installed pipewire media session, try with wireplumber:
pamac install wireplumber
it will replace media session
then install sof-firmware:
pamac install sof-firmware
reboot and see if it helped

Omg that worked thank you!

Now i only have a lot of stuttering… But this is a huge step forward at least!

Thank you!

the stuttering could be also because of the latest stable update…
post output from:
pacman -Qs pulse
you have probably still leftovers from pulse there

Thank you!

local/gtk-vnc 1.3.1-1
    VNC viewer widget for GTK
local/libcanberra 1:0.30+r2+gc0620e4-1
    A small and lightweight implementation of the XDG Sound Theme Specification
local/libpulse 16.1-1
    A featureful, general-purpose sound server (client library)
local/pavucontrol 1:5.0+r35+g964f298-1
    PulseAudio Volume Control
local/pipewire-alsa 1:0.3.57-1.0
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-pulse 1:0.3.57-1.0
    Low-latency audio/video router and processor - PulseAudio replacement
local/python-pulsectl 22.3.2-2
    Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)
local/qemu-audio-pa 7.0.0-12
    QEMU PulseAudio audio driver

ok remove these:
pamac remove pavucontrol python-pulsectl qemu-audio-pa
now lets try disable power saving on your audio card, that could also be the cause for the stutering …
create this file:
sudo nano /etc/modprobe.d/audio.conf
inside it put this line:
options snd_hda_intel power_save=0 power_save_controller=N
save the file with ctrl+x, then run this:
sudo mkinitcpio -P
reboot and see if it helped

Thank you for the reply!

I’m getting the message that qemu-desktop and caffeine-ng dependancies are broken when I uninstall these, is that not a problem ? I can ofcourse reinstall them later but qemu-desktop looks a critical program.

ok, so uninstall only these:
pamac remove pavucontrol python-pulsectl
if these also give you dependencies, keep them installed, maybe gnome needs them…
then do the rest

haha dammit!

Now i have no sound again :smiley:

so were there dependencies when uninstalling those pulse packages?

only caffeine-ng, but i dont care about that program so i uninstalled it.

Maybe this sheds some light, there where some weird warnings:

sudo mkinitcpio -P                                      ✔  base  
[sudo] password for windhoos: 
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.65-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.65-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful

everyhing looks ok in the output …
so its related to the conf, and i just noticed that you are not using snd hda intel driver, so provide output from:
inxi -A

Audio:
Device-1: Intel Comet Lake PCH-LP cAVS driver: sof-audio-pci-intel-cnl
Sound Server-1: ALSA v: k5.15.65-1-MANJARO running: yes
Sound Server-2: PipeWire v: 0.3.57 running: yes

so the power save was useless, you can remove it:
sudo rm /etc/modprobe.d/audio.conf
reboot and check if the sound is back…
then we downgrade pipewire to get rid of the stutter

hi there,

did that, reboot, no sound :open_mouth:

Here is some output that might help:

pipewire                                                ✔  base  
[E][00105.007129] mod.protocol-native | [module-protocol-:  728 lock_socket()] server 0x55a054d6dd00: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00105.007225] pw.conf      | [          conf.c:  594 load_module()] 0x55a054d301f0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00105.007318] default      | [      pipewire.c:  125 main()] failed to create context: Resource temporarily unavailable

pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Thu 2022-09-22 17:26:57 CEST; 1min 52s ago
TriggeredBy: ● pipewire.socket
   Main PID: 1178 (pipewire)
      Tasks: 2 (limit: 9354)
     Memory: 5.7M
        CPU: 362ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1178 /usr/bin/pipewire

Sep 22 17:26:57 manjaro systemd[1167]: Started PipeWire Multimedia Service.
Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: Can't find xdg-portal: (null)
Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: found session bus but no portal
Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: RTKit error: org.freedesktop.DBus.Error.AccessDenied
Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: could not make thread 1193 realtime using RTKit: Permission denied

Also, your help is greatly appreciated, can I at least buy you a coffee or a beer as a thank you ?

ok, so try running this also:
sudo mkinitcpio -P
and these:

Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: Can't find xdg-portal: (null)
Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: found session bus but no portal
Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: RTKit error: org.freedesktop.DBus.Error.AccessDenied
Sep 22 17:26:57 manjaro pipewire[1178]: mod.rt: could not make thread 1193 realtime using RTKit: Permission denied

were introduced with the latest update, thats why we will do a downgrade
reboot after you run that command
haha, thanks for the offer, appreciate it, but its ok :slight_smile:

Ah i found something important.

Audio now works over bluetooth but not from my regular speakers

thats good, lets see if they work after reboot

nope :frowning: