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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,455 次查看
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

标签 (3)
0 项奖励
回复
2 回复数

1,122 次查看
paul_lee
Contributor II

Hi,

Did you able to get it working?

0 项奖励
回复

1,122 次查看
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 项奖励
回复