Solskogen
Posts: 24
Joined: Tue Sep 27, 2016 6:07 am

max_framebuffers in config.txt

Mon Jul 15, 2019 10:49 am

What is that used for? I can't seem to find any documentation about it.

aBUGSworstnightmare
Posts: 1886
Joined: Tue Jun 30, 2015 1:35 pm

Re: max_framebuffers in config.txt

Mon Jul 15, 2019 11:07 am

framebuffer_width
The framebuffer_width command specifies the console framebuffer width in pixels. The default is the display width minus the total horizontal overscan.

framebuffer_height
The framebuffer_height command specifies the console framebuffer height in pixels. The default is the display height minus the total vertical overscan.

max_framebuffer_height, max_framebuffer_width
Specifies the maximum dimensions that the internal frame buffer is allowed to be.
Find it here https://www.raspberrypi.org/documentati ... tom%20Mode

Solskogen
Posts: 24
Joined: Tue Sep 27, 2016 6:07 am

Re: max_framebuffers in config.txt

Mon Jul 15, 2019 11:25 am

That's not quite the same as max_framebuffers if I understand it correctly. max_framebuffers=2 Is what I find in config.txt

epoch1970
Posts: 5022
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: max_framebuffers in config.txt

Mon Jul 15, 2019 11:33 am

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26442
Joined: Sat Jul 30, 2011 7:41 pm

Re: max_framebuffers in config.txt

Mon Jul 15, 2019 11:47 am

Looks like I missed that when updating the docs.

It does exactly what it says on the tin, defines the maximum number of framebuffers in the firmware. So if you have more than one display attached, you need to increase max_framebuffers to match. Currently either 1 or 2.

In legacy mode (not FKMS) you will get a linux framebuffer per display. In FKMS mode, although you still need to set max_framebuffers to match the number of physical displays, FKMS takes over the system, and simulates a single FB over those multiple displays.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Solskogen
Posts: 24
Joined: Tue Sep 27, 2016 6:07 am

Re: max_framebuffers in config.txt

Mon Jul 15, 2019 11:53 am

Okay, so it should match the number of attached displays.
Thanks!

Return to “Beginners”