お知らせ

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

#1 2009-08-26 02:16:01

syosinnsya
メンバ
登録日: 2008-06-20

音が出ない場合がある

環境
CPU:Intel  Core i7 950/D0/3.06GHz
マザーボード:ASUS  P6T
メモリ:DDR-3 6GB(2GBx3)Corsair  TR3X6G1333C9
サウンドカード:ONKYO  SE-90PCI
OS:ubuntu 9.04 amd64

したいこと
特定のプレイヤー(M player)からの音を出せるようにしたい。
ログイン時の音やエラー音がならないので音を出せるようにしたい。

具体的な症状
Totem 動画プレイヤー(2.26.1)からならコーデックさえあれば音がでるのに他のプレイヤーでは音が一切でない。入れたコーデックは後で示します。

あと、ログイン時の音やエラー音がまったく出ません。

自分で試したこと
画面右上の音量コントロールがミュートになっていない事を確認(画像あり)
http://www.picamatic.com/show/2009/08/25/09/02/4851834_500x345.png
コーデックを入れた
GStreamer Dirac video plugin
GStreamer extra plugins
GStreamer ffmpeg video plugin
GStreamer plugins for aac, xvid, mpeg2, faad
GStreamer plugins for mms, wavpack, quicktime, musepack
*GStreamer fluendo MPEG2 demuxing pluginは上記のコーデックの競合するので入れることができませんでした。

pulseaudioを含め関連パッケージを削除
システム>設定>サウンド>デバイスで「テスト」を押して全て音がなるように変更(画像あり)
http://www.picamatic.com/show/2009/08/25/09/00/4851808_558x604.png

http://www.picamatic.com/show/2009/08/25/09/02/4851831_558x604.png

mplayerは設定のaudioでドライバをALSAに変更

その他の情報

コード:

$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
08:00.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)

コード:

$ cat /proc/asound/card0/codec#0 | grep Codec
Codec: Realtek ALC1200

こんな感じです。自分では調べてもこれ以上わからなかったのでどなたか助けてください。
どうかお願いします。

オフライン

 

#2 2009-08-26 19:12:38

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

気づいたのですが音声がオンボードから出力されているようなのでサウンドカードからの出力にしたいのですがどうすればいいですか?

あと、他に参考になるような情報を載せます。

コード:

$ lsmod | grep snd
snd_hda_intel         557492  0 
snd_seq_dummy          11524  0 
snd_seq_oss            41984  0 
snd_ice1724           118504  1 
snd_seq_midi           15744  0 
snd_rawmidi            33920  2 snd_ice1724,snd_seq_midi
snd_seq_midi_event     16512  2 snd_seq_oss,snd_seq_midi
snd_ice17xx_ak4xxx     12288  1 snd_ice1724
snd_seq                66272  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_ac97_codec        133848  1 snd_ice1724
snd_seq_device         16276  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ac97_bus               10368  1 snd_ac97_codec
snd_ak4xxx_adda        17664  2 snd_ice1724,snd_ice17xx_ak4xxx
snd_ak4114             19200  1 snd_ice1724
snd_pcm_oss            52352  0 
snd_mixer_oss          24960  1 snd_pcm_oss
snd_pcm                99464  5 snd_hda_intel,snd_ice1724,snd_ac97_codec,snd_ak4114,snd_pcm_oss
snd_timer              34064  2 snd_seq,snd_pcm
snd_pt2258             12672  1 snd_ice1724
snd_i2c                14464  2 snd_ice1724,snd_pt2258
snd                    78920  17 snd_hda_intel,snd_seq_oss,snd_ice1724,snd_rawmidi,snd_seq,snd_ac97_codec,snd_seq_device,snd_ak4xxx_adda,snd_ak4114,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_pt2258,snd_i2c
soundcore              16800  1 snd
snd_page_alloc         18704  2 snd_hda_intel,snd_pcm

コード:

$ grep snd-hda-intel /etc/modules.conf
grep: /etc/modules.conf: No such file or directory

今回はこちらを参考にしました
HDA Intel + Realtek ALC262 で音が出ない
grep snd-hda-intel /etc/modules.confの結果で何もないよと出ているので設定ファイルを記述すればいいのでしょうがどう書けばいいのでしょうか?

自分でもこつこつ調べているのですがわかりません。すいません。

オフライン

 

#3 2009-08-26 20:59:02

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

確認ですが、音をだせるようになればよいのですよね。
で、あれば、pulse関連を再セットアップして下さい。

次に、M/Bのサウンドチップを止めてしまいましょう。
多分、snd_hda_intelがオンボードのものだと思います。
/etc/modprobe.d/blacklist.conf
に、
blacklist snd_hda_intel
と追記して、PCの電源をOFFし、再度、立ち上げてみて下さい。

最後の音量関連を確認し、出力先を指定したソフトウェア類の設定を(必要があれば)pulseに戻せば完了です。

少し前に似たような話があったのでご参考までに貼っておきます。
https://forums.ubuntulinux.jp/viewtopic.php?id=5619

オフライン

 

#4 2009-08-26 22:46:33

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

返信ありがとうございます。

M/Bのサウンドチップを停止させました。
pulseaudio関係を元に戻せというご指摘ですが、pulseaudioが原因のサウンド関係のトラブルをよく見るのですがALSAやOSSで代替はできないのでしょうか?

オフライン

 

#5 2009-08-27 00:00:46

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

alsaでは複数のソフトウェアが同時にサウンドデバイスを使うことができなかったと記憶しています。特に問題がないかぎりpulseの利用をお奨めします。

オフライン

 

#6 2009-08-27 02:21:46

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

削除したpulseaudioパッケージを再インストールしました。

その後、システム>設定>サウンド>デバイスで再生をpulseaudioサウンドサーバーに変更しましたが、テストでは音がでませんでした。それにログイン時にも音がなりませんでした。(ただし、ログイン時にミューとになっていました)

あと現在の状況です。

コード:

$ lsmod | grep snd
snd_ice1724           118504  1 
snd_ice17xx_ak4xxx     12288  1 snd_ice1724
snd_ac97_codec        133848  1 snd_ice1724
ac97_bus               10368  1 snd_ac97_codec
snd_ak4xxx_adda        17664  2 snd_ice1724,snd_ice17xx_ak4xxx
snd_ak4114             19200  1 snd_ice1724
snd_pcm_oss            52352  0 
snd_mixer_oss          24960  1 snd_pcm_oss
snd_pcm                99464  4 snd_ice1724,snd_ac97_codec,snd_ak4114,snd_pcm_oss
snd_page_alloc         18704  1 snd_pcm
snd_pt2258             12672  1 snd_ice1724
snd_i2c                14464  2 snd_ice1724,snd_pt2258
snd_seq_dummy          11524  0 
snd_seq_oss            41984  0 
snd_seq_midi           15744  0 
snd_rawmidi            33920  2 snd_ice1724,snd_seq_midi
snd_seq_midi_event     16512  2 snd_seq_oss,snd_seq_midi
snd_seq                66272  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              34064  2 snd_pcm,snd_seq
snd_seq_device         16276  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    78920  16 snd_ice1724,snd_ac97_codec,snd_ak4xxx_adda,snd_ak4114,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_pt2258,snd_i2c,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              16800  1 snd

コード:

$ cat /proc/asound/card0/codec#0 | grep Codec
cat: /proc/asound/card0/codec#0: No such file or directory

オンボードのサウンドチップは認識されていないようなのですが、サウンドカードは認識されているのでしょうか・・

プレイヤーのaudio出力をpulseにしても以前として音は出ていません。

オフライン

 

#7 2009-08-27 02:38:27

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

大きな手がかりが見つかったかもしれません。

唯一音が出せるTotemプレイヤーで音が出ているときのpulse audio volum controlの画像です。
この時音は出ています。
http://www.picamatic.com/show/2009/08/26/09/37/4861974_500x400.png

次は他のプレイヤーで動画を再生したときの画像です。
この場合は音は出ていません。
http://www.picamatic.com/show/2009/08/26/09/37/4861977_500x400.png

どちらの画像もミュートになっていますが押してもミュートのアイコンのまま変化はありませんでした。

オフライン

 

#8 2009-08-27 07:17:49

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

下記を端末から実行した結果を投稿下さい。
cat /proc/asound/cards
また、
sudo alsamixer
と入力してミキサーを起動し、それぞれの項目の音量設定を確認して下さい。
その後、
asoundconf list
と入力して得られる結果が仮にAudioであったとして、
asoundconf set-default-card Audio
としてみて下さい。上記Audioの部分は適宜変更願います。

詳細不明ですが、envy24 ptが動かないというバグ報告もあるようです。
https://bugs.launchpad.net/ubuntu/+bug/359724

一方alsaには何のWorkaroundも上がっていないので、本当にエンバグしているのかは判りません。
http://www.alsa-project.org/main/index.php/Matrix:Module-ice1724

もし、特にこだわりがないのであれば、PCIのサウンドカードを諦めて、オンボードのを使う方が早いかも知れません。

オフライン

 

#9 2009-08-27 12:52:59

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

読み直してみて判らなくなったのですが、今、現在の設定で音のでるソフトとでないソフトがあるのでしょうか。
もし、そうであるならば、pulseを含めた設定の問題ということになります。
一度状況を整理させて下さい。

1.PCとスピーカーの接続はどうなっているか。オンボードのデバイスにつながっているか、PCIのデバイスにつながっているか。
2.blacklist.confの編集はしたか。編集内容は。
3.#6、および、#7の投稿はblacklist.confの編集後の情報か。
4.今現在の状況はどうなっているか。一部のソフトで音がでるのか。全部出ないのか。
5.(念のため)今のlspci | grep -i audioの出力はどうなっているか。
6.今のcat /proc/asound/cardsの出力はどうなっているか。
7.今のlsmod | grep sndの出力はどうなっているか(#6と同じならその旨ご連絡下さい)。

オフライン

 

#10 2009-08-27 15:12:34

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

1,PCIのサウンドカードとつながっています。
2、編集しました。

コード:

blacklist snd_hda_intel

を追加しました。

3、編集後の情報です。もちろん再起動後です。
4、今現在はシステム>サウンド>設定で全てのaudio出力をpulseにしています。
totem playerはauido出力を設定する項目がないのでいじっていません。
m playerはauido出力をpulseにしています。

これが現在の状況ですが、システムの音を含め一切の音がでません。
5、

コード:

$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
08:00.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)

6、

コード:

$ cat /proc/asound/cards
 0 [SE90PCI        ]: ICE1724 - ONKYO SE90PCI
                      ONKYO SE90PCI at 0xec00, irq 16

7、全く同じだと思います。

オフライン

 

#11 2009-08-27 17:09:13

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

#7をみるとTotemだけは音がでていると読めたのですが、#10では
まったく音がでない状態とのこと。どちらか誤記だったりしない
でしょうか。なぜ、ここにこだわるかというと、Totemだけでも
音がでるのであれば、alsaレベルのバグは少なくとも今回のケース
では見えていないということになり、他の設定などの項目に注力
できるのです。Totemも含めて音がまったくでないとなると、本当に
このサウンドカードは使えないということも考えないといけないかも。。

回答いただいた他の項目から判断して、サウンドカードの認識は
正常にできているようです。とりあえず#8の手順を実施・確認して
みてもらえますでしょうか。

オフライン

 

#12 2009-08-27 17:27:38

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

#7は画像のように設定を変えていました。
http://www.picamatic.com/show/2009/08/27/12/25/4868530_558x604.png

これをpulseに変更するとスピーカーから全く音がでなくなります。
現在も同じで画像のように設定を変更するとtotemのみから音がでますが、それ以外からは全く出ません。
pulseにすると音が全くでません。

この説明がなかったために混乱させてしまって申し訳ありませんでした。

今から#8を実行してみます。

オフライン

 

#13 2009-08-27 17:55:36

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

ああ、なるほど。
すいません。見てなかったですね。
実は昼間はw3mでアクセスしているので、絵は見れないのです :D
ではalsaまでは問題ないですね。

下記も実行してみて下さい。
asoundconf set-pulseaudio
さらに、画面上のパネルからユーザとグループを探し、pulse-accessグループ
と、pulse-rtグループに、普段使用しているアカウントを追加して下さい。

オフライン

 

#14 2009-08-27 18:06:00

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

以下の結果はtotemから音がでる状態(#12の画像の状態)で行っています。

コード:

$ cat /proc/asound/cards
 0 [SE90PCI        ]: ICE1724 - ONKYO SE90PCI
                      ONKYO SE90PCI at 0xec00, irq 16

alsamixerなのですが端末での操作方法がよくわからなかったのでGUI版をインストールしてみました。
端末で起動した状態の画像です
http://www.picamatic.com/show/2009/08/27/12/46/4868654_1440x824.png

GUIで操作したものはこちらです。
http://www.picamatic.com/show/2009/08/27/12/47/4868656_850x728.png
左側にあるシークバーは動かそうと思っても動かせませんでした。下の連動や右側にあるresetやlockingを押したり、いろいろ試したのですが動かせませんでした。

コード:

$ asoundconf list
Names of available sound cards:
SE90PCI

コード:

$ asoundconf set-default-card SE90PCI

ここからは#13です。

コード:

$ asoundconf set-pulseaudio

その後、アカウントを追加し、再起動しました。
が,依然としてtotemのみからしか音がでません。

あといくつか気になることが。

ログイン時に必ず画面右上にある音量コントローラーがミュートになっています。

あと、システム>設定>サウンドの設定でデフォルトのミキサ・トラックはPulseAudio Mixerになっているのですがこの設定でいいのでしょうか?

オフライン

 

#15 2009-08-27 20:32:12

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

#12の画面でいうところの出力設定はすべてpulseにしちゃって下さい。
デフォルトのミキサ・トラックはPulseAudio Mixerでよいと思います。

alsamixerの使い方ですが、カーソルの左右で項目を選択し、カーソルの上でボリュームをあげられます。
TABキーを押すと、Playback、Captureなどが切り替えられます。
とりあえず、全部上にあげちゃってください。hをおせば使い方が表示されます。抜けるときはESCです。

気になるのが、alsamixerでCardやChipがPulseAudioとならずに、素のサウンドカードの名前がでているところですね。なんでだろう。。
asoundconf set-pulseaudio
すれば、PulseAudioになるはずだと思っていたのですが。。
cat /var/log/syslog | grep -i pulse
とすると、なにが表示されますか?

オフライン

 

#16 2009-08-27 20:49:29

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

#14はデフォルトミキサをalsaにしてました。すいません。

pulseにしてalsamixerにしたら画像のようになりました。
ボリュームをちゃんと変更できました。
http://www.picamatic.com/show/2009/08/27/03/46/4869828_577x412.png

コード:

$ cat /var/log/syslog | grep -i pulse
Aug 27 02:47:42 123-desktop pulseaudio[6794]: pid.c: Stale PID file, overwriting.
Aug 27 02:47:42 123-desktop pulseaudio[6794]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 02:47:42 123-desktop pulseaudio[6794]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 27 02:47:42 123-desktop pulseaudio[6794]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 02:47:42 123--desktop pulseaudio[6794]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 27 03:28:36 123-desktop pulseaudio[6794]: sound-file.c: Failed to open file /usr/share/sounds/ubuntu/stereo/dialog-error.ogg
Aug 27 03:28:42 123-desktop pulseaudio[6794]: sound-file.c: Failed to open file /usr/share/sounds/ubuntu/stereo/dialog-error.ogg
Aug 27 03:42:59 123-desktop pulseaudio[6794]: sound-file.c: Failed to open file /usr/share/sounds/ubuntu/stereo/dialog-error.ogg
Aug 27 03:43:45 123-desktop pulseaudio[6794]: sound-file.c: Failed to open file /usr/share/sounds/ubuntu/stereo/button-toggle-off.ogg
Aug 27 15:00:19 123-desktop pulseaudio[4333]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 15:00:19 123-desktop pulseaudio[4333]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 27 15:00:19 123-desktop pulseaudio[4333]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 15:00:19 123-desktop pulseaudio[4333]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 27 15:30:32 123-desktop pulseaudio[4039]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 15:30:32 123-desktop pulseaudio[4039]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 27 15:30:32 123-desktop pulseaudio[4039]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 15:30:32 123-desktop pulseaudio[4039]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 27 16:38:57 123-desktop pulseaudio[4039]: protocol-esound.c: write(): Broken pipe
Aug 27 17:52:10 123-desktop pulseaudio[4068]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 17:52:10 123-desktop pulseaudio[4068]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 27 17:52:10 123-desktop pulseaudio[4068]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 17:52:10 123-desktop pulseaudio[4068]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 27 18:03:01 123-desktop pulseaudio[4050]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 18:03:02 123-desktop pulseaudio[4050]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 27 18:03:02 123-desktop pulseaudio[4050]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 18:03:02 123-desktop pulseaudio[4050]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 27 20:39:58 123-desktop pulseaudio[4096]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 20:39:58 123-desktop pulseaudio[4096]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 27 20:39:58 123-desktop pulseaudio[4096]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 27 20:39:58 123-desktop pulseaudio[4096]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.

設定を変える度に再起動して確認しているのですが未だに音はでませんね。
細かいですがpulseに設定を変えると全ての音がでなくなります。

オフライン

 

#17 2009-08-27 23:58:06

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

関係ないかもしれませんがログイン時にミュートになっている現象は以下のサイトを参考にしたら解決しました。
再起動時に音がミュートされる問題は単純な設定ミスだった

あと、参考になるかどうかわかりませんがこれも載せておきます。

コード:

$ cat ~/.xsession-errors
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=ja_JP.
Start IM through /etc/X11/xinit/xinput.d/ja_JP linked to /etc/X11/xinit/xinput.d/scim-bridge.
Smart Common Input Method 1.4.7

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
GTK Panel of SCIM 1.4.7

Starting SCIM as daemon ...
SCIM has been successfully launched.

(gnome-settings-daemon:4925): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(gnome-settings-daemon:4925): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
GNOME_KEYRING_SOCKET=/tmp/keyring-JqIXR2/socket
SSH_AUTH_SOCK=/tmp/keyring-JqIXR2/socket.ssh
Checking for Xgl: not present. 
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log 
Detected PCI ID for VGA: 
Checking for texture_from_pixmap: present. 
Checking for non power of two support: present. 
Checking for Composite extension: present. 
Checking screen 1Comparing resolution (1440x900) to maximum 3D texture size (8192): Passed.
Checking for Software Rasterizer: Not present. 
Checking for nVidia: present. 
Checking for FBConfig: present. 
running under gnome seesion, checking for gnomecompat
Checking for Xgl: not present. 
I/O warning : failed to load external entity "/home/dummy/.compiz/session/109e9dd387e1c0a17e125138462916902000000048210024"
** (gnome-panel:4991): DEBUG: Adding applet 0.
** (gnome-panel:4991): DEBUG: Initialized Panel Applet Signaler.
** (gnome-panel:4991): DEBUG: Adding applet 1.
** (gnome-panel:4991): DEBUG: Adding applet 2.
** (nm-applet:5000): DEBUG: applet_common_device_state_changed
** (gnome-panel:4991): DEBUG: Adding applet 3.
** (gnome-panel:4991): DEBUG: Adding applet 4.

(gnome-panel:4991): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 24
** (gnome-panel:4991): DEBUG: Adding applet 5.
** (gnome-panel:4991): DEBUG: Adding applet 6.
** (gnome-panel:4991): DEBUG: Adding applet 7.
** (gnome-panel:4991): DEBUG: Adding applet 8.
** (gnome-panel:4991): DEBUG: Adding applet 9.
** (gnome-panel:4991): DEBUG: Adding applet 10.
** (gnome-panel:4991): DEBUG: Adding applet 11.
** (gnome-panel:4991): DEBUG: Adding applet 12.
** (gnome-panel:4991): DEBUG: Adding applet 13.
** (gnome-panel:4991): DEBUG: Adding applet 14.

(gnome-panel:4991): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
** (gnome-panel:4991): DEBUG: Adding applet 15.
** (gnome-panel:4991): DEBUG: Adding applet 16.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
** (gnome-panel:4991): DEBUG: Adding applet 17.
** (gnome-panel:4991): DEBUG: Adding applet 18.
** (gnome-panel:4991): DEBUG: Adding applet 19.

(padevchooser:4997): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.


** (nautilus:4992): WARNING **: Unable to add monitor: サポートしていません
evolution-alarm-notify-Message: Setting timeout for 32940 1251417600 1251384660
evolution-alarm-notify-Message:  Fri Aug 28 09:00:00 2009

evolution-alarm-notify-Message:  Thu Aug 27 23:51:00 2009

/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
** (update-notifier:5007): DEBUG: /usr/lib/update-notifier/apt-check returned 0 (security: 0)
** (update-notifier:5007): DEBUG: crashreport_check

/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha

オフライン

 

#18 2009-08-28 02:39:04

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

PulseAudioを参考に設定を加えてみました。

コード:

sudo apt-get install libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter

コード:

gksudo gedit /etc/asound.conf

コード:

pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}

を加えてみました。

が、状況は変わっていません。

オフライン

 

#19 2009-08-28 03:55:15

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

HOWTO: PulseAudio Fixes & System-Wide Equalizer Support

を参考にもう少し頑張ってみました。

Part A: Common instructions (Hardy, Intrepid & Jaunty)
をやってみました。

5までやって

コード:

pulseaudio & pavucontrol

したときにconnection failedになってそれ以上できなくなったので諦めました。
#Note: If you are greeted with the error "Connection failed: Connection refused", manually launch PulseAudio before opening the PulseAudio Volume Control application:
と書いてあるので個別に起動させたのですが、


コード:

$ pulseaudio
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
W: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
W: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
W: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
W: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
E: socket-server.c: bind(): Address already in use
E: module.c: Failed to load  module "module-esound-protocol-unix" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.

コード:

$ pavucontrol

(pavucontrol:6276): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

(pavucontrol:6276): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

となり、わからなくなったので作業を中断し、消した~/.pulse ~/.asound*を元に戻しました。

/etc/asound.confは#18で作成しましたが、消したままにしました。

あと、上記のページに書いてあったのですが
システム>設定>サウンド>デバイスの
再生は自動検出、キャプチャはALSAにしろと書いてあったのですがこちらの設定の方がいいのでしょうか?
また、PulseAudioのvolume controlのinput devicesでall input devicesにすると画像のように
Monitor of ONKYO SE90PCI-ICE1724とONKYO SE90PCI-ICE1724の二つが出てきたのですが、何かを再生するとMonitor~の方が反応しているのでこちらをデフォルトにしました。
http://www.picamatic.com/show/2009/08/27/10/53/4875080_500x400.png

