LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Audio issues in arch-like system (https://www.linuxquestions.org/questions/linux-newbie-8/audio-issues-in-arch-like-system-4175649919/)

Noonehar 03-10-2019 06:52 PM

Audio issues in arch-like system
 
i have a recently installed parabola OS (basically arch with openrc) on my LENOVO 3134A11 and since the begging i have no audio in the system. The thing is that when i run `pavucontrol` the emergent window frozen in "Establishing connection to PulseAudio. Please wait." and trying any `pactl` variants says "Connection refused". Seeing this i went to `alsamixer` to see what's happening so i put everything to the maximum and notice that increasing-decreasing "Rear mic" with loopback enabled causes noise in the speaker so i think what that means is that the system and alsa recognizes the driver, but i still have no audio.

There is some general info that i hope help to solve the problem:

Kernel version: 4.20.11-gnu-1


lspci -v:
Code:

    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
                Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition Audio Controller
                Flags: bus master, fast devsel, latency 0, IRQ 31
                Memory at fe600000 (64-bit, non-prefetchable) [size=16K]
                Capabilities: <access denied>
                Kernel driver in use: snd_hda_intel
                Kernel modules: snd_hda_intel

aplay -l:
Code:

aplay: device_list:272: no soundcards found...
amixer
Code:

    amixer: Mixer attach default error: No such file or directory
sudo aplay /usr/share/sounds/alsa/Front_Center.wav
Code:

    ALSA lib pcm_direct.c:1966:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
    aplay: main:828: audio open error: Invalid argument

("root" user has the same issues)
find /lib/modules/`uname -r` | grep snd-hda-intel
Code:

  /lib/modules/4.20.11-gnu-1/kernel/sound/pci/hda/snd-hda-intel.ko.xz
alsa force-reload
Code:

  bash: alsa: command not found
cat /proc/asound/modules
Code:

    0 snd_hda_intel
cat /proc/asound/version
Code:

  Advanced Linux Sound Architecture Driver Version k4.20.11-gnu-1.
cat /proc/asound/cards
Code:

    0 [PCH            ]: HDA-Intel - HDA Intel PCH
                          HDA Intel PCH at 0xfe600000 irq 31

Hope that you guys can find this out!

**SOLUTION**

It turns out that for some god-knows-why reason pulseaudio didn't start on startup (thats why running pavucontrol frozens the window either in normal and root, pactl din't worked, etc). After initialize pulseaudio with `pulseaudio --start` it turns out another problem: audio only works in root, so after a little research i discover that i can add audio group manually with no issues with `sudo groupadd audio`(i thought that it has to come "by fabric") and `sudo gpasswd -a *user* audio`, then i just reset and woosh audio.

joe_2000 03-13-2019 11:01 AM

Great that you solved it and welcome to LQ!
Please mark your thread as "solved".


All times are GMT -5. The time now is 07:18 AM.