Active Topics

 



Notices


Reply
Thread Tools
Posts: 118 | Thanked: 31 times | Joined on Feb 2010
#21
In the link I posted, the guys say lwjgl has already been ported to GL ES and is available to download in the Ubuntu 10.10 Armel repository, did you try that.

Also thanks for trying this, as not many people seem to care for a good game running on their devices.
 
Posts: 118 | Thanked: 31 times | Joined on Feb 2010
#22
This is strange. My attempts have presented me with an error message from lwjgl requesting for the file "libxxf86vm.so.1".
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#23
That is one of the depencies, libxxf86vm. It's installable.
But next up it looks for libGL.so, which is exclusive to desktop GPUs. The N900 doesn't have support for OpenGL, only GLES. That's the reason why we can't run it with precompiled libraries from Ubuntu. (Ubuntu only has OpenGL unless you pull in some TI drivers, but they're barely supported. So, sorry to say: Ubuntu only supplies a few components. We need to compile LWJGL with ES support ourselves.
I've been attempting to compile it, but it fails when I get to doing "ant compile_native_es".
This is the output:
Code:
/media/mmc1/Development/LWJGL # ant compile_native_es 
Buildfile: /media/mmc1/Development/LWJGL/build.xml

-initialize:

compile:
     [core] Compiling 559 source files to /media/mmc1/Development/LWJGL/bin
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:46: cannot find symbol
     [core] symbol  : class EXTDeviceFission
     [core] location: package org.lwjgl.opencl
     [core] import static org.lwjgl.opencl.EXTDeviceFission.*;
     [core]                               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:47: cannot find symbol
     [core] symbol  : class KHRGLSharing
     [core] location: package org.lwjgl.opencl
     [core] import static org.lwjgl.opencl.KHRGLSharing.*;
     [core]                               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:40: cannot find symbol
     [core] symbol  : class CL11
     [core] location: package org.lwjgl.opencl
     [core] import static org.lwjgl.opencl.CL11.*;
     [core]                               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:47: cannot find symbol
     [core] symbol  : class CL10GL
     [core] location: package org.lwjgl.opencl
     [core] import static org.lwjgl.opencl.CL10GL.*;
     [core]                               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:48: cannot find symbol
     [core] symbol  : class CL11
     [core] location: package org.lwjgl.opencl
     [core] import static org.lwjgl.opencl.CL11.*;
     [core]                               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:38: cannot find symbol
     [core] symbol  : class KHRGLSharing
     [core] location: package org.lwjgl.opencl
     [core] import org.lwjgl.opencl.KHRGLSharing;
     [core]                        ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:392: cannot find symbol
     [core] symbol  : variable CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
     [core] location: class org.lwjgl.opencl.APIUtil
     [core] 			case CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR:
     [core] 			     ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:393: cannot find symbol
     [core] symbol  : variable CL_DEVICES_FOR_GL_CONTEXT_KHR
     [core] location: class org.lwjgl.opencl.APIUtil
     [core] 			case CL_DEVICES_FOR_GL_CONTEXT_KHR:
     [core] 			     ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:517: cannot find symbol
     [core] symbol: method clReleaseDeviceEXT(org.lwjgl.opencl.CLDevice)
     [core] 		public void release(final CLDevice object) { clReleaseDeviceEXT(object); }
     [core] 		                                             ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:218: cannot find symbol
     [core] symbol  : variable CL_Rx
     [core] location: class org.lwjgl.opencl.CLChecks
     [core] 			case CL_Rx:
     [core] 			     ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:222: cannot find symbol
     [core] symbol  : variable CL_RGx
     [core] location: class org.lwjgl.opencl.CLChecks
     [core] 			case CL_RGx:
     [core] 			     ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:225: cannot find symbol
     [core] symbol  : variable CL_RGBx
     [core] location: class org.lwjgl.opencl.CLChecks
     [core] 			case CL_RGBx:
     [core] 			     ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:80: cannot find symbol
     [core] symbol  : variable CL_CONTEXT_NUM_DEVICES
     [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLContextUtil
     [core] 				num_devices = getInfoInt(context, CL_CONTEXT_NUM_DEVICES);
     [core] 				                                  ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:341: cannot find symbol
     [core] symbol  : method clCreateSubBuffer(org.lwjgl.opencl.CLMem,long,int,java.nio.ByteBuffer,java.nio.IntBuffer)
     [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
     [core] 			return clCreateSubBuffer(mem, flags, buffer_create_type, infoBuffer.getBuffer(), errcode_ret);
     [core] 			       ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:395: cannot find symbol
     [core] symbol  : method clGetGLObjectInfo(org.lwjgl.opencl.CLMem,java.nio.IntBuffer,<nulltype>)
     [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
     [core] 			clGetGLObjectInfo(mem, buffer, null);
     [core] 			^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:404: cannot find symbol
     [core] symbol  : method clGetGLObjectInfo(org.lwjgl.opencl.CLMem,<nulltype>,java.nio.IntBuffer)
     [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
     [core] 			clGetGLObjectInfo(mem, null, buffer);
     [core] 			^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:413: cannot find symbol
     [core] symbol  : method clGetGLTextureInfo(org.lwjgl.opencl.CLMem,int,java.nio.ByteBuffer,<nulltype>)
     [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
     [core] 			clGetGLTextureInfo(mem, param_name, buffer, null);
     [core] 			^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
     [core] symbol  : class CL11
     [core] location: class org.lwjgl.opencl.Util
     [core] 	}, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
     [core] 	                     ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
     [core] symbol  : class KHRGLSharing
     [core] location: class org.lwjgl.opencl.Util
     [core] 	}, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
     [core] 	                                 ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
     [core] symbol  : class KHRICD
     [core] location: class org.lwjgl.opencl.Util
     [core] 	}, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
     [core] 	                                                     ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
     [core] symbol  : class EXTDeviceFission
     [core] location: class org.lwjgl.opencl.Util
     [core] 	}, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
     [core] 	                                                                                         ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:270: cannot find symbol
     [core] symbol  : variable KHRGLSharing
     [core] location: class org.lwjgl.opengl.ContextGL
     [core] 					properties.put(KHRGLSharing.CL_GL_CONTEXT_KHR).put(implWindows.getHGLRC(handle));
     [core] 					               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:271: cannot find symbol
     [core] symbol  : variable KHRGLSharing
     [core] location: class org.lwjgl.opengl.ContextGL
     [core] 					properties.put(KHRGLSharing.CL_WGL_HDC_KHR).put(implWindows.getHDC(peer_handle));
     [core] 					               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:275: cannot find symbol
     [core] symbol  : variable KHRGLSharing
     [core] location: class org.lwjgl.opengl.ContextGL
     [core] 					properties.put(KHRGLSharing.CL_GL_CONTEXT_KHR).put(implLinux.getGLXContext(handle));
     [core] 					               ^
     [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:276: cannot find symbol
     [core] symbol  : variable KHRGLSharing
     [core] location: class org.lwjgl.opengl.ContextGL
     [core] 					properties.put(KHRGLSharing.CL_GLX_DISPLAY_KHR).put(implLinux.getDisplay(peer_handle));
     [core] 					               ^
     [core] Note: /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/FastIntMap.java uses unchecked or unsafe operations.
     [core] Note: Recompile with -Xlint:unchecked for details.
     [core] 25 errors

BUILD FAILED
/media/mmc1/Development/LWJGL/build.xml:407: Compile failed; see the compiler error output for details.

Total time: 2 minutes 30 seconds
/media/mmc1/Development/LWJGL #
(I'm compiling it in my on-device SDK)
Beside the source, it is suggested to remove AWT, but I'm not a Java expert. Do we have any Java programmers aboard?
 

The Following 3 Users Say Thank You to Nokia 5700 For This Useful Post:
Posts: 118 | Thanked: 31 times | Joined on Feb 2010
#24
bump, we're so close!
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#25
Originally Posted by Soulaxe View Post
bump, we're so close!
But it seems like there are no Java programmers around to examine the error report?
 
Posts: 662 | Thanked: 653 times | Joined on Feb 2010
#26
Looks like an OpenGL issue. I'm not a Java expert though.

Oh, forgot to look at your post. My bad, looks like you already know that.
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#27
Well, I've looked over where the errors occur. It's not in GLES (which is good )
But it's in OpenCL and OpenGL. (We don't really need the latter... But it's a part of it anyway.)
I might start looking around for a pre-compiled one, as we have no progress with compiling it.

Ok... new info on the case:
http://www.khronos.org/news/press/re...l-4-1-released
http://lwjgl.org/forum/index.php/top....msg18888.html
If you read both of these thorougly, you'll be thinking the exact thing I'm thinking.
But it's barely anything. It's more of a desperate solution...

Last edited by Nokia 5700; 2011-07-07 at 11:21.
 
Posts: 118 | Thanked: 31 times | Joined on Feb 2010
#28
Do you think the open pandora's compiled files will be good enough?
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#29
It depends. If you're talking about Angstrom, then yes, if it doesn't depend on anything funny.
And if it's compiled for the Cortex-A8, definitively.
Have you found binaries for the Pandora that are compiled with GLES?
 
Posts: 118 | Thanked: 31 times | Joined on Feb 2010
#30
The Open Pandora uses the omap 3530 which is the exact same hardware as the N900, but the CPU is just clocked at a higher rate, (but we can OC too) so yeah, it would be compiled for the A8.

I just can't seem to find the thread I've found a thread referring to it, but not the actual one that may help.
Another, the user "spasi" is the one we're looking for.

There's always the option of Minetest...
 

The Following User Says Thank You to Soulaxe For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:33.