いろいろ試しましたが依然として音は出ません。。。。。

オフライン

 

#20 2009-08-28 07:44:09

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

pulseが起動できていない感じですね。
エラーメッセージでぐぐるといろいろ引っかかるので調べていけば解決策が見つかるかも知れませんが、今ちょっと調べた範囲では見つかっていません。
pulseで苦戦して、ずいぶんお疲れのようなので、一旦、pulseに見切りをつけてalsa+esoundで試してみてもよいかも知れません。
ただ、私はその作業環境がないので、導入一発で動かなかったら、手も足もでないですが。。
# 詳しい人が救援に来てくれないかなぁ。。

オフライン

 

#21 2009-08-28 09:32:38

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

まだ内容を理解していませんが、
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/204809
あたりが参考になるかも。
取り急ぎ、URLだけ貼っておきます。

オフライン

 

#22 2009-08-28 12:49:40

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

#20,#21に未着手であれば、先に下記を試してみて下さい。
sudo touch /etc/asound.conf
でalsaの設定ファイルを作成。内容は下記を記入。

コード:

pcm.ice1724 {
  type hw
  card 0
}

ctl.ice1724 {
  type hw
  card 0
}

再起動後、syslogに今までと同様のエラーがでるか確認。
でなければ、音量関係を再確認。

オフライン

 

#23 2009-08-28 14:15:54

syosinnsya
メンバ
登録日: 2008-06-20

Re: 音が出ない場合がある

私のわがままに付き合って頂きどうもありがとうございます。

#20、21は飛ばして#22を行いました。
一応ログは貼りますが#16と変わっていないと思います。

コード:

