SFML community forums

Bindings - other languages => Java => Topic started by: pdinklag on July 28, 2013, 11:41:56 am

Title: Test for test release #4
Post by: pdinklag on July 28, 2013, 11:41:56 am
Yep, you read that right.

I have just updated JSFML to SFML 2.1, but I have run into real trouble with Oracle's Virtual Box. The guest additions of the latest versions do not seem to work well for Debian 7 at all, the result is that OpenGL does not quite work and I am currently not able to test JSFML on Linux systems. Until that is resolved, I will release test versions for the test releases right here...

I'd highly appreciate if any Linux user (32-bit and/or 64-bit) could give this version a shot:
http://www.jsfml.org/files/jsfml-test-Jul28_2013.zip

I have also contacted Hiura so he can hopefully find some time to build a Mac OS X version. If that works and I can use the summer hole at work to finish some tutorials and review Sonkun's changes to the build process, we might be closing in on a release candidate very soon. It IS about time...
Title: Re: Test for test release #4
Post by: FRex on July 28, 2013, 12:28:44 pm
It looks awesome(I think it's rendering ok, I especially like the sin wave effect on logo).
(http://i44.tinypic.com/fy0480.jpg)
I have 32 bit Fedora 19 with xfce, nvidia geforce gt 440 from phalit and my drivers are not really updates so it's 3.0 or 3.1 core opengl profile and glsl 1.3.
Title: Re: Test for test release #4
Post by: pdinklag on July 28, 2013, 01:04:57 pm
The fact that it's running at all is very refreshing, after having it crash on startup in my Virtual Box. Thank you! :)
If somebody could confirm this for 64-bit as well that would be splendid.
Title: Re: Test for test release #4
Post by: FRex on July 28, 2013, 01:30:51 pm
On same fedora on my ancient egyptian artifcat laptop it quits with:
Quote
JSFML TestApp started.

Detecting basic JVM facts ...
java.vendor: Oracle Corporation
java.version: 1.7.0_25
headless: false

Detecting basic operating system facts ...
os.name: Linux
os.arch: i386
os.version: 3.9.9-302.fc19.i686

Detecting Linux distribution ....
LSB Version:   :core-4.1-ia32:core-4.1-noarch:cxx-4.1-ia32:cxx-4.1-noarch:desktop-4.1-ia32:desktop-4.1-noarch:languages-4.1-ia32:languages-4.1-noarch:printing-4.1-ia32:printing-4.1-noarch
Distributor ID:   Fedora
Description:   Fedora release 19 (Schrödinger’s Cat)
Release:   19
Codename:   Schrödinger’sCat


SFMLNative.loadNativeLibraries() succeeded.

Detecting basic SFML facts ...
Texture.getMaximumSize(): 8192
Shader.isAvailable(): true

Starting the demo scene ...
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  70
  Current serial number in output stream:  69
Title: Re: Test for test release #4
Post by: pdinklag on July 28, 2013, 02:16:00 pm
That one is not a JSFML issue. The graphics driver does not support whatever OpenGL operation was about to be executed.
Does SFML 2.1 itself work on that machine?
Title: Re: Test for test release #4
Post by: FRex on July 28, 2013, 02:18:33 pm
I don't know but one from few weeks ago does. You might have done something that is too high for opengl there(it's glsl 1.2(I think) and gl 2.1).
Title: Re: Test for test release #4
Post by: pdinklag on July 28, 2013, 02:28:33 pm
I don't do anything with OpenGL directly, JSFML is an SFML application if you will.
Title: Re: Test for test release #4
Post by: Laurent on July 28, 2013, 02:32:43 pm
Quote
I don't know but one from few weeks ago does
This part of the code (GLX context creation) was modified in SFML 2.1, you should really test it.
Title: Re: Test for test release #4
Post by: FRex on July 28, 2013, 02:55:09 pm
Last version from github works (at least in debug).
Title: Re: Test for test release #4
Post by: pdinklag on July 31, 2013, 07:57:02 am
That's very awkward, maybe it's also related to the fact that I statically linked libGLEW-1.6 into the graphics module? However, I'm not sure how that would cause unsupported OpenGL directives while SFML itself (which requires libGLEW-1.6, IIRC) does not.

In other news, Hiura has recently sent me a build of JSFML for Mac OS X so I will be able to pack up a full package today.