Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I've messed up pulse audio -- Mostly RESOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Mar 07, 2017 11:32 pm    Post subject: I've messed up pulse audio -- Mostly RESOLVED Reply with quote

I'm logged in as user1 using xfce4. I have a terminal open for user2. Sound WAS working for user1, but not for user2. Somewhere along the line in trying to get sound to work for user2 I've messed things up so sound works for neither. I think I used to use analog stereo in pauvcontrol. That is no longer listed as possible. Trying to run alsamixer gives
Quote:
ALSA lib /var/tmp/portage/media-plugins/alsa-plugins-1.1.1/work/alsa-plugins-1.1.1/pulse/pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
lspci |grep -i audio gives
Quote:
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
Any thoughts on what might be done to get this working would be much appreciated.
Fred


Last edited by Fred Krogh on Wed Mar 08, 2017 3:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Wed Mar 08, 2017 3:34 pm    Post subject: Reply with quote

Mostly fixed by a reinstall of pulseaudio.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1558
Location: Adelaide/Australia

PostPosted: Sat Apr 01, 2017 3:32 pm    Post subject: Reply with quote

Are all users a member of group 'audio'?
_________________
...Lyall
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Sat Apr 01, 2017 3:42 pm    Post subject: Reply with quote

Yes, that was checked early on. There are two problems still, but they are minor. When rebooting pusleaudio does not start, and so I need to start it in a terminal window. And I'd like sound to work in mail-notification. Every once in awhile it does, but I fail to see a pattern. In addition to users, sometime ago I added pulse and mail to the audio group, in an effort to cover all bases. Thanks for the thought.
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Tue Apr 04, 2017 9:24 pm    Post subject: Reply with quote

Theoretically there is no need to start pulseaudio on startup, it should be spawned automatically when some client needs it, and then stick around until killed or some timeout configuration.
Albeit pulseaudio (at least with some USE flags) does ship /etc/xdg/autostart/pulseaudio.desktop too, that is set to autostart in GNOME and KDE via exec'ing start-pulseaudio-x11, but it works fine without that for me (as I am on Wayland and that Exec doesn't work all too well there, so it autostarts itself when needed).
There could be a problem when some pure alsa-lib using thing is occupying the sound card at the time pulseaudio would want to start from a native pulseaudio using call, but that would be solved by alsa-plugins[pulseaudio] which makes it route those to pulseaudio instead, and thus even then autostarting pulseaudio instead (this is IUSE defaulted to be enabled/installed out of the box unless you did something to avoid that).

There is a configuration option to not do that autostart behavior, maybe that's enabled on your system or for your user (e.g autospawn=no in ~/.config/pulse/client,conf ~/.pulse/client.conf or /etc/pulse/client.conf)?
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum