
Ubuntu日本語フォーラム

ログインしていません。
ubuntu11.10を使っています。今までHDMIで音声出力していましたが他の方法で出力しようと
色々調整していたら音が出なくなってしまいました。
MSI big bang-fuzionのサウンドカードとディスプレイを接続しようとしています。
音声を出力するにはどうすればいいでしょうか?
どうかよろしくお願いします
オフライン
以前は音が出ていたようなので、PulseAudioのプロファイルを変更してしまったのかなぁと思いました。
デスクトップ画面の右上にあるスピーカーアイコンをクリックするとウィンドウ「サウンドの設定」が開きます。ウィンドウ内のタブ「ハードウェア」で、HDMIに関する項目が表示されるか確認して下さい。表示されている場合は適用されているプロファイルを教えて下さい。
オフライン
お返事ありがとうございます
ハードウェアの欄には何も表示されていません。
出力の欄には simultaneous output と表示されています。
このサイトの他の質問などを参考に確認してみたらALSAレベルでデバイス
ガ認識されていないようでした。
PCには認識されているようです。
オフライン
による投稿:
ハードウェアの欄には何も表示されていません。
(中略)
出力の欄には simultaneous output と表示されています。
simultaneous output?
これはたぶんPulseAudioの「module-combine-sink」がロードされていると思うのですが、ひょっとして、何らかの設定ファイルを配置したり、すでにある設定ファイルに書き加えるなどしましたでしょうか。思い出してみてくださいませんか?
module-combine-sink > Modules - PulseAudio @ pulseaudio.org
オフライン
音が出ないのはドライバが入っていないからでは?と思いrealtekのドライバをインストールしようとしましたが
エラーが出て原因も分からず中断しています。
他にいじったところはなかったと思います。
オフライン
yokohaba による投稿:
音が出ないのはドライバが入っていないからでは?と思いrealtekのドライバをインストールしようとしましたが
エラーが出て原因も分からず中断しています。
他にいじったところはなかったと思います。
それは幸いでした。たぶんインストールしていたら更にややこしいことになっていたと思います。
情報を集めたいので、以下のコマンドをGNOME端末などで実行して、その結果を教えて下さい。結構長々と出力されますので驚かないでくださいね ;)
$ pacmd list-modules;
オフライン
この様に表示されました
確かに長くて驚いてしまいました
Welcome to PulseAudio! Use "help" for usage information.
>>> 24 module(s) loaded.
index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "1.0"
index: 1
name: <module-stream-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "1.0"
index: 2
name: <module-card-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "1.0"
index: 3
name: <module-augment-properties>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = "1.0"
index: 4
name: <module-udev-detect>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "1.0"
index: 5
name: <module-bluetooth-discover>
argument: <>
used: -1
load once: yes
properties:
module.author = "Joao Paulo Rechi Vita"
module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers"
module.version = "1.0"
index: 6
name: <module-esound-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ESOUND protocol (UNIX sockets)"
module.version = "1.0"
index: 7
name: <module-native-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "1.0"
index: 8
name: <module-zeroconf-discover>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "mDNS/DNS-SD Service Discovery"
module.version = "1.0"
index: 9
name: <module-combine-sink>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Combine multiple sinks to one"
module.version = "1.0"
index: 10
name: <module-combine>
argument: <>
used: -1
load once: no
properties:
module.author = "Colin Guthrie"
module.description = "Compatibility module (module-combine rename)"
module.version = "1.0"
index: 11
name: <module-gconf>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "GConf Adapter"
module.version = "1.0"
index: 12
name: <module-default-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "1.0"
index: 13
name: <module-rescue-streams>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move their streams to the default sink/source"
module.version = "1.0"
index: 14
name: <module-always-sink>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "null である場合でも、常に最低でもシンクが1つロードされるように維持します"
module.version = "1.0"
index: 15
name: <module-intended-roles>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based of intended roles of devices"
module.version = "1.0"
index: 16
name: <module-suspend-on-idle>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "1.0"
index: 17
name: <module-console-kit>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each ConsoleKit session of this user"
module.version = "1.0"
index: 18
name: <module-position-event-sounds>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = "1.0"
index: 19
name: <module-filter-heuristics>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = "1.0"
index: 20
name: <module-filter-apply>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = "1.0"
index: 21
name: <module-dbus-protocol>
argument: <>
used: -1
load once: yes
properties:
module.author = "Tanu Kaskinen"
module.description = "D-Bus interface"
module.version = "1.0"
index: 22
name: <module-switch-on-port-available>
argument: <>
used: -1
load once: no
properties:
index: 23
name: <module-cli-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Command line interface protocol (UNIX sockets)"
module.version = "1.0"オフライン
どうもありがとうございます。
出力していただいたのは、PulseAudioサウンドサーバーで現在有効となっているモジュールの一覧です。Ubuntu上で動くソフトウェアの音声は一旦このPulseAudioに集められ、その後ALSAを経由してサウンドカードに送られます。
さて、出力を見るに、PulseAudioがそのALSAを使うために必要なモジュール一式が読み込まれていません。そのため、PulseAudioが音声出力先を見失っている状態となっています。加えて、通常では読み込まれないはずのモジュール「module-combine」、「module-combine-sink」が有効となっています。
PulseAudioに関する設定ファイルは以下の4つです。これらに修正を加えたりした記憶はないでしょうか?
(~はログインユーザーのホームディレクトリを示します)
・~/.pulse/default.pa
・~/.pulse/client.conf
・/etc/pulse/default.pa
・/etc/pulse/client.conf
オフライン
いじった覚えはないと思います。
alc899のドライバを入れようとしたとき、一部エラーが出ましたが
他の部分が実行されて変更されてしまう と言うようなことはあるのでしょうか?
オフライン
による投稿:
いじった覚えはないと思います。
了解しました。
による投稿:
alc899のドライバを入れようとしたとき、一部エラーが出ましたが
他の部分が実行されて変更されてしまう と言うようなことはあるのでしょうか?
インストールプロセスのどの段階(./configureなのかmakeなのかmake installなのか)でエラーが起こったかで状態が変わってくるので一概には言えません。
さて、ここでALSAの状態を確認してみたいと思いますので、以下の出力を教えて下さい。
$ cat /proc/asound/cards;
オフライン
出力からは。ALSAのカーネルモジュール(ドライバー)がロードされてないということがわかります。
確認してみたいので、以下の2つの出力を教えて下さい。
$ lsmod; $ dpkg -l | grep oss4;
オフライン
以下の通りです。
$ lsmod;
Module Size Used by nls_iso8859_1 12617 1 nls_cp437 12751 1 vfat 17308 1 fat 55577 1 vfat parport_pc 32114 0 ppdev 12849 0 vesafb 13489 1 joydev 17393 0 usb_storage 44173 1 uas 17699 0 bnep 17923 2 rfcomm 38408 0 bluetooth 148839 10 bnep,rfcomm pci_stub 12550 1 vboxpci 22882 0 vboxnetadp 13328 0 vboxnetflt 27211 0 vboxdrv 251814 3 vboxpci,vboxnetadp,vboxnetflt binfmt_misc 17292 1 nvidia 10390874 40 lp 17455 0 parport 40930 3 parport_pc,ppdev,lp usbhid 41905 0 hid 77367 1 usbhid tg3 132972 0 ahci 21634 2 libahci 25727 1 ahci
$ dpkg -l | grep oss4;
にたいしては何も表示されませんでした
オフライン
どうやらALSAドライバーが有効になっていないようです。エラーが出たとは言え、realtekのドライバーのインストール時にドライバーモジュールが上書きされてしまったのかもしれません。
Ubuntuの場合、ビルドされたALSAドライバーはカーネルイメージのパッケージで提供されています。以下をやってみて下さい。
1. コマンド「$ uname -a;」で現在使っているカーネルのバージョンを確認
2. Synapticパッケージマネジャーなどで、そのバージョンのカーネルイメージを削除&インストール。具体的には、バージョンが「3.0.0-14-generic」ならパッケージ「linux-image-3.0.0-14-generic」となります。
3. 2でインストールしたあと、再起動して下さい。インストールしてないとさらに困ったことになるので注意して下さい。
4. 再起動後、サウンドの設定やlsmodなどを確認してみて下さい。
オフライン
前のようにHDMIから出力することは出来るようになりました!
ありがとうございます!
しかしオーディオケーブルで接続している方は認識されていませんでした。
オーディオケーブルの接続を認識させるにはどうすればいいでしょうか?
オフライン
通常なら、「サウンドの設定」ウィンドウのタブ「ハードウェア」でマザーボードのサウンドカードに適切なプロファイルを指定してあげて、タブ「出力」でマザーボードのサウンドカードに切り替えると、PulseAudioに集まるすべての音声がそちらから出力されるようになります。タブ「ハードウェア」に何も表示されていないようであれば、ALSAドライバーの方を確認するといった切り分けになります。
タブの表示内容を確認して教えて下さい。
オフライン
ハードウェアのタブ選択したデバイスの設定 プロファイル欄には digital stereo, digital surround というのが複数ありどれも(HDMI)となっています。 出力タブには simultaneous output to high definition audio controller digital surrounf 5.1(HDMI)nr4ステレオ と high definition audio controller digital surround 5.1(HDMI) nr4サラウンド5.1 とあります。
オフライン