element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum How to run HDMI and Official Raspberry Pi Display (DSI) simultaneously?
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 25 replies
  • Answers 6 answers
  • Subscribers 284 subscribers
  • Views 11350 views
  • Users 0 members are here
  • dual head
  • dsi
  • hdmi
  • frame_buffer
  • raspberry pi
  • rpi
  • official display
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

How to run HDMI and Official Raspberry Pi Display (DSI) simultaneously?

Former Member
Former Member over 9 years ago

Hallo  to all RPi lovers,

I've been trying for a while to clone the video from Official Raspberry Pi Display (connects through DSI) to the HDMI display. Both work fine when alone but not together.

I am pretty much sure, that it is possible from hardware side, as the omxplayer can play video, on HDMI display, while DSI Display is on and functioning.

Looking deeper in the problem I am able to state following:

1. Raspberry Pi doesn't create a framebuffer for second device, there is only /dev/fb0, no matter how many monitors are plugged

2. As the consequence of first, fbcp and other tools, that can play with framebuffer around, won't work.

3. As far as I understood the module bcm2708_fb is in charge of HDMI framebuffer however here is the lsmod:

Module             Size  Used by
cfg80211         419759  0
rfkill            16659  2 cfg80211
bcm2835_gpiomem    3023  0
evdev             10226  6
joydev             9047  0
snd_bcm2835       19739  3
snd_pcm           74833  1 snd_bcm2835
r8712u           167991  0
snd_timer         18164  1 snd_pcm
snd               52116  9 snd_bcm2835,snd_timer,snd_pcm
uio_pdrv_genirq    2966  0
rpi_ft5406         2826  0
uio                8228  1 uio_pdrv_genirq
rpi_backlight      1988  0
i2c_dev            6040  0
fuse              81721  3
ipv6             341380  30

 

and modprobe  bcm2708_fb gives in dmsg following error:

 

[ 3597.206111] bcm2708_fb soc:fb: Unknown ioctl 0x40187a22

[ 3721.217242] bcm2708_fb soc:fb: Unknown ioctl 0x40187a22

[ 3757.719256] bcm2708_fb soc:fb: Unknown ioctl 0x40187a22

[ 3881.152850] bcm2708_fb soc:fb: Unknown ioctl 0x40187a22

Just to imagine here is a part of config that defines the device:

 

Section "Device"

        Identifier      "Allwinner A10/A13 FBDEV"

        Driver          "fbturbo"

        Option          "fbdev" "/dev/fb0"

 

        Option          "SwapbuffersWait" "true"

EndSection

 

But Xorg configuration is the least of the Problem.

 

Would be happy to get any advices or questions and thanking for them in advance.

 

 

PS. To use built-in RCA, GPIO-VGA adapter, USB external graphic cards is not an option. Aim is stable and clear - to clone HDMI and DSI

The Device is Raspberry Pi 2, (Jessy and Wheezy)

 

PPS. Is there is the way to input code here as code with no highlighting?

  • Sign in to reply
  • Cancel

Top Replies

  • balearicdynamics
    balearicdynamics over 8 years ago in reply to shabaz +2
    Hi Shabaz! You put more light on this interesting problem. The dual HDMI-VGA remain, in my opinion a good idea for a lot of applications. What I know instead - but it is interesting your citation (from…
  • shabaz
    shabaz over 9 years ago +1 suggested
    I'm pretty sure that would require GPU firmware effort, see here for some discussion not entirely unrelated: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=120541 The discussion there is concerned…
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to shabaz +1 suggested
    Shabaz are you sure that it is not possible changing the X11 Linux settings? I think - not yet tried - that the HDMI screen can be saw as a second display... If possible it will be great, don't you think…
  • shabaz
    0 shabaz over 9 years ago

    I'm pretty sure that would require GPU firmware effort, see here for some discussion not entirely unrelated: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=120541

    The discussion there is concerned about having two framebuffers and for the GPU to read them both, but I can imagine for your scenario the firmware would also need changes to read the same framebuffer and direct to DSI (after any resolution scaling) and to HDMI too. Or for you to replicate the content into two framebuffers appropriately, but it still needs the GPU change mentioned at that link.

    GPU firmware changes ideally require official RPF engineer interaction as far as I understand, I could be wrong (very likely)..

    From what I've read, not many people are experts in writing code for the GPU.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to shabaz

    Thank you very much for the answer, it was indeed helpful.

    Would you think its possible to use the same framebuffuer for both displays at the same time, or somehow approach HDMI port without fb?

    With omxplayer its working, just because it doesn't use fb. I am not so sure how omxplayer does it, but it proves that there is a way of showing the reasonable content of both screen at the same time.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 9 years ago in reply to Former Member

    It could be possible to use the same framebuffer (nothing is impossible with software : ) but would require the GPU firmware to know to translate that to both displays, hence GPU firmware mods would be needed.

    According to this page https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/   omxplayer had specific mods to do this without dumping to a framebuffer but they don't state what the mods were. I've never used omxplayer, but if it is open source then that may provide some clues.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to shabaz

    Shabaz, thank you very much for your guidleines, will see what I could do with source files...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago in reply to shabaz

    It has been confirmed in many forums that you can use both displays simultainiously but not as a mirror or secondary console (YET). you can have one as a console and access the other as shabaz has indicated by using the frame buffer. Raspberry PI org has recognized this feature requirement and is indicating they are working on it for a later release of OS.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Robert Peter Oakes

    Thank you very much, Peter. So looking forward for an OS update)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • richiardo
    0 richiardo over 8 years ago

    Sorry for the slightly off-topic reply, but does anyone know you can run the component (AV) output as well as the Raspberry Pi DSI display?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 8 years ago in reply to richiardo

    Hi, this was discussed a couple of comments above, see the responses from Peter Oakes and me.

    The general answer is no, both are not possible for simultaneous or extended desktop or for applications unless they are specifically coded for it (most apps are not). See the comments here: https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 8 years ago in reply to shabaz

    Shabaz are you sure that it is not possible changing the X11 Linux settings? I think - not yet tried - that the HDMI screen can be saw as a second display...

    If possible it will be great, don't you think it its the worth to investigate in this direciton ?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 8 years ago in reply to shabaz

    (sorry for this fragmented post...) The reason of my suspects just originate from this Wikipedia article: https://en.wikipedia.org/wiki/Display_Serial_Interface So, as the LCD is as a matter of fact a serial display interface, it should not impact with the HDMI output if there are not some specific hardware impeachment.

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube