#1 Le 09/11/2016, à 18:48
- Nabih
Changer la resolution de mon ecran a 1280x720
Bonjour a tous , je souhaite changer la résolution de mon écran de 1366x768 a 1280x720 le problème c'est que cette derniers resolution n'est pas disponible j'ai changé le pilote de ma carte graphique Nvidia a : propriétaire mais je n’ai pas trouvé cette resolution
j'ai cherché des solutions sur le net mais ça n'a pas marché , pouvez vous m'aider je suis tout nouveau sur linux
systeme d'exploitation : ubuntu 16.04 lts.
merci par avance
Hors ligne
#2 Le 09/11/2016, à 19:04
- f.x0
Hors ligne
#3 Le 09/11/2016, à 19:39
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
Bonjour Nabih,
essaies avec Xrandr
merci f.x0 pour ta réponse quand j'ai voulu ajouter 1280x720 j'ai eu ça:
nabih@nabihthink:~$ xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
1366x768 59.79*+
1152x720 60.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
nabih@nabihthink:~$ cvt 1280 720 60
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
nabih@nabihthink:~$ xrandr --newmode "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
nabih@nabihthink:~$ xrandr --addmode VGA-0 1280x720_60.00
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 29
Current serial number in output stream: 30
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 09/11/2016, à 20:07)
Hors ligne
#4 Le 09/11/2016, à 19:56
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Regardes le paragraphe 1.3
mais fais attention :
si ce mode n'est pas supporté, vous obtiendrez un message Frequency out of range et vous ne verrez plus rien à l'écran… Vous pourrez éventuellement revenir à une résolution et une fréquence supportées en utilisant le paragraphe Fréquence listée dans les modes disponibles en aveugle (c'est à dire sans voir ce que l'on tape!).
SOPI
Hors ligne
#5 Le 09/11/2016, à 21:10
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
ok merci f.x0 pour ton aide
Hors ligne
#6 Le 09/11/2016, à 21:51
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
super ça a marché:):):)
Hors ligne
#7 Le 09/11/2016, à 23:58
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Je suis content pour toi que cela ait fonctionné Nabih, bonne continuation sur Gnu/Linux
SI TU PENSES QUE TON PROBLÈME EST SOLUTIONNÉ, AJOUTES [RÉSOLU] DANS LE TITRE DE TON PREMIER POST, CELA POURRA AIDER D'AUTRES UBUNTEROS QUI ONT LE MÊME PROBLÈME QUE TOI.
SOPI
Hors ligne
#8 Le 10/11/2016, à 17:09
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
il reste un petit problème la résolution n'est pas conservé au redémarrage de l'ordinateur tout redevient comme avant.
j'ai suivi la procédure décrite ici : https://doc.ubuntu-fr.org/xrandr#active … on_choisie
mais je ne sais pas si j'ai bien fait car j'ai crée le scripte Resolution.sh avec : gedit ( j'ai ajouté les deux ligne décrite j'ai rendu le scripte exécutable et je l'ai mis au application au démarrage) mais ça n'a pas marché
Hors ligne
#9 Le 10/11/2016, à 17:15
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Donne le contenu de ton script
l'emplacement du script
la commande ajoutée dans application au démarrage
SOPI
Hors ligne
#10 Le 10/11/2016, à 17:47
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
bonjour
le contenue du script :
xrandr --addmode VGA-1 1280x720_60
xrandr --output VGA-1 --mode 1280x720_60
l'emplacement du script : /home/nabih/Documents
la commande ajoutée dans application au démarrage: /home/nabih/Documents
Hors ligne
#11 Le 10/11/2016, à 17:49
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Dans application au démarrage, tu n'as pas mis ???
/home/nabih/Documents/Resolution.sh
Dernière modification par f.x0 (Le 10/11/2016, à 17:50)
SOPI
Hors ligne
#12 Le 10/11/2016, à 18:04
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
si si je l'ai mis.... désolé pour mon oubli
au redémarrage j'ai un long (message d'erreur) au titre : impossible d'appliquer la configuration enregistrée pour les écrans
none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 95
CRTC 95: trying mode 1366x768@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 1152x864@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 1152x720@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 1024x768@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 1024x768@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 832x624@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 800x600@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 800x600@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 640x480@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 640x480@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 720x400@70Hz with output at 1280x720@60Hz (pass 0)
CRTC 95: trying mode 1366x768@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 1152x864@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 1152x720@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 1024x768@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 1024x768@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 832x624@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 800x600@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 800x600@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 640x480@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 640x480@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 95: trying mode 720x400@70Hz with output at 1280x720@60Hz (pass 1)
Trying modes for CRTC 96
CRTC 96: trying mode 1366x768@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 1152x864@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 1152x720@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 1024x768@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 1024x768@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 832x624@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 800x600@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 800x600@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 640x480@75Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 640x480@60Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 720x400@70Hz with output at 1280x720@60Hz (pass 0)
CRTC 96: trying mode 1366x768@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 1152x864@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 1152x720@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 1024x768@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 1024x768@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 832x624@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 800x600@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 800x600@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 640x480@75Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 640x480@60Hz with output at 1280x720@60Hz (pass 1)
CRTC 96: trying mode 720x400@70Hz with output at 1280x720@60Hz (pass 1)
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 10/11/2016, à 18:11)
Hors ligne
#13 Le 10/11/2016, à 18:30
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Vérifies que ton script est bien exécutable
ls -la /home/nabih/Documents/Resolution.sh
Si c'est le cas
Modifies ton script comme ceci :
xrandr --newmode $(gtf 1280 720 60 | sed -ne 's/"//g;s/ Modeline //p')
xrandr --addmode VGA-1 1280x720_60
xrandr --output VGA-1 --mode 1280x720_60
sinon rends le exécutable comme ceci :
sudo chmod +x /home/nabih/Documents/Resolution.sh
SOPI
Hors ligne
#14 Le 10/11/2016, à 19:02
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
j'ai fais tout ça mais ça marche pas
Hors ligne
#15 Le 10/11/2016, à 19:08
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Lorsque tu le fais manuellement →
xrandr --newmode $(gtf 1280 720 60 | sed -ne 's/"//g;s/ Modeline //p')
xrandr --addmode VGA-1 1280x720_60
xrandr --output VGA-1 --mode 1280x720_60
cela fonctionne toujours ?
si oui, postes le retour de
cat /home/nabih/Documents/Resolution.sh
et de
ls -la /home/nabih/Documents/Resolution.sh
SOPI
Hors ligne
#16 Le 10/11/2016, à 19:12
- grandtoubab
Re : Changer la resolution de mon ecran a 1280x720
Salut
Pour définir une résolution d'écran voir ici
https://www.debian-fr.org/t/modificatio … f/71207/16
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#17 Le 10/11/2016, à 19:38
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
quand je le fais manuellement (depuis le Terminal?) j'ai ça:
nabih@nabihthink:~$ xrandr --newmode $(gtf 1280 720 60 | sed -ne 's/"//g;s/ Modeline //p')
nabih@nabihthink:~$ xrandr --addmode VGA-1 1280x720_60
xrandr: cannot find mode "1280x720_60"
nabih@nabihthink:~$ xrandr --output VGA-1 --mode 1280x720_60
xrandr: cannot find mode 1280x720_60
nabih@nabihthink:~$
le retour
nabih@nabihthink:~$ cat /home/nabih/Documents/Resolution.sh
xrandr --newmode $(gtf 1280 720 60 | sed -ne 's/"//g;s/ Modeline //p')
xrandr --addmode VGA-1 1280x720_60
xrandr --output VGA-1 --mode 1280x720_60
nabih@nabihthink:~$ ls -la /home/nabih/Documents/Resolution.sh
-rwxrwxr-x 1 nabih nabih 147 نوف 10 18:37 /home/nabih/Documents/Resolution.sh
nabih@nabihthink:~$
Dernière modification par Nabih (Le 10/11/2016, à 19:40)
Hors ligne
#18 Le 10/11/2016, à 19:45
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Essaies plutôt avec VGA-0
xrandr --newmode $(gtf 1280 720 60 | sed -ne 's/"//g;s/ Modeline //p')
xrandr --addmode VGA-0 1280x720_60
xrandr --output VGA-0 --mode 1280x720_60
ça donne quoi ???
SOPI
Hors ligne
#19 Le 10/11/2016, à 20:37
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
VGA-0
nabih@nabihthink:~$ xrandr --newmode $(gtf 1280 720 60 | sed -ne 's/"//g;s/ Modeline //p')
nabih@nabihthink:~$ xrandr --addmode VGA-0 1280x720_60
xrandr: cannot find output "VGA-0"
nabih@nabihthink:~$ xrandr --output VGA-0 --mode 1280x720_60
warning: output VGA-0 not found; ignoring
nabih@nabihthink:~$
Hors ligne
#20 Le 10/11/2016, à 21:12
- grandtoubab
Re : Changer la resolution de mon ecran a 1280x720
BadMatch (invalid parameter attributes) apparemment c'est incompatibilité avec nvidia
https://ubuntuforums.org/showthread.php … st13488173
Dernière modification par grandtoubab (Le 10/11/2016, à 21:15)
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#21 Le 10/11/2016, à 21:22
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
BadMatch (invalid parameter attributes) apparemment c'est incompatibilité avec nvidia
https://ubuntuforums.org/showthread.php … st13488173
Ben mince alors, ça craint ...
super ça a marché
Quelles commandes avais-tu faites ???
Dernière modification par f.x0 (Le 10/11/2016, à 21:22)
SOPI
Hors ligne
#22 Le 10/11/2016, à 21:24
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
salut grandtoubab Est-ce que ça veut dire que c'est impossible de changer la résolution?
Hors ligne
#23 Le 10/11/2016, à 21:35
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
super ça a marché
Quelles commandes avais-tu faites ???
SOPI
Hors ligne
#24 Le 10/11/2016, à 21:41
- Nabih
Re : Changer la resolution de mon ecran a 1280x720
dsl j'avais pas vu ton message f.x0
les commandes que j'ai fais sont:
xrandr --newmode $(gtf 1280 720 60 | sed -ne 's/"//g;s/ Modeline //p')
xrandr --addmode VGA-1 1280x720_60.00
la résolution 1280x720 marche mais je la pers a chaque redémarrage
il ne me reste plus qu'a rentrer les deux commandes a chaque foi que j'allume le pc
Hors ligne
#25 Le 10/11/2016, à 21:48
- f.x0
Re : Changer la resolution de mon ecran a 1280x720
Il y a un problème dans ton script,
il manque la ligne :
#!/bin/sh
essaies donc de modifier ton script →
#!/bin/sh
xrandr --addmode VGA-1 1280x720_60
xrandr --output VGA-1 --mode 1280x720_60
exit 0
puis redémarres ton PC
SOPI
Hors ligne