[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with porting opengl java libraries (gluegen2 / libjogl2-java) to ppc64el

Le 2015-10-14 17:07, Frederic Bonnard a écrit :
Hi Gilles,
here is what I get when trying to run the test :
debian@abanc:~$ java -cp
libEGL warning: failed to open /dev/dri/card0
libEGL warning: DRI2: failed to open i965 (search paths
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
  at java.awt.Window.<init>(Window.java:535)
  at java.awt.Frame.<init>(Frame.java:420)
  at OneTriangleAWT.main(OneTriangleAWT.java:44)

There is no /dev/dri/card0 on this machine, because ast.ko which is
the driver for
the graphic card is not compiled by default :
debian@abanc:~$ lspci |grep VGA
0001:0b:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED
Graphics Family (rev 30)
debian@abanc:~$ grep DRM_AST /boot/config-3.16.0-4-powerpc64le
# CONFIG_DRM_AST is not set

I can try to recompile the kernel with this enabled and try again.

Well, actually I don't know :/ It requires OpenGL for sure. If DRI is the
only way to enable OpenGL, then yes, it would be great if you could give
a try enabling it.

Many thanks,


Reply to: