brittany14
Posts: 1
Joined: Sat Nov 28, 2015 6:07 pm

Retropie and 2.8" PiTFT - white screen only

Sat Nov 28, 2015 6:15 pm

I have a Raspberry Pi 2 connected to Adafruit's 2.8" PiTFT screen. I am using a 64 GB SD card with this version Retropie that is supposed to work with the PiTFT: https://learn.adafruit.com/pocket-pigrrl/software-1. I got it working, and I was changing the settings as recommended by many blogs I read to expand the filesystem and set the overclocking for the Pi 2. After that, it needed to restart. It loaded the Retropie splash screen but in a weird diagonal way and then froze like that. I couldn't figure out what to do so I reformatted the SD card and put the Retropie image back on it. I know the Pi can read it because the green ACT light is flashing irregularly like it should, but all I get on the PiTFT is a blank white screen. :(
Any advice on what to try next? Thanks!!!

slimjim2222
Posts: 5
Joined: Fri Jan 08, 2016 4:04 am

Re: Retropie and 2.8" PiTFT - white screen only

Tue Jan 12, 2016 5:12 am

try this but instead of the adafruit help 35r put 28r

sudo raspi-config

expand filesystem

disable overscan

force audio to 3.5mm

advanced options >> enable Device Tree

advanced options >> enable SPI >> load SPI kernel module by default

sudo reboot

---------------------------------------
sudo nano /boot/cmdline.txt ---> put this at the end on the same line fbcon=map:10
---------------------------------------
cd
curl -SLs https://apt.adafruit.com/add-pin | sudo bash
sudo apt-get install raspberrypi-bootloader
y
sudo apt-get -y install adafruit-pitft-helper
sudo adafruit-pitft-helper -t 35r ( speed 4800000 fps 60 ) later on change in /coot/config.txt
console on display? no
gpio 23 as on off button?

------------------------------------------
This is the over lay to produce image

sudo apt-get install cmake
git clone https://github.com/tasanakorn/rpi-fbcp
cd rpi-fbcp/
mkdir build
cd build/
cmake ..
make
sudo mkdir /usr/local/bin
sudo install fbcp /usr/local/bin/fbcp
-------------------------------------------
Instead of using the asplashscreen fix I added the boot function for fbcp to
-------------------------------------------
on its own on the second line before emulationstation is called.

sudo nano /etc/profile.d/10-emulationstation.sh
then add this

/usr/local/bin/fbcp &
----------------------------------------
To stop the cursor or blinking screen sense your there are overlapping
-------------------------------------------
sudo nano /etc/rc.local
Con2fbmap 1 0
Add this above exit 0
-------------------------------------------
/boot/config.txt
-------------------------------------------

sudo nano /boot/config.txt
hdmi_force_hotplug=1
hdmi_cvt=320 240 60 1 0 0 0
hdmi_group=2
hdmi_mode=87
dtoverlay=pitft35r,rotate=90,speed=80000000,fps=60
-----------------------------------------
This is for function get_all_modes
----------------------------------------
sudo nano /opt/retropie/supplementary/runcommand/runcommand.sh
Add the following lines to the script:
mode_new = "DMT-87"
return

keos
Posts: 3
Joined: Sat Nov 26, 2016 1:13 pm

Re: Retropie and 2.8" PiTFT - white screen only

Mon Mar 20, 2017 5:22 pm

I don't if is your case, but I made an app in pygame and after some time I got your problem. I found that using the proposed console fonts by Adafruit made my display goes white all the time. I switch back to VGA8x8 and was ok.

Return to “Troubleshooting”