You are not logged in.

#1 2021-01-03 22:21:26

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 229

[SOLVED] MPD cannot initalize to io_uring

I am running mpd as my user (systemctl --user) and I have rwx permissions on my music directory directories, and read permissions on my files for my user. For some reason ncmpcpp refuses to connect. I don't see what the issue could be or how to solve it.

Nvm, it was settings left behind from when I was using alsa (using pulse now) under audio_output. MPD gives no warning for some of the lines you can have there.

A secondary, (and possibly connected?) issue is mpd cannot "initialize to io_uring." This, I would like to solve?

Last edited by felixculpa (2021-01-04 18:56:19)

Offline

#2 2021-01-04 02:10:49

gnox
Member
Registered: 2013-05-18
Posts: 62

Re: [SOLVED] MPD cannot initalize to io_uring

If you are using the mpd.service io_uring is configured for what it needs

cat /usr/lib/systemd/user/mpd.service

...
# for io_uring
LimitMEMLOCK=64M
...

Either way if io_uring is not detected by mpd it fallsback to normal file operation.

You can also try with /etc/security/limits.conf

*				soft     memlock 			67108864
*				hard     memlock 			67108864

or /etc/systemd/user.conf

Last edited by gnox (2021-01-04 02:12:55)

Offline

#3 2021-01-04 18:56:05

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 229

Re: [SOLVED] MPD cannot initalize to io_uring

Thank you. I added the line to the limits.conf file and the message went away after rebooting.

Offline

Board footer

Powered by FluxBB