Audio issue, can only hear test sound as root and from laptop speakers

By (NiklArchs)


I’m having a tiny issue with my sound, more precisely that I don’t hear any sound except for beeps, unless I play it as root. I’m using a HP laptop and

[niklas@localhost ~]$ uname -a
Linux localhost 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux

The sound used to work before christmas, but since I’ve come back to work it has stopped working. I know that
I had to do something to get it to work back then too, but I can’t remember what it was. My audio devices are as follows:

[niklas@localhost ~]$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]

and I’ve made sure that mute is not the problem. I use alsa and don’t have pulseaudio installed. One thing I’ve found that doesn’t really seem right is

[niklas@localhost ~]$ speaker-test 

speaker-test 1.1.3

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to create IPC semaphore
Playback open error: -13,Permission denied

but if I run it as root I hear noise from the laptop speakers, even though I have a 3,5mm headset plugged in.
I’ve also ran the “ALSA Information Script” for more extensive information.

I’ve been googling for some hours but haven’t found any solution that works for me, so I’m humbly asking you for any advice on what to try next. If I forgot anything important
I apologize, and will gladly supply that information if asked to!

Thanks in advance!

EDIT: So, for some reason I got the sound to my headset this time at least. I can only play sound as root still though and speaker-test doesn’t really do it for me musically. Had to mute Mic and turn Line Boost down to 0 to stop a scraping noise that started when the sound started to come out of the headset.


Leave a Reply