Ubuntu 16.04 build fails
Ubuntu 16.04.4 LTS, followed the instructions and got the following after running ./bootstrap.sh:
[Errno 2] No such file or directory: '/home/bob/Downloads/gamemode/build'
Created the build directory manually and tried again:
Native c compiler: cc (gcc 5.4.0-6ubuntu1)
Meson encountered an error in file meson.build, line 32, column 0: Unknown function "join_paths".
FYI: meson version 0.29.0.
Same problem
Use meson in ppa launchpad.
sudo add-apt-repository ppa:jonathonf/meson sudo apt update ; sudo apt dist-upgrade
Thanks @brunotix, that gets me further but I still have problems:
Enable and run the daemon? [Yy] y
- systemctl --user daemon-reload Failed to connect to bus: No such file or directory
For the record, here's what I've done so far:
- Followed the instructions in the readme.
- Uninstalled the version of meson that ships with 16.04:
sudo apt remove --purge meson - Installed latest launchpad version of meson:
sudo add-apt-repository ppa:jonathonf/mesonsudo apt update ; sudo apt dist-upgradesudo apt install meson - Re-run
./bootstrap.sh: received error message above.
Tested using LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so glxgears and got this message:
gamemodeauto: Could not connect to bus: No such file or directory
@demonGeek try restart operational system
Tried that, no change - still not working.
@demonGeek I used apt-get install dbus-user-session Remove the diretory and re-install with git clone https://github.com/FeralInteractive/gamemode.git Restart
Thanks @brunotix but I'm not taking this any further right now. Installing dbus-user-session started causing all sorts of weird issues for me - like Chrome refusing to start.
I think I'll wait until this thing is a bit more stable and just switch the CPU governor mode manually for now.