X1 Carbon-i3: Only 1 audio stream plays at one time

Hi,

on X1 carbon 7th Gen. i3wm

http://alsa-project.org/db/?f=3d385793d68b7e03985f605ef547c7890419b109

I am only able to play one video at a time with sound.

ie. if i play one youtube vid, if i open another tab and attempt to play anothre youtube vid i get an error:

"Audio render error. please restart your computer."

Same thing if i try to play another video in vim while another video is playing.

The only way i am able to get another vid to play is to stop the first vid or to

alsamixer -c 0

Im not even sure what this command does, but it

makes me able to play vids.

Other OS can do this without having this problem, not sure how to make this work on Manjaro.

Would love any input. Been trying to get this working for 2 weeka.

Here is result of inxi -Fxzc0

System:
Host: unchained-pc Kernel: 5.6.12-1-MANJARO x86_64 bits: 64
compiler: gcc v: 9.3.0 Desktop: i3 4.18.1
Distro: Manjaro Linux
Machine:
Type: Laptop System: LENOVO product: 20QD003MCX
v: ThinkPad X1 Carbon 7th serial:
Mobo: LENOVO model: 20QD003MCX v: SDK0J40697 WIN
serial: UEFI: LENOVO v: N2HET50W (1.33 )
date: 05/13/2020
Battery:
ID-1: BAT0 charge: 33.3 Wh condition: 51.0/51.0 Wh (100%)
model: LGC 5B10W13930 status: Discharging
CPU:
Topology: Quad Core model: Intel Core i7-8565U bits: 64
type: MT MCP arch: Kaby Lake rev: C L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
vmx
bogomips: 32012
Speed: 700 MHz min/max: 400/4600 MHz Core speeds (MHz):
1: 700 2: 700 3: 700 4: 700 5: 700 6: 700 7: 700 8: 700
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Lenovo
driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.8 driver: intel
unloaded: modesetting resolution: 2048x1152~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2)
v: 4.6 Mesa 20.0.6 direct render: Yes
Audio:
Device-1: Intel Cannon Point-LP High Definition Audio
vendor: Lenovo driver: sof-audio-pci bus ID: 00:1f.3
Sound Server: ALSA v: k5.6.12-1-MANJARO
Network:
Device-1: Intel Cannon Point-LP CNVi [Wireless-AC]
driver: iwlwifi v: kernel port: 2000 bus ID: 00:14.3
IF: wlp0s20f3 state: up mac:
Device-2: Intel Ethernet I219-V vendor: Lenovo
driver: e1000e v: 3.2.6-k port: efa0 bus ID: 00:1f.6
IF: enp0s31f6 state: down mac:
Drives:
Local Storage: total: 953.87 GiB used: 36.50 GiB (3.8%)
ID-1: /dev/nvme0n1 vendor: Western Digital
model: PC SN730 SDBQNTY-1T00-1001 size: 953.87 GiB
Partition:
ID-1: / size: 937.60 GiB used: 36.48 GiB (3.9%) fs: ext4
dev: /dev/nvme0n1p2
Sensors:
System Temperatures: cpu: 56.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0
Info:
Processes: 252 Uptime: 1h 14m Memory: 15.33 GiB
used: 2.75 GiB (18.0%) Init: systemd Compilers: gcc: 9.3.0
Shell: zsh v: 5.8 inxi: 3.0.37

alsa-info data is missing ALSA system configuration file /etc/asound.conf to use pulseaudio for default playback

install package pulseaudio-alsa for the default manjaro asound.conf file

sudo pacman -S pulseaudio-alsa

may also need some of the fixes mentioned on Arch wiki for this laptop
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_7)#Audio

what should i put in my asound.conf?

The file doesnt exist.

package pulseaudio-alsa only creates one system file - /etc/asound.conf

I would expect alsa-info data from a Manjaro user to show usual asound.conf provided by this package
you can see it for yourself in alsa-info data posted on here by most other users

!!ALSA configuration files
!!System wide config file (/etc/asound.conf)

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

if you search forum you will also find a number of posts suggesting i3 users install pulseaudo-alsa
it is a known problem when i3 users install pulseaudio
it worked for this user on similar hardware:
Speakers don't obey master volume. Can only control them via PCM channel (i3)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by