我在设置pulseaudio遇到严重问题

我建议你重装系统,音频模块已经被搞坏了,肯定有些配置文件配置是错误的。

1 个赞

懒得管了,能用就行,等着换电脑,我KDE修改的很复杂重装了又要重新搞,麻烦 :face_with_raised_eyebrow:

复活:更新一下,这两天插了耳机发现只有一个声道了 :sweat_smile:

找到一篇不错的文章值得一看

不知道怎么回事又没声了,这次真的打算操作系统了,问题太多了 :sob:

❯ systemctl --user status wireplumber pipewire pipewire-pulse
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 40s ago
   Main PID: 7262 (wireplumber)
      Tasks: 4 (limit: 9123)
     Memory: 5.8M
        CPU: 459ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─7262 /usr/bin/wireplumber

Jan 03 15:49:10 tim-PC wireplumber[7262]: RTKit error: org.freedesktop.DBus.Error.InvalidArgs
Jan 03 15:49:10 tim-PC wireplumber[7262]: could not set nice-level to -11: Input/output error
Jan 03 15:49:11 tim-PC wireplumber[7262]: ofono running, but not configured as HFP/HSP backend: it may interfere w>
Jan 03 15:49:11 tim-PC wireplumber[7262]: listen(): Address already in use
Jan 03 15:49:11 tim-PC wireplumber[7262]: ofono running, but not configured as HFP/HSP backend: it may interfere w>
Jan 03 15:49:11 tim-PC wireplumber[7262]: RegisterProfile() failed: org.bluez.Error.NotPermitted
Jan 03 15:49:11 tim-PC wireplumber[7262]: Trying to use legacy bluez5 API for LE Audio - only A2DP will be support>
Jan 03 15:49:11 tim-PC wireplumber[7262]: <WpSiAudioAdapter:0x55a1220bb0b0> Object activation aborted: proxy destr>
Jan 03 15:49:11 tim-PC wireplumber[7262]: <WpSiAudioAdapter:0x55a1220bb0b0> failed to activate item: Object activa>
Jan 03 15:50:09 tim-PC wireplumber[7262]: [string "policy-bluetooth.lua"]:121: bad argument #1 to 'find' (string e>
                                          stack traceback:
                                                  [C]: in function 'string.find'
                                                  [string "policy-bluetooth.lua"]:121: in upvalue 'isBluez5AudioSi>
                                                  [string "policy-bluetooth.lua"]:389: in function <[string "polic>

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 40s ago
TriggeredBy: ● pipewire.socket
   Main PID: 7261 (pipewire)
      Tasks: 2 (limit: 9123)
     Memory: 16.4M
lines 1-32...skipping...
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 40s ago
   Main PID: 7262 (wireplumber)
      Tasks: 4 (limit: 9123)
     Memory: 5.8M
        CPU: 459ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─7262 /usr/bin/wireplumber

Jan 03 15:49:10 tim-PC wireplumber[7262]: RTKit error: org.freedesktop.DBus.Error.InvalidArgs
Jan 03 15:49:10 tim-PC wireplumber[7262]: could not set nice-level to -11: Input/output error
Jan 03 15:49:11 tim-PC wireplumber[7262]: ofono running, but not configured as HFP/HSP backend: it may interfere with HFP/HSP functionality.
Jan 03 15:49:11 tim-PC wireplumber[7262]: listen(): Address already in use
Jan 03 15:49:11 tim-PC wireplumber[7262]: ofono running, but not configured as HFP/HSP backend: it may interfere with HFP/HSP functionality.
Jan 03 15:49:11 tim-PC wireplumber[7262]: RegisterProfile() failed: org.bluez.Error.NotPermitted
Jan 03 15:49:11 tim-PC wireplumber[7262]: Trying to use legacy bluez5 API for LE Audio - only A2DP will be supported. Please upgrade bluez5.
Jan 03 15:49:11 tim-PC wireplumber[7262]: <WpSiAudioAdapter:0x55a1220bb0b0> Object activation aborted: proxy destroyed
Jan 03 15:49:11 tim-PC wireplumber[7262]: <WpSiAudioAdapter:0x55a1220bb0b0> failed to activate item: Object activation aborted: proxy destroyed
Jan 03 15:50:09 tim-PC wireplumber[7262]: [string "policy-bluetooth.lua"]:121: bad argument #1 to 'find' (string expected, got nil)
                                          stack traceback:
                                                  [C]: in function 'string.find'
                                                  [string "policy-bluetooth.lua"]:121: in upvalue 'isBluez5AudioSink'
                                                  [string "policy-bluetooth.lua"]:389: in function <[string "policy-bluetooth.lua"]:387>

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 40s ago
TriggeredBy: ● pipewire.socket
   Main PID: 7261 (pipewire)
      Tasks: 2 (limit: 9123)
     Memory: 16.4M
        CPU: 357ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─7261 /usr/bin/pipewire

Jan 03 15:49:10 tim-PC systemd[2027]: Started PipeWire Multimedia Service.
Jan 03 15:49:10 tim-PC pipewire[7261]: mod.rt: RTKit error: org.freedesktop.DBus.Error.InvalidArgs
Jan 03 15:49:10 tim-PC pipewire[7261]: mod.rt: could not set nice-level to -11: 输入/输出错误

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 40s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 7264 (pipewire-pulse)
      Tasks: 2 (limit: 9123)
     Memory: 7.6M
        CPU: 332ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─7264 /usr/bin/pipewire-pulse

Jan 03 15:49:10 tim-PC pipewire-pulse[7264]: mod.rt: could not set nice-level to -11: 输入/输出错误
Jan 03 15:49:17 tim-PC pipewire-pulse[7264]: mod.protocol-pulse: client 0x5571d3a784e0 [libcanberra]: ERROR command:18 (PLAY_SAMPLE) tag:6 error:25 (输入/输出错误)

❯ systemctl --user status wireplumber pipewire pipewire-pulse
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 59s ago
   Main PID: 7262 (wireplumber)
      Tasks: 4 (limit: 9123)
     Memory: 5.8M
        CPU: 460ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─7262 /usr/bin/wireplumber

Jan 03 15:49:10 tim-PC wireplumber[7262]: RTKit error: org.freedesktop.DBus.Error.InvalidArgs
Jan 03 15:49:10 tim-PC wireplumber[7262]: could not set nice-level to -11: Input/output error
Jan 03 15:49:11 tim-PC wireplumber[7262]: ofono running, but not configured as HFP/HSP backend: it may interfere with HFP/HSP functionality.
Jan 03 15:49:11 tim-PC wireplumber[7262]: listen(): Address already in use
Jan 03 15:49:11 tim-PC wireplumber[7262]: ofono running, but not configured as HFP/HSP backend: it may interfere with HFP/HSP functionality.
Jan 03 15:49:11 tim-PC wireplumber[7262]: RegisterProfile() failed: org.bluez.Error.NotPermitted
Jan 03 15:49:11 tim-PC wireplumber[7262]: Trying to use legacy bluez5 API for LE Audio - only A2DP will be supported. Please upgrade bluez5.
Jan 03 15:49:11 tim-PC wireplumber[7262]: <WpSiAudioAdapter:0x55a1220bb0b0> Object activation aborted: proxy destroyed
Jan 03 15:49:11 tim-PC wireplumber[7262]: <WpSiAudioAdapter:0x55a1220bb0b0> failed to activate item: Object activation aborted: proxy destroyed
Jan 03 15:50:09 tim-PC wireplumber[7262]: [string "policy-bluetooth.lua"]:121: bad argument #1 to 'find' (string expected, got nil)
                                          stack traceback:
                                                  [C]: in function 'string.find'
                                                  [string "policy-bluetooth.lua"]:121: in upvalue 'isBluez5AudioSink'
                                                  [string "policy-bluetooth.lua"]:389: in function <[string "policy-bluetooth.lua"]:387>

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 59s ago
TriggeredBy: ● pipewire.socket
   Main PID: 7261 (pipewire)
      Tasks: 2 (limit: 9123)
     Memory: 16.4M
        CPU: 357ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─7261 /usr/bin/pipewire

Jan 03 15:49:10 tim-PC systemd[2027]: Started PipeWire Multimedia Service.
Jan 03 15:49:10 tim-PC pipewire[7261]: mod.rt: RTKit error: org.freedesktop.DBus.Error.InvalidArgs
Jan 03 15:49:10 tim-PC pipewire[7261]: mod.rt: could not set nice-level to -11: 输入/输出错误

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-01-03 15:49:10 CST; 2min 59s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 7264 (pipewire-pulse)
      Tasks: 2 (limit: 9123)
     Memory: 7.6M
        CPU: 332ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─7264 /usr/bin/pipewire-pulse

Jan 03 15:49:10 tim-PC pipewire-pulse[7264]: mod.rt: could not set nice-level to -11: 输入/输出错误
Jan 03 15:49:17 tim-PC pipewire-pulse[7264]: mod.protocol-pulse: client 0x5571d3a784e0 [libcanberra]: ERROR command:18 (PLAY_SAMPLE) tag:6 error:25 (输入/输出错误)

我说了让你重装系统的。因为我不知道你把什么地方给搞炸了,当然如果你还想修的话就要用purge删除软件(purge可以同时删除配置文件)。不过这个我建议你备份~/.config下的配置文件,然后重装系统,装好了以后把配置文件拷贝回去恢复KDE的自定义设置。

1 个赞

看我这个贴

离谱,重装系统第二天又出问题了


懒得搞了,毁灭吧

我刚安装debian12.2,系统升级后也遇到和你类似的问题,参考下文修改设置即可解决问题,供大家参考解决debian升级后没有声音_debian 声卡_barbyQAQ的博客-CSDN博客

1 个赞

哈哈哈,感谢你的回复,原来的电脑已经卖了,不过我仍然想知道问题所在