View previous topic :: View next topic |
Author |
Message |
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Tue Mar 07, 2017 11:32 pm Post subject: I've messed up pulse audio -- Mostly RESOLVED |
|
|
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 |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Mar 08, 2017 3:34 pm Post subject: |
|
|
Mostly fixed by a reinstall of pulseaudio. |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1558 Location: Adelaide/Australia
|
Posted: Sat Apr 01, 2017 3:32 pm Post subject: |
|
|
Are all users a member of group 'audio'? _________________ ...Lyall |
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Sat Apr 01, 2017 3:42 pm Post subject: |
|
|
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 |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Tue Apr 04, 2017 9:24 pm Post subject: |
|
|
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 |
|
|
|