Make Devuan Esync compatible for Lutris
Edit
/etc/security/limits.conf
Add
username hard nofile 524288
Replace "username" with your username.
Reboot and use ulimit -Hn to see the new limit
Stop bluetooth
# service bluetooth stop
Prevent at boot
# update-rc.d bluetooth disable
List all scripts in /etc/init.d/
# service --status-all
Each line is prefixed with [ + ] (running) or [ - ] (stopped) and [ ? ] indicates that the script didn't return a clear status.
Add the Flathub repository
$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Search for programs, Lutris in this example.
$ flatpak search lutris
Install program
$ flatpak install flathub net.lutris.Lutris
Run program
$ flatpak run net.lutris.Lutris
Update all installed applications and runtimes to the latest version
$ flatpak update
Find the Application ID
$ flatpak list --app
List the previous releases to find the commit code.
$ flatpak remote-info --log flathub Application_ID
Downgrade the package
# flatpak update --commit=commit_code Application_ID
For example if Lutris breaks with update, we can downgrade it.
$ flatpak remote-info --log flathub net.lutris.Lutris
# flatpak update --commit=19ee79d455b8e50f057911a2bba279efcb960ee6d565f794e9c9d41c290dcd14 net.lutris.Lutris
Ardour version is ancient on Void Linux. Compile Ardour 9 from source.
# xbps-install git base-devel boost-headers liblrdf-devel liblo-devel lilv-devel suil-devel taglib-devel aubio-devel rubberband-devel alsa-lib-devel libsndfile-devel vamp-plugin-sdk-devel fftw-devel jack-devel libsamplerate-devel lv2 sratom-devel gtkmm2-devel libarchive-devel fluidsynth-devel hidapi-devel libltc-devel glibmm-devel libflac-devel
Clone the ardour git repository
$ git clone https://github.com/Ardour/ardour.git
Go to the directory
$ cd ardour
Configure the build
$ ./waf configure --cxx17 --no-phone-home --optimize
If it fails, it tells what libraries are missing. Use xbps-query -Rs to find names of the missing packages.
./waf --help to see all possible flags
Compile
$ ./waf
Install
# ./waf install
Uninstall
# ./waf uninstall
Running ardour the first time.
$ ardour9
WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs out of memory.
You can view the memory limit with ‘ulimit -l’, and it is normally controlled by /etc/security/limits.conf
Change
@_pipewire - memlock 4194304
from /etc/security/limits.d/25-pw-rlimits.conf to
@_pipewire - memlock unlimited
Add your user to group _pipewire
# usermod -a -G groupname username
Add to /etc/pam.d/lightdm and /etc/pam.d/login
session required /lib/security/pam_limits.so
Heikki Vuojolahti