Modifications

Sauter à la navigation Sauter à la recherche
1 047 octets ajoutés ,  22 juin 2016 à 18:48
Ligne 1 : Ligne 1 :  
{{RASP-PiTFT-PLUS-NAV}}
 
{{RASP-PiTFT-PLUS-NAV}}
   −
{{bloc-etroit|text=
+
== J'ai une question dont la réponse n'est pas ici ==
 +
Voyez la [[RASP-PiTFT-FAQ|voire au question du PiTFT Plus 2.8"]], vous y trouverez des réponses à de nombreuses questions.
   −
== How do I automatically boot to X windows on the PiTFT? ==
+
== Démarrer X automatiquement ==
 +
{{bloc-etroit|text='''Comment puis-je démarrer automatiquement X windows sur le PiTFT? '''
   −
Check out the [[RASP-PiTFT-FAQ|2.8" resistive PiTFT FAQ]] for an answer to this common question.
+
Voyez la [[RASP-PiTFT-FAQ|Foire au question sur le PiTFT 2.8" resistif]]. Vous y trouverez la réponse à cette question.}}
   −
== How can I bring up X on the HDMI/TV monitor? ==
+
== Mettre X sur l'HDMI ==
 +
{{bloc-etroit|text='''Comment puis-je afficher X sur l'écran HDMI/TV?'''
   −
Use the fb0 framebuffer when you want to display stuff on the HDMI/TV display, for example:
+
Utilisez le framebuffer fb0 lorsque vous avez besoin d'afficher des information sur le port HDMI/TV. Par exemple:
    
  <nowiki>FRAMEBUFFER=/dev/fb0 startx</nowiki>
 
  <nowiki>FRAMEBUFFER=/dev/fb0 startx</nowiki>
   −
will use the HDMI/TV framebuffer for X windows instead of the PiTFT
+
utilisera le framebuffer de l'écran HDMI/TV (plutot que le PiTFT) pour démarrer X windows}}
   −
== That doesn't work! I can't get X on HDMI! ==
+
== X ne revient pas sur l'HDMI ==
 +
{{bloc-etroit|text='''Ca ne marche pas! je n'arrive pas à ravoir X sur la sortie HDMI!'''
   −
If both
+
Si les deux commandes suivantes
    
  <nowiki>FRAMEBUFFER=/dev/fb0 startx &</nowiki>
 
  <nowiki>FRAMEBUFFER=/dev/fb0 startx &</nowiki>
   −
and
+
et
    
  <nowiki>FRAMEBUFFER=/dev/fb1 startx &</nowiki>
 
  <nowiki>FRAMEBUFFER=/dev/fb1 startx &</nowiki>
   −
wind up showing the GUI on your PiTFT, enter the following instruction from the command line:
+
affiche l'interface graphique de X sur le PiTFT , alors saisissez la commande suivante:
    
  <nowiki>sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~</nowiki>
 
  <nowiki>sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~</nowiki>
 +
}}
   −
== I'm tring to run startx and I get FATAL: Module g2d_23 not found. ==
+
== Erreur FATALE: Module g2d_23 non trouvé. ==
I'm tring to run startx and I get FATAL: Module g2d_23 not found.
+
{{bloc-etroit|text=J'essaye de démarrer startx mais j'obtiens le message d'erreur '''FATAL: Module g2d_23 not found'''.
   −
don't forget you have to remove the turbo file!
+
Souvenez-vous que vous devez retirer le fichier turbo!
    
  <nowiki>sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~</nowiki>
 
  <nowiki>sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~</nowiki>
Ligne 38 : Ligne 43 :  
}}
 
}}
   −
== I want better performance and faster updates! ==
+
== Meilleure performances ==
I want better performance and faster updates!
+
'''Je voudrais de meilleures performances et un rafraîchissement plus rapide!
      −
You can also change the SPI frequency (overclock the display) by editing /etc/modprobe.d/adafruit.conf and changing the options line to:
+
Vous pouvez également modifier la fréquence du bus SPI (pour overclocker l'afficheur) en éditant le fichier {{fname|/etc/modprobe.d/adafruit.conf}} et en modifiant les options de la ligne à:
    
  <nowiki>options fbtft_device name=adafruitrt35 rotate=90 frequency=64000000 fps=30</nowiki>
 
  <nowiki>options fbtft_device name=adafruitrt35 rotate=90 frequency=64000000 fps=30</nowiki>
   −
here's the thing, the Pi only supports a fixed number of SPI frequencies. So tweaking the number a little won't do anything. The kernel will round the number to the closest value. You will always get frequencies that are 250MHz divided by an even number. Here's the only SPI frequencies this kernel supports.
+
Voici comment cela fonctionne: Le Pi support une série prédéfinie de fréquence pour son bus SPI. Par conséquent, essayer de modifier un peu cette valeur n'y changera rien car le noyau choisira toujours la valeur prédéfinie arrondie la plus proche. Les valeurs supportées sont les résultats de la division de la fréquence 250MHz divisée par un nombre pair. Voici les seules fréquences supportées par le bus SPI.
 +
 
 +
* 15,625,000 (soit 16000000 = 16 MHz)
 +
* 17,857,142 (soit 18000000 = 18 MHz)
 +
* 20,833,333 (soit 21000000 = 21 MHz)
 +
* 25,000,000 (exactement 25 MHz)
 +
* 31,250,000 (soit 32000000 = 32MHz)
 +
* 41,666,666 (soit 42000000 = 42MHz)
 +
* 62,500,000 (soit 62000000 = 62MHz)
   −
* 15,625,000 (a.k.a 16000000 = 16 MHz)
+
Si vous placez la valeur 48000000 pour la vitesse du bus, vous n'aurez pas une vitesse de 48MHz mais de 42MHz car c'est la valeur inférieure la plus proche. Le PiTFT à été testé et fonctionne parfaitement à 32MHz, c'est la valeur recommandée par Adafruit MAIS vous pouvez utiliser un bus à 42MHz ce qui accélérera un peu le rafraîchissement de l'écran.
* 17,857,142 (a.k.a. 18000000 = 18 MHz)
  −
* 20,833,333 (a.k.a 21000000 = 21 MHz)
  −
* 25,000,000 (= 25 MHz)
  −
* 31,250,000 (a.k.a 32000000 = 32MHz)
  −
* 41,666,666 (a.k.a 42000000 = 42MHz)
  −
* 62,500,000 (a.k.a 62000000 = 62MHz)
     −
So if you put in 48000000 for the speed, you won't actually get 48MHz, you'll actually only get about 42MHz because it gets rounded down. We tested this display nicely with 32MHz and we suggest that, but you can put in 42MHz and it will update a bit faster
      +
Vous pouvez ajuster le paramètre fps (''Frame Par Seconde'' pour Frame Par Seconde) entre 20 et 60 ainsi que la fréquence jusqu'a 42MHz pour essayer d'améliorer les performance et la vitesse.
   −
You can tweak fps (frames per second) from 20 to 60 and frequency up to 42MHz for tradeoffs in performance and speed. Reboot after each edit to make sure the settings are loaded properly. There's a trade off that if you ask for higher FPS you're going to load the kernel more because it's trying to keep the display updated. You can try 62MHz SPI but you may find the image corrupted so, again, tradeoffs! :)
+
Redémarrez votre Pi après chaque modification de paramètre afin d'être certain qu'ils soient correctement chargé. Il y a un compromis à faire, si vous augmentez la valeur de FPS, cela augmente aussi la charge du noyau car il doit essayer de garder l'écran à jour plus fréquemment. Vous pouvez essayer d'utiliser le bus SPI à 62MHz SPI mais si l'affichage est corrompu, une fois encore, il vous faudra faire un compromis! :)
   −
== How can I take screenshots of the display?
+
== Capture d'écran ==
 +
Comment puis-je faire une capture d'écran.
   −
We took the screenshots for this tutorial with fbgrab
+
Les images de ce tutoriel ont été capturées avec le programme {{fname|fbgrab}}
    
  <nowiki>wget http://fbgrab.monells.se/fbgrab-1.2.tar.gz
 
  <nowiki>wget http://fbgrab.monells.se/fbgrab-1.2.tar.gz
29 917

modifications

Menu de navigation