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

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

Hi Gilles,
here is what I get when trying to run the test :
debian@abanc:~$ java -cp .:/usr/share/java/gluegen2-rt.jar:/usr/share/java/jogl2.jar OneTriangleAWT
libEGL warning: failed to open /dev/dri/card0
libEGL warning: DRI2: failed to open i965 (search paths /usr/lib/powerpc64le-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
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.


Reply to: