Modifications

Sauter à la navigation Sauter à la recherche
2 366 octets ajoutés ,  21 septembre 2014 à 09:53
Ligne 21 : Ligne 21 :     
  sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
 
  sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
 +
 +
== Erreur: Module g2d_23 not found ==
 +
'''I'm tring to run startx and I get FATAL: Module g2d_23 not found.'''
 +
 +
don't forget you have to remove the turbo file!
 +
 +
sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
 +
 +
== Le bouton sur le GPIO 21 ne fonctionne pas ==
 +
'''Why doesn't the tactile button on GPIO #21 work?'''
 +
 +
On some older PiTFTs we had one of the buttons labeled #21 - that's the original RasPi name for that pin. If you're using a V2 (chance is, you are!) that is now called #27.
 +
 +
All the PiTFT's we ship now have the button labeled #21 and #27
 +
 +
== Obtenir une meilleur performance et mise-à-jour plus rapide ==
 +
'''I want better performance and faster updates!'''
 +
 +
You can change the SPI frequency (overclock the display) by editing '''/etc/modprobe.d/adafruit.conf''' and changing the options line to:
 +
 +
options fbtft_device name=adafruitrt28 rotate=90 frequency=62000000 fps=60
 +
 +
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
 +
 +
* 15,625,000 (a.k.a 16000000 = 16 MHz)
 +
* 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 or even try 62MHz and it will update faster
 +
 +
You can tweak fps (frames per second) from 20 to 60 and frequency up to 62MHz 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.
 +
 +
== Prendre des captures d'écran ==
 +
[http://fbgrab.monells.se/ Il est possible de prendre des captures d'écran à l'aide de '''fbgrab''']
 +
 +
<nowiki>wget http://fbgrab.monells.se/fbgrab-1.2.tar.gz
 +
tar -zxvf fbgrab*gz
 +
cd fbgrab/
 +
make
 +
./fbgrab screenshot.png</nowiki>
 +
 +
{{ADFImage|RASP-PiTFT-FAQ-00.png|480px}}
    
== Puis-je utiliser un autre périphérique SPI avec le PiTFT? ==
 
== Puis-je utiliser un autre périphérique SPI avec le PiTFT? ==
29 836

modifications

Menu de navigation