Have a fresh Arch Linux system setup.
After some Viber’s fixes (see the Viber: no connection – qt.network.ssl: Incompatible version of OpenSSL post) – sound system sometimes stops working.
It looks like next: run qmmp
, press Play and:
...
DecoderMAD: Fixed rate detected
DecoderMAD: Total time: 297900
ReplayGain: disabled
Dithering: disabled
ALSA lib pcm\_dmix.c:1108:(snd\_pcm\_dmix\_open) unable to open slave
OutputALSA: Error opening PCM device default
OutputWriter: unable to initialize output
StateHandler: Current state: FatalError; previous state: Stopped
DecoderMAD: deleting input\_buf
OutputALSA: setupMixer()
OutputALSA: setupMixer() success
StateHandler: Current state: Stopped; previous state: FatalError
...
The solution
Check audio-devices and drivers:
$ lspci -knn|grep -iA2 audio
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High Definition Audio Controller [1043:8576]
Kernel driver in use: snd\_hda\_intel
Kernel modules: snd\_hda\_intel
--
01:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
Subsystem: ASUSTeK Computer Inc. GP107GL High Definition Audio Controller [1043:8613]
Kernel driver in use: snd\_hda\_intel
Kernel modules: snd\_hda\_intel
Create the /etc/modprobe.d/default.conf
file:
options snd_hda_intel index=1
And reboot the system.
Then check audio with for example speaker-test
:
$ speaker-test -c2
speaker-test 1.1.8
Playback device is default
Stream parameters are 48000Hz, S16\_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period\_size = 262144
was set buffer\_size = 1048576
0 - Front Left
1 - Front Right
^CTime per period = 10.940188
Done.
Similar posts
- 02/28/2019 Linux: ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave (0)
- 03/29/2017 Arch: Skype – звук и микрофон (0)
- 03/17/2017 Arch: nm-applet serviceUnknown: The name org.freedesktop.secrets was not provided by any .service files (0)
- 05/06/2017 Arch Linux: запускаем Diablo 2 (3)
- 04/20/2017 Arch: VNC-клиент (0)
Top comments (4)
Thank you !!!
¡Thank you! Me sirvió en Void Linux
Thank, you saved my day =)) I have same problem but with wine
Bloody forehead be damned. Thank you!