3.2" SPI LCD (working and ready for a build)

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
User avatar
moosepr
Posts: 423
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 45 times
Been thanked: 164 times
Contact:

Re: 3.2" SPI LCD (working and ready for a build)

Post by moosepr » Fri Oct 13, 2017 1:09 am

Yeah that looks much better, you can see his little feet going like mad now!

You can add debug=32 at the end of your config, then if you ssh in, a quick dmesg will show you the calculated FPS that the screen is getting (how long each screen update is taking). I would say take it back out if the config once your done, save spamming the system logs
Get a small cheep LCD in your project http://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery http://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small http://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! http://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

User avatar
VeteranGamer
Posts: 706
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 198 times
Been thanked: 372 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by VeteranGamer » Fri Oct 13, 2017 2:32 am

moosepr wrote:
Fri Oct 13, 2017 1:09 am
Yeah that looks much better, you can see his little feet going like mad now!

You can add debug=32 at the end of your config, then if you ssh in, a quick dmesg will show you the calculated FPS that the screen is getting (how long each screen update is taking). I would say take it back out if the config once your done, save spamming the system logs

just so that i know i doing it correctly.....

added debug=32 to the end of the config....
did dmesg....

is this what im meant to have seen....

Image


i'm not 100% certain, so apologies for the noob questioning....

.

User avatar
HoolyHoo
Posts: 459
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 131 times
Been thanked: 456 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by HoolyHoo » Fri Oct 13, 2017 5:04 am

VeteranGamer wrote:
Fri Oct 13, 2017 2:32 am
moosepr wrote:
Fri Oct 13, 2017 1:09 am
Yeah that looks much better, you can see his little feet going like mad now!

You can add debug=32 at the end of your config, then if you ssh in, a quick dmesg will show you the calculated FPS that the screen is getting (how long each screen update is taking). I would say take it back out if the config once your done, save spamming the system logs

just so that i know i doing it correctly.....

added debug=32 to the end of the config....
did dmesg....

is this what im meant to have seen....

Image


i'm not 100% certain, so apologies for the noob questioning....

.
Are you sure you added it to the contents of this file?

Code: Select all

/etc/modprobe.d/fbtft.conf 

User avatar
VeteranGamer
Posts: 706
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 198 times
Been thanked: 372 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by VeteranGamer » Fri Oct 13, 2017 5:34 am

HoolyHoo wrote:
Fri Oct 13, 2017 5:04 am


Are you sure you added it to the contents of this file?

Code: Select all

/etc/modprobe.d/fbtft.conf 

i did, but didnt do a reboot.....

just did it again
Last edited by VeteranGamer on Fri Oct 13, 2017 5:43 am, edited 1 time in total.

User avatar
HoolyHoo
Posts: 459
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 131 times
Been thanked: 456 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by HoolyHoo » Fri Oct 13, 2017 5:38 am

You should see a flood of messages displaying the FPS when you type dmesg at the command line if you entered it correctly.

User avatar
VeteranGamer
Posts: 706
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 198 times
Been thanked: 372 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by VeteranGamer » Fri Oct 13, 2017 6:04 am

HoolyHoo wrote:
Fri Oct 13, 2017 5:38 am
You should see a flood of messages displaying the FPS when you type dmesg at the command line if you entered it correctly.
ok.... re-ran the test and this is what i got......

in the emulationstation menu
Image

while running SMW on the SNES

Image


now its showing around 30fps (both times) .... but the games dont seem that slow (if at all)
and i am aware alot of 16bit or lower games dont actually need 60fps to run smoothly

even though its not 60fps (which wasnt expected)....
to my novice eyes this still seems very viable (maybe not ideal)

it would also be interesting to see if the mintyPi setup gives different results, with it being a small screen does it perform better/same/worse


.

codeman0624
Posts: 71
Joined: Wed Nov 23, 2016 10:19 am
Has thanked: 1 time
Been thanked: 38 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by codeman0624 » Fri Oct 13, 2017 8:47 am

VeteranGamer wrote:
Fri Oct 13, 2017 6:04 am


now its showing around 30fps (both times) .... but the games dont seem that slow (if at all)
and i am aware alot of 16bit or lower games dont actually need 60fps to run smoothly

even though its not 60fps (which wasnt expected)....
to my novice eyes this still seems very viable (maybe not ideal)

it would also be interesting to see if the mintyPi setup gives different results, with it being a small screen does it perform better/same/worse


.
This is very cool to be able to see the actual FPS!

You still have the speed setting at 99000000, right? I would be very interested in seeing if the FPS you just measured would go up if you set core_freq=300 in config.txt. This should increase your actual SPI frequency, and maybe increase the FPS

The minty pi should have the same results. It's the same number of pixels, just in a smaller screen size. So the FPS should be the same since it really only depends on pixel count and SPI speed

User avatar
VeteranGamer
Posts: 706
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 198 times
Been thanked: 372 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by VeteranGamer » Fri Oct 13, 2017 10:28 am

codeman0624 wrote:
Fri Oct 13, 2017 8:47 am
This is very cool to be able to see the actual FPS!

You still have the speed setting at 99000000, right? I would be very interested in seeing if the FPS you just measured would go up if you set core_freq=300 in config.txt. This should increase your actual SPI frequency, and maybe increase the FPS

The minty pi should have the same results. It's the same number of pixels, just in a smaller screen size. So the FPS should be the same since it really only depends on pixel count and SPI speed
still have the speed set to 99000000 (which i doubt i will change).....

Image

and i havent tinkered with anything else......

so far, so good (IMHO)......
for me this screen looks like a goer.... if compared to the BW screen, i think its a no brainer (again IMHO)
and if it performs the same as the mintyPi, its another reason... i havent seen people complaining about the perforance on those

when i come to starting my next build i'm gonna start having a look at other settings and see if tweaking here and there ups anything

.

penguinsfan16
Posts: 7
Joined: Tue Dec 13, 2016 1:27 pm

Re: 3.2" SPI LCD (working and ready for a build)

Post by penguinsfan16 » Fri Oct 13, 2017 10:44 am

anyone have a link to the red board in the 3rd picture??

User avatar
VeteranGamer
Posts: 706
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 198 times
Been thanked: 372 times

Re: 3.2" SPI LCD (working and ready for a build)

Post by VeteranGamer » Fri Oct 13, 2017 10:51 am

penguinsfan16 wrote:
Fri Oct 13, 2017 10:44 am
anyone have a link to the red board in the 3rd picture??
that red board is from a 2.4" screen, which i used the screen in my TintyPi build.....

you can use one of these designed by moosepr.....

Image

https://oshpark.com/shared_projects/zUNmnlLF


read his guide....
viewtopic.php?f=22&t=2312


.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests