You are not logged in.

#1 2024-10-15 14:04:43

smithykerr
Member
Registered: 2024-07-03
Posts: 6

confused about gaming wiki page section

hey so in the policies section in the gaming wiki page here https://wiki.archlinux.org/title/Gaming … 20affinity

it says
"bit.trip.runner -I"
or
"bit.trip.runner -F -p 15"
can be beneficial to gaming but i do not know where to append one or the other

Last edited by smithykerr (2024-10-15 15:04:52)

Offline

#2 2024-10-15 14:14:17

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,345
Website

Re: confused about gaming wiki page section

It's on the linked page (emphasis added):

ArchWiki wrote:

To edit what programs relieve what policies, simply edit /etc/schedtoold.conf and add the program followed by the schedtool arguments desired.

Looks like you need the schedtool package for it to work.


Para todos todo, para nosotros nada

Offline

#3 2024-10-15 14:49:03

smithykerr
Member
Registered: 2024-07-03
Posts: 6

Re: confused about gaming wiki page section

Head_on_a_Stick wrote:

It's on the linked page (emphasis added):

ArchWiki wrote:

To edit what programs relieve what policies, simply edit /etc/schedtoold.conf and add the program followed by the schedtool arguments desired.

Looks like you need the schedtool package for it to work.

can you show me how i can insert them in to /etc/schedtoold.conf

this is what my schedtoold.conf file looks like

# Rules:
#   %group: user: /path/to programmname schedtool-options

# Note:
#   Rules are parsed from top downwards. The first rule matches is valid!

# WARNING:
#   Adding programms without absolute paths could be used to make your computer
#   unusable!
#   For instance:
#   Adding "mplayer -R" causes every programm named mplayer to become SCHED_RR
#   - even those created in every directories and started by non-root users. The
#   programm could burn all your CPU cycles.
#   So DO NOT use SCHED_RR, SCHED_ISO and negative renice without absolute paths
#   to the executables!

# WARNING:
#   Wildcards are also valid for directories!
#   E.g. "/usr/bin* -B" will SCHED_BATCH every programms located in /usr/bin!

# Settings per user or group are supported.
#  example 1: set xmms only to SCHED_ISO if running in group users
#    %users: /usr/bin/xmms -I
#  example 2: only allow root to run xmms (placed in every directory) SCHED_ISO
#    root:  xmms -I
#  example 3: allow ALL users to run xmms as SCHED_ISO
#    ALL: xmms -I
# If no group or user is given ALL: is assumed.


# video
/usr/bin/mplayer -n -1
/usr/bin/xine -n -1

# music
/opt/Realplayer/realplay.bin -I
/usr/bin/xmms -I
/usr/bin/rhythmbox -I
# amarok didn't work with SCHED_ISO for me!
/usr/bin/amarokapp -n -1

# gentoo (emerge should be only batched for group root)
%root: emerge -B

# debian
dpkg -B
apt-get -B

# redhat
rhnsd -B
up2date -B

# compilation
make -B
configure -B

# daemons
crond -B
ntpd -B

# X programms
xscreensaver -B

# KDE:
#  run kioslaves SCHED_BATCH but not kio_file (SCHED_NORMAL) to ensure file browsing works normal.
kio_file -N
kio_* -B

Offline

#4 2024-10-15 14:54:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,307

Re: confused about gaming wiki page section

You add a new line with the binary you want the relevant options to be applied to to said file...

FWIW do you have any noticeable issues with games that you want to mess around in here? Misconfiguration can lock the system up.

Last edited by V1del (2024-10-15 14:54:54)

Offline

#5 2024-10-15 15:01:54

smithykerr
Member
Registered: 2024-07-03
Posts: 6

Re: confused about gaming wiki page section

V1del wrote:

You add a new line with the binary you want the relevant options to be applied to to said file...

FWIW do you have any noticeable issues with games that you want to mess around in here? Misconfiguration can lock the system up.

i am getting stuttering in games while using proton and wine and it says that appending "bit.trip.runner -I" will attempt to reduce latency and stuttering wherever possible and that most if not all games will benefit from this

Offline

#6 2024-10-15 15:09:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,307

Re: confused about gaming wiki page section

bit.trip.runner -I is an example of a specific game (... https://en.wikipedia.org/wiki/Bit.Trip_Runner ) you need to add the executable name of the specific game you want to run there. Did you read the note above that section noting that the ISO_SCHEDULER only exist with non standard kernel schedulers and are you even running any of them? you can use the -F option for the FIFO scheduler on most kernels, but I'd say it's not certain the stutters are up to scheduling issues and you might to want to open another thread, elaborate on your HW and the game you want to play and the nature of the stutters.

Offline

#7 2024-10-15 15:16:58

smithykerr
Member
Registered: 2024-07-03
Posts: 6

Re: confused about gaming wiki page section

V1del wrote:

bit.trip.runner -I is an example of a specific game (... https://en.wikipedia.org/wiki/Bit.Trip_Runner ) you need to add the executable name of the specific game you want to run there. Did you read the note above that section noting that the ISO_SCHEDULER only exist with non standard kernel schedulers and are you even running any of them? you can use the -F option for the FIFO scheduler on most kernels, but I'd say it's not certain the stutters are up to scheduling issues and you might to want to open another thread, elaborate on your HW and the game you want to play and the nature of the stutters.

oh wow lol oops, and ok so i should use the -F option instead and specify the games absolute path? i am using the linux-zen kernel

Offline

Board footer

Powered by FluxBB