Using multiple screens¶
This section covers using multiple displays and screens.
Distinction between displays, windows and screens¶
The MPF media controller knows windows and displays.
window is the window where MPF-MC pops up on your desktop using kivy.
Internally, MPF can have multiple
displays which are internal viewports
and can be targeted by slides.
display can either be displayed on a
window or on one or more DMDs.
display can also show one or more other
MPF does not know about screens which are phyiscal monitors connected to your
However, the kivy window can span multiple screens.
Using multiple screens on your PC¶
Some machines use more than one screen. Unfortunately, kivy (the graphics framework we use) does only support one screen and cannot easily be started two times. This is mostly caused by OpenGL which is rarely used to render multiple windows. The simplest solution to this problem is to extend the MC window to span both (or more) screens. This can be achieved using the following config:
kivy_config: kivy: desktop: 1 exit_on_escape: true pause_on_minimize: 0 log_dir: window_icon: graphics: borderless: true window_state: visible # visible, hidden, maximized, minimized fbo: hardware # hardware, software, force-hardware fullscreen: false left: 0 top: 0 width: 3840 height: 1080 maxfps: 30 multisamples: 2 position: custom # auto, custom show_cursor: true resizable: false rotation: 0
height to set the size of the window.
top are used to position the window.
Then put a slide containing two
display widgets on your display.
See Display Widget for details.
Using multiple displays¶
You can easily use two DMDs and one LCD (or two LCDs with the solution above). To implement that you need to define multiple displays. One diplay per DMD and one for your LCD. If you want to show your DMDs on the LCD (i.e. during development) you can also define a fourth display and create a slide which contains three display widgets to show the other three displays.