カーネルのアップグレード後にオーディオ操作が停止する

カーネルのアップグレード後にオーディオ操作が停止する

Debian Sidワークステーションを定期的にアップグレード/再起動した後、オーディオが完全に失われました。

私のデスクトップ(重要な場合)は、いくつかの部分が追加されたCinnamon(GNOME派生製品)です。ほぼすべてDebianアーカイブから直接インポートされました(ソースからいくつかインストールしましたが、サウンドとはまったく関係がないはずです)。

サウンド設定には「仮想出力」のみが表示されます。これはサウンドが利用できないことを意味します。 サウンド設定スクリーンショット

実際には2つのサウンドカードがありますが、どちらも正しく表示されます(少なくとも問題があるとは思いません)。

mcon@cinderella:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 9: HDMI 3 [SAMSUNG]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
mcon@cinderella:~$ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2] (rev 07)
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd 8th Gen Core Processor Host Bridge/DRAM Registers [1458:5000]
    Kernel driver in use: skl_uncore
    Kernel modules: ie31200_edac
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
    Subsystem: Gigabyte Technology Co., Ltd 6th-10th Gen Core Processor PCIe Controller (x16) [1458:5000]
    Kernel driver in use: pcieport
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [1458:5000]
00:14.0 USB controller [0c03]: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [8086:a2af]
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [1458:5007]
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:16.0 Communication controller [0780]: Intel Corporation 200 Series PCH CSME HECI #1 [8086:a2ba]
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH CSME HECI [1458:1c3a]
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282]
    DeviceName: Onboard - SATA
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH SATA controller [AHCI mode] [1458:b005]
    Kernel driver in use: ahci
    Kernel modules: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #17 [8086:a2e7] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1b.2 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #19 [8086:a2e9] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1b.3 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #20 [8086:a2ea] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1b.4 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #21 [8086:a2eb] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1c.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #1 [8086:a290] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #3 [8086:a292] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #4 [8086:a293] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #5 [8086:a294] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #9 [8086:a298] (rev f0)
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH PCI Express Root Port [1458:5001]
    Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Z370 Chipset LPC/eSPI Controller [8086:a2c9]
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Z370 Chipset LPC/eSPI Controller [1458:5001]
00:1f.2 Memory controller [0580]: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller [8086:a2a1]
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd 200 Series/Z370 Chipset Family Power Management Controller [1458:5001]
00:1f.3 Audio device [0403]: Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
    DeviceName: Onboard - Sound
    Subsystem: Gigabyte Technology Co., Ltd 200 Series PCH HD Audio [1458:a182]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller [8086:a2a3]
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd 200 Series/Z370 Chipset Family SMBus Controller [1458:5001]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
01:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller [1b4b:9215] (rev 11)
    Subsystem: Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller [1b4b:9215]
    Kernel driver in use: ahci
    Kernel modules: ahci
04:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev 6b)
    Subsystem: Intel Corporation Dual Band Wireless-AC 3160 [8086:0070]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
    Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
    Kernel driver in use: r8169
    Kernel modules: r8169
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)
    Subsystem: XFX Pine Group Inc. Radeon RX 580 [1682:c580]
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu
09:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1002:aaf0]
    Subsystem: XFX Pine Group Inc. Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1682:aaf0]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
mcon@cinderella:~$ 

オーディオ入力を提供する必要がある(動作する)ウェブカメラもありますが、まったく見ることはできません。 ここに画像の説明を入力してください。 すべてのドライバ/ファームウェアが正しくインストールされているようです。

何を確認する必要がありますか?

修正する:外部のBluetoothデバイス(ヘッドフォン)を接続(ペアリングおよび信頼)することもできますが、追加のオーディオデバイスとは見なされません。

ALSA / pulseaudioは基本ハードウェアと完全に切断されているようです。

アップデート2:問題はsystemctl --user restart pulseaudio.service問題を「解決」しますが、次回の再起動時に修復されます。

設定で何も変更していませんが、/usr/lib/systemd/user/pulseaudio.serviceとても最近(9月22日21:00)のようで最新apt upgrade

アップデート3:pulseaudioはログアウト/ログイン後も維持されないようです。ログイン後、私は以下を持っています:

mcon@cinderella:~$ systemctl --user status pulseaudio.service
○ pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
     Active: inactive (dead)
TriggeredBy: ○ pulseaudio.socket

Oct 10 12:25:16 cinderella systemd[4171]: Starting Sound Service...
Oct 10 12:25:16 cinderella pulseaudio[168659]: Stale PID file, overwriting.
Oct 10 12:25:18 cinderella systemd[4171]: Started Sound Service.
Oct 10 12:25:18 cinderella pulseaudio[168659]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
Oct 10 21:13:26 cinderella systemd[4171]: pulseaudio.service: Consumed 1min 48.247s CPU time.
mcon@cinderella:~$ 

しかし、私はできる:

mcon@cinderella:~$ systemctl --user start pulseaudio.service
mcon@cinderella:~$ systemctl --user status pulseaudio.service
● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
     Active: active (running) since Mon 2022-10-10 22:45:02 CEST; 3s ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 627764 (pulseaudio)
      Tasks: 4 (limit: 38373)
     Memory: 12.9M
        CPU: 315ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pulseaudio.service
             └─627764 /usr/bin/pulseaudio --daemonize=no --log-target=journal

Oct 10 22:45:01 cinderella systemd[614646]: Starting Sound Service...
Oct 10 22:45:01 cinderella pulseaudio[627764]: Stale PID file, overwriting.
Oct 10 22:45:02 cinderella systemd[614646]: Started Sound Service.
Oct 10 22:45:02 cinderella pulseaudio[627764]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
mcon@cinderella:~$ 

...次にログインするまで幸せになります。

ベストアンサー1

おすすめ記事