Coder Social home page Coder Social logo

Dual screen setup question about hyperpixel HOT 6 CLOSED

aCorrado avatar aCorrado commented on July 19, 2024
Dual screen setup question

from hyperpixel.

Comments (6)

elixx avatar elixx commented on July 19, 2024 2

I am also trying to get a HyperPixel display to work on a RPI400 in addition to the normal HDMI out. It doesn't have to be an X display, but just looking to output / draw to it.

from hyperpixel.

Gadgetoid avatar Gadgetoid commented on July 19, 2024

I think your quest is related to: http://forums.pimoroni.com/t/hdmi-and-hyperpixel/5122

To which I don't have an answer, yet!

The forum poster claims the VGA666 can be used as a secondary screen. I wasn't aware it was possible to productively use a DSI/DPI display alongside HDMI, since in both cases they take over /dev/fb0 and are driven directly from the GPU- which we can't affect or change since the firmware is a closed-source black box.

I'm still pretty sure it's impossible to use HDMI + HyperPixel or HDMI + VGA666 or HDMI + Official Touchscreen in any meaningful way. But I'd welcome any wisdom to prove me wrong!

Sources: https://www.raspberrypi.org/forums/viewtopic.php?t=120541
https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=94424&sid=0ea9214634fc02b0f0dd1fcafa940296&start=125

Quote from Gordon back in 2015:

I believe all you need to do first is to create a second fbdev driver. This can then be used for the second X windows display (I'm guessing a lot here).

The firmware sets up the HDMI and LCD displays and the primary display gets a frame buffer set up. The details of this buffer is read from the GPU through the mailbox interface when the fbdev is being initialised, check out the device-tree contents to see which drivers access the firmware driver. So what we really need is a second fbdev to load up the second frame buffer from the firmware...

This will require that we add the second buffer information to the firmware, but that sounds quite easy in comparison to everything else!

Once a second fbdev has been created I think X windows will use it automatically (or it may require extra setup)

Gordon

As far as I know, nobody has done this yet.

from hyperpixel.

Cynar avatar Cynar commented on July 19, 2024

I know the official screen can work alongside an hdmi display, to an extent. Id can't be used as part of the desktop, but you can route OMXplayer to the hdmi.

I am using this setup on a test project. The touchscreen shows a control panel, while the hdmi is used for a video feed.

from hyperpixel.

dglaude avatar dglaude commented on July 19, 2024

For me, the following omxplayer -p -o hdmi big.avi does not output anything on the HDMI side, but display on the Hyperpixel.

Any information on how is that done on your project or somebody succeeding this on the HyperPixel is welcome.

from hyperpixel.

Gadgetoid avatar Gadgetoid commented on July 19, 2024

Pi 4 + Buster fixes this in probably the most comprehensive way we're ever going to see it fixed. I'd wager due to the change of GPU we're unlikely to see this backported to earlier Pi models.

from hyperpixel.

jvelo avatar jvelo commented on July 19, 2024

Sorry in advance for reviving an old thread ; are there any pointers on how one would have a go at this with Buster and a Pi4 ?

from hyperpixel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.