On Mon, 2024-01-15 at 21:02 +0100, to...@tuxteam.de wrote:
> > [...]
> > I have --- at least temporarily --- disabled rtkit-daemon by masking
> > the service and renaming
> > /usr/share/dbus-1/system-services/org.freedesktop.RealtimeKit1.service
> > so dbus doesn't try to start it anymore.
> > 
> > I've restarted firefox and am still seeing processes with higher
> > priority in htop (labled as /usr/lib64/firefox/firefox).  I've checked
> > with ps that rtkit-daemon is not running.
> 
> Interesting. All of them 20 here, i.e. normal. But my setup isn't
> normal, mind you :)

Mine isn't either in that I have allowed myself to run things at
higher priority when I tried to get better FPS rates for a game I was
playing.

I wonder if you're seeing the same with firefox when you allow higher
priority, too.  Otherwise I don't see how firefox or any other user
process should be able to do it (without rtkit).

Still it seems unusual that firefox does something it usually can't
do.  Who would go to the lengths of implementing a feature that nobody
uses.

The messages in the journal are actually weird:


rtkit-daemon[132284]: Successfully made thread 145442 of process 145185 
(/usr/lib64/firefox/firefox) owned by '1000' RT at priority 10.

rtkit-daemon[132284]: Successfully made thread 2534 of process 2507 
(/usr/bin/gnome-shell) owned by '1000' RT at priority 20.
rtkit-daemon[132284]: Successfully made thread 2534 of process 2507 
(/usr/bin/gnome-shell) owned by '1000' high priority at nice level 0.
rtkit-daemon[132284]: Successfully made thread 2534 of process 2507 
(/usr/bin/gnome-shell) owned by '1000' RT at priority 20.
rtkit-daemon[132284]: Successfully made thread 2534 of process 2507 
(/usr/bin/gnome-shell) owned by '1000' high priority at nice level 0.


It says 'made owned by'.  Does user 1000 not own the process to begin
with?  Which user owned it before?  Or what is that supposed to mean?

Eventually it will run into a limit:


rtkit-daemon[1121]: Failed to look up client: Device or resource busy
rtkit-daemon[1121]: Warning: Reached maximum concurrent process limit for user 
'1000', denying request.
J


Will firefox will make its processes higher priority despite the limit
is reached since it does it without rtkit?

Reply via email to