Henrik Holst
85b9abd654
fixed more coding style errors
2023-12-04 14:18:38 +00:00
Henrik Holst
2f7075b9c6
fix for clang-format
2023-12-04 14:18:38 +00:00
Henrik Holst
2e26331d97
fix to match clang-format
2023-12-04 14:18:38 +00:00
Henrik Holst
303a5a9734
fix to match clang-format
2023-12-04 14:18:38 +00:00
Henrik Holst
a9042199c6
fixed to match clang-format
2023-12-04 14:18:38 +00:00
Henrik Holst
3cabf9859d
added info about suport for Intel E- and P-cores
2023-12-04 14:18:38 +00:00
Henrik Holst
51ee251efb
Added detection for big.LITTLE
...
Added detection for big.LITTLE aka cpu:s where not all cores have the same frequency like on Intel Alder Lake and newer. The current logic allows a 5% difference in the max frequency due to some reports that those cpu:s doesn't always give back the exact same value (possible due to boosting capability).
2023-12-04 14:18:38 +00:00
Henrik Holst
ba1c593d0e
added build info for cpucorectl
...
added build info for the new cpucorectl utility to meson
2023-12-04 14:18:38 +00:00
Henrik Holst
7d00c1f0a4
added cpucorectl.c
...
Added a utility to enable and disable cpu cores (aka core parking) since this requires root privileges
2023-12-04 14:18:38 +00:00
Henrik Holst
c070604a22
added cpu core parking/pinning settings to gamemode.ini
...
added some info about the new cpu core parking and pinning settings in gamemode.ini
2023-12-04 14:18:38 +00:00
Henrik Holst
dc2f7bbcd0
added polkit rules for cpucorectl
...
added polkit rules so we can run the cpucorectl utility without being root
2023-12-04 14:18:38 +00:00
Henrik Holst
437a129900
added polkit policy for cpucorectl
...
added the polkit policy for the cpucorectl utility so we can call it without being root
2023-12-04 14:18:38 +00:00
Henrik Holst
4997adef8d
build gamemode-cpu
...
Added build info for gamemade-cpu.c to meson
2023-12-04 14:18:38 +00:00
Henrik Holst
1b10b679cd
added the cpu core parking/pinning definitions
...
added the cpu core parking/pinning definitions to gamemode.h
2023-12-04 14:18:38 +00:00
Henrik Holst
495a659895
Added gamemode-cpu.c
...
Added gamemode-cpu.c which contains the functions for cpu core parking and pinning
2023-12-04 14:18:38 +00:00
Henrik Holst
2dbd565340
call the cpu core parking/pinning from context
...
call the cpu core parking/pinning from gamemode-context.c
2023-12-04 14:18:38 +00:00
Henrik Holst
01024927d2
added cpu core parking/pinning settings
...
added cpu core parking/pinning settings to gamemode-config.h
2023-12-04 14:18:38 +00:00
Henrik Holst
32a0b5b636
added the cpu core parking/pinning settings
...
added the cpu core parking/pinning settings to gamemode-config.c
2023-12-04 14:18:38 +00:00
Henrik Holst
520dc85ac3
updated meson.build to build common-cpu
...
added build info for common-cpu to meson
2023-12-04 14:18:38 +00:00
Henrik Holst
82206534dc
Added common-cpu.c and common-cpu.h
...
Added common files for the cpu core parking/pinning functionality
2023-12-04 14:18:38 +00:00
Ahsan Fayaz
1f28880509
Update copyright year and project list
...
PolyMC died and most of the active devs created a fork, Prism Launcher
2023-05-23 11:37:01 +01:00
8lendzior
8cfc345312
issue #384 , #399
...
I have fixed the issues by implementing this change before running the script
2023-03-02 11:27:44 +00:00
Hugo Locurcio
7cf59587ce
Document some configuration files not allowing [gpu]
changes
...
This also reorders the list from highest to lowest priority,
which is generally more commonly used.
2023-03-02 11:25:52 +00:00
MrAkells
f5882d5158
Update README.md
2023-03-02 11:25:25 +00:00
James Le Cuirot
06f01938a9
Fix typo in gamemodelist man page
2022-10-04 15:44:23 +01:00
James Le Cuirot
71f4b875ce
Only install gamemoderun if shared libgamemodeauto is built
...
Otherwise emit a warning.
2022-10-04 15:44:23 +01:00
James Le Cuirot
b103bfdd60
Don't force installation of static libgamemodeauto
...
Defining the library with `library` rather than `both_libraries` allows the user
to choose which type they want to install using `-Ddefault_library`.
Closes: https://github.com/FeralInteractive/gamemode/issues/287
2022-10-04 15:44:23 +01:00
ashuntu
4cffdef805
Removed blank line
2022-09-14 17:57:49 +01:00
ashuntu
3f969bbf1f
Fix env edgecase
2022-09-14 17:57:49 +01:00
ashuntu
1ca2daf47f
Make more readable
2022-09-14 17:57:49 +01:00
ashuntu
179d5432e4
Add snap support
2022-09-14 17:57:49 +01:00
Nyikos Zoltán
4934191b19
Fix building when pidfd_open is available
...
On glibc2.36 pidfd_open was made available, but it needs an include
2022-08-12 15:54:57 +01:00
Kira Bruneau
55b799e3df
Add option to specific PAM limits.d directory
2022-08-05 11:35:24 +01:00
Kira Bruneau
337f1b8a8e
Scope polkit actions to require the privileged group
2022-08-05 11:35:24 +01:00
Kira Bruneau
898ab01924
Organize data files that hook into other packages
2022-08-05 11:35:24 +01:00
Kira Bruneau
1e24067430
Add option to specify privileged gamemode group
2022-08-05 11:35:24 +01:00
Kira Bruneau
e34e9c5a43
Add options to disable installing systemd specific files
2022-08-05 11:35:24 +01:00
Kira Bruneau
aee9703872
Add option to set systemd sysuser dir
2022-08-05 11:35:24 +01:00
Ahsan Fayaz
4dc99dff76
Specify correct inih directory after update to r54
1.7
2022-07-21 15:24:10 +01:00
Ahsan Fayaz
5fff74598a
Use inih r54 from wrapdb
...
Updated using the command 'meson subprojects update'.
2022-07-21 15:21:25 +01:00
Ahsan Fayaz
c3d638d7ce
Update version to 1.7
2022-07-21 15:03:58 +01:00
Ahsan Fayaz
86591acdf2
Update version references to 1.7
2022-07-21 15:03:34 +01:00
Ahsan Fayaz
618466005e
Add changes for 1.7
2022-07-21 15:03:05 +01:00
Ahsan Fayaz
f5a715e124
Add recent Feral titles to the list of games
2022-07-20 11:50:53 +01:00
Ahsan Fayaz
f498f2a20a
Update copyright year to 2022
2022-07-20 11:48:56 +01:00
Stephan Lachnit
9b44fc6def
ci: fix static analyser with assertions
...
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-07-15 14:17:38 +01:00
Stephan Lachnit
b58b32072a
meson: fix warning in run_command
...
Fixes this warning:
```
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
```
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-07-15 14:16:09 +01:00
Alfred Persson Forsberg
f50e7fffe7
Fix build on musl libc
...
This simple patch includes signal.h in daemon/gamemode-context.c to fix building gamemode on musl
libc.
This has been tested Gentoo musl and Alpine (also Gentoo glibc to
ensure no multiple defined symbols/other errors for glibc).
> ../daemon/gamemode-context.c: In function 'game_mode_context_auto_expire':
> ../daemon/gamemode-context.c:421:29: error: implicit declaration of function 'kill' [-Werror=implicit-function-declaration]
> 421 | if (kill(client->pid, 0) != 0) {
> | ^~~~
> ../daemon/gamemode-context.c:421:29: warning: nested extern declaration of 'kill' [-Wnested-externs]
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
2022-07-15 14:14:16 +01:00
Issam Maghni
fac33baa09
Simplify the offload command
...
The POSIX env [1] supports multiple `name=value` operands.
So I merged them into one.
[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/env.html
2022-07-15 14:13:09 +01:00
Gregory keenan
e7dcf8792d
Update README.md
...
Minor update on language
2022-07-15 14:12:14 +01:00