Artix Linux Forum

Init systems => runit => Topic started by: mahmoud on 11 December 2020, 21:46:10

Title: Pulseaudio
Post by: mahmoud on 11 December 2020, 21:46:10
I had pulseaudio annd it was normal than suddenly i boot laptop no sound and reboot fixes that it was like that for a day or two till it becomes completely doesn't work no sound at all. But it's running but just no sound.
I want to change to another one that support runit or I want a fix I can't locate the problem. Idk what to do in fact ?
Title: Re: i hate pulseaudio
Post by: ndowens on 11 December 2020, 22:13:52
You could give pipewire a look.
Title: Re: Pulseaudio
Post by: SGOrava on 11 December 2020, 23:25:35
you might give Archwiki a change: https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting

My guess could be some autospawning of PA or something broken in your machine.
Check if you have
- proper output selected
- alsamixer
- check if your channel are muted (some shit can happen if automute is enabled when you plugin headphones etc.)
- check your HW if it truly can play something (trust me in this, this is the most common error I encountered)

If that does not help try to provide some logs from puleaudio, dmesg, your card model (lscpi, lsusb etc.).

And many other thing could also got wrong.
Title: Re: Pulseaudio
Post by: mahmoud on 11 December 2020, 23:43:44
I thought of that but no pipewire-runit available to make it start. I'm not that expert to make it by myself. I'm new to runit
Title: Re: Pulseaudio
Post by: mahmoud on 11 December 2020, 23:48:17
you might give Archwiki a change: https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting

My guess could be some autospawning of PA or something broken in your machine.
Check if you have
- proper output selected
- alsamixer
- check if your channel are muted (some shit can happen if automute is enabled when you plugin headphones etc.)
- check your HW if it truly can play something (trust me in this, this is the most common error I encountered)

If that does not help try to provide some logs from puleaudio, dmesg, your card model (lscpi, lsusb etc.).

And many other thing could also got wrong.
I have checked arch wiki already. I couldn't find anything helpful for my case
Title: Re: Pulseaudio
Post by: ndowens on 12 December 2020, 00:16:42
I thought of that but no pipewire-runit available to make it start. I'm not that expert to make it by myself. I'm new to runit
Pipewire needs no init. It is started by user,; what I do is have plasma to start it for me
Title: Re: Pulseaudio
Post by: mahmoud on 12 December 2020, 11:53:42
Pipewire needs no init. It is started by user,; what I do is have plasma to start it for me
i use bsowm and xinitrc. but what i heard that it does need init script to work.
Title: Re: Pulseaudio
Post by: mahmoud on 12 December 2020, 14:27:39
Thanks fo you all. i havr fixed the problem. alsa wasnt detect my card so thats why there as no sound afetr some googleing and reading arch wiki i was able to fix. now all good
Title: Re: Pulseaudio
Post by: ndowens on 12 December 2020, 22:54:18
i use bsowm and xinitrc. but what i heard that it does need init script to work.
Nope. I use pipewire w/o an init, before when I was using PA i didnt use it's init either :)