SimpleGLScreen issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,081件の閲覧回数
otemeshen
Contributor II

Running hellogl_es2 on imx53 board:

./hellogl_es2 -display simplegl:rgb16 -qws

I am getting the following issue:

SimpleGLScreen: could not create the full-screen window

SimpleGLScreen: may need to modify defaultRootWindowHandle()

simplegl: driver cannot connect

Aborted

The current implementation of simplegl assumes that the native window id is zero. Has this changed?  Has anyone observed this behavior?

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
830件の閲覧回数
otemeshen
Contributor II

Solved:

It looks like I needed the

MX53_LINUX_1109_BSP_PATCH

Patch based on L2.6.35_11_09_ER_SOURCE, to provide: GPU driver update.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
830件の閲覧回数
otemeshen
Contributor II

Application note: AN3994 says the native window id should be the file descriptor returned from open("/dev/fb0").  But this has not worked on my platform.

eglCreateWindowSurface

                            (context->display(), context->config(),

                             open("/dev/fb0", O_RDWR, NULL), props.properties());

0 件の賞賛
返信
831件の閲覧回数
otemeshen
Contributor II

Solved:

It looks like I needed the

MX53_LINUX_1109_BSP_PATCH

Patch based on L2.6.35_11_09_ER_SOURCE, to provide: GPU driver update.

0 件の賞賛
返信