Page 1 of 1
Force Pi/Pi2 to reload config.txt without reboot
Posted: Mon Jun 29, 2015 7:47 pm
by KV4LQ
Does anyone know if it is possible to force the Pi/Pi2 to reload config.txt and apply those settings without rebooting?
If there is an easier way to rotate the screen output without rebooting, I'm open to that, but I would rather have the ability to reload the whole config.txt so I can change overclock, overscan, and resolution while running.
Re: Force Pi/Pi2 to reload config.txt without reboot
Posted: Mon Jun 29, 2015 8:28 pm
by DougieLawson
KV4LQ wrote:Does anyone know if it is possible to force the Pi/Pi2 to reload config.txt and apply those settings without rebooting?
It's not possible. Config.txt is the configuration for the GPU which is alive and running before the ARM processor gets booted.
The only interface we've got for the GPU is the tvservice command and it doesn't have any override for screen rotation.
Re: Force Pi/Pi2 to reload config.txt without reboot
Posted: Tue Jun 30, 2015 7:03 am
by rpdom
You can use a combination of tvservice and fbset/xrefresh to change the resolution while running. There is also a program somewhere here (I'll look for it in a minuet*) that can get and set the overscan values.
I don't think there is a way to change the overclock while running - yet...
*Finished dancing now
Here's something for the overscan
https://github.com/ukscone/set_overscan ... verscan.sh
Re: Force Pi/Pi2 to reload config.txt without reboot
Posted: Tue Jun 30, 2015 11:18 am
by AndyD
I think popcornmix's fork is the one to use now ...
https://github.com/popcornmix/set_overscan
Re: Force Pi/Pi2 to reload config.txt without reboot
Posted: Tue Jun 30, 2015 12:35 pm
by rpdom
Thanks, I'll take a look at that one

Re: Force Pi/Pi2 to reload config.txt without reboot
Posted: Tue Jun 30, 2015 8:46 pm
by KV4LQ
OK, but is there any way to change the screen rotation? That's my main goal...
Re: Force Pi/Pi2 to reload config.txt without reboot
Posted: Tue Jun 30, 2015 9:03 pm
by DougieLawson
KV4LQ wrote:OK, but is there any way to change the screen rotation? That's my main goal...
NO. Not without a reboot.
Re: Force Pi/Pi2 to reload config.txt without reboot
Posted: Tue Jun 30, 2015 9:04 pm
by KV4LQ
DougieLawson wrote:KV4LQ wrote:OK, but is there any way to change the screen rotation? That's my main goal...
NO. Not without a reboot.
Thanks for the quick and easy answer.