Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenRC/CGroups in Plasma
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fid
n00b
n00b


Joined: 16 Apr 2017
Posts: 15

PostPosted: Sun Sep 26, 2021 8:19 am    Post subject: OpenRC/CGroups in Plasma Reply with quote

Has anybody gotten the "Applications view" in System Monitor to work with an OpenRC system? I tried the OpenRC/CGroups wiki: https://wiki.gentoo.org/wiki/OpenRC/CGroups and it seems to be working for OpenRC, but System monitor still says "Applications view is unsupported on your system".
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Mon Oct 04, 2021 3:19 pm    Post subject: Reply with quote

https://forum.artixlinux.org/index.php/topic,2770.0.html

Don't know if that's correct or not (didn't read the link).
Back to top
View user's profile Send private message
fid
n00b
n00b


Joined: 16 Apr 2017
Posts: 15

PostPosted: Mon Oct 04, 2021 5:09 pm    Post subject: Reply with quote

Yeah, the thread speculates that this is a pure systemd feature. That's why I wondered if there was a workaround for OpenRC-systems...
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Sat Jul 23, 2022 8:57 am    Post subject: Reply with quote

Joining the question...
I recently came back to openrc from systemd (not a systemd hater though, I just feel openrc is a bit faster on my computer), google lead me here.
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 723
Location: /home

PostPosted: Sun Jul 24, 2022 6:26 am    Post subject: Reply with quote

Don't use plasma but had my fair share of issues with cgroups compatibility...

What are your /etc/rc.conf's entries for "rc_cgroup_mode" and "rc_cgroup_controllers" (or "rc_controller_cgroups", never remember which is the right one on latest version...)?

Try switching between unified and hybrid (requires a reboot) and see if that helps. You can also try something like:
install -d /sys/fs/cgroup/systemd
mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd

as root if the directory does not exist already. May require plasma logout before it takes effect. No clue if it helps but something you can try.
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Sat Jul 30, 2022 9:53 am    Post subject: Reply with quote

Juippisi wrote:
Don't use plasma but had my fair share of issues with cgroups compatibility...

What are your /etc/rc.conf's entries for "rc_cgroup_mode" and "rc_cgroup_controllers" (or "rc_controller_cgroups", never remember which is the right one on latest version...)?

Try switching between unified and hybrid (requires a reboot) and see if that helps. You can also try something like:
install -d /sys/fs/cgroup/systemd
mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd

as root if the directory does not exist already. May require plasma logout before it takes effect. No clue if it helps but something you can try.

Yeah, i tried all you suggested, alas to no avail...

Code:

rc_cgroup_mode="unified"
#rc_cgroup_mode="hybrid"

rc_cgroup_controllers="YES"


and also the install and mount commands with login out and in
I guess the app relies on something else that systemd does, besides just having the support for cgroup
source code is here: https://github.com/KDE/plasma-systemmonitor/blob/master/src/pages/applications.page
but i can't figure out from where does it draw its data
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum