[Freezing/Lagging] 声音输出切换成 pipewire 后无声,切不回 pulseAudio
Tofloor
poster avatar
swish
deepin
2024-11-13 17:32
Author

点控制中心中声音卡住,很长时间后出现设置,找不到设备,且切换音频设备不可用。

inxi -A
Audio:
  Device-1: Intel Comet Lake PCH-V cAVS driver: snd_hda_intel
  API: ALSA v: k6.9.6-amd64-desktop-rolling status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active (process)

图片.png

有没有命令可以通过终端中切换?

Reply Favorite View the author
All Replies
swish
deepin
2024-11-13 17:36
#1

dmesg |grep snd 的结果

[ 0.812606] ata1.00: Features: Trust Dev-Sleep NCQ-sndrcv [ 4.503936] snd_hda_intel 0000:00:1f.3: enabling device (0400 -> 0402) [ 4.504081] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 4.554340] snd_hda_codec_realtek hdaudioC0D0: ALCS1200A: SKU not ready 0x00000000 [ 4.554672] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALCS1200A: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line [ 4.554674] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 4.554675] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) [ 4.554676] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 4.554677] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 4.554678] snd_hda_codec_realtek hdaudioC0D0: Front Mic=0x19 [ 4.554679] snd_hda_codec_realtek hdaudioC0D0: Rear Mic=0x18 [ 4.554680] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a

Reply View the author
xye9008
deepin
2024-11-13 17:40
#2

终端控制台 使用 alsamixer 去调节下,具体怎么用百度或者论坛里都有

Reply View the author
小鱼贝壳
deepin
2024-11-14 06:27
#3

搜一下

Reply View the author
swish
deepin
2024-11-14 14:12
#4
xye9008

终端控制台 使用 alsamixer 去调节下,具体怎么用百度或者论坛里都有

我要的是怎么切回 pulseAudio,不是要更改默认音频输出设备

Reply View the author
swish
deepin
2024-11-15 16:20
#5

声音里现在是这样
图片.png

实际上 pipewire 是工作的

图片.png

pactl info

Server String: /home/swish/.xdg.runtime/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 3119
Tile Size: 65472
User Name: swish
Host Name: swish-B460-10700
Server Name: PulseAudio (on PipeWire 1.2.5)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.pro-output-0
Default Source: alsa_input.pci-0000_00_1f.3.pro-input-0
Cookie: e140:a4e8

wpctl status

PipeWire 'pipewire-0' [1.2.5, swish@swish-B460-10700, cookie:3779110120]
 └─ Clients:
        33. WirePlumber                         [1.2.5, swish@swish-B460-10700, pid:6655]
        38. pipewire                            [1.2.5, swish@swish-B460-10700, pid:6657]
        39. go-pulseaudio                       [1.2.5, swish@swish-B460-10700, pid:2852]
        48. WirePlumber [export]                [1.2.5, swish@swish-B460-10700, pid:6655]
       113. Firefox                             [1.2.5, swish@swish-B460-10700, pid:6760]
       117. speech-dispatcher-dummy             [1.2.5, swish@swish-B460-10700, pid:66564]
       120. Firefox                             [1.2.5, swish@swish-B460-10700, pid:6760]
       153. wpctl                               [1.2.5, swish@swish-B460-10700, pid:104283]
       154. WirePlumber                         [1.2.5, swish@swish-B460-10700, pid:6655]
       180. WEBRTC VoiceEngine                  [1.2.5, swish@swish-B460-10700, pid:63082]
       189. WEBRTC VoiceEngine                  [1.2.5, swish@swish-B460-10700, pid:63082]
       192. WEBRTC VoiceEngine                  [1.2.5, swish@swish-B460-10700, pid:63082]
       195. WEBRTC VoiceEngine                  [1.2.5, swish@swish-B460-10700, pid:63082]
       197. WEBRTC VoiceEngine                  [1.2.5, swish@swish-B460-10700, pid:63082]
       204. WEBRTC VoiceEngine                  [1.2.5, swish@swish-B460-10700, pid:63082]
       231. Chromium input                      [1.2.5, swish@swish-B460-10700, pid:63136]

Audio
 ├─ Devices:
 │      49. 内置音频                        [alsa]
 │     157. HUAWEI FreeBuds 5                   [bluez5]
 │  
 ├─ Sinks:
 │      44. 内置音频 Pro 7                  [vol: 1.53]
 │      46. 内置音频 Pro 3                  [vol: 1.51]
 │  *   53. 内置音频 Pro                    [vol: 1.49]
 │      55. 内置音频 Pro 8                  [vol: 1.41]
 │     162. HUAWEI FreeBuds 5                   [vol: 0.50]
 │  
 ├─ Sources:
 │  *   56. 内置音频 Pro                    [vol: 1.00]
 │      57. 内置音频 Pro 2                  [vol: 1.00]
 │  
 ├─ Filters:
 │    - loopback-6655-18                                    
 │     155. bluez_input.40:DC:A5:12:82:99                                [Audio/Source]
 │     163. bluez_capture_internal.40:DC:A5:12:82:99                     [Stream/Input/Audio/Internal]
 │  
 └─ Streams:
       182. Firefox                                             
            164. output_FR       > HUAWEI FreeBuds 5:playback_FR        [active]
            165. output_FL       > HUAWEI FreeBuds 5:playback_FL        [active]
       191. speech-dispatcher-dummy                             
            185. output_FL       > ALCS1200A Analog:playback_AUX0       [init]
            186. output_FR       > ALCS1200A Analog:playback_AUX1       [init]

Video
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.pci-0000_00_1f.3.pro-output-0

Reply View the author