Page 1 of 1

overscan on an spi screen

Posted: Sat Apr 28, 2018 1:21 pm
by Lpoolm
so ive been using spi screens and now prefer them to tft however i need to make my screen smaller to fit better within my gameboy pocket screen.
ive used overscan before , edit the config text removing # but it doesnt matter if i put in a positive number or negative neither seem to adjust?
i think in the original setup of the screen using moosepr guide i have to disable overscan, so does this mean it can not be adjusted?
any tips would be great.

Re: overscan on an spi screen

Posted: Sat Apr 28, 2018 8:28 pm
by rodocop
There is a line that needs to be uncommented to enable overscan. Right above the left, right, top, bottom.

And you have to reboot after each change to see the difference.

Re: overscan on an spi screen

Posted: Sun Apr 29, 2018 3:26 am
by Lpoolm
rodocop wrote:
Sat Apr 28, 2018 8:28 pm
There is a line that needs to be uncommented to enable overscan. Right above the left, right, top, bottom.

And you have to reboot after each change to see the difference.
yer, done that too. no adjustment working at all? its very strange!

Re: overscan on an spi screen

Posted: Sun Apr 29, 2018 5:17 am
by VeteranGamer
Lpoolm wrote:
Sun Apr 29, 2018 3:26 am
rodocop wrote:
Sat Apr 28, 2018 8:28 pm
There is a line that needs to be uncommented to enable overscan. Right above the left, right, top, bottom.

And you have to reboot after each change to see the difference.
yer, done that too. no adjustment working at all? its very strange!

i've personally not used any overscan settings on a build before that uses a SPI screen....

however, i will be at some point...
so have just quickly tried to adjust them....
(this might be of help to you)


before any settings have been applied....

Image


applied these settings (maybe a little extreme)....

Image


after a reboot, this is what i got....

Image



may help....
you might need to start a fresh (new .img) if nothing changes ....



a little tip....
what i've done is build a fresh .img of Retropie...
which has the fbtft script installed along with Retrogame and my WiFi settings (and the odd game)...
and done a backup of it...
this way if i encounter any errors, its just a case of formatting the SD Card and reinstalling the .img without redoing everything...
(if doing this, its recommended to do it on a low capacity SD card, you can get away with a 4GB)

plus it saves time when starting a new build/project....




.

Re: overscan on an spi screen

Posted: Sun Apr 29, 2018 7:57 am
by Lpoolm
VeteranGamer wrote:
Sun Apr 29, 2018 5:17 am
Lpoolm wrote:
Sun Apr 29, 2018 3:26 am
rodocop wrote:
Sat Apr 28, 2018 8:28 pm
There is a line that needs to be uncommented to enable overscan. Right above the left, right, top, bottom.

And you have to reboot after each change to see the difference.
yer, done that too. no adjustment working at all? its very strange!

i've personally not used any overscan settings on a build before that uses a SPI screen....

however, i will be at some point...
so have just quickly tried to adjust them....
(this might be of help to you)


before any settings have been applied....

Image


applied these settings (maybe a little extreme)....

Image


after a reboot, this is what i got....

Image



may help....
you might need to start a fresh (new .img) if nothing changes ....



a little tip....
what i've done is build a fresh .img of Retropie...
which has the fbtft script installed along with Retrogame and my WiFi settings (and the odd game)...
and done a backup of it...
this way if i encounter any errors, its just a case of formatting the SD Card and reinstalling the .img without redoing everything...
(if doing this, its recommended to do it on a low capacity SD card, you can get away with a 4GB)

plus it saves time when starting a new build/project....




.
thanks, yes looks like i need to try a fresh install!
also really good tip thanks about the 4gb card, ive backed up 16gb cards before then when tried to install it on another 16gb get told its too large a file for the card? didnt even think touse a smaller card??

Re: overscan on an spi screen

Posted: Wed May 02, 2018 11:40 am
by 32teeth
For the pocket, this is my config.txt

Code: Select all

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=0
overscan_scale=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
overscan_left=15
overscan_right=-30
overscan_top=-30
overscan_bottom=-30

Re: overscan on an spi screen

Posted: Wed May 02, 2018 1:46 pm
by jonbro
I had good results with this:
https://github.com/ukscone/set_overscan
Let's you update the overscan with real-time feedback. Only works if overscan setting actually are working though.