imx6q: how to get two displays (using graphics acceleration)?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q: how to get two displays (using graphics acceleration)?

776 Views
pj0585
Contributor III

Hi,

I'm working on a custom hardware (using iMX6q) design based on imx6qsabresd. I'm running 3.10.17_1.0.0_ga release "framebuffer" build.

I have two displays connected: HDMI + LVDS.

Using raw framebuffer access I can display static images on both the screens.

e.g. cat file1.raw > /dev/fb0 ; cat file2.raw > /dev/fb2

displays images on both screens.

My application is built using JavaFX that uses Opengl libraries. JavaFX reports only 1 display (primary one, i.e. the one configured as /dev/fb0).

I have tried setting the "FB_MULTI_BUFFER & FB_FRAMEBUFER_n environment variables but still I can access only 1 display from JavaFX.

I believe that the current graphic libraries do not support multiple displays but I'm not sure.

Can anyone give more information or share similar experience. May be I'm missing some configuration?

Any inputs will be of help.

-Pj

Labels (3)
0 Kudos
2 Replies

443 Views
paul_lee
Contributor II

Hi,

Did you able to get it working?

0 Kudos

443 Views
pj0585
Contributor III

Nope.

JavaFX ARM (embedded) build supports only 1 display at the moment. Their imx6 native code is hard coded to one display only.

For now the issue is definitely javaFX

-Pj

0 Kudos