2

I have coded a program to display a countdown using PySimpleGUI. I want to run it on one HDMI output of the Pi4. The other HDMI output should continue to run a regular frame buffer as I’d like to use PiDeck on it (which uses OMXPlayer).

My X knowledge is quite dated and what ever search term I come up with describes how to use both screens with Xorg. https://tldp.org/HOWTO/html_single/Framebuffer-HOWTO/#AEN1010 Is the closest I could find but is totally outdated.

1 Answer 1

2

Allocate two framebuffers from config.txt

max_framebuffers=2

Tell Xorg to use only one screen: create xorg.conf with sudo xorg -configure and edit it to keep only the first device. If Xorg is not using the second screen anyway, skip this step.

Run omxplayer on the second screen with --display 7 as described here.

1
  • running ˋXorg -configureˋ yields in an error. No devices are found. I tried creating an ˋxorg.confˋ by hand with no success. Do you have any hints on how to get started or what are the relevant sections?
    – Jonathan
    Nov 19, 2020 at 4:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.