Page 1 of 1

Dual HDMI Output on RPi 4

Posted: Sun Sep 15, 2019 3:13 am
by SnowsongWolf
Long story short, I have an RPi 4 with 2 HDMI displays. Both displays are working, however I have the same output on both. Which is to say there is only fb0 showing in /dev. How do I get individual framebuffers for each monitor? I'm running Raspbian buster lite (no desktop). My Google-fu is usually strong but I've been searching for a few hours with no luck.

Re: Dual HDMI Output on RPi 4

Posted: Sun Sep 15, 2019 4:52 am
by SnowsongWolf
Nevermind, finally figured it out. I had to disable the optional driver loaded in the [rpi4] section of /boot/config.txt

Re: Dual HDMI Output on RPi 4

Posted: Sun Sep 15, 2019 6:20 am
by PeterO
That doesn't sound right. It should work twin headed "out of the box".

What exactly did you change in config.txt ?

PeterO

Re: Dual HDMI Output on RPi 4

Posted: Sun Sep 15, 2019 8:23 pm
by jamesh
With the FKMS driver re-enabled (with it off you lose 3d acceleration), you get one frame buffer, but you can make it incorporate the two displays. Go to the screen configuration utility, and you will see just one display, but that is in fact one over the other. CLick and drag the display around and you will see its actually two displays, and you can then set them up as you want, including different orientations, gaps between etc.

Re: Dual HDMI Output on RPi 4

Posted: Sun Sep 15, 2019 8:28 pm
by DirkS
jamesh wrote:
Sun Sep 15, 2019 8:23 pm
Go to the screen configuration utility
OP is running Lite (no desktop)...

Re: Dual HDMI Output on RPi 4

Posted: Mon Sep 16, 2019 6:52 am
by KenT2
DirkS wrote:
Sun Sep 15, 2019 8:28 pm
jamesh wrote:
Sun Sep 15, 2019 8:23 pm
Go to the screen configuration utility
OP is running Lite (no desktop)...
use the xrandr command

Re: Dual HDMI Output on RPi 4

Posted: Mon Sep 16, 2019 6:26 pm
by jamesh
KenT2 wrote:
Mon Sep 16, 2019 6:52 am
DirkS wrote:
Sun Sep 15, 2019 8:28 pm
jamesh wrote:
Sun Sep 15, 2019 8:23 pm
Go to the screen configuration utility
OP is running Lite (no desktop)...
use the xrandr command
Which is all the Screen Saver configuration tool does under the skin,

Re: Dual HDMI Output on RPi 4

Posted: Mon Sep 16, 2019 8:31 pm
by DirkS
KenT2 wrote:
Mon Sep 16, 2019 6:52 am
DirkS wrote:
Sun Sep 15, 2019 8:28 pm
jamesh wrote:
Sun Sep 15, 2019 8:23 pm
Go to the screen configuration utility
OP is running Lite (no desktop)...
use the xrandr command
Not installed on Lite...
It's part of the package x11-xserver-utils

Re: Dual HDMI Output on RPi 4

Posted: Mon Sep 16, 2019 8:34 pm
by jamesh
TBH, if you are not using the desktop, legacy graphics mode will probably be fine, and gives you two framebuffers rather than one over two displays.