Tagged: 3.5 tft
-
AuthorPosts
-
Anonymous
Inactive04/03/2015 at 05:42Post count: 13I have just started tinkering with this…unsuccessfully.. Any pointers?
Anonymous
Inactive04/03/2015 at 06:14Post count: 4You looked in the Adafruit forums right.
https://forums.adafruit.com/viewtopic.php?f=19&t=69115&p=350571
Anonymous
Inactive04/03/2015 at 16:48Post count: 13Yeah 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.
Did you get this to work? I have a pitft 3.5 on an rpi2 and I think it works brilliantly!
Anonymous
Inactive04/18/2015 at 02:02Post count: 13No I didn’t. Are you running retropie?
Yes. 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.
Anonymous
Inactive04/18/2015 at 13:39Post count: 13Tgabk you. I’ll give it another shot. Is the feamwrate low in your opinion?
That 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.
trixter: 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?
Anonymous
Inactive04/22/2015 at 05:20Post count: 13Why is the target 60? Why not 24 or 30fps?
I 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.
Hello 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.
Bassholio, did those files I sent you make any difference?
Anonymous
Inactive04/22/2015 at 15:13Post count: 13I haven’t had a chance to try them yet. Hopefully today.
bassholio: 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.
Raspberry 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
Got 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
I 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×228 -
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.