[maemo-developers] fremantle opengl errors

From: Eero Tamminen eero.tamminen at nokia.com
Date: Mon Dec 15 10:09:30 EET 2008
Hi,

ext Jayesh Salvi wrote:
> Couldn't open SDL-window: X11 driver not configured with OpenGL

I think this is your problem.  Does SDL work when not using OpenGL
(I haven't tried the SDK myself yet)?

If yes, you could file a bug about enabling OpenGL for SDL for
Fremantle.


> 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?

AFAIK kdrive is a (minimal) X configuration (and Xephyr is an X server
that works on top of X display instead of a real HW).

Extended input is related to XInput extension[1], maybe it needs to
be enabled in Xephyr or disabled in SDL?


> 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?

AFAIK x86 SDK uses Mesa to do OpenGL in software (I think this is full
GL, not the EGL spec subset like on the target).


> Please let me know if someone can answer above queries.
> 
> [1] http://people.freedesktop.org/%7Emacslow/gl-cairo-simple.tar.bz2


	- Eero

[1] For Gtk info, see:
http://library.gnome.org/devel/gdk/stable/gdk-Input-Devices.html

More information about the maemo-developers mailing list