4

I just got official raspberry pi lcd screen and it work perfectly. However, once the screen connected I cannot run the HDMI screen. I was looking at framebuffer and I thought there will be something like fb0 and fb1 so I will run the X server on each one but I only can see fb0.

What can I do to run both screens at the same time?

Mero
  • 298
  • 5
  • 13

2 Answers2

2

I was struggling with this as well since the 7" screen is a bit too small for my old eyes to do actual development.

The solution is to add a line to /boot/config.txt as described in https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/ :

"The Raspberry Pi will now automatically detect the display and use it as the default display (rather than HDMI), although HDMI will still be initialised. If you’d prefer for the HDMI display to stay as default then add:

display_default_lcd=0

to the config.txt file."

Cheers,

David

1

We cannot run two separate X because we simply don't have second frame buffer and need some development to get another frame buffer working. However, we are still capable to run both the touch and HDMI screen if the application is modified to do so. OMX player as example.

omxplayer --display 5 xxx.avi this will play the video on the HDMI screen while the X is running on the touch screen.

Mero
  • 298
  • 5
  • 13