[maemo-developers] fremantle opengl errors

From: Jayesh Salvi jayeshsalvi at gmail.com
Date: Sun Dec 14 03:58:48 EET 2008
Hi,

I am trying to run a simple opengl program inside the recently released
fremantle SDK. I was delighted to see that it built successfully, but it
threw bunch of low level errors during runtime.

[sbox-FREMANTLE_X86: ~/gl-cairo-simple] > DISPLAY=:2 ./gl-cairo-simple
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1;
fixing.
Extended Input Devices not yet supported. Impelement it at line 625 in
../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing
from list!
Couldn't open SDL-window: X11 driver not configured with OpenGL
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1;
fixing.
Extended Input Devices not yet supported. Impelement it at line 625 in
../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing
from list!

The example program was downloaded from cairo opengl docs[1], it needs
cairo, GL and SDL libraries - all are present in the SDK.

I ran Xephyr as X server at DISPLAY :2, and was assuming that the opengl
output will be rendered in that window.

Questions:
1. Is there any way I can work around above errors OR do they need fix in
the kdrive implementation?
2. With my limited knowledge of X servers and opengl: I don't understand if
kdrive is a replacement for Xephyr OR both will be satisfying different
needs?
3. I am running my SDK inside an ubuntu VM - so h/w acceleration won't work.
But will the acceleration happen automatically in software, or will I have
to do any special settings?

Please let me know if someone can answer above queries.

[1] http://people.freedesktop.org/%7Emacslow/gl-cairo-simple.tar.bz2

Thanks.

---
Jayesh

blog <http://jyro.blogspot.com> |    twit <http://www.twitter.com/jyro>
 |    code <http://code.google.com/p/altcanvas/> |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20081213/929831cf/attachment.htm 
More information about the maemo-developers mailing list