$ cat /var/log/syslog | grep -i pulse
Aug 28 01:18:31 123-desktop pulseaudio[6972]: pid.c: Stale PID file, overwriting.
Aug 28 01:18:31 123-desktop pulseaudio[6972]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 01:18:31 123-desktop pulseaudio[6972]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 01:18:31 123-desktop pulseaudio[6972]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 01:18:31 123-desktop pulseaudio[6972]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 02:03:51 123-desktop pulseaudio[8249]: pid.c: Stale PID file, overwriting.
Aug 28 02:03:51 123-desktop pulseaudio[8249]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:03:51 123-desktop pulseaudio[8249]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 02:03:51 123-desktop pulseaudio[8249]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:03:51 123-desktop pulseaudio[8249]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 02:06:01 123-desktop pulseaudio[4153]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:06:01 123-desktop pulseaudio[4153]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 02:06:01 123-desktop pulseaudio[4153]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:06:01 123-desktop pulseaudio[4153]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 02:11:40 123-desktop pulseaudio[5051]: pid.c: Stale PID file, overwriting.
Aug 28 02:11:40 123-desktop pulseaudio[5051]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:11:40 123-desktop pulseaudio[5051]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 02:11:40 123-desktop pulseaudio[5051]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:11:40 123-desktop pulseaudio[5051]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 02:15:01 123-desktop pulseaudio[4097]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:15:01 123-desktop pulseaudio[4097]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 02:15:01 123-desktop pulseaudio[4097]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:15:01 123-desktop pulseaudio[4097]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 02:57:11 123-desktop pulseaudio[6196]: pid.c: Stale PID file, overwriting.
Aug 28 02:57:11 123-desktop pulseaudio[6196]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:57:11 123-desktop pulseaudio[6196]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 02:57:11 123-desktop pulseaudio[6196]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 02:57:11 123-desktop pulseaudio[6196]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 03:00:04 123-desktop pulseaudio[4417]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 03:00:04 123-desktop pulseaudio[4417]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 03:00:04 123-desktop pulseaudio[4417]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 03:00:04 123-desktop pulseaudio[4417]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 03:44:16 123-desktop pulseaudio[4080]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 03:44:16 123-desktop pulseaudio[4080]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 03:44:16 123-desktop pulseaudio[4080]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 03:44:16 123-desktop pulseaudio[4080]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 12:12:57 123-desktop pulseaudio[4088]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 12:12:57 123-desktop pulseaudio[4088]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 12:12:57 123-desktop pulseaudio[4088]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 12:12:57 123-desktop pulseaudio[4088]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Aug 28 14:07:57 123-desktop pulseaudio[4087]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 14:07:57 123-desktop pulseaudio[4087]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
Aug 28 14:07:57 123-desktop pulseaudio[4087]: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
Aug 28 14:07:57 123-desktop pulseaudio[4087]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.

#19で設定を変更しましたが、これはpulseをaudio再生に割り当てて行ってます。つまり#12と同じ設定ということです。

オフライン

 

#24 2009-08-28 17:05:05

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 音が出ない場合がある

ダメでしたか。。
残る希望は#21で貼ったやりとりの内容だけですね。
と思ってググってみたら、それらしいブログを見つけました。
http://donkun3.blogspot.com/
の内容を適用してみてはいかがでしょう。

オフライン

 

#25 2009-08-28 18:07:44

Templer
メンバ
登録日: 2009-07-08

Re: 音が出ない場合がある

横から失礼します。

Pulseが上手くいかなかったらで良いのですが、ALSAで試してみてはどうでしょう(pulseを削除する)。ハードウェアが多重音声(複数のアプリによる同時出力)に対応していればALSAでも多重音声は利きます。PCIなどの外部デバイスであるなら大抵は対応していると思われますので、大丈夫なのではないかと。(私のは10年前の物なので最近のことは分かりませんが…)
弊害としてボリュームの設定が全アプリ共通となったりしますが、Pulseは音質の低下(今は改善されてる?)やCPUへの負荷が高いなど、私にとっては厄介の種でしかないのでPulseは削除してしまっています。環境によってはそれで問題が起きてしまうのかもしれませんが、私の所では得に問題は起こっておりません。

それと、内臓サウンドを使わないという場合はblacklist.confに登録するより、BIOSから内臓サウンドデバイスを無効にしてしまった方がより確実です。(サウンド)モジュールに紐づいたモジュールを使用したりするとblacklistが無視されたりすることがあると思いますので。(ちょっと うろ覚え。しかも、今回は関係なさそう)
また、そうすることにより、エコになったり(ならなかったり)するかもしれませんしね。

とりあえず、今はお続けください。
中途半端なままになっているとUbuntuのアップグレードのときに問題が起きてしまうかもしれませんので。

オフライン

 

Board footer

Powered by FluxBB