Go to advanced search

by xranby
Mon Jun 15, 2015 3:37 pm
Forum: Java
Topic: Control your reflex with gp2server
Replies: 11
Views: 1881

Re: Control your reflex with gp2server

... cd gp2srv_0.01 java -jar GPhoto2Server-0.0.1-SNAPSHOT.jar The Output of the command is this: Exeption in thread "main" java.lang.NullPointerExeption at x.mvmn.gp2srv.GPhoto2ServerLauncher.main(GPhoto2ServerLauncher.java:4 1) So maybe this command don't open the port 8080 you know ? The program ...
by xranby
Mon Jun 15, 2015 12:33 pm
Forum: Java
Topic: Control your reflex with gp2server
Replies: 11
Views: 1881

Re: Control your reflex with gp2server

hi thank you xranby for your answer... But I'm sorry, Your advice is correct without errors but I can't access to port 8080 the address is this: raspberrypi.192.168.1.26:8080 because i'm not in local... is it true? the address you posted can not be resolved by DNS nameservers. try using the address...
by xranby
Mon Jun 15, 2015 11:10 am
Forum: Java
Topic: Java OpenGL ES 2 bindings using JogAmp JOGL 2
Replies: 78
Views: 35875

Re: Java OpenGL ES 2 bindings using JogAmp JOGL 2

JogAmp 2.3.0 and 2.3.1 is released http://forum.jogamp.org/2-3-0-Release-td4034141.html 2.3.0 changes: http://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.3.0 2.3.1 changes: http://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.3.1 2.3.1 Downlo...
by xranby
Mon Jun 15, 2015 10:58 am
Forum: Java
Topic: Java OpenGL ES 2 bindings using JogAmp JOGL 2
Replies: 78
Views: 35875

Re: Java OpenGL ES 2 bindings using JogAmp JOGL 2

I noticed an issue using the Raspberry Pi broadcom specific dispmanx API
While working on the RPi libgdx game development framework.
The "dispmanx" mousepointer overlay is misaligned with the OpenGL ES dispmanx window when using the closed source Broadcom BCM driver.
by xranby
Mon Jun 15, 2015 10:00 am
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

I have posted a pre-compiled demo jar of the libgdx-demo-pax-britannica, with notes how i did to build it. This demo work on a wide varity of system configurations: desktop X86 X86_64 OpenGL 2 Windows, Mac, Linux, Solaris and "mobile" 32bit ARM GNU/Linux OpenGL ES 2 systems such as Raspberry Pi 1 & ...
by xranby
Mon Jun 15, 2015 9:52 am
Forum: Java
Topic: Control your reflex with gp2server
Replies: 11
Views: 1881

Re: Control your reflex with gp2server

Indeed, the downloaded gp2srv_0.01.zip release do not contain the ./rugp2srv.sh launch script. https://github.com/mvmn/gp2srv/releases The release instead contains an "executable" java jar "The program is distributed as an executable JAR file + lib folder with dependencies (few more JAR files). Once...
by xranby
Thu Jun 11, 2015 3:54 pm
Forum: Java
Topic: Java video player application
Replies: 1
Views: 2126

Re: Java video player application

In order to have fast video decode using any Java API it is crucial that the API uses the OpenMAX API for hardware accelerated video decoding. OpenMAX can be well integrated with OpenGL ES based applications. There is a great subforum on the Raspberry Pi forum that deals with OpenMAX. https://www.ra...
by xranby
Thu Jun 11, 2015 10:04 am
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

