Open pasturryx opened 4 years ago
Reason: Meson version is 0.45.1 but project requires >= 0.46.0.
Your Meson version is out of date. You can either use gamemode 1.5
(it's basically the same), upgrade to a newer distro with a non-ancient meson version (aka everything but Ubuntu 18.04), or install a new meson version manually for example by grabbing a new .deb
from the Ubuntu repos.
@stephanlachnit hey now i did everything okey i guess but something is happening with cmake i have been stuck with this for almost 3 days u.u
ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ ./bootstrap.sh
+ meson --prefix=/usr build --buildtype debugoptimized -Dwith-systemd-user-unit-dir=/etc/systemd/user
The Meson build system
Version: 0.54.0
Source dir: /home/ratzz/gamemode-1.5.1
Build dir: /home/ratzz/gamemode-1.5.1/build
Build type: native build
Project name: gamemode
Project version: 1.5.1
C compiler for the host machine: cc (gcc 7.5.0 "cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")
C linker for the host machine: cc ld.bfd 2.30
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Waggregate-return: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Warray-bounds: YES
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wclobbered: YES
Compiler for C supports arguments -Wempty-body: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-signedness: YES
Compiler for C supports arguments -Wignored-qualifiers: YES
Compiler for C supports arguments -Wimplicit-function-declaration: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wmissing-parameter-type: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wno-discarded-qualifiers -Wdiscarded-qualifiers: YES
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-suggest-attribute=format -Wsuggest-attribute=format: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wreturn-type: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-aliasing=3: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wstringop-overflow: YES
Compiler for C supports arguments -Wstringop-truncation: NO
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wuninitialized: YES
Compiler for C supports arguments -Wunused-but-set-variable: YES
Compiler for C supports arguments -Wwrite-strings: YES
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency libsystemd found: YES 237
Run-time dependency dbus-1 found: YES 1.12.2
Run-time dependency threads found: YES
Library dl found: YES
Checking for function "pidfd_open" : NO
Configuring build-config.h using configuration
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency inih found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency inih
|Executing subproject inih method meson
|
|Project name: inih
|Project version: 48
|C compiler for the host machine: cc (gcc 7.5.0 "cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")
|C linker for the host machine: cc ld.bfd 2.30
|C++ compiler for the host machine: c++ (gcc 7.5.0 "c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")
|C++ linker for the host machine: c++ ld.bfd 2.30
|Build targets in project: 10
|Subproject inih finished.
Dependency inih from subproject subprojects/inih found: YES 48
Configuring gamemoded.service using configuration
Configuring com.feralinteractive.GameMode.service using configuration
Configuring com.feralinteractive.GameMode.policy using configuration
Configuring gamemoderun using configuration
Configuring gamemoded.8 using configuration
Message:
Build configuration:
====================
prefix: /usr
bindir: /usr/bin
datadir: /usr/share
libdir: /usr/lib/x86_64-linux-gnu
libexecdir: /usr/libexec
includedir: /usr/include
systemd user unit directory: /etc/systemd/user
D-BUS service directory: /usr/share/dbus-1/services
PolKit Action Directory: /usr/share/polkit-1/actions
Options:
========
daemon: true
examples: true
util: true
systemd: true
Build targets in project: 12
gamemode 1.5.1
Subprojects
inih: YES
Found ninja-1.8.2 at /usr/bin/ninja
+ cd build
+ ninja
[38/38] Linking target daemon/gamemoded
+ set +x
Install to /usr? [y/N] y
+ sudo ninja install
[sudo] password for ratzz:
[0/1] Installing files.
Installing lib/libgamemode.so.0.0.0 to /usr/lib/x86_64-linux-gnu
Installing lib/libgamemodeauto.so.0.0.0 to /usr/lib/x86_64-linux-gnu
Installing util/cpugovctl to /usr/libexec
Installing util/gpuclockctl to /usr/libexec
Installing subprojects/inih/libinih.so.48 to /usr/lib/x86_64-linux-gnu
Installing subprojects/inih/libinih.a to /usr/lib/x86_64-linux-gnu
Installing subprojects/inih/libINIReader.so.48 to /usr/lib/x86_64-linux-gnu
Installing subprojects/inih/libINIReader.a to /usr/lib/x86_64-linux-gnu
Installing daemon/gamemoded to /usr/bin
Installing /home/ratzz/gamemode-1.5.1/lib/gamemode_client.h to /usr/include/
Installing /home/ratzz/gamemode-1.5.1/subprojects/inih/ini.h to /usr/include
Installing /home/ratzz/gamemode-1.5.1/subprojects/inih/cpp/INIReader.h to /usr/include/
Installing /home/ratzz/gamemode-1.5.1/build/data/gamemoded.8 to /usr/share/man/man8
Installing /home/ratzz/gamemode-1.5.1/build/meson-private/gamemode.pc to /usr/lib/x86_64-linux-gnu/pkgconfig
Installing /home/ratzz/gamemode-1.5.1/build/meson-private/gamemode-auto.pc to /usr/lib/x86_64-linux-gnu/pkgconfig
Installing /home/ratzz/gamemode-1.5.1/build/meson-private/inih.pc to /usr/lib/x86_64-linux-gnu/pkgconfig
Installing /home/ratzz/gamemode-1.5.1/build/meson-private/INIReader.pc to /usr/lib/x86_64-linux-gnu/pkgconfig
Installing /home/ratzz/gamemode-1.5.1/build/data/gamemoded.service to /etc/systemd/user
Installing /home/ratzz/gamemode-1.5.1/build/data/com.feralinteractive.GameMode.service to /usr/share/dbus-1/services
Installing /home/ratzz/gamemode-1.5.1/build/data/com.feralinteractive.GameMode.policy to /usr/share/polkit-1/actions
Installing /home/ratzz/gamemode-1.5.1/build/data/gamemoderun to /usr/bin
+ systemctl list-unit-files
+ grep -q polkit.service
+ sudo systemctl try-restart polkit
+ systemctl --user daemon-reload
ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so ./Downloads/tibia.x64/tibia
bash: ./Downloads/tibia.x64/tibia: No such file or directory
ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so ./Downloads/tibia.x64/tibia/tibia
bash: ./Downloads/tibia.x64/tibia/tibia: No such file or directory
ratzz@ratzz-Lenovo:~/gamemode-1.5.1$
ratzz@ratzz-Lenovo:~$ ls Desktop Downloads Music Public Videos Documents gamemode-1.5.1 Pictures Templates ratzz@ratzz-Lenovo:~$ Downloads/tibia.x64/tibia^C ratzz@ratzz-Lenovo:~$ cd gamemode 1.5.1 bash: cd: too many arguments ratzz@ratzz-Lenovo:~$ cd gamemode-1.5.1 ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ gamemode run gamemode: command not found ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ gamemoderun tibia env: ‘tibia’: No such file or directory ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ gamemodeun Downloads/tibia.x64/Tibia gamemodeun: command not found ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ gamemodeun Downloads/tibia.x64/Tibia gamemodeun: command not found ratzz@ratzz-Lenovo:~/gamemode-1.5.1$ gamemodeun Downloads/tibia.x64/Tibia/tibia gamemodeun: command not found ratzz@ratzz-Lenovo:~/gamemode-1.5.1$
gamemoderun
, not LD_PRELOAD
or gamemodeun
tibia
is missingokey i solved all the issues but i still can't run tibia
rata@la-rata:~$ gamemoderun
CLUTTER_IM_MODULE=xim
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
LC_MEASUREMENT=es_CL.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
LC_PAPER=es_CL.UTF-8
LC_MONETARY=es_CL.UTF-8
XDG_MENU_PREFIX=gnome-
LANG=en_US.UTF-8
DISPLAY=:0
GNOME_SHELL_SESSION_MODE=ubuntu
COLORTERM=truecolor
USERNAME=rata
XDG_VTNR=2
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
LC_NAME=es_CL.UTF-8
XDG_SESSION_ID=2
USER=rata
DESKTOP_SESSION=ubuntu
QT4_IM_MODULE=xim
TEXTDOMAINDIR=/usr/share/locale/
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/e6dfd916_938b_4803_b679_b2e482ccbb1d
PWD=/home/rata
HOME=/home/rata
TEXTDOMAIN=im-config
SSH_AGENT_PID=1683
QT_ACCESSIBILITY=1
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_SESSION_DESKTOP=ubuntu
LC_ADDRESS=es_CL.UTF-8
GJS_DEBUG_OUTPUT=stderr
LC_NUMERIC=es_CL.UTF-8
GTK_MODULES=gail:atk-bridge
WINDOWPATH=2
SHELL=/bin/bash
TERM=xterm-256color
VTE_VERSION=5202
QT_IM_MODULE=xim
XMODIFIERS=@im=ibus
IM_CONFIG_PHASE=2
XDG_CURRENT_DESKTOP=ubuntu:GNOME
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GNOME_TERMINAL_SERVICE=:1.105
SHLVL=1
XDG_SEAT=seat0
LC_TELEPHONE=es_CL.UTF-8
GDMSESSION=ubuntu
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=rata
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_RUNTIME_DIR=/run/user/1000
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
LC_IDENTIFICATION=es_CL.UTF-8
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
SESSION_MANAGER=local/la-rata:@/tmp/.ICE-unix/1588,unix/la-rata:/tmp/.ICE-unix/1588
LESSOPEN=| /usr/bin/lesspipe %s
GTK_IM_MODULE=ibus
LC_TIME=es_CL.UTF-8
LD_PRELOAD=/usr/$LIB/libgamemodeauto.so.0
rata@la-rata:~$ gamemoderun ./tibia
env: ‘./tibia’: No such file or directory
rata@la-rata:~$
how do i do to run this with game mode? @stephanlachnit
Your ./tibia
doesn't exist, this has nothing to do with gamemode.
but i got that game installed at home/tibia/ inside the folder tibia is the game executable
Apperently not look at the bash output.
how do i solve that?
i changed the game director i created a shortcut at desktop but isn't working either
rata@la-rata:~$ gnome-desktop-item-edit --create-new ~/Desktop
Gtk-Message: 11:52:23.594: GtkDialog mapped without a transient parent. This is discouraged.
rata@la-rata:~$ gamemoderun ./Desktop/tibia
env: ‘./Desktop/tibia’: No such file or directory
rata@la-rata:~$
now im getting this env: ‘./Tibia’: Permission denied
chmod +x ./Tibia
Thanks ibut it nevers executes the game gamemoderun chmod +x ./Tibia
rata@la-rata:~$ gamemoderun chmod +x ./Tibia
rata@la-rata:~$ gamemoderun ./Tibia
env: ‘./Tibia’: Permission denied
rata@la-rata:~$ gamemoderun chmod +x ./Tibia
rata@la-rata:~$ gamemoderun chmod +x ./Tibia
rata@la-rata:~$ gamemoderun chmod +x ./Tibia
rata@la-rata:~$ gamemoderun ./tibia
env: ‘./tibia’: No such file or directory
rata@la-rata:~$ gamemoderun ./Tibia
env: ‘./Tibia’: Permission denied
rata@la-rata:~$ gamemoderun chmod +x ./Tibia
rata@la-rata:~$ gamemoderun chmod +x ./Tibia
rata@la-rata:~$ gamemoderun chmod +x ./tibia
chmod: cannot access './tibia': No such file or direc
s
no you have to chmod the file (maybe with sudo?) and then run it with gamemoderun.
i have tried as sudo i opned terminal typed sudo -s then i typed comand
and i can't write nthing and nothing happens on the terminal either this is how it looks
rata@la-rata:~$ sudo -s
root@la-rata:~# gamemoderun chmod +x ./Tibia
in other terminal it get stuck nothing happens i can't write on the terminal and the game isn't executed
rata@la-rata:~$ sudo -s
[sudo] password for rata:
root@la-rata:~# gamemoderun ./Tibia
env: ‘./Tibia’: Permission denied
root@la-rata:~# gamemoderun chmod +x ./Tibia
@stephanlachnit i have chmod folder tibia but it won't work either >.<
rata@la-rata:~$ chmod +x ./Tibia
rata@la-rata:~$ gamemoderun ./Tibia
env: ‘./Tibia’: Permission denied
rata@la-rata:~$ gamemoderun ./Tibia
env: ‘./Tibia’: Permission denied
rata@la-rata:~$ gamemoderun ./tibia
env: ‘./tibia’: No such file or directory
rata@la-rata:~$ gamemoderun Tibia
env: ‘Tibia’: No such file or directory
rata@la-rata:~$ sudo -s
[sudo] password for rata:
root@la-rata:~# gamemoderun ./Tibia
env: ‘./Tibia’: Permission denied
root@la-rata:~#
Whatever your problem is, it has nothing to do with gamemode. Please close this and open a issue at Tibia.
tibia has battle eye coud be that the probleem?
yes
Not sure about Tibia, but unless it's on Wine, then BattlEye works natively on Linux.
Describe the bug im making all the step in order to install this, but at the final step when i execute booststra.sh i get an error related to inih folder and others related to meson (i updated it to version 5.4 but while im installing this it shows that i have an older version) so .meson according to me it's updated but while im installing this , seems to be not. i struggled between inih folders and changed an empty one that was inside build
also tried
also tried
To Reproduce Steps used to reproduce the behavior:
Expected behavior a clean installation ( i now this is an issue with my engine but im stuck im looking for help
System Info (please complete the following information):