apt update && apt upgrade && apt autoremove && apt autoclean && apt clean
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size} ${Status}\n' | sort -k 2 -n |grep -v deinstall
…et si elles sont installées.
apt-get install apt-rdepends apt-rdepends -p mpv
apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-amdgpu firmware-linux
Vérifier que votre écran est compatible avec xrandr –prop | grep "vrr_capable"
, au moins une valeur doit être à 1 (chaque ligne correspond à un écran potentiellement branché).
Pour l'activer, dans /etc/X11/xorg.conf.d/20-radeon.conf
ajouter :
Section "Device" Identifier "AMD" Driver "amdgpu" Option "DRI" "3" Option "TearFree" "1" Option "VariableRefresh" "true" EndSection
Redémarrer votre PC ou votre serveur graphique pour que le changement soit effectif. Ensuite vérifier que la modification est active avec la commande grep Variable /var/log/Xorg.0.log
, ce qui doit donner un résultat de ce genre :
[ 8601.441] (**) AMDGPU(0): Option "VariableRefresh" "true" [ 8601.473] (**) AMDGPU(0): VariableRefresh: enabled
Note :
bash -c 'echo "kernel.dmesg_restrict=0" >> /etc/sysctl.conf'
bash -c 'echo "vm.swappiness=1" >> /etc/sysctl.conf'
En supprimant les non utilisées.
apt install localepurge localepurge -verbose
Dans /etc/initramfs-tools/conf.d/compress
ajouter COMPRESS=xz
.
Dans /etc/sysctl.d/99-sysctl.conf
, ajouter :
vm.dirty_bytes=50331648 vm.dirty_background_bytes=16777216
Voir :