Release 2.5.0 ...

classic Classic list List threaded Threaded
73 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Release 2.5.0 ...

Sven Gothel
Administrator
This post was updated on .
Edit: 2013-08-18 v2.5.0 is released
https://jogamp.org/wiki/index.php/Release_2.5.0
https://jausoft.com/blog/2023/08/19/jogamp-2-5-0-released/

So far I am pausing my Graph / GraphUI work a little
to squeeze in our 2.5.0 release.

GraphUI got its working GridLayout and BoxLayout
w/ some demos / tests .. easing populating things.

So what shall be in 2.5.0?

https://jogamp.org/wiki/index.php?title=SW_Tracking_Report_Objectives_for_the_release_2.5.0

Done
- Build for older MacOS 17 (High Sierra), 18 Mojave and 19 (Catalina) support
  - Detailed update in this forum post
- GlueGen Updates
  - Revised Struct Mapping
  - Added JavaCallback features
  - Added new documentation covering the above in detail
- JOAL: Update openal-soft to v1.23.1
  - Drop openal-soft windows blob
  - Use our openal-soft bundled build on windows (like on all other platforms)
  - Linux Backends: PipeWire, PulseAudio, ALSA, OSS, SndIO (linked), WaveFile, Null
  - Audio/AudioFormat -> GlueGen, ALAudioSink -> JOAL
  - Cleanup
  - Fixed ALAudioSink dequeueing
  - Fixed ALHelpers.getALFormat(..) extended types (float, double, ..)
  - Sound3D / ALAudioSink consolidation, w/ matched AudioSink + GLMediaPlayer
    for spatial sound use-cases etc -> see UISceneDemo20
    and https://forum.jogamp.org/JOAL-Update-tp4042614p4042630.html
  - Added AL_SOFT_events support via GlueGen JavaCallback and using extension in ALAudioSink
- *-java-src.zip now resides in jar subfolder in deployment
- added jogl-demos* and all *-java-src.zip to fat
- Resolved the HighDPI w/ AWT and NEWT
  See https://forum.jogamp.org/DPI-scaling-not-working-tp4042206p4042603.html

Todo
- NEWT relative mouse mode
- More magic?

2.5.0 schedule should be mid-to-end of July.

Release
- https://jogamp.org/deployment/v2.5.0/
  - Maven v2.5.0 @ http://www.jogamp.org/deployment/maven/

Release Candidate
- https://jogamp.org/deployment/v2.5.0-rc-20230813/
  - Maven v2.5.0-rc-20230813 @ http://www.jogamp.org/deployment/maven/

EDIT NOTES:
- adding JOAL/openal-soft update note
- adding: Linux Backends: PipeWire, PulseAudio, ALSA, OSS, SndIO (linked), WaveFile, Null
- update of MacOS in this forum post
- RC https://jogamp.org/deployment/archive/rc/v2.5.0-rc-20230507/
  - Maven 2.5.0-rc-20230507 @ http://www.jogamp.org/deployment/maven/
- https://jogamp.org/deployment/archive/rc/v2.5.0-rc-20230509/
  - Maven 2.5.0-rc-20230509 @ http://www.jogamp.org/deployment/maven/
- *-java-src.zip now resides in jar subfolder in deployment
- added jogl-demos* and all *-java-src.zip to fat
- Resolved the HighDPI w/ AWT and NEWT
  See https://forum.jogamp.org/DPI-scaling-not-working-tp4042206p4042603.html
- RC https://jogamp.org/deployment/archive/rc/v2.5.0-rc-20230515/
  - Maven 2.5.0-rc-20230515 @ http://www.jogamp.org/deployment/maven/
- JOAL
  - Audio/AudioFormat -> GlueGen, ALAudioSink -> JOAL
  - Cleanup
- RC https://jogamp.org/deployment/archive/rc/v2.5.0-rc-20230520/
  - Maven 2.5.0-rc-20230520 @ http://www.jogamp.org/deployment/maven/
- JOAL
  - Fixed ALAudioSink dequeueing
  - Fixed ALHelpers.getALFormat(..) extended types (float, double, ..)
- RC https://jogamp.org/deployment/archive/rc/v2.5.0-rc-20230521/
  - Maven v2.5.0-rc-20230521 @ http://www.jogamp.org/deployment/maven/
- JOAL
  - Sound3D / ALAudioSink consolidation, w/ matched AudioSink + GLMediaPlayer
    for spatial sound use-cases etc -> see UISceneDemo20
    and https://forum.jogamp.org/JOAL-Update-tp4042614p4042630.html
- RC https://jogamp.org/deployment/v2.5.0-rc-20230523/
  - Maven v2.5.0-rc-20230523 @ http://www.jogamp.org/deployment/maven/
- GlueGen Updates
  - Revised Struct Mapping
  - Added JavaCallback features
  - Added new documentation covering the above in detail
- JOAL
  - Added AL_SOFT_events support via GlueGen JavaCallback and using extension in ALAudioSink
- 2.5.0 schedule should be mid-to-end of July.
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Manu
Good luck Sven!
Emmanuel Puybaret
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
In reply to this post by Sven Gothel
Hello

