お知らせ

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

#1 2014-12-14 19:05:33

iinews
メンバ
登録日: 2014-06-02

カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

カーネル更新を含む更新通知があったので行ったところ、特に問題もなくubuntu tweakで古いファイルを削除(クセでいつもこうしてます)
ところがしばらくしたら、サウンド設定画面でHDMIを選択できなくなっていた事に気づきました。
音自体は出てます。
nvidiaのドライバを再インストールしても変わりません。
ubuntu12.04.5 LTS 3.5.0-18-generic
いくつかコマンドを打ってみたのですが、何か解決のヒントがあるでしょうか?

$ aplay -l
**** ハードウェアデバイス PLAYBACK のリスト ****
カード 0: Intel [HDA Intel], デバイス 0: ALC888 Analog [ALC888 Analog]
  サブデバイス: 1/1
  サブデバイス #0: subdevice #0

$ lspci -v(サウンド2つだけ抜粋)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
    Subsystem: Dell Inspiron 530
    Flags: bus master, fast devsel, latency 0, IRQ 42
    Memory at fdff4000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd-hda-intel

01:00.1 Audio device: NVIDIA Corporation Device 0e0f (rev a1)
    Subsystem: NVIDIA Corporation Device 1081
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd-hda-intel

$ cat /proc/asound/cards
0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfdff4000 irq 42
1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfcffc000 irq 17

$ cat /proc/asound/card0/codec*  | grep -i codec
Codec: Realtek ALC888

なんとなく追加のドライバを開いてみたところ以下の項目がありました。
Intel Core temperature monitor = ON
GPIO interface for Intel ICH series = ON
HID generic driver = ON
1801 SMBus driver = OFF
Intel TCO WatchDog Timer Driver = OFF
kvm_intel = ON
LPC interface for Intel ICH = ON
mac_hid = ON
nVidia Riva/TNT/GeForce = ON
Framebuffer driver for nVidia graphics chipset = OFF
PC Speaker beeper driver = OFF
Intel HDA driver = ON
uas = ON
USB HID core driver = ON
USB HID Boot Protocol keyboard driver = OFF
USB HID Boot Protocol mouse driver = OFF
NVIDIAの高性能グラフィックスドライバー(バージョン331){推奨}=ON
NVIDIAの高性能グラフィックスドライバー(リリースアップデート)(バージョン331-updates)= OFF

今まで見たこともない項目が多数(グラフィックドライバ以外)並んでるのですが、これらは関係してるのでしょうか?
少し長いですが、アドバイスいただけると助かります。

オフライン

 

#2 2014-12-16 19:11:01

iinews
メンバ
登録日: 2014-06-02

Re: カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

またいくつか追加しておきます。
$ cat /proc/asound/card1/codec*  | grep -i codec
Codec: Nvidia ID 51

$ aplay -L
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, ALC888 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Hardware device with all software conversions

lspciで出ますので、認識してないわけではないようですが・・・

オフライン

 

#3 2014-12-16 19:19:14

iinews
メンバ
登録日: 2014-06-02

Re: カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

もう1つ・・・
/proc/asound/devices
  1:        : sequencer
  2: [ 0- 2]: digital audio capture
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 2]: hardware dependent
  6: [ 0]   : control
  7: [ 1- 0]: hardware dependent
  8: [ 1]   : control
33:        : timer

/proc/asound/hwdep
00-02: HDA Codec 2
01-00: HDA Codec 0

/proc/asound/modules
0 snd_hda_intel
1 snd_hda_intel

/proc/asound/pcm
00-00: ALC888 Analog : ALC888 Analog : playback 1 : capture 1
00-02: ALC888 Analog : ALC888 Analog : capture 1

/proc/asound/timers
G0: system timer : 4000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-2-1: PCM capture 0-2-1 : SLAVE

/proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.25.

オフライン

 

#4 2014-12-16 19:39:01

iinews
メンバ
登録日: 2014-06-02

Re: カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

しつこいようですみません。
alsamixerを起動したのですが、F6でカード自体は選択できました。
やはりハードとしては認識できてるようです。
しかし、nvidiaを選択すると、
「このカードには制御可能なミキサーがありません」
こう表示されます。

オフライン

 

#5 2014-12-17 08:34:46

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

Re: カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

linews による投稿:

$ /proc/asound/devices
  1:        : sequencer
  2: [ 0- 2]: digital audio capture
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 2]: hardware dependent
  6: [ 0]   : control
  7: [ 1- 0]: hardware dependent
  8: [ 1]   : control
