[Bug 623837] New: Lacking Alsa configuration for PulseAudio ($ALSA_CONFIG_PATH not set for user)
http://bugzilla.novell.com/show_bug.cgi?id=623837 http://bugzilla.novell.com/show_bug.cgi?id=623837#c0 Summary: Lacking Alsa configuration for PulseAudio ($ALSA_CONFIG_PATH not set for user) Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: zajec5@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686; U; pl) Presto/2.6.30 Version/10.60 I installed openSUSE 11.3 and decided to enable PulseAudio support in it. So I installed some packages: 1) pulseaudio 2) alsa-plugins-pulse 3) Dependencies like: libpulse0, libpulse-mainloop-glib0, libxine1-pulse, .. Then enabled PulseAudio using: "yast2 sound" → Other → Configure PulseAudio → Enable PulseAudio. Finally rebooted my machine, just for sure. The result is that PulseAudio works great now, I can do "mplayer -ao pulse file.flac", Amarok works fine as well. The problem is that alsa is not configured properly and it sill tries to play using direct access to sound card, not PulseAudio with it's plugin. There exists /etc/alsa-pulse.conf pointing to /etc/asound-pulse.conf (which also exists), however /etc/alsa-pulse.conf *is not used for non-root user*. ======================================== Following explains everything:
amixer -Dpulse ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL pulse amixer: Mixer attach pulse error: No such file or directory
echo $ALSA_CONFIG_PATH [no output]
su -c 'echo $ALSA_CONFIG_PATH' Password: /etc/alsa-pulse.conf
export ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
echo $ALSA_CONFIG_PATH /etc/alsa-pulse.conf
amixer -Dpulse Simple mixer control 'Master',0 Capabilities: pvolume pswitch pswitch-joined penum Playback channels: Front Left - Front Right Limits: Playback 0 - 65536 Mono: Front Left: Playback 25237 [39%] [on] Front Right: Playback 25237 [39%] [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch cswitch-joined penum Capture channels: Front Left - Front Right Limits: Capture 0 - 65536 Front Left: Capture 65536 [100%] [on] Front Right: Capture 65536 [100%] [on]
Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c1
Rafał Miłecki
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c2
--- Comment #2 from Rafał Miłecki
cat /etc/environment # # This file is parsed by pam_env module # # Syntax: simple "KEY=VAL" pairs on seperate lines # ALSA_CONFIG_PATH=/etc/alsa-pulse.conf SDL_AUDIODRIVER=pulse
echo $ALSA_CONFIG_PATH [empty output]
su zajec -c "echo $ALSA_CONFIG_PATH" Password: [empty output]
su zajec Password:
echo $ALSA_CONFIG_PATH /etc/alsa-pulse.conf
Maybe I'll try to reboot once more... :| -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c3
--- Comment #3 from Rafał Miłecki
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c4
--- Comment #4 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c5
--- Comment #5 from Rafał Miłecki
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c6
--- Comment #6 from Rafał Miłecki
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c7
--- Comment #7 from Rafał Miłecki
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c8
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c9
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c10
--- Comment #10 from Rafał Miłecki
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c11
Rafał Miłecki
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c13
Christian Dengler
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c14
--- Comment #14 from Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c15
--- Comment #15 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c16
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c17
Christian Dengler
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c18
--- Comment #18 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c19
--- Comment #19 from Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=623837
https://bugzilla.novell.com/show_bug.cgi?id=623837#c21
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623837
https://bugzilla.novell.com/show_bug.cgi?id=623837#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623837
https://bugzilla.novell.com/show_bug.cgi?id=623837#c22
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=623837
http://bugzilla.novell.com/show_bug.cgi?id=623837#c23
--- Comment #23 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com