1. Installer les librairies :
Arch Linux / Manjaro : (Pipewire)
sudo pacman --needed -S alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib \
freetype2 lib32-freetype2 \
libxft lib32-libxft \
flex lib32-flex \
fluidsynth lib32-fluidsynth \
libxrandr lib32-libxrandr xorg-xrandr \
libldap lib32-libldap \
mpg123 lib32-mpg123 \
libxcomposite lib32-libxcomposite \
libxi lib32-libxi \
libxinerama lib32-libxinerama \
libxss lib32-libxss \
openal lib32-openal \
pipewire-pulse lib32-pipewire pipewire-jack lib32-pipewire-jack \
krb5 lib32-krb5 \
gnutls lib32-gnutls \
giflib lib32-giflib \
gst-libav gst-plugin-pipewire gst-plugins-ugly \
gst-plugins-bad gst-plugins-bad-libs \
gst-plugins-base-libs lib32-gst-plugins-base-libs gst-plugins-base lib32-gst-plugins-base \
gst-plugins-good lib32-gst-plugins-good \
gstreamer lib32-gstreamer \
libpng lib32-libpng \
v4l-utils lib32-v4l-utils \
vulkan-icd-loader lib32-vulkan-icd-loader \
libgpg-error lib32-libgpg-error \
libjpeg-turbo lib32-libjpeg-turbo \
libgcrypt lib32-libgcrypt \
ncurses lib32-ncurses \
ocl-icd lib32-ocl-icd \
libxslt lib32-libxslt \
libxcrypt-compat lib32-libxcrypt-compat \
libva lib32-libva \
sqlite lib32-sqlite \
gtk3 lib32-gtk3 \
libpulse lib32-libpulse \
openssl-1.1 lib32-openssl-1.1 \
libnm lib32-libnm \
gamemode lib32-gamemode \
cabextract
Arch Linux / Manjaro : (PulseAudio)
sudo pacman --needed -S alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib \
freetype2 lib32-freetype2 \
libxft lib32-libxft \
flex lib32-flex \
fluidsynth lib32-fluidsynth \
libxrandr lib32-libxrandr xorg-xrandr \
libldap lib32-libldap \
mpg123 lib32-mpg123 \
libxcomposite lib32-libxcomposite \
libxi lib32-libxi \
libxinerama lib32-libxinerama \
libxss lib32-libxss \
openal lib32-openal \
pulseaudio libpulse lib32-libpulse \
krb5 lib32-krb5 \
gnutls lib32-gnutls \
giflib lib32-giflib \
gst-libav gst-plugins-ugly \
gst-plugins-bad gst-plugins-bad-libs \
gst-plugins-base-libs lib32-gst-plugins-base-libs gst-plugins-base lib32-gst-plugins-base \
gst-plugins-good lib32-gst-plugins-good \
gstreamer lib32-gstreamer \
libpng lib32-libpng \
v4l-utils lib32-v4l-utils \
vulkan-icd-loader lib32-vulkan-icd-loader \
libgpg-error lib32-libgpg-error \
libjpeg-turbo lib32-libjpeg-turbo \
libgcrypt lib32-libgcrypt \
ncurses lib32-ncurses \
ocl-icd lib32-ocl-icd \
libxslt lib32-libxslt \
libxcrypt-compat lib32-libxcrypt-compat \
libva lib32-libva \
sqlite lib32-sqlite \
gtk3 lib32-gtk3 \
openssl-1.1 lib32-openssl-1.1 \
libnm lib32-libnm \
gamemode lib32-gamemode \
cabextract
CachyOS : (Pipewire)
sudo pacman --needed -S alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib \
freetype2 lib32-freetype2 \
libxft lib32-libxft \
flex lib32-flex \
fluidsynth lib32-fluidsynth \
libxrandr lib32-libxrandr xorg-xrandr \
libldap lib32-libldap \
mpg123 lib32-mpg123 \
libxcomposite lib32-libxcomposite \
libxi lib32-libxi \
libxinerama lib32-libxinerama \
libxss lib32-libxss \
openal lib32-openal \
pipewire-pulse lib32-pipewire pipewire-jack lib32-pipewire-jack \
krb5 lib32-krb5 \
gnutls lib32-gnutls \
giflib lib32-giflib \
gst-libav gst-plugin-pipewire gst-plugins-ugly \
gst-plugins-bad gst-plugins-bad-libs \
gst-plugins-base-libs lib32-gst-plugins-base-libs gst-plugins-base lib32-gst-plugins-base \
gst-plugins-good lib32-gst-plugins-good \
gstreamer lib32-gstreamer \
libpng lib32-libpng \
v4l-utils lib32-v4l-utils \
vulkan-icd-loader lib32-vulkan-icd-loader \
libgpg-error lib32-libgpg-error \
libjpeg-turbo lib32-libjpeg-turbo \
libgcrypt lib32-libgcrypt \
ncurses lib32-ncurses \
ocl-icd lib32-ocl-icd \
libxslt lib32-libxslt \
libxcrypt-compat lib32-libxcrypt-compat \
libva lib32-libva \
sqlite lib32-sqlite \
gtk3 lib32-gtk3 \
libpulse lib32-libpulse \
openssl-1.1 lib32-openssl-1.1 \
libnm lib32-libnm \
gamemode lib32-gamemode \
zlib-ng zlib-ng-compat lib32-zlib-ng lib32-zlib-ng-compat \
cabextract
Void Linux : (Pipewire)
sudo xbps-install -Syv alsa-plugins alsa-plugins-32bit alsa-lib alsa-lib-32bit \
FAudio FAudio-32bit \
freetype freetype-32bit \
libXft libXft-32bit \
flex \
fluidsynth libfluidsynth libfluidsynth-32bit \
libXrandr libXrandr-32bit xrandr \
libldap libldap-32bit \
mpg123 libmpg123 libmpg123-32bit \
libXcomposite libXcomposite-32bit \
libXi libXi-32bit \
libXinerama libXinerama-32bit \
libXScrnSaver libXScrnSaver-32bit \
libopenal libopenal-32bit \
alsa-pipewire alsa-pipewire-32bit pipewire pipewire-32bit libjack-pipewire libjack-pipewire-32bit \
mit-krb5 mit-krb5-32bit \
gnutls gnutls-32bit \
giflib giflib-32bit \
gst-libav gst-plugins-ugly1 \
gst-plugins-bad1 gst-plugins-bad1-32bit \
gst-plugins-base1 gst-plugins-base1-32bit \
gst-plugins-good1 gst-plugins-good1-32bit \
gstreamer1 gstreamer1-32bit \
libpng libpng-32bit \
v4l-utils v4l-utils-32bit \
vulkan-loader vulkan-loader-32bit \
libgpg-error libgpg-error-32bit \
libjpeg-turbo libjpeg-turbo-32bit \
libgcrypt libgcrypt-32bit \
ncurses ncurses-libs ncurses-libs-32bit \
ocl-icd ocl-icd-32bit \
libxslt libxslt-32bit \
libxcrypt-compat libxcrypt-compat-32bit \
libva libva-32bit \
glu glu-32bit \
sqlite sqlite-32bit \
gtk+3 gtk+3-32bit \
libpulseaudio libpulseaudio-32bit \
libnm libnm-32bit \
gamemode libgamemode libgamemode-32bit \
vkBasalt vkBasalt-32bit \
cabextract
Arch Linux / Manjaro : (GPU)
NVIDIA :
sudo pacman --needed -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader
NVIDIA OSS :
sudo pacman --needed -S mesa lib32-mesa vulkan-nouveau lib32-vulkan-nouveau vulkan-icd-loader lib32-vulkan-icd-loader
AMD :
sudo pacman --needed -S mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon vulkan-icd-loader lib32-vulkan-icd-loader
INTEL :
sudo pacman --needed -S mesa lib32-mesa vulkan-intel lib32-vulkan-intel vulkan-icd-loader lib32-vulkan-icd-loader
Ubuntu 19.10 :
sudo apt install libfaudio0 libfaudio0:i386 freetype2-demos libfreetype6 libxft2 libxft2:i386 libxrandr2 libxrandr2:i386 libldap-2.4-2 libldap-2.4-2:i386 mpg123 openal-soft pulseaudio
NVIDIA :
sudo apt install libvulkan1 libvulkan1:i386
AMD / INTEL :
sudo apt install libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 mesa-vulkan-drivers mesa-vulkan-drivers:i386
2. Vérifier votre configuration :
Editer '/etc/systemd/system.conf' and '/etc/systemd/user.conf' :
Ubuntu 18.04 / Centos 7 :
sudo sed -i "s@#DefaultLimitNOFILE=@DefaultLimitNOFILE=1048576@g" /etc/systemd/system.conf
sudo sed -i "s@#DefaultLimitNOFILE=@DefaultLimitNOFILE=1048576@g" /etc/systemd/user.conf
Manjaro :
sudo sed -i "s@#DefaultLimitNOFILE=1024:524288@DefaultLimitNOFILE=1048576@g" /etc/systemd/system.conf
sudo sed -i "s@#DefaultLimitNOFILE=@DefaultLimitNOFILE=1048576@g" /etc/systemd/user.conf
Manuellement :
sudo nano /etc/systemd/system.conf
sudo nano /etc/systemd/user.conf
Trouver la ligne DefaultLimitNOFILE=
et changer en DefaultLimitNOFILE=1048576
(Les deux fichiers ont la même entré).
Redémarrer.
Pour Void Linux / Solus :
Changer username par votre nom d'utilisateur.
echo "username hard nofile 1048576" >> /etc/security/limits.conf
echo "username soft nofile 1048576" >> /etc/security/limits.conf
Pour vérifier si tout est OK : (vous devez voir '1048576')
ulimit -Hn
ulimit -Sn
Vous pouvez aussi augmenter ce paramètre pour certains jeux :
sysctl -w vm.max_map_count=2147483642
ou
echo vm.max_map_count=2147483642 >> /etc/sysctl.conf && sysctl -p
ou
echo vm.max_map_count=2147483642 >> /etc/sysctl.d/99-sysctl.conf
Pour vérifier si tout est OK : (vous devez voir '2147483642')
cat /proc/sys/vm/max_map_count