In my humble opinion, I prefer something less ambitious but doable in a reasonable time frame rather than something too much ambitious that won't be done. The two first items might require much time. If you need some more magic, feel free to add relative mouse movements, it would add only two public methods into MouseEvent,  it would help me to reconsider repairing JMonkeyEngine 3 JOGL renderer, the rest of the bug  report on PointerEvent renaming and controller support can be postponed to another version.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
gouessej wrote
feel free to add relative mouse movements, it would add only two public methods into MouseEvent,  it would help me to reconsider repairing JMonkeyEngine 3 JOGL renderer, the rest of the bug  report on PointerEvent renaming and controller support can be postponed to another version.
Please be kind to me and provide me with the required interfaces, semantics .. links url.
Then I will add it, if possible.
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
In reply to this post by Sven Gothel
EDIT NOTES:
- adding JOAL/openal-soft update note in orig post
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
In reply to this post by Sven Gothel
I look for information to help you to implement this feature under GNU Linux as a first step, I try to rely on Xlib APIs, I need to access raw mouse motion events.  This feature is supported by SDL, SFML and GLFW. I'm currently looking at the last one. I assume it uses something called XInputExtension somehow.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
In reply to this post by Sven Gothel
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
In reply to this post by Sven Gothel
OK, openal-soft (1.23.1) is bumped, bundled and build on Linux, Windows and MacOS (x86_64, arm64, macosx >= 10.7 due to libc++).
- The Windows openal-soft has been dropped, our bundled one is named OpenAL32.dll per openal-soft default.
- ALVersion (new) is used to unit tests against this openal-soft version.

+++

The general (all JogAmp modules) validation build for MacOS x86_64 + arm64 for macosx >= 10.5 is underway.
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
Good job :)

This has to be done to ensure XInput >= 2.0 is available to ensure the raw motion events can be used:
https://github.com/glfw/glfw/blob/00967cbb8a4a51ea8ff6f8b8a7efcf1f761cc664/src/x11_init.c#L658

Let me know if something is missing.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
Raw-Mouse:

The alternative would be to use NEWT's mouse-jail, where you would always get mouse input. Hmm, but not beyond its window-scope. Yeah, I get it and add it to my list.
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
In reply to this post by Sven Gothel
EDIT NOTES:
- adding: Linux Backends: PipeWire, PulseAudio, ALSA, OSS, SndIO (linked), WaveFile, Null

Tested building on Debian 11 w/ Pipewire (backports) and it properly falls back to pulseaudio.
On Debian 12 same binary uses Pipewire properly, where it is the new default.

Pipewire is supported in openal-soft since 1.22.0, we are now on 1.23.1
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
In reply to this post by Sven Gothel
Sven Gothel wrote
Raw-Mouse:

The alternative would be to use NEWT's mouse-jail, where you would always get mouse input. Hmm, but not beyond its window-scope. Yeah, I get it and add it to my list.
Mouse-jail is less accurate and consumes much CPU time than just treating the screen as an unbounded surface and getting the relative mouse coordinates. Moreover, it's easier when porting source code as it's quite common in gaming APIs.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
In reply to this post by Sven Gothel
EDIT NOTES:
- update of MacOS in this forum post
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
In reply to this post by Sven Gothel
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
In reply to this post by Sven Gothel
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
It seems to work but I get this when leaving TUER:
[W][20810.536243] pw.conf      | [          conf.c:  939 try_load_conf()] can't load config client-rt.conf: Aucun fichier ou dossier de ce type
[W][20810.536276] pw.conf      | [          conf.c:  939 try_load_conf()] can't load config client.conf: Aucun fichier ou dossier de ce type
[E][20810.536280] pw.conf      | [          conf.c:  963 pw_conf_load_conf_for_context()] can't load default config client.conf: Aucun fichier ou dossier de ce type
[ALSOFT] (EE) Failed to create PipeWire event context (errno: 2)
[ALSOFT] (WW) Failed to initialize backend "pipewire"
OpenAL initialized.

"Aucun fichier ou dossier de ce type" means "No such file or directory".
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
openal-soft shows this warning in case no Pipewire is available (or not usable),
then falls back to the next backend.

Worked well here on Debian 11, falling back to pulseaudio
but using pipewire on Debian 12 (default).
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
My computer is under Debian 12. As long as it works, it's ok for me, I just wanted to be sure that those messages didn't exhibit a real bug.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

gouessej
Administrator
In reply to this post by Sven Gothel
Actually, Pipewire was not installed on my system despite being under Debian 12 as I use Plasma/KDE as a window manager instead of GNOME. After installing the meta-package named "pipewire-audio", I no longer have the nasty warning messages:
https://wiki.debian.org/PipeWire
In Debian 12, PipeWire 0.3.65 is available, and is considerably more reliable, and is a comfortable drop-in replacement for many use-cases. PipeWire is the default sound server with GNOME Desktop.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Release 2.5.0 ...

Sven Gothel
Administrator
Excellent (pipewire being used if usable, otherwise falback).

I also updated to Debian 12 on a machine and despite using KDE,
pipewire was installed hmm.  Whatever, great it works.
1234