You are not logged in.
wireplumber[638]: Failed to set scheduler settings: Operation not permitted
wireplumber[638]: <WpSiAudioAdapter:0x55ecd8b220e0> Object activation aborted: proxy destroyed
wireplumber[638]: <WpSiAudioAdapter:0x55ecd8b220e0> failed to activate item: Object activation aborted: proxy destroyed
wireplumber[638]: [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>
0.4.7-1 and 0.4.8-1 doesn't work
0.4.5-2 works
Offline
Works fine here, reads like a (no longer) valid configuration on your part, look at that file and compare it with distribution defaults/check for unhandled pacnews.
Offline
Works fine here, reads like a (no longer) valid configuration on your part, look at that file and compare it with distribution defaults/check for unhandled pacnews.
What file? I didn't make any configurations
Offline
policy-bluetooth.lua as mentioned in the error message, by default under /usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua or /etc/wireplumber if you did indeed make custom configuration.
FWIW while I can't repro at all a quick googler suggests there's a potential issue when doing VT switches that leads to this error: https://gitlab.freedesktop.org/pipewire … issues/193
Last edited by V1del (2022-03-03 08:40:03)
Offline
I've removed the /usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua file.
The [string "policy-bluetooth.lua"] error disappeared
But it still doesn't work
UPDATE: the error is back
Last edited by megchan (2022-03-03 08:57:09)
Offline
You shouldn't remove the file outright, but check whether it's different from the defaults. FWIW see my link, should be fixed with the next release eventually.
Offline
Where I can find the defaults?
Offline
install the wireplumber package, if it doesn't create .pacnews the defaults will be whatever's in /usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua but as I linked in the previous post there might be an actual bug here .though I'm still somewhat stumped seeing how few people seem to run into it and under which conditions.
Are you running something already setting up a bluetooth device on login perhaps? e.g. do you use GDM or so?
Last edited by V1del (2022-03-03 09:14:37)
Offline
There are no .pacnew files.
Don't know about bluetooth I don't use bluetooth nor Gnome
Offline
i've updated to 0.4.9-1
there is no "policy-bluetooth.lua" error anymore but i sill get " Failed to set scheduler settings: Operation not permitted" message
audio still doesn't work
i can't use 0.4.5-2 with kernel 5.17 because of telegram app doesn't work with it
UPDATE
it works if I change profile to "analog stereo duplex (unavalable)" but sometimes sound stops working and I have to restart wireplumber.service
Last edited by megchan (2022-04-15 09:34:41)
Offline
Check if there are any config files that could override the defaults. If so, delete them. Empty folders are ok.
$ find ~/.config/pipewire /etc/pipewire -type f
Failed to set scheduler settings: Operation not permitted
This should help:
https://gitlab.freedesktop.org/pipewire … te_1033887
Last edited by Maniaxx (2022-04-15 16:31:46)
sys2064
Offline