Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › 3.5" adafruit tft screen compatibility with retropie
Tagged: 3.5 tft
- This topic has 20 replies, 5 voices, and was last updated 9 years, 2 months ago by wilsonb.
-
AuthorPosts
-
04/03/2015 at 05:42 #93604AnonymousInactive
I have just started tinkering with this…unsuccessfully.. Any pointers?
04/03/2015 at 06:14 #93605AnonymousInactiveYou looked in the Adafruit forums right.
https://forums.adafruit.com/viewtopic.php?f=19&t=69115&p=350571
04/03/2015 at 16:48 #93630AnonymousInactiveYeah I saw that and was hoping that there may have been some more details on how to make it work. I followed the instructions I found and still have a white screen.
04/18/2015 at 00:57 #95313trixsterParticipantDid you get this to work? I have a pitft 3.5 on an rpi2 and I think it works brilliantly!
04/18/2015 at 02:02 #95315AnonymousInactiveNo I didn’t. Are you running retropie?
04/18/2015 at 11:03 #95349trixsterParticipantYes. I followed this tutorial https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-displays/pitft-setup
You have to substitute 28r for 35r.
The line: /usr/local/bin/fbcp &
Needs to be added to /etc/rc.local
In config.txt you need to add this line: dtoverlay=pitft35r,rotate=90,speed=80000000,fps=60
and comment out a similar line which has been added by the helper script.
04/18/2015 at 11:17 #95352trixsterParticipant04/18/2015 at 13:39 #95361AnonymousInactiveTgabk you. I’ll give it another shot. Is the feamwrate low in your opinion?
04/18/2015 at 14:39 #95365trixsterParticipantThat video was taken before I commented out the line: dtoverlay=pitft35r,rotate=90,speed=42000000,fps=20
in config.txt and replaced it with
dtoverlay=pitft35r,rotate=90,speed=80000000,fps=60
It’s smoother now.
The rpi2 is overclocked to 1.1ghz, sdram at 483, core not overclocked.
04/19/2015 at 21:21 #95645trixsterParticipantSlightly better video here:
04/22/2015 at 00:23 #95828clpalmerParticipanttrixter: Any time I try and push up the PITFT speed to 80 (or even 64) it gets a bit glitchy and flashes white for a split second on a fairly frequent basis. The only frequency I’ve got it to work at is 48000000. Anything higher causes the glitches. At that frequency, the display is solid, but the emulation is laggy. At 80000000, emulation is smooth, but the display glitches.
Did you see that same behaviour or do you have any suggestions?
04/22/2015 at 05:20 #95846AnonymousInactiveWhy is the target 60? Why not 24 or 30fps?
04/22/2015 at 05:35 #95847clpalmerParticipantI tried dropping it down to 30 (along with the HDMI refresh rate) and it was quite sluggish. Not sure if there’s just a sleep somewhere to suck up the other 30 frames, but it was definitely worse.
04/22/2015 at 14:31 #95868trixsterParticipantHello all,
80000000 works fine on my pitft, I can’t discern any glitches, flashes or flickers. There’s little or no input lag. I went with the adafruit settings purely because that’s what they recommended for the 2.8 screens and they seem to work fine with my 3.5. Regarding the fps – I’m not sure why there’s an fps setting however I was happy enough to stick with 60fps as it correlates with the refresh rate of most of the emulators I’m using. I’m not sure why a tft would have both a refresh and an fps setting though.
04/22/2015 at 14:32 #95869trixsterParticipantBassholio, did those files I sent you make any difference?
04/22/2015 at 15:13 #95871AnonymousInactiveI haven’t had a chance to try them yet. Hopefully today.
04/22/2015 at 22:14 #95916clpalmerParticipantbassholio: mind posting/sending your config.txt and/or any other tweaks you’ve made? I’m assuming I just have a closer-to-spec display that can’t handle the higher freq’s, but would be nice to check against whatever else you might have done.
06/17/2015 at 18:13 #100002wilsonbParticipantRaspberry Pi 2
Adafruit 3.5 PiTFTSame problem, screen is extremely shaky/wavy, and now my HDMI says out of sync(no display on monitor)
BTW: Should this be at this resolution, since the pitxt is a 480
hdmi_cvt=320 240config.txt
# for more options see http://elinux.org/RPi_config.txt
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=384overscan_scale=1
gpu_mem=64
dtparam=spi=onhdmi_force_hotplug=1
hdmi_cvt=320 240 60 1 0 0 0
hdmi_group=2
hdmi_mode=87
# — added by adafruit-pitft-helper Wed Jun 17 10:30:02 CDT 2015 —
[pi1]
device_tree=bcm2708-rpi-b-plus.dtb
[pi2]
device_tree=bcm2709-rpi-2-b.dtb
[all]
dtparam=spi=on
dtparam=i2c1=on
dtparam=i2c_arm=on# dtoverlay=pitft35r,rotate=90,speed=42000000,fps=20
# — end adafruit-pitft-helper Wed Jun 17 10:30:02 CDT 2015 —dtoverlay=pitft35r,rotate=90,speed=80000000,fps=60
06/18/2015 at 16:58 #100067wilsonbParticipantGot it figured out by changing config.txt . (Lowering the speed= )
Here is my config.txt for others with 3.5 LCD.
# — end adafruit-pitft-helper Wed Jun 3 03:41:41 UTC 2015 —
arm_freq=1000
#core_freq=500
sdram_freq=483
over_voltage=6dtparam=i2c1=on
#- added by adafruit-pitft-helper Wed Jun 17 17:26:46 CDT 2015 —
[pi1]
device_tree=bcm2708-rpi-b-plus.dtb[pi2]
device_tree=bcm2709-rpi-2-b.dtb[all]
dtparam=spi=on
dtparam=i2c_arm=ondtoverlay=pitft35r,rotate=90,speed=49700000,fps=60
06/18/2015 at 17:01 #100069wilsonbParticipantI would like to fill the LCD as much as possible/biggest so it’s usable.
The only way I found so far is modifying the opt/retropie/configs/mame-mame4all/mame.cfg file;
[config]
artwork=yes
samples=yes
antialias=yes
translucency=yes
skiplines=0
skipcolumns=0
beam=1.0
flicker=0.0
gamma=1.0
frameskip=auto
ror=no
rol=no
flipx=no
flipy=no
samplerate=44200
volume=0
cheat=no
#vector_width=640
vector_width=480
#vector_height=480
vector_height=320kioskmode=no
force_stereo=no
# Anti-alias the display?
display_smooth_stretch=yes
# Stretches to fill screen (ONLY if display_smooth_stretch is enabled)
display_smooth_stretch_full=yes
display_border=0
# display effect postprocessing: 0 none, 1 scanlines
display_effect=0
#Set a static resolution
#resolution=400×240
#resolution=480×320
resolution=320×250
#resolution=360×22808/28/2015 at 21:41 #104927wilsonbParticipantWent to RetroPi 3 using Raspberry Pi 2 + Adafruit piTFT 3.5 (480×320)
And now can’t get LCD dispolay to work. I think it’s a new kernel.
Anyone get this exact config to work?
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.