Sorry... I am lost.... :cry: Between Gouessej's libgdx fork and Xerxes's one (without jogamp ???). I would be interested in steps between : "git clone https://github.com/gouessej/libgdx" and "gradlew desktop:run" :roll: (perhaps such informations could be shared on your first post Xerxes, or throug...
by xranby
Wed Jun 10, 2015 2:40 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

THE MAVEN WAY Which does not seem to like some libraries.. Started the project this way : mvn archetype:generate -DarchetypeGroupId=com.badlogic.gdx -DarchetypeArtifactId=gdx-archetype -DarchetypeVersion=1.2.0 -DgroupId=com.domain.mygame -DartifactId=mygame -Dversion=0.1-SNAPSHOT -Dpackage=com.doma...
by xranby
Wed Jun 10, 2015 2:35 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

What do we say to the God of Death ??? (which is certainly the god of building an RPI2's libgdx) Not Today !! ;-) Done : Using RPI2 with last firmware and raspian (so : java build 1.8.0-b132) "mvn install" of jogamp fork "ant build" native gdx lib edited pom and gradle files to use jogl dependencie...
by xranby
Wed Jun 10, 2015 2:18 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

Dear Xerxes, Eveyrything is clear except point no 5: "5. To have the project running on a ARM GNU/Linux system you have to insert you own compiled libgdxarm.so into the gdx-platform-1.6.2-natives-desktop.jar " How can i do that? Can you explain it step by step? How to compile libgdxarm.so file How ...
by xranby
Wed Jun 10, 2015 1:44 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

There is also a lot of erros when i try to run project at Eclipse: (simpliest project generated from gdx-setup) ... Caused by: java.lang.IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' : #version required and missing. ERROR: 0:1: 'attribute' : syntax error: syntax error ERROR: 0:1:...
by xranby
Wed Jun 10, 2015 12:04 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

But it is, kind of, unnecessary for 'ordinary' user. Each one of us who wants to get libgdxarm.so for RPi would need to go through it while it doesn't really change and we'll all end up with exactly same binary (within versions of components used, of course). My understanding is that once it is obt...
by xranby
Wed Jun 10, 2015 10:52 am
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

Are we going to end up with two separate/different libraries for Pi and Pi 2? It depends on the cross compiler. When cross compiling libgdxarm.so for ARM using Debian or Ubuntu cross compile tool-chains; some ARMv7 intrinsic gets linked in by the compiler, originating from the cross compile tool-ch...
by xranby
Wed Jun 10, 2015 9:28 am
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

Great work. BTW is it worth keeping kind of up-to-date pre-compiled binaries somewhere? I understand the transient nature of them, but they do last some time. And if process is established (as you have nicely explained here) then keeping them pre-compiled for everyone could speed up adoption of Lib...
by xranby
Wed Jun 10, 2015 8:58 am
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

Thanks Xerxes ! Sorry. I am not really used to Maven.. And when I saw jogamp things in main build.xml, I thought I had to use it... I guess, I have to work on the libgdx maven way : https://github.com/libgdx/libgdx/wiki/Maven-integration Regards, Julien Some quick notes how to test the gdx-backend-...
by xranby
Tue Jun 09, 2015 4:26 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

The latest version of libgdx with JogAmp JOGL 2.3.1 and RPi1 + RPi2 support is currently available at: https://github.com/gouessej/libgdx Thanks xrandy ! Jogl + libgdx seems a really good idea !! RPI2 could be a great platform for games building.. Sadly, trying to build your libgdx version, using R...
by xranby
Tue Jun 09, 2015 4:21 pm
Forum: Java
Topic: RPi JavaFx game development framework
Replies: 11
Views: 4402

Re: RPi JavaFx game development framework

I have moved the libgdx discussion and the reply's into its own libgdx thread here:
viewtopic.php?p=772467
by xranby
Tue Jun 09, 2015 4:19 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

Re: RPi libgdx game development framework

Clicky, i have experience with libgdx. That is nice solution but can you explain how to make libgdx project at newest gradle based version that works with jogl? I read posts by Xerxes but i think it is very difficult. Can you help me with that? Yes and no. I have very strong interest in writing Lib...
by xranby
Tue Jun 09, 2015 4:02 pm
Forum: Java
Topic: RPi libgdx game development framework
Replies: 28
Views: 11710

RPi libgdx game development framework

libgdx has been demonstrated to work on the Raspberry Pi by several teams [1] [2] and porting efforts. [1] http://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-td4027689.html - Running libgdx using JogAmp JOGL on the raspberry Pi (requires patching libgdx) [2] http://www.habitualcode...
by xranby
Mon Jun 08, 2015 3:14 pm
Forum: Java
Topic: STICKY: status of java on raspbian.
Replies: 35
Views: 84473

Re: status of java on raspbian.

I've recently uploaded 7u75-2.5.4-3+rpi1 which has the new jit to.raspbian jessie. I expect 2.5.5 to come through to both wheezy and jessie in-time but i'm currently watching what happens in Debian. Anyone know how the new jit compares to oracle's propietary one? There is something missing in the 7...
by xranby
Mon Jun 08, 2015 1:58 pm
Forum: Java
Topic: Start raspivid+ffmpeg stream from java
Replies: 2
Views: 1979

Re: Start raspivid+ffmpeg stream from java

It would help if you printed the output from ffmpeg when you run it from java. You can try use the following class that runs a command and returns its output as a String. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import j...
by xranby
Mon Jun 08, 2015 1:22 pm
Forum: Java
Topic: Java2D (awt/swing) performance issue
Replies: 1
Views: 921

Re: Java2D (awt/swing) performance issue

Hello, I have some questions about the performance of a simple java2d game running on the pi2. I've some problems to run it flawless on a linux machine and raspberry pi. For a example: if we do several fillRect() actions the framerate drops 10 frames per second per fillRect() . Some performance com...
by xranby
Mon Jun 08, 2015 12:41 pm
Forum: Java
Topic: RPi JavaFx game development framework
Replies: 11
Views: 4402

Re: RPi JavaFx game development framework

Clicky, i have experience with libgdx. That is nice solution but can you explain how to make libgdx project at newest gradle based version that works with jogl? I read posts by Xerxes but i think it is very difficult. Can you help me with that? Yes and no. I have moved the libgdx discussion and the...
by xranby
Mon Jun 08, 2015 12:14 pm
Forum: Java
Topic: RPi JavaFx game development framework
Replies: 11
Views: 4402

Re: RPi JavaFx game development framework

I read it. Does this mean that in the future will not be virtual java machine that supports JavaFx for RPi? The Oracle JDK will not bundle JavaFX instead you have to: A) bundle your application with the OpenJFX classes that you need. Chris Newland is running a server that compiles OpenJFX for you. ...

Go to advanced search