33:        : timer

おっしゃるところの「HDMI」がNVIDIAのグラフィックカードと対応しているという見方をすると、この出力を見る限りでは、ドライバーのリグレッションかなと言う気がします。1というIDを持つサウンドカードに対し、PCM出力のためのキャラクターデバイスがないからです。

既知のバグなのかどうかは調べてみないとわかりませんが、カーネルイメージを提供するパッケージとカーネルモジュールを提供するパッケージをロールバックするか、あるいはより新しいものにすると、症状が解決するかもしれません。

オフライン

 

#6 2014-12-17 19:42:52

iinews
メンバ
登録日: 2014-06-02

Re: カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

回答ありがとうございます。

>カーネルイメージを提供するパッケージとカーネルモジュールを提供するパッケージをロールバックするか、あるいはより新しいものにすると、症状が解決するかもしれません。

これは、alsa(alsa-utils、もしくはその他も含む)の新しいバージョンをインストールしてみるということですか?
http://www.alsa-project.org/main/index.php/Download
こちらから1.0.28をダウンロードまではしましたが、それ以上は手をつけてません。理解不足でしたらすみません。

ただ、現状外部スピーカとヘッドホンの切り替え(プラグの抜き差し)はできてますので、
(以前はモニタ(スピーカなし)にヘッドホンをモニタに接続、外部スピーカはPC本体に接続、サウンド設定により切り替え)
リスクを伴うようでしたら(もちろんゼロということはないでしょうが)、このまま使用しようかと考えてます。

オフライン

 

#7 2014-12-17 20:13:40

iinews
メンバ
登録日: 2014-06-02

Re: カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

なんとなくですが・・・このページは関係ないでしょうか?
ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_types_of_hdmi_audio_support
中やや下に

*10.2. Missing CODEC IDs

Over time, various new GPUs have been released. Each has a different HD-audio CODEC vendor ID that must be explicitly listed in the ALSA driver for the driver to support the hardware.
Refer to the Vendor Id entry in /proc/asound/cardx/codec#y to determine the CODEC vendor ID of your GPU.

Support for CODEC ID 0x60 was added in the following commit:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=d52392b1a80458c0510810789c7db4a39b88022a "ALSA: hda - Add new GPU codec ID to snd-hda"
This patch is included in Linux kernel 3.11-rc2.

Support for CODEC ID 0x51 was added in the following commit:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=7ae48b56f8d9c836259bc02f3e2ea4962d6b5d1b "ALSA: hda - Add new GPU codec ID to snd-hda"
This patch is included in Linux kernel 3.6-rc1.

Support for CODEC IDs 0x15 and 0x16 was added in the following commit:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=c8900a0fad5ae9f4823451de17ba5dec6653ac74 "ALSA: hda - add new Fermi 5xx codec IDs to snd-hda"
This patch is included in Linux kernel 2.6.38-rc8.

Support for CODEC IDs 0x10, 0x11, 0x12, 0x13, 0x14, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x40, 0x41, 0x42, 0x43, and 0x44 was added in the following commit:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=9cf2657d05f9f9e04c3e113d68bf7cef5a942070 "ALSA: hda - patch_nvhdmi.c: Add missing codec IDs, unify names"
This patch is included in Linux 2.6.36-rc1.

こういう記述があるのですが・・・codec ID51はカーネル3.6-rc1から有効?ってことでしょうか。
認識してた時も一旦ログオフすると、認識しなくなってました。
無関係でしたらすみません。

オフライン

 

#8 2015-07-03 22:27:28

iinews
メンバ
登録日: 2014-06-02

Re: カーネルが新しくなったらサウンド設定からHDMIを選択できなくなりました。

だいぶ前の質問で、すみません。
以前いただいた回答の意味が、今頃ですがわかりました。
あれこれあってクリーンインストールしてしばらくはよかったのですが、またhdmiを認識しなくなり(alsamixerでハードは確認できるが、ミキサーがない)
試しにカーネルを新しいものにしたところ、今度は認識してくれました。
hdmi認識不良と同時に、chromeでgpu支援が無効になってしまう症状もあったのですが、運良く?こちらも改善されました。
サウンドに限らず、どうにもならない時はダメ元でやってみるのもいいかもしれませんね・・・
お邪魔しました。

オフライン

 

Board footer

Powered by FluxBB