Get rid of MPF-MC window

29 views
Skip to first unread message

Marc Rechté

unread,
Nov 6, 2024, 12:19:26 PMNov 6
to MPF Users
Hello. 
I am trying to configure mpf-mc in order to *not* display a window (I will only have a physical dmd). As explained here https://missionpinball.org/latest/mc/displays/rgb_dmd/ §"5. What if you don't want the on-screen window?". However, it seems a default window is created if window section is not present in the config.yaml file.
On top of that I can read in core/mc.py this comment:
# Since the window is so critical in Kivy, we can't continue the
# boot process until the window is setup, and we can't set the
# window up until the displays are initialized.

So my question is: can mpf-mc be configured without a window (in fact without an X11 server running) ?
Thanks

Anthony van Winkle

unread,
Nov 6, 2024, 4:48:34 PMNov 6
to MPF Users
Unfortunately as far as I know a window is required, because it is the X engine that processes the Kivy data and turns it into pixels that are then read back and sent to the DMD. 

With some advanced hacking, you may be able to create a virtual headless display in kivy but that's far beyond the scope of what MPF is setup to do.

Marc Rechté

unread,
Nov 7, 2024, 1:36:38 AMNov 7
to MPF Users
Thanks Anthony. I did a simple test, start mpf-mc without the X11 server, and bet what: it is working OK !!!
Reply all
Reply to author
Forward
0 new messages