|
Post by brerdawg on Jan 2, 2024 8:54:17 GMT 1
Hello,
Thanks for making the program available. Have not used this before, having issues installing it, tried 2 methods below on Ubuntu 20.04.6 LTS. 1st method reports a requirement for libfluidsynth3, currently only avail package is libfluidsynth2 (version 2.1.1-2) for ubuntu 20.04, I have v2.1.1-2 installed and fluidsynth works/links with a number of other programs and also c code. p.s. synaptic on ubuntu does not report any broken packages as mentioned in error below. //------ me@ubuntu18:~$ sudo apt-get install ./jjazzlab_4.0.1-1_amd64.deb [sudo] password for me: Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'jjazzlab' instead of './jjazzlab_4.0.1-1_amd64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: jjazzlab : Depends: libfluidsynth3 (>= 2.1.0) but it is not installable E: Unable to correct problems, you have held broken packages. //------ 2nd method reports errors below, I used 'JJazzLab-4.0.1-linux-x64.zip' from your site, ran its as below, also shown is java version. p.s. I downloaded 'OpenJDK 11.0.21 release, build 9', built and ran a 'helloworld' program to check my java install is working. //------ me@ubuntu18:~$ ./jjazzlab --jdkhome /usr/lib/jvm/default-java Unrecognized option: --enable-native-access=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. me@ubuntu18:~$ java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu120.04, mixed mode, sharing) //------
Many Thanks
|
|
|
Post by Jerome on Jan 2, 2024 10:26:07 GMT 1
.deb file: I did not know libfluidsynth package was not available on all distros. For next release 4.0.2 (soon!) I'll make the package dependent on "fluidsynh" directly.
If you have fluidsynth v2.1.1 already installed it should be ok for jjazzlab. I don't have ubuntu 20, could you please run "dpkg -L fluidsynth" and provide results ? This will help me for next release.
For the 2nd method, why don't you run ./bin/jjazzlab directly as per the installation instructions? The zip embeds its own Java JRE to avoid users mess with Java themselves (which lead to problems 90% of time).
|
|
|
Post by brerdawg on Jan 2, 2024 11:07:29 GMT 1
Thanks for getting back to us, please find dpkg list at bottom,
I have a this file on my system: /usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.1.1, which I expect came from a package.
With the 2nd method:
If I run just './jjazzlab' on its own, I get error as below:
Cannot find java. Please use the --jdkhome switch.
So I can't get the program to run from either method, sounds like it's not a quick fix.
Thanks Again.
//---- me@ubuntu18:~$ dpkg -L fluidsynth /. /etc /etc/default /etc/default/fluidsynth /usr /usr/bin /usr/bin/fluidsynth /usr/lib /usr/lib/systemd /usr/lib/systemd/user /usr/lib/systemd/user/fluidsynth.service /usr/share /usr/share/doc /usr/share/doc/fluidsynth /usr/share/doc/fluidsynth/README.md.gz /usr/share/doc/fluidsynth/TODO /usr/share/doc/fluidsynth/copyright /usr/share/man /usr/share/man/man1 /usr/share/man/man1/fluidsynth.1.gz /usr/share/doc/fluidsynth/changelog.Debian.gz //----
|
|
|
Post by Jerome on Jan 2, 2024 11:55:55 GMT 1
This is weird. It should start -the fluidsynth problem is unrelated. Can you check that once you unzipped the installation package you have the same : Check that file etc/jjazzlab.conf contains a line jdkhome="jdk"Then can you run bash -x bin/jjazzlab and provide the output ? JJazzLab will expect a libfluidsynth.so.3... Once you get JJazzLab running, do this hack as a temporary workaround: Edit etc/jjazzlab.conf and in the default_options add somewhere "-J-Dfluidsynthlib.path=/usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.1.1" Keep me posted.
|
|
|
Post by brerdawg on Jan 3, 2024 7:58:08 GMT 1
OK, please find below:
Yes dir list looks like what you had, except for some permissions, see below: me@ubuntu18:~/jjazzlab$ ll total 52 drwxrwxr-x 8 gc gc 4096 Jan 2 13:45 ./ drwxr-xr-x 120 gc gc 24576 Jan 2 21:00 ../ drwx------ 2 gc gc 4096 Dec 23 06:29 bin/ drwx------ 2 gc gc 4096 Dec 23 06:29 etc/ drwx------ 5 gc gc 4096 Dec 23 06:29 extra/ drwxrwxrwx 6 gc gc 4096 Dec 23 06:29 jdk/ drwx------ 6 gc gc 4096 Dec 23 06:28 jjazzlab/ drwx------ 7 gc gc 4096 Dec 23 06:29 platform/
Yes 'etc/jjazzlab.conf' does contain this entry.
Thankyou.
|
|
|
Post by Jerome on Jan 3, 2024 10:42:36 GMT 1
Fixing file permissions should solve the problem. The JJazzLab launcher (nbexec) is not able to run jdk/bin/java. You can check it from a terminal in the installation directory: try jdk/bin/java --version
On my Ubuntu I used the "Extract here" command from file explorer and I got the right permissions (see below).
How did you unzip ? Maybe try unzip -X
|
|
|
Post by Jerome on Jan 3, 2024 10:44:30 GMT 1
For the fluidsynth issue, please confirm that the hack worked.
Also please provide me the output of ls /usr/lib/x86_64-linux-gnu/libfluid*
|
|
|
Post by brerdawg on Jan 4, 2024 1:32:43 GMT 1
Thanks for your help with this, have had good progress:
I dragged and dropped folders from 'archive manager' ('file-roller') to an empty folder, this must have caused permissions to be altered. Then used ' unzip -X ....' as you suggested and permissions were better.
The programs now runs, no longer getting: 'Cannot find java. Please use the --jdkhome switch.'
appended to 'default_options=....' this: /usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.1.1
Program then showed a warning that 'Fluidsynth version is too old. Minimum is 2.1.0' when trying to tick 'Use Fluidsynth' checkbox in 'Tools/Options'.
Moded this append to: /usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.3.1 Then program was able to use fluidsynth successfully, I use jack audio so had to manually patch fluidsynth o/p to System/Playback i/p (using patchage) .
Also what worked was a libfluidsynth symlink appended to: 'default_options=.....' like this: /usr/lib/x86_64-linux-gnu/libfluidsynth.so The symlink is to libfluidsynth.so.2.3.1 as seen below:
ll /usr/lib/x86_64-linux-gnu/libfluid* lrwxrwxrwx 1 root root 18 Mar 5 2020 /usr/lib/x86_64-linux-gnu/libfluidsynth.so -> libfluidsynth.so.2 lrwxrwxrwx 1 root root 22 Mar 5 2020 /usr/lib/x86_64-linux-gnu/libfluidsynth.so.2 -> libfluidsynth.so.2.3.1 -rw-r--r-- 1 root root 478248 Mar 4 2019 /usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.1.1 -rw-r--r-- 1 root root 473224 Mar 5 2020 /usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.3.1
p.s. The fluidsynth cog icon 'Open fluidsynth settings' does not show up anything but have not looked into this.
Thanks again for your help in getting it going, will try things out get back to you if necessary.
|
|
|
Post by Jerome on Jan 4, 2024 19:06:15 GMT 1
That's good news. I updated the Linux installation instructions in the online doc. I think the confusion is that libfluidsynth.so.2.1.1 does not necessarily represent fluidsynth API version 2.1.1. I asked a questino on the fluidsynth to better understand how it works. No popup shows up when you click on it ? Send the .log file please.
|
|
|
Post by brerdawg on Jan 4, 2024 23:32:18 GMT 1
OK, please find log file you requested, I pressed the 'fluidsynth cog icon', no popup appeared, then immediately copied the log file below:
------------------------------------------------------------------------------- >Log Session: Friday, January 5, 2024 at 9:20:15 AM Australian Eastern Daylight Time >System Info: Product Version = JJazzLab 20-91f9ed846ac143b52d50b5ea323a42c2f7e78392 Operating System = Linux version 5.4.0-169-generic running on amd64 Java; VM; Vendor = 17.0.9; OpenJDK 64-Bit Server VM 17.0.9+9; Eclipse Adoptium Runtime = OpenJDK Runtime Environment 17.0.9+9 Java Home = /home/gc/jjazzlab/jdk System Locale; Encoding = en_AU (jjazzlab); UTF-8 Home Directory = /home/gc Current Directory = /home/gc/jjazzlab User Directory = /home/gc/.jjazzlab/4.0.1 Cache Directory = /home/gc/.cache/jjazzlab/4.0.1 Installation = /home/gc/jjazzlab/jjazzlab /home/gc/jjazzlab/platform /home/gc/jjazzlab/etc /home/gc/jjazzlab/bin /home/gc/jjazzlab/extra /home/gc/jjazzlab/platform Boot & Ext. Classpath = Application Classpath = /home/gc/jjazzlab/platform/lib/boot.jar:/home/gc/jjazzlab/platform/lib/org-openide-modules.jar:/home/gc/jjazzlab/platform/lib/org-openide-util.jar:/home/gc/jjazzlab/platform/lib/org-openide-util-lookup.jar:/home/gc/jjazzlab/platform/lib/org-openide-util-ui.jar Startup Classpath = /home/gc/jjazzlab/platform/core/core.jar:/home/gc/jjazzlab/platform/core/asm-tree-9.5.jar:/home/gc/jjazzlab/platform/core/asm-commons-9.5.jar:/home/gc/jjazzlab/platform/core/org-openide-filesystems.jar:/home/gc/jjazzlab/platform/core/asm-9.5.jar:/home/gc/jjazzlab/platform/core/org-netbeans-libs-asm.jar:/home/gc/jjazzlab/platform/core/core-base.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_zh_CN.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_uk_UA.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_es_ES.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_ko_KR.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_de_DE.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_no_NO.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_id_ID.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_it_IT.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_ja_JP.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_pt_BR.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_fr_FR.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_ru_RU.jar ------------------------------------------------------------------------------- INFO [LookAndFeelInstaller]: validate() Installing Look & Feel: LOOK_AND_FEEL_SYSTEM_DEFAULT INFO [MixPanelProcessor]: MixPanelProcessor() distinctId=1576e17405 WARNING [org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings]: The property "netbeans.default_userdir_root" was not set! INFO [FluidSynthJava]: loadNativeLibrariesLinuxMac() using lib =/usr/lib/x86_64-linux-gnu/libfluidsynth.so INFO [FluidSynthJava]: loadNativeLibraries() Success INFO [JJazzLabSequencer]: JJazzLabSequencer() Setting up JJazzLab sequencer INFO [JJazzMidiSystem]: JJazzMidiSystem() Midi out devices=[] INFO [FluidSynthJava]: checkFluidSynthMinimumVersion() FluidSynth version=2.1.1 INFO [FluidSynthJava]: open() Native FluidSynth instance initialized INFO [FluidSynthJava]: loadSoundFont() SoundFont successfully loaded /home/gc/jjazzlab/jjazzlab/modules/soundfont/JJazzLab-SoundFont.sf2 INFO [JJazzMidiSystem]: setDefaultOutDevice() oldDevice=null newDevice=FluidSynth_MD INFO [FluidSynthEmbeddedSynthProvider]: setEmbeddedSynthActive() b=true WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [AutoPreviewToolBar, MusicControls, MyToolBarConfig.xml], but some are: [File, Clipboard, UndoRedo, Memory] INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL INFO [StartupManager]: Launcher.run() Starting task: Copy default Midi synth definition files priority=100 INFO [StartupManager]: Launcher.run() Starting task: Copy default rhythm files priority=500 INFO [StartupManager]: Launcher.run() Starting task: Create Rhythm database priority=501 INFO [StartupManager]: Launcher.run() Starting task: Open command line and recent files priority=600 INFO [RhythmDatabaseImpl]: initDatabase() needRescan=false cacheFilePresent=true INFO [RhythmDatabaseImpl]: addNewRhythmsFromRhythmProviders() excludeBuiltinRhythms=false excludeFileRhythms=true forceFileRescan=false. Added 8 rhythms INFO [StartupManager]: Launcher.run() Starting task: Copy example song files priority=1,000 INFO [RhythmDatabaseImpl]: readCache() Successfully read rhythm list from cache, size=155 INFO [RhythmDatabaseImpl]: logStats() Rythm Database stats - total=163 INFO [RhythmDatabaseImpl]: > Dummy rhythms: total=8 builtin=8 file=0 first=Rinfo[DummyName-2/4-2/4]... INFO [RhythmDatabaseImpl]: > YamJJazz extended styles: total=5 builtin=0 file=5 first=Rinfo[JazzRock_Cz2k.S563.yjz-4/4]... INFO [RhythmDatabaseImpl]: > YamJJazz standard styles: total=150 builtin=0 file=150 first=Rinfo[16BeatBallad2.S014.prs-4/4]... INFO [YamahaRhythmProvider]: readFast() Reading /home/gc/JJazzLab/Rhythms/R&B/SoulBeat.STY INFO [YamJJazzRhythmProvider]: readFast() Reading /home/gc/jjazzlab/jjazzlab/modules/YamJJazzDefaultFiles/JazzRock_Cz2k.S563.yjz and JazzRock_Cz2k.S563.sty Diagnostic information Input arguments: -Djdk.home=/home/gc/jjazzlab/jdk -Dnetbeans.dirs=/home/gc/jjazzlab/jjazzlab:/home/gc/jjazzlab/platform:/home/gc/jjazzlab/etc:/home/gc/jjazzlab/bin:/home/gc/jjazzlab/extra: -Dnetbeans.home=/home/gc/jjazzlab/platform -Dmp.token=a67ed8aa58b306c1336dcf74fb99b2f69f1 -Dnetbeans.modules.quiet=true --add-modules=jdk.incubator.foreign --enable-native-access=ALL-UNNAMED --enable-preview --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -Djjazzlab.version=4.0.1 -Dfluidsynthlib.path=/usr/lib/x86_64-linux-gnu/libfluidsynth.so. -Dfluidsynthlib.path=/usr/lib/x86_64-linux-gnu/libfluidsynth.so -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/gc/.jjazzlab/4.0.1/var/log/heapdump.hprof -Djava.security.manager=allow Compiler: HotSpot 64-Bit Tiered Compilers Heap memory usage: initial 250.0MB maximum 3980.0MB Non heap memory usage: initial 7.3MB maximum -1b Garbage collector: G1 Young Generation (Collections=14 Total time spent=0s) Garbage collector: G1 Old Generation (Collections=0 Total time spent=0s) Classes: loaded=9752 total loaded=9752 unloaded 0 INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 16,689,156,096 INFO [null]: Total physical memory 16,689,156,096 SEVERE [global] java.lang.UnsatisfiedLinkError: unresolved symbol: fluid_synth_get_chorus_group_type at org.jjazz.fluidsynthjava.jextract.RuntimeHelper.requireNonNull(RuntimeHelper.java:39) at org.jjazz.fluidsynthjava.jextract.fluidsynth_h.fluid_synth_get_chorus_group_type(fluidsynth_h.java:1246) at org.jjazz.fluidsynthjava.api.FluidSynthJava.getChorus(FluidSynthJava.java:624) at org.jjazz.fluidsynthembeddedsynth.SettingsDialog.<init>(SettingsDialog.java:67) at org.jjazz.fluidsynthembeddedsynth.FluidSynthEmbeddedSynth.showSettings(FluidSynthEmbeddedSynth.java:153) at org.jjazz.options.MidiPanel.btn_FluidSynthSettingsActionPerformed(MidiPanel.java:969) at org.jjazz.options.MidiPanel$10.actionPerformed(MidiPanel.java:770) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) [catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) WARNING [org.openide.filesystems.Ordering]: Found same position 200 for both Actions/Bar/org-jjazz-cl_editor-actions-insert.shadow and Actions/Bar/org-jjazz-cl_editor-actions-setendbar.shadow
|
|
|
Post by Jerome on Jan 5, 2024 16:22:52 GMT 1
OK I understand now.
In libfluidysnth3, 3 is the fluidsynth API version, which is different than FluidSynth implementation version, eg 2.1.1.
Fluidsynth API has bumped to 3 with FluidSynth 2.2.0.
JJazzLab code is using FluidSynth API 3, you're using FluidSynth 2.1.1 (FluidSynth API 2), so showing the settings fails because JJazzLab calls a method (fluid_synth_get_chorus_group_type()) which was not yet available.
Do you confirm that, besides the settings, fluidsynth works OK when you play a song ? Does Export to audio work too ?
If yes, I could just disable the settings in the special case fluidsynth 2.1 is used.
The other solution for me is to impose FluidSynth >= 2.2 instead of >= 2.1. With Debian 11, do you have a mean to get a >= 2.2 package ?
|
|
|
Post by magicvince on Jan 5, 2024 17:40:21 GMT 1
With LMDE5 (debian11) similar situation with Ubuntu 20.0.4
2.1>fluidsynth<2.2
I can launch jjazzlab with the zip after upgrade the permission to 755 in the jjazz directory.
But the fluidsynth can't be activate in the options (no popup).
It works with GerrySynth. Audio exportation is impossible due to fluidsynth disable.
With other application (like qtractor or hydrogen) fluidsynth seems to be ok
I am unable to install fluidsynth 2.2 (so many dependancies)
|
|
|
Post by Jerome on Jan 5, 2024 17:53:16 GMT 1
@ magicvinceJJazzLab 4.0.1 does not "know" about libfluidsynth2 which comes with Fluidsynth 2.1. JJazzLab 4.0.2 will fix this. You need to apply the same hack explained above, patching etc/jjazzlab.conf. First find the location of libfluidsynth.so.2. Normally it should be in /usr/lib/x86_64-linux-gnu/, if not please tell me in which dir you found it. Then patch jjazzlab.conf accordingly.
|
|
|
Post by brerdawg on Jan 6, 2024 4:19:34 GMT 1
Further details and also audio export results, please see below:
I did compile/install fluidsynth 2.3.4 before I made initial contact. As it is not a package, it installed in a different location and is not likely correct for ubuntu, it installed libfluidsynth as this: '/usr/local/lib/libfluidsynth.so.3.2.2'
Like so:
ll /usr/local/lib/libfluidsy* lrwxrwxrwx 1 root root 18 Jan 2 10:11 /usr/local/lib/libfluidsynth.so -> libfluidsynth.so.3 lrwxrwxrwx 1 root root 22 Jan 2 10:11 /usr/local/lib/libfluidsynth.so.3 -> libfluidsynth.so.3.2.2 -rw-r--r-- 1 root root 2387904 Jan 2 10:24 /usr/local/lib/libfluidsynth.so.3.2.2
If I appended to 'default_options=....' this: -J-Dfluidsynthlib.path=/usr/local/lib/libfluidsynth.so.3.2.2
Then fluidsynth cog icon 'Open fluidsynth settings' does show up a popup wnd, also audio export works. For some reason and yet to look into it, v3.2.2 does not appear as a jack client, only alsa, so if I stop jack, I can hear fluidsynth (via pulseaudio), but this is not related to jjazzlab, it happens when tested with other progams.
So to summersize: /usr/lib/x86_64-linux-gnu/libfluidsynth.2.1.1 does not allow fluidsynth to be enable. (no fluidsynth, no working audio export)
/usr/lib/x86_64-linux-gnu/libfluidsynth.2.3.1 does allow fluidsynth to be enable, but can't open cog icon 'Open fluidsynth settings' (partial working fluidsynth, can hear its instruments, no working audio export)
/usr/local/lib/libfluidsynth.so.3.2.2 does allow fluidsynth to be enable, does open cog icon 'Open fluidsynth settings' (fully working fluidsynth, audio export works)
Here is the log where audio export failed for: /usr/lib/x86_64-linux-gnu/libfluidsynth.2.3.1
------------------------------------------------------------------------------ >Log Session: Saturday, January 6, 2024 at 11:10:11 AM Australian Eastern Daylight Time >System Info: Product Version = JJazzLab 20-91f9ed846ac143b52d50b5ea323a42c2f7e78392 Operating System = Linux version 5.4.0-169-generic running on amd64 Java; VM; Vendor = 17.0.9; OpenJDK 64-Bit Server VM 17.0.9+9; Eclipse Adoptium Runtime = OpenJDK Runtime Environment 17.0.9+9 Java Home = /home/gc/jjazzlab/jdk System Locale; Encoding = en_AU (jjazzlab); UTF-8 Home Directory = /home/gc Current Directory = /home/gc/jjazzlab User Directory = /home/gc/.jjazzlab/4.0.1 Cache Directory = /home/gc/.cache/jjazzlab/4.0.1 Installation = /home/gc/jjazzlab/jjazzlab /home/gc/jjazzlab/platform /home/gc/jjazzlab/etc /home/gc/jjazzlab/bin /home/gc/jjazzlab/extra /home/gc/jjazzlab/platform Boot & Ext. Classpath = Application Classpath = /home/gc/jjazzlab/platform/lib/boot.jar:/home/gc/jjazzlab/platform/lib/org-openide-modules.jar:/home/gc/jjazzlab/platform/lib/org-openide-util.jar:/home/gc/jjazzlab/platform/lib/org-openide-util-lookup.jar:/home/gc/jjazzlab/platform/lib/org-openide-util-ui.jar Startup Classpath = /home/gc/jjazzlab/platform/core/core.jar:/home/gc/jjazzlab/platform/core/asm-tree-9.5.jar:/home/gc/jjazzlab/platform/core/asm-commons-9.5.jar:/home/gc/jjazzlab/platform/core/org-openide-filesystems.jar:/home/gc/jjazzlab/platform/core/asm-9.5.jar:/home/gc/jjazzlab/platform/core/org-netbeans-libs-asm.jar:/home/gc/jjazzlab/platform/core/core-base.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_zh_CN.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_uk_UA.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_es_ES.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_ko_KR.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_de_DE.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_no_NO.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_id_ID.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_it_IT.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_ja_JP.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_pt_BR.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_fr_FR.jar:/home/gc/jjazzlab/jjazzlab/core/locale/core_jjazzlab_ru_RU.jar ------------------------------------------------------------------------------- INFO [LookAndFeelInstaller]: validate() Installing Look & Feel: LOOK_AND_FEEL_SYSTEM_DEFAULT INFO [MixPanelProcessor]: MixPanelProcessor() distinctId=1576e17405 INFO [FluidSynthJava]: loadNativeLibrariesLinuxMac() using lib =/usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.3.1 INFO [FluidSynthJava]: loadNativeLibraries() Success INFO [JJazzLabSequencer]: JJazzLabSequencer() Setting up JJazzLab sequencer WARNING [org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings]: The property "netbeans.default_userdir_root" was not set! INFO [JJazzMidiSystem]: JJazzMidiSystem() Midi out devices=[] INFO [FluidSynthJava]: checkFluidSynthMinimumVersion() FluidSynth version=2.1.1 INFO [FluidSynthJava]: open() Native FluidSynth instance initialized INFO [FluidSynthJava]: loadSoundFont() SoundFont successfully loaded /home/gc/jjazzlab/jjazzlab/modules/soundfont/JJazzLab-SoundFont.sf2 SEVERE [org.openide.util.Exceptions] java.lang.UnsatisfiedLinkError: unresolved symbol: fluid_synth_set_chorus_group_type at org.jjazz.fluidsynthjava.jextract.RuntimeHelper.requireNonNull(RuntimeHelper.java:39) at org.jjazz.fluidsynthjava.jextract.fluidsynth_h.fluid_synth_set_chorus_group_type(fluidsynth_h.java:1191) at org.jjazz.fluidsynthjava.api.FluidSynthJava.setChorus(FluidSynthJava.java:594) at org.jjazz.fluidsynthembeddedsynth.FluidSynthEmbeddedSynth.open(FluidSynthEmbeddedSynth.java:101) at org.jjazz.fluidsynthembeddedsynth.FluidSynthEmbeddedSynthProvider$1LongTask.run(FluidSynthEmbeddedSynthProvider.java:196) at org.netbeans.api.progress.BaseProgressUtils$RunnableWrapper.run(BaseProgressUtils.java:273) at org.netbeans.api.progress.BaseProgressUtils$RunnableWrapper.run(BaseProgressUtils.java:265) at org.netbeans.modules.progress.ui.RunOffEDTImpl$ProgressBackgroundRunner.runBackground(RunOffEDTImpl.java:465) at org.netbeans.modules.progress.ui.AbstractWindowRunner.call(AbstractWindowRunner.java:86) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) Caused: java.util.concurrent.ExecutionException at java.base/java.util.concurrent.FutureTask.report(Unknown Source) at java.base/java.util.concurrent.FutureTask.get(Unknown Source) [catch] at org.netbeans.modules.progress.ui.RunOffEDTImpl.showProgressDialogAndRun(RunOffEDTImpl.java:361) at org.netbeans.api.progress.BaseProgressUtils.showProgressDialogAndRun(BaseProgressUtils.java:189) at org.netbeans.api.progress.BaseProgressUtils.showProgressDialogAndRun(BaseProgressUtils.java:230) at org.jjazz.fluidsynthembeddedsynth.FluidSynthEmbeddedSynthProvider.openSynthAndDevice(FluidSynthEmbeddedSynthProvider.java:213) at org.jjazz.fluidsynthembeddedsynth.FluidSynthEmbeddedSynthProvider.setEmbeddedSynthActive(FluidSynthEmbeddedSynthProvider.java:102) at org.jjazz.embeddedsynth.StartupEmbeddedSynthInitTask.run(StartupEmbeddedSynthInitTask.java:66) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1420) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035) INFO [JJazzMidiSystem]: setDefaultOutDevice() oldDevice=null newDevice=FluidSynth_MD INFO [FluidSynthEmbeddedSynthProvider]: setEmbeddedSynthActive() b=true WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [AutoPreviewToolBar, MusicControls, MyToolBarConfig.xml], but some are: [File, Clipboard, UndoRedo, Memory] INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL INFO [StartupManager]: Launcher.run() Starting task: Copy default Midi synth definition files priority=100 INFO [StartupManager]: Launcher.run() Starting task: Copy default rhythm files priority=500 INFO [StartupManager]: Launcher.run() Starting task: Create Rhythm database priority=501 INFO [StartupManager]: Launcher.run() Starting task: Open command line and recent files priority=600 INFO [StartupManager]: Launcher.run() Starting task: Copy example song files priority=1,000 INFO [RhythmDatabaseImpl]: initDatabase() needRescan=false cacheFilePresent=true INFO [RhythmDatabaseImpl]: addNewRhythmsFromRhythmProviders() excludeBuiltinRhythms=false excludeFileRhythms=true forceFileRescan=false. Added 8 rhythms INFO [RhythmDatabaseImpl]: readCache() Successfully read rhythm list from cache, size=155 INFO [RhythmDatabaseImpl]: logStats() Rythm Database stats - total=163 INFO [RhythmDatabaseImpl]: > Dummy rhythms: total=8 builtin=8 file=0 first=Rinfo[DummyName-2/4-2/4]... INFO [RhythmDatabaseImpl]: > YamJJazz extended styles: total=5 builtin=0 file=5 first=Rinfo[JazzRock_Cz2k.S563.yjz-4/4]... INFO [RhythmDatabaseImpl]: > YamJJazz standard styles: total=150 builtin=0 file=150 first=Rinfo[16BeatBallad2.S014.prs-4/4]... INFO [YamahaRhythmProvider]: readFast() Reading /home/gc/JJazzLab/Rhythms/R&B/SoulBeat.STY WARNING [org.openide.filesystems.Ordering]: Found same position 200 for both Actions/Bar/org-jjazz-cl_editor-actions-insert.shadow and Actions/Bar/org-jjazz-cl_editor-actions-setendbar.shadow INFO [YamJJazzRhythmProvider]: readFast() Reading /home/gc/jjazzlab/jjazzlab/modules/YamJJazzDefaultFiles/JazzRock_Cz2k.S563.yjz and JazzRock_Cz2k.S563.sty Diagnostic information Input arguments: -Djdk.home=/home/gc/jjazzlab/jdk -Dnetbeans.dirs=/home/gc/jjazzlab/jjazzlab:/home/gc/jjazzlab/platform:/home/gc/jjazzlab/etc:/home/gc/jjazzlab/bin:/home/gc/jjazzlab/extra: -Dnetbeans.home=/home/gc/jjazzlab/platform -Dmp.token=a67ed8aa58b306c1336dcf74fb99b2f69f1 -Dnetbeans.modules.quiet=true --add-modules=jdk.incubator.foreign --enable-native-access=ALL-UNNAMED --enable-preview --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -Djjazzlab.version=4.0.1 -Dfluidsynthlib.path=/usr/lib/x86_64-linux-gnu/libfluidsynth.so.2.3.1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/gc/.jjazzlab/4.0.1/var/log/heapdump.hprof -Djava.security.manager=allow Compiler: HotSpot 64-Bit Tiered Compilers Heap memory usage: initial 250.0MB maximum 3980.0MB Non heap memory usage: initial 7.3MB maximum -1b Garbage collector: G1 Young Generation (Collections=11 Total time spent=0s) Garbage collector: G1 Old Generation (Collections=0 Total time spent=0s) Classes: loaded=10093 total loaded=10093 unloaded 0 INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 16,689,156,096 INFO [null]: Total physical memory 16,689,156,096 INFO [ExportToAudio]: actionPerformed() Start export audio : /home/gc/gc1.mp3 INFO [SongMidiExporter]: songToMidiFile() writing sequence to Midi file: /tmp/gc15211540927842271579.mid SEVERE [global] java.lang.UnsatisfiedLinkError: unresolved symbol: fluid_synth_get_chorus_group_type at org.jjazz.fluidsynthjava.jextract.RuntimeHelper.requireNonNull(RuntimeHelper.java:39) at org.jjazz.fluidsynthjava.jextract.fluidsynth_h.fluid_synth_get_chorus_group_type(fluidsynth_h.java:1246) at org.jjazz.fluidsynthjava.api.FluidSynthJava.getChorus(FluidSynthJava.java:624) at org.jjazz.fluidsynthjava.api.FluidSynthJava.<init>(FluidSynthJava.java:140) at org.jjazz.fluidsynthjava.api.FluidSynthJava.generateWavFile(FluidSynthJava.java:655) at org.jjazz.fluidsynthembeddedsynth.FluidSynthEmbeddedSynth.generateWavFile(FluidSynthEmbeddedSynth.java:163) at org.jjazz.embeddedsynth.ExportToAudio.actionPerformed(ExportToAudio.java:198) at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:446) at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:442) at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:263) at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:106) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:68) at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91) at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74) at org.openide.awt.GeneralAction$BaseDelAction.actionPerformed(GeneralAction.java:354) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source) at java.desktop/javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source) at java.desktop/javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source) at java.desktop/javax.swing.JMenuItem.processMouseEvent(Unknown Source) at java.desktop/javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit.notifyAWTEventListeners(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) [catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
|
|
|
Post by Jerome on Jan 6, 2024 9:30:28 GMT 1
brerdawgThank you, this was helpful. JJazzLab 4.0.2 (to be out this week-end I think) will require FluidSynth 2.2 to avoid the problems you experienced.
|
|