Debian 11で音が出ません(仮想出力または破損したハードウェアおよびソフトウェアドライバ)。

Debian 11で音が出ません(仮想出力または破損したハードウェアおよびソフトウェアドライバ)。

新しいDebian 11を設定しようとしていますが、過去8時間でサウンドドライバが機能しません。私のデバイス(CHUWI Herobook Air)は製造元によって製造されており、Windows 10がインストールされていて、このRealtek / Intel SSTオーディオドライバをインストールするまでサウンドが正しく機能しません。この公式メーカーフォーラムへのリンク

最近、いくつかのパッケージ(無料、realtek、intel-microcode)をインストールしてpulseaudioを再インストールしましたが、何も変更されませんでした。

マイデバイスデータ:

カーネルバージョン

uname -r 
5.10.0-14-amd64

lspciの復元

lspci -v
00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 06)
    DeviceName: Onboard - Other
    Flags: bus master, fast devsel, latency 0, IOMMU group 0

00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 06)
    DeviceName: Onboard - Other
    Subsystem: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant
    Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 0
    Memory at 80000000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: <access denied>
    Kernel driver in use: proc_thermal
    Kernel modules: processor_thermal_device

00:0e.0 Multimedia audio controller: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 06)
    DeviceName: Onboard - Sound
    Subsystem: Device 2782:0303
    Flags: bus master, fast devsel, latency 0, IRQ 129, IOMMU group 2
    Memory at a1110000 (64-bit, non-prefetchable) [size=16K]
    Memory at a1000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: sof-audio-pci
    Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci

フィルタリングされたメッセージ

dmesg | grep audio
[    9.319732] sof-audio-pci 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[    9.319987] sof-audio-pci 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
[    9.320212] sof-audio-pci 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    9.358982] sof-audio-pci 0000:00:0e.0: use msi interrupt mode
[    9.382512] sof-audio-pci 0000:00:0e.0: hda codecs found, mask 4
[    9.382517] sof-audio-pci 0000:00:0e.0: using HDA machine driver skl_hda_dsp_generic now
[    9.382524] sof-audio-pci 0000:00:0e.0: DMICs detected in NHLT tables: 0
[    9.386190] sof-audio-pci 0000:00:0e.0: firmware: direct-loading firmware intel/sof/sof-glk.ri
[    9.386231] sof-audio-pci 0000:00:0e.0: warning: unknown sof_ext_man header type 6 size 0x20
[    9.386233] sof-audio-pci 0000:00:0e.0: Firmware info: version 1:7:0-47d07
[    9.386235] sof-audio-pci 0000:00:0e.0: Firmware: ABI 3:18:1 Kernel ABI 3:17:0
[    9.386236] sof-audio-pci 0000:00:0e.0: warn: FW ABI is more recent than kernel
[    9.386243] sof-audio-pci 0000:00:0e.0: warning: unknown sof_ext_man header type 3 size 0x30
[    9.386245] sof-audio-pci 0000:00:0e.0: warning: unknown sof_ext_man header type 5 size 0x20
[    9.503708] sof-audio-pci 0000:00:0e.0: Firmware info: version 1:7:0-47d07
[    9.503711] sof-audio-pci 0000:00:0e.0: Firmware: ABI 3:18:1 Kernel ABI 3:17:0
[    9.503713] sof-audio-pci 0000:00:0e.0: warn: FW ABI is more recent than kernel
[    9.514738] sof-audio-pci 0000:00:0e.0: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-idisp.tplg
[    9.514759] sof-audio-pci 0000:00:0e.0: Topology: ABI 3:18:1 Kernel ABI 3:17:0
[    9.514761] sof-audio-pci 0000:00:0e.0: warn: topology ABI is more recent than kernel
[    9.518468] sof-audio-pci 0000:00:0e.0: ASoC: Parent card not yet available, widget card binding deferred

Windows 10のサウンドドライバ情報は次のとおりです。

Device PCI \VEN_8086&DEV_3198&SUBSYS_03032782&REV_06

出力は単に「ダミー出力」を意味します。お役に立てば幸いです。

答え1

Debian 11.3を実行しているXPS 9710ノートブックでも同じ問題が発生します。提案されているように grub にいくつかの行を追加した後これそして関連する記事では、私の場合はうまくいきませんでした。他の場合と同様に、Synaptic Package Managerを使用してDebian 12 -bookworm-のファームウェアバージョン(firmware-sof-signed 1.7-1)をバージョン2.0-1にアップデートしました。オペレーティングシステムにクラッシュを引き起こす可能性がある非互換性の問題が発生する可能性があることをどこかで読んだことがあります。

結局のところ、新しいファームウェアバージョン(最初にブックワームチャンネルを/etc/apt/sources.listに追加)で、Synapticはいくつかの異なるパッケージをインストールし、最終的にDebian 12をOSとして使用し、実際にオーディオを認識しました!
しかし、画面(予期せず暗くなった)やその他のソフトウェア(Debian BookbugのDockerなど)の他のハードウェアの問題のため、Debian 11(Debian 11を新しくインストールした場合)にロールバックする必要がありました。

結論は次のとおりです。

  • サウンドのみを動作させるには、Debian 12にアップグレードできます。 (たぶん問題があるかもしれません)
  • 別のオプションは、ファームウェア署名を2.0-1などのより高いバージョンにアップグレードすることです。私はLinuxに初めて接して、まだ何をすべきかわかりません。もちろんどんな助けでも大変感謝します。

答え2

DSP機能を必要とせず、Debian 11カーネル/ファームウェアでDSPを使用できない場合サウンドオープンファームウェアDSPを駆動する必要がある場合は、SOF部分を無効にして「レガシー」snd_hda_intelドライバのみを試すこともできます。 (これを行う方法については、ブラックリストカーネルモジュールをお読みください。)

前述のように、一部のRealtekドライバをインストールする必要があり、コーデック自体に問題がある場合とない場合があります(Realtekの場合)、質問に十分な情報が含まれていません。

認識されているコーデック(存在する場合)を表示または確認/proc/asound/card*/codec\#*します。dmesg

(簡単な背景:Intel HDAアーキテクチャはメインシステムに接続し、サウンドコントローラのバスドライバとアドオンチップ(コーデックとも呼ばれます)を介して接続されます。

テスト時に複雑さを排除するには、Pulseaudioを除外します。したがって、Pulseaudioを削除するか、停止/一時停止してください。aplayなどを使用して、alsamuxerカーネルモジュールに関連付けられたALSAレイヤに直接アクセスします。

関連情報