お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2014-11-16 12:37:14

hohei
メンバ
登録日: 2014-05-18

音がならなくなり,ブツブツとした雑音だけになりました.

環境は,ubuntu 14.04 LTS 64-bitです.よろしくお願いします.(_ _;)

「Creative Sound Blaster Audigy Fx PCI-e サウンドカード SB-AGY-FX」を増設したので,サウンドの設定をいじっていました.

PulseAudio Volume Controlの,おそらくConfigurationの項目をマウスホイールで変更していたら,急に「connection to Pulse Audio failed. Automatic retry in 5s  In this case this is likely because PULSE_SERVER in the Environment/X11 Root window Properties・・・」が表示されたウィンドウになり,ブツブツとした雑音が出るだけになりました.
PulseAudio Volume Controlはずっとこの状態です.

いろいろ検索してみたのですが,解決できません.

よくわからないのですが参考に・・・
:~$ pulseaudio
E: [pulseaudio] module-ladspa-sink.c: Master sink not found
E: [pulseaudio] module.c: Failed to load module "module-ladspa-sink" (argument: "sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq control=-11.5,-11.5,-12.2,-13.5,-16.8,-27.4,-19.5,-11.5,-8.9,-5.6,-1.6,0.3,0.0,0.0,-1.3"): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.

オフライン

 

#2 2014-11-16 12:58:05

Mocchi
管理者
登録日: 2009-05-17

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

hohei による投稿:

$ pulseaudio
E: [pulseaudio] module-ladspa-sink.c: Master sink not found
E: [pulseaudio] module.c: Failed to load module "module-ladspa-sink" (argument: "sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq control=-11.5,-11.5,-12.2,-13.5,-16.8,-27.4,-19.5,-11.5,-8.9,-5.6,-1.6,0.3,0.0,0.0,-1.3"): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.

module-ladspa-sinkはデフォルトではロードされないモジュールです。しかしこの出力を見ると、pulseaudioがこのモジュールのロードに失敗し、結果、デーモンの実行に失敗していると推測できます。

module-ladspa-sinkとpulseaudioに関して、心当たりはありませんか?

オフライン

 

#3 2014-11-17 00:58:54

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

コメントありがとうございます.返信遅くなりすいません ^^;
端末で打ったコマンドを辿れるだけ挙げておきます.上ほど新しいです.
闇雲に素人がいじらなければと反省しています・・・

$ sudo rm -R  pulse-backup
$ pkill pulseaudio; sleep 2; pulseaudio -vv
$ pavucontrol
$ sudo rm /etc/asound.conf
$ rm -r ~/.pulse ~/.asound*
$ mkdir ~/pulse-backup && cp -r ~/.pulse ~/.asound* /etc/asound.conf /etc/pulse -t ~/pulse-backup/
$ pulseaudio & pavucontrol
$ sudo apt-get remove --purge libflashsupport flashplugin-nonfree-extrasound
$ sudo apt-get install libasound2-plugins padevchooser libsdl1.2debian-pulseaudio
$ pulseaudio --start
$ sudo apt-get install pulseaudio
$ sudo apt-get clean && sudo apt-get autoremove
$ sudo apt-get purge pulseaudio
$ sudo apt-get --purge --reinstall install pulseaudio
$ start-pulseaudio-x11
$ pacmd list-modules;

オフライン

 

#4 2014-11-18 17:36:04

Mocchi
管理者
登録日: 2009-05-17

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

このコマンドラインを見る限りでは、今回のバグを引き起こしたと思われるものは見つけられませんでした。

PulseAudioの設定ファイルをひと通り見てみたいと思います。以下のファイルの内容を貼り付けてもらえますか?

/etc/pulse/client.conf
/etc/pulse/daemon.conf
/etc/pulse/system.pa
/etc/pulse/default.pa

以下は、あったらでいいので貼り付けてください。
~/.config/pulse/client.conf
~/.config/pulse/daemon.conf
~/.config/pulse/system.pa
~/.config/pulse/default.pa

オフライン

 

#5 2014-11-19 01:01:20

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

返信ありがとうございます.
設定ファイルを貼り付けておきます.よろしくお願いします ^^
いつのまにか雑音が消え,ツールバーから音量のアイコンが消えていました.音は依然としてなりません.

/etc/pulse/client.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no




/etc/pulse/daemon.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = no

flat-volumes = no

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 1000000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

default-fragments = 8
default-fragment-size-msec = 10

; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0




/etc/pulse/system.pa
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started in system
# mode.

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev/hal support)
load-module module-detect
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Automatically restore the volume of streams and devices
load-module module-stream-restore
load-module module-device-restore

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### Enable positioned event sounds
load-module module-position-event-sounds




/etc/pulse/default.pa
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

.ifexists module-android-audio-hal.so
load-module module-android-audio-hal
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=bell-windowing-system

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input




~/.config/pulse/default.pa <=これだけありました
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore restore_device=false
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

.ifexists module-android-audio-hal.so
load-module module-android-audio-hal
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=bell-windowing-system

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input

### BEGIN: Equalized audio configuration
### Generated from: pulseaudio-equalizer
load-module module-ladspa-sink sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq control=-11.5,-11.5,-12.2,-13.5,-16.8,-27.4,-19.5,-11.5,-8.9,-5.6,-1.6,0.3,0.0,0.0,-1.3
set-default-sink ladspa_output.mbeq_1197.mbeq
set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 65536
set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo 0
### END: Equalized audio configuration

オフライン

 

#6 2014-11-19 21:18:55

Mocchi
管理者
登録日: 2009-05-17

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

hohei による投稿:

~/.config/pulse/default.pa <=これだけありました
...
### BEGIN: Equalized audio configuration
### Generated from: pulseaudio-equalizer
load-module module-ladspa-sink sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq control=-11.5,-11.5,-12.2,-13.5,-16.8,-27.4,-19.5,-11.5,-8.9,-5.6,-1.6,0.3,0.0,0.0,-1.3
set-default-sink ladspa_output.mbeq_1197.mbeq
set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 65536
set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo 0
### END: Equalized audio configuration

たぶんどこかのPPAをシステムに登録して、「pulseaudio-equalizer」パッケージをインストールしているんですね。もしそうであれば、ladspaモジュールそのものに問題があるわけではなさそうです。

たぶんsinkとして使っている「alsa_output.pci-0000_00_1b.0.analog-stereo」に問題がありそうです。以下の2つの出力を教えてください。

$ pactl list cards
$ pactl list sinks

オフライン

 

#7 2014-11-20 00:32:11

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

付き合ってくださりありがとうございます.以下のようになりました ^^;

$ pactl list cards
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

$ pactl list sinks
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

オフライン

 

#8 2014-11-20 00:43:33

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

(1)のサイトを参考にpulseaudio-equalizerを導入したのを思い出しました.もしかするとこれが原因かも・・・^^;;
「STEP3 ソフトをインストールする」のところで(2) のやつを使いました.

(1) http://9-bb.com/ubuntu%E3%81%AB%E3%82%A4%E3%82%B3%E3%83%A9%E3%82%A4%E3%82%B6%E3%83%BC%E3%80%8Epulseaudio-equalizer%E3%80%8F%E3%82%92%E5%B0%8E%E5%85%A5%E3%81%97%E3%81%A6%E9%9F%B3%E6%A5%BD%E3%82%92%E6%A5%BD%E3%81%97/
(2) http://www.ubuntuupdates.org/package/webupd8/utopic/main/base/pulseaudio-equalizer

オフライン

 

#9 2014-11-20 09:27:33

Mocchi
管理者
登録日: 2009-05-17

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

hohei による投稿:

$ pactl list cards
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

$ pactl list sinks
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

Oops、ごめんなさい。pulseaudioが走ってないので、これは無意味でした。。。
(プロセスが走ってないので、プロセス間通信で情報を取得できないです)

試しに、ファイル「~/.config/pulse/default.pa」を編集してpulseaudio-equalizerが加えた設定をコメントアウトし、pulseaudioを実行してみてくれませんか?
もし起動しなければ、その時の端末出力を教えてください。
もし無事に起動したようであれば、先の2つのコマンドを実行して出力を教えてください。

オフライン

 

#10 2014-11-20 22:37:33

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

以下のようになりました.ツールバーの音量ボタンが復活しました ^^;

$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.


$ pactl list cards
Card #0
    Name: alsa_card.pci-0000_00_03.0
    Driver: module-alsa-card.c
    Owner Module: 5
    Properties:
        alsa.card = "0"
        alsa.card_name = "HDA Intel HDMI"
        alsa.long_card_name = "HDA Intel HDMI at 0xf7f14000 irq 48"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:03.0"
        sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "0c0c"
        device.product.name = "Haswell HD Audio Controller"
        device.form_factor = "internal"
        device.string = "0"
        device.description = "Built-in Audio"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Profiles:
        output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5400)
        output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority. 300)
        output:hdmi-stereo-extra1: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5200)
        output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority. 100)
        off: Off (sinks: 0, sources: 0, priority. 0)
    Active Profile: off
    Ports:
        hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "video-display"
            Part of profile(s): output:hdmi-stereo, output:hdmi-surround
        hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "video-display"
            Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1

Card #1
    Name: alsa_card.pci-0000_00_1b.0
    Driver: module-alsa-card.c
    Owner Module: 6
    Properties:
        alsa.card = "1"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0xf7f10000 irq 47"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1b.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "8c20"
        device.product.name = "Lynx Point High Definition Audio Controller"
        device.form_factor = "internal"
        device.string = "1"
        device.description = "Built-in Audio"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Profiles:
        input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority. 60)
        output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000)
        output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority. 6060)
        output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority. 700)
        output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 760)
        output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority. 800)
        output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 860)
        output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority. 700)
        output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 760)
        output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority. 800)
        output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 860)
        output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority. 700)
        output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 760)
        output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority. 5500)
        output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 5560)
        off: Off (sinks: 0, sources: 0, priority. 0)
    Active Profile: off
    Ports:
        analog-input-microphone-front: Front Microphone (priority: 8500, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "audio-input-microphone"
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
        analog-input-microphone-rear: Rear Microphone (priority: 8200, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "audio-input-microphone"
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
        analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available)
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
        analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
            Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo
        analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "audio-headphones"
            Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
        iec958-stereo-output: Digital Output (S/PDIF) (priority: 0, latency offset: 0 usec)
            Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

Card #2
    Name: alsa_card.pci-0000_05_00.0
    Driver: module-alsa-card.c
    Owner Module: 7
    Properties:
        alsa.card = "2"
        alsa.card_name = "HDA Creative"
        alsa.long_card_name = "HDA Creative at 0xf7c04000 irq 19"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:05:00.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/sound/card2"
        device.bus = "pci"
        device.vendor.id = "1102"
        device.vendor.name = "Creative Labs"
        device.product.id = "0012"
        device.string = "2"
        device.description = "HDA Creative"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Profiles:
        input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority. 60)
        output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000)
        output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority. 6060)
        output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority. 700)
        output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 760)
        output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority. 800)
        output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 860)
        output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority. 700)
        output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 760)
        output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority. 800)
        output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 860)
        off: Off (sinks: 0, sources: 0, priority. 0)
    Active Profile: output:analog-surround-40
    Ports:
        analog-input-microphone-front: Front Microphone (priority: 8500, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "audio-input-microphone"
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo
        analog-input-microphone-rear: Rear Microphone (priority: 8200, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "audio-input-microphone"
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo
        analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available)
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo
        analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
            Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo
        analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
            Properties:
                device.icon_name = "audio-headphones"
            Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo


$ pactl list sinks
Sink #0
    State: SUSPENDED
    Name: alsa_output.pci-0000_05_00.0.analog-surround-40
    Description: HDA Creative Analog Surround 4.0
    Driver: module-alsa-card.c
    Sample Specification: s16le 4ch 44100Hz
    Channel Map: front-left,front-right,rear-left,rear-right
    Owner Module: 7
    Mute: no
    Volume: 0:  47% 1:  47% 2:  47% 3:  47%
            0: -19.50 dB 1: -19.50 dB 2: -19.50 dB 3: -19.50 dB
            balance 0.00
    Base Volume: 100%
                 0.00 dB
    Monitor Source: alsa_output.pci-0000_05_00.0.analog-surround-40.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "ALC898 Analog"
        alsa.id = "ALC898 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "2"
        alsa.card_name = "HDA Creative"
        alsa.long_card_name = "HDA Creative at 0xf7c04000 irq 19"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:05:00.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/sound/card2"
        device.bus = "pci"
        device.vendor.id = "1102"
        device.vendor.name = "Creative Labs"
        device.product.id = "0012"
        device.string = "surround40:2"
        device.buffering.buffer_size = "65536"
        device.buffering.fragment_size = "32768"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-surround-40"
        device.profile.description = "Analog Surround 4.0"
        device.description = "HDA Creative Analog Surround 4.0"
        alsa.mixer_name = "Realtek ALC898"
        alsa.components = "HDA:10ec0899,11020041,00100003"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Ports:
        analog-output: Analog Output (priority: 9900)
    Active Port: analog-output
    Formats:
        pcm

オフライン

 

#11 2014-11-22 19:12:25

Mocchi
管理者
登録日: 2009-05-17

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

hohei による投稿:

$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

PulseAudioデーモンが起動してますね。

hohei による投稿:

$ pactl list cards
...
Card #2
    Name: alsa_card.pci-0000_05_00.0
    Driver: module-alsa-card.c
    Owner Module: 7
    Properties:
...
        device.vendor.name = "Creative Labs"
...
    Profiles:
...
    Active Profile: output:analog-surround-40
    Ports:
...

これがCreativeのサウンドカードで、

hohei による投稿:

$ pactl list sinks
Sink #0
    State: SUSPENDED
    Name: alsa_output.pci-0000_05_00.0.analog-surround-40
    Description: HDA Creative Analog Surround 4.0
    Driver: module-alsa-card.c
    Sample Specification: s16le 4ch 44100Hz
    Channel Map: front-left,front-right,rear-left,rear-right
    Owner Module: 7
    Mute: no
    Volume: 0:  47% 1:  47% 2:  47% 3:  47%
            0: -19.50 dB 1: -19.50 dB 2: -19.50 dB 3: -19.50 dB
            balance 0.00
...

対応するsinkがこれです。

Nameを見ると、ladspa-sinkモジュールの設定とは異なっていることがわかります。このことから、今回の問題の経緯は以下です。
1.pulseaudio-equalizerパッケージをインストールした。
2.このパッケージがladspa-sinkモジュールをロードする設定を追記した。
3.cardのプロファイルを変更した。
4.sink名が変わったため、ladspa-sinkモジュールのロードに失敗するようになった
5.PulseAudioが起動しなくなった

特に必要がなければ、pulseaudio-equalizerパッケージをアンインストールするのがよさそうです。

オフライン

 

#12 2014-11-23 02:19:59

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

pulseaudio-equalizerをアンインストールしたら無事に音が出るようになりました! ^^;
長いこと貴重な時間を割き,改善に向け付き合ってくれてありがとうございます.今後もubuntuを使っていくつもりなので,なにか自分に直せない不具合ありましたらよろしくお願いします.linuxを勉強して,自分でどうにかできるようにがんばりたいです.

オフライン

 

#13 2014-11-26 01:13:00

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

たびたびすいません ^^;
起動したときの5回に1回ぐらいしか音が正常に鳴らなくて困っています.
正常に鳴るときは,シャットダウンするまで問題なく音が鳴ります,正常じゃない時は,シャットダウンするまで音が全部ザザザ・・・というノイズになります.
また正常じゃない時は,起動してすぐに3秒ぐらいノイズが流れます.
なにか心当たりありましたら教えてください.(_ _)

オフライン

 

#14 2014-11-26 10:00:26

Mocchi
管理者
登録日: 2009-05-17

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

hohei による投稿:

正常に鳴るときは,シャットダウンするまで問題なく音が鳴ります,正常じゃない時は,シャットダウンするまで音が全部ザザザ・・・というノイズになります.
また正常じゃない時は,起動してすぐに3秒ぐらいノイズが流れます.

この状態になったとき、dmesgや/var/log/syslogに関係しそうなログが出力されますでしょうか?

オフライン

 

#15 2014-11-26 11:16:35

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

すいません.関係するかどうかの判断ができないです・・・ ^^;

オフライン

 

#16 2014-12-08 02:01:08

hohei
メンバ
登録日: 2014-05-18

Re: 音がならなくなり,ブツブツとした雑音だけになりました.

Mocchi による投稿:

hohei による投稿:

正常に鳴るときは,シャットダウンするまで問題なく音が鳴ります,正常じゃない時は,シャットダウンするまで音が全部ザザザ・・・というノイズになります.
また正常じゃない時は,起動してすぐに3秒ぐらいノイズが流れます.

この状態になったとき、dmesgや/var/log/syslogに関係しそうなログが出力されますでしょうか?

音がすべて砂嵐みたいな雑音になるときに音を鳴らすと,/var/log/syslogに以下のようなコメントがされます.
このようなコメントは,正常に音が鳴るときに音を鳴らしても書き込まれませんでした.
audio,fault,errorなど書いてあるのでこれが原因の記述ではないのかと考えたのですが,関係ないものでしたらすいません ^^;

Dec  8 01:34:34 ●●●● kernel: [ 1085.838810] mpegaudioparse0[3246]: segfault at 7f0bb81150e7 ip 00007f0aa8957fd7 sp 00007f0ac1dc7698 error 4 in libgstflump3dec.so[7f0aa8944000+33000]
Dec  8 01:36:10 ●●●● kernel: [ 1181.594636] mpegaudioparse0[3319]: segfault at 7f94a01320e7 ip 00007f93ac990fd7 sp 00007f93af7f8698 error 4 in libgstflump3dec.so[7f93ac97d000+33000]
Dec  8 01:37:41 ●●●● kernel: [ 1272.863358] mpegaudioparse0[3350]: segfault at 7f873004f197 ip 00007f8629ddafd7 sp 00007f8641382698 error 4 in libgstflump3dec.so[7f8629dc7000+33000]
Dec  8 01:39:14 ●●●● kernel: [ 1365.381610] mpegaudioparse0[3367]: segfault at 7f3248025187 ip 00007f3154990fd7 sp 00007f3157ff9698 error 4 in libgstflump3dec.so[7f315497d000+33000]
Dec  8 01:40:47 ●●●● kernel: [ 1458.225359] mpegaudioparse0[3438]: segfault at 7f291004f197 ip 00007f2809ddafd7 sp 00007f2821382698 error 4 in libgstflump3dec.so[7f2809dc7000+33000]
Dec  8 01:42:19 ●●●● kernel: [ 1551.011459] mpegaudioparse0[3472]: segfault at 7f0aa8023187 ip 00007f09b41a9fd7 sp 00007f09b6ff7698 error 4 in libgstflump3dec.so[7f09b4196000+33000]
Dec  8 01:43:51 ●●●● kernel: [ 1643.030795] mpegaudioparse0[3508]: segfault at 7fb8e004f197 ip 00007fb7e8f81fd7 sp 00007fb7ebff9698 error 4 in libgstflump3dec.so[7fb7e8f6e000+33000]

オフライン

 

Board footer

Powered by FluxBB