Linux: Xrandr n'a pas réussi à obtenir la taille du gamma pour la sortie - vous pouvez le faire
Xrandr n'a pas réussi à obtenir la taille du gamma pour la sortie est un bug sur Linux qui peut être facilement corrigé. Vous pouvez en savoir plus à ce sujet dans le conseil pratique suivant.
Xrandr n'a pas réussi à obtenir la taille du gamma pour la sortie sur Linux - c'est la raison
Cette erreur se produit généralement lorsque, par exemple, vous souhaitez affecter un nouveau profil avec une résolution d'écran modifiée à un écran.
- Le nouveau profil est créé avec "xrandr --newmode".
- Une erreur courante consiste à ajouter "sudo". Cela crée le profil avec des droits administratifs.
- Cela conduit au message d'erreur "Xrandr n'a pas réussi à obtenir la taille du gamma pour la sortie".
Changer la résolution d'écran avec Xrandr sous Linux
Ajoutez un nouveau profil de résolution à votre écran comme suit.
- Calculez d'abord les paramètres requis ultérieurement avec la commande cvt 1200 1000 60.
- Ici, un profil avec la résolution 1200x1000 et 60 Hz est calculé. La sortie devrait ressembler à ceci: # 1200x1000 59, 91 Hz (CVT) hsync: 62, 19 kHz; pclk: 99, 50 MHz Modeline "1200x1000_60.00" 99, 50 1200 1280 1400 1600 1000 1003 1013 1038 -hsync + vsync.
- Entrez maintenant la deuxième ligne de la sortie dans la commande suivante avec laquelle vous créez le profil: xrandr --newmode "1200_1000_60" 99, 50 1200 1280 1400 1600 1000 1003 1013 1038 -hsync + vsync.
- Ajoutez ensuite le profil à l'écran: xrandr --addmode 1200x1000_60.00.
- Ici, vous remplacez par le type de connexion avec laquelle votre moniteur est connecté. Les valeurs courantes sont VGA1, DP1 ou HDMI1. Pour connaître votre type de connexion, entrez "xrandr" dans votre terminal.