You are not logged in.
Pages: 1
I installed Arch Linux a few days ago on my Dell XPS 9700, and for some reason audio doesn't work out of the box on this model yet (hopefully). So I followed this guide to get it working, which... I did! I had to use an EOL kernel (5.7.19) because for whatever reason I couldn't get soundwire to install on either the regular kernel or LTS kernel that I installed during the Arch install. Spent a good hour and a half compiling it, but still didn't want to work. I tried the following commands...
sudo systemctl --user enable pulseaudio.service
sudo systemctl --user enable pulseaudio.socket
The output was the same in both cases:
Failed to connect to bus: No such file or directory
Not knowing what to do, I installed pavucontrol. Figured a GUI would make fixing the issue either. But it didn't want to connect (was stuck on "Establishing connection to Pulseaudio". So I went to Google, and found this thread with a solution that worked - and works:
pulseaudio --check
pulseaudio -D
Those two simple commands work. The issue now is I need to enter them every time I boot the laptop. And I have no pulseaudio.socket or pulseaudio.service files, even though I have pulseaudio-git installed.
So I'm not really sure what to do next. Is there a way I can have these commands entered on boot? Is there a more permanent fix I can try? I messed around with grub.cfg to make the default Arch boot into the 5.7 kernel, with the help of the Wiki, but now I'm kind of stuck and don't want to mess with it too much without knowing what I'm doing.
Any assistance would be greatly appreciated!
Last edited by OmJo (2020-09-03 16:09:28)
Offline
Failed to connect to bus means your session in general is broken (i.e. that pulseaudio doesn't start is just a symptom of a more problematic general issue). How do you log in/start your xorg? If startx pay attention to the note boxes in https://wiki.archlinux.org/index.php/Xinit#xinitrc
As for not having the service files they should be there generally, but to verify post in [ code ] [ /code ] tags without the spaces
pacman -Ql pulseaudio-git | grep serviceLast edited by V1del (2020-09-03 15:10:16)
Offline
Failed to connect to bus means your session in general is broken (i.e. that pulseaudio doesn't start is just a symptom of a more problematic general issue). How do you log in/start your xorg? If startx pay attention to the note boxes in https://wiki.archlinux.org/index.php/Xinit#xinitrc
As for not having the service files they should be there generally, but to verify post in [ code ] [ /code ] tags without the spaces
pacman -Ql pulseaudio-git | grep service
I use LightDM to start xorg, if that makes sense. Might as well mention I'm using i3 as well. Should I be using startx instead?
And you're right, they are there...
$ pacman -Ql pulseaudio-git | grep service
pulseaudio-git /usr/lib/systemd/user/pulseaudio.service
$ pacman -Ql pulseaudio-git | grep socket
pulseaudio-git /usr/lib/systemd/user/pulseaudio.socketOffline
no lightdm should work and I'm seeing the issue i missed at first, you should not use sudo to manipulate --user services, they are within the scope of your own user: https://wiki.archlinux.org/index.php/Systemd/User
Offline
no lightdm should work and I'm seeing the issue i missed at first, you should not use sudo to manipulate --user services, they are within the scope of your own user: https://wiki.archlinux.org/index.php/Systemd/User
Wow, was that really all that it was?
Seems like it. Sorry for wasting your time! But thanks for the help nonetheless!
Offline
Eh it happens, please mark as [SOLVED] by editing the title in your first post.
Offline
Pages: 1