Getting Less Crashes in Radium

kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Getting Less Crashes in Radium

Post by kjetil »

You're actually running a 4 days older version of Redux than me. Same version though. Can you try to download latest version?

Code: Select all

Renoise Redux LOG> ============================================================
Renoise Redux LOG> Version : Renoise Redux V1.1.1 (Nov 11 2019)
Renoise Redux LOG> Date    : 2020-05-27
Renoise Redux LOG> Time    : 20:14:34
Renoise Redux LOG> OS      : Linux version 3.19.8-100.fc20.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC) ) #1 SMP Tue May 12 17:08:50 UTC 2015
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Getting Less Crashes in Radium

Post by kjetil »

Oh wait, you're probably just running the full version while I run the demo version. Can you try the demo version though?
brandflake11
Posts: 20
Joined: 17 May 2020 18:18

Re: Getting Less Crashes in Radium

Post by brandflake11 »

With the latest redux demo it still crashes when loading two instances:

Code: Select all

vendor: NVIDIA Corporation, renderer: Quadro M2000M/PCIe/SSE2, version: 4.6.0 NVIDIA 440.82 
vendor: NVIDIA Corporation, renderer: Quadro M2000M/PCIe/SSE2, version: 4.6.0 NVIDIA 440.82 
-______ sending string 178,87,667,375_____SPLIT______Final setup
num bytes sent: 57
    ADDING Navigator
STOP ALL NOTES on "Click".
    ADDING Navigator
STOP ALL NOTES on "Click".
TEIMERERINE EVENT
                GRABBING OpenGL frame buffer
[31mFont::loadFont('/font/bitstream-vera/VeraMono.ttf'): font file not found.
newestversion: -5.9.98-, VERSION: -5.9.98-, last_informed: --
   READING.  /home/brandon/.vst/renoise_redux_demo.so: Reading from description file "/home/brandon/.radium/scanned_plugins/v2_PluginDescription_f81e1402336068ba7e4e7faa04d4a4aee72eda2d".
[0mNote: Num_vamps: 1
Note: Num_vamps: 1
MyQMessageBox 0xfb93fb0 deleted
-______ sending string _MESSAGE_EXIT
num bytes sent: 21




 ************* Setting vblank to 16.949153 ************


        GUI GC: Delayed closing of GUI. Pos: 362, guinum: 362
versionString: _5.9.98_
Nope, 5.9.98 is actually newer than (or just as old) as 5.9.98
mouse button: 2 4
mouse release: (nil)
mouserelease_create_chip called
  Warning: popup menu might leak: 1022.
**parent is main_window: 1
  FOCUS IN
        GUI GC: COLLECTING gui garbage. Pos: 1396, guinum: 1407. Num alive guis: 1399
  FOCUS OUT
TABLECALLBACK: 
#("" "renoise_redux_demo" "VST" "" "" "VST / renoise_redux_demo" "" "") 
(hash-table
  ':name "renoise_redux_demo"
  ':category ""
  ':path "VST / renoise_redux_demo"
  ':num-uses 0
  ':type-name "VST"
  ':type "CONTAINER"
  ':filename "/home/brandon/.vst/renoise_redux_demo.so") 
b02 /home/brandon/.vst/renoise_redux_demo.so
  ---------- Container: -renoise_redux_demo-, type: -VST-, plugin: -renoise_redux_demo-
createAudioInstrument called
PATCH_create_audio called
       PATCH set name
PATCH_make_active_audio called
AUDIO_InitPatch2 called
PLUGIN_create called
TYPE_NAME: -VST-, NAME: -renoise_redux_demo-. Version: 0.1.1.1
  Trying to load -/home/brandon/.vst/renoise_redux_demo.so-. Identifier: -VST-renoise_redux_demo-b3395f88-52524458-
Attempting to load VST: /home/brandon/.vst/renoise_redux_demo.so
Creating VST instance: renoise_redux_demo
Renoise Redux LOG> ============================================================
Renoise Redux LOG> Version : Renoise Redux V1.1.1 (Nov 11 2019)
Renoise Redux LOG> Date    : 2020-05-27
Renoise Redux LOG> Time    : 17:53:05
Renoise Redux LOG> OS      : Linux version 5.6.14-artix1-1 (linux@artixlinux) (gcc version 10.1.0 (GCC)) #1 SMP PREEMPT Thu, 21 May 2020 14:13:45 +0000

Renoise Redux LOG> ============================================================
Renoise Redux LOG> VST Shell: Running in 'Juce VST Host 257'
Renoise Redux LOG> System: Application path retrieved from dladdr: '/home/brandon/.vst/renoise_redux_demo.so'
Renoise Redux LOG> System: Running from directory '/home/brandon/.vst/'...
Renoise Redux LOG> System: Using '/home/brandon/.vst/renoise_redux_demo.res/' as local resource directory...
Preparing to start...
Renoise Redux LOG> Redux: Initializing the API...
Renoise Redux LOG> IPP: Detected CPU type: 0x46
Renoise Redux LOG> File-IO: Enabling MP3 decoding support using system's mpg123 library...
Renoise Redux LOG> Graphport: Initializing Freeimage...
Renoise Redux LOG> Graphport: Opening XDisplay ':1' (configured via 'DISPLAY' env)...
Renoise Redux LOG> Graphport: XDisplay was successfully opened
Renoise Redux LOG> GraphPort: Loading cursor images (libXcursor is present)...
Renoise Redux LOG> GraphPort: Initializing the Font Engine...
Renoise Redux LOG> GraphPort: Enumerating system fonts...
Renoise Redux LOG> Graphport: Initializing Keyboard mappings...
Renoise Redux LOG> Graphport: Initializing XAtoms...
Renoise Redux LOG> Application: Initializing Icon Bitmaps...
Reading the plugin caches...
Renoise Redux LOG> Application: Loading the preferences...
Loading the preferences...
Renoise Redux LOG> Application: Init...
Renoise Redux LOG> DspDevices: Registering native DSP effects...
Renoise Redux LOG> Application: Init OK
Renoise Redux LOG> Redux: Creating plugin shell instance...
Building player engine...
Renoise Redux LOG> Player: Constructing...
Renoise Redux LOG> Player: Start running...
Configuring audio subsystems...
Starting audio subsystems...
Starting MIDI subsystems...
*** Unhandled VST Callback: 14
Renoise Redux LOG> VST Shell: Unsupported host canDo: bypass
Initialising VST: renoise_redux_demo (0.1.1.1)
       PATCH set name
New SoundProducer. Inputs: 1, Ouptuts: 1. plugin->type->name: renoise_redux_demo
New Chip. Inputs: 1, Ouptuts: 1
Saving 'Renoise Redux_TmpFile-0-1.xrni' (Document)...
Saving 'Renoise Redux_TmpFile-0-1.xrni' (Samples)...
Saving '/tmp/Renoise Redux-1-17691/Renoise Redux_TmpFile-0-1.xrni' (flushing the zip archive)...
Validating '/tmp/Renoise Redux-1-17691/Renoise Redux_TmpFile-0-1.xrni' (testing the zip archive)...
Validating '/tmp/Renoise Redux-1-17691/Renoise Redux_TmpFile-0-1.xrni' (checking the document)...
Instrument was successfully saved.
Saving 'Renoise Redux_TmpFile-0-3.xrni' (Document)...
Saving 'Renoise Redux_TmpFile-0-3.xrni' (Samples)...
Saving '/tmp/Renoise Redux-1-17691/Renoise Redux_TmpFile-0-3.xrni' (flushing the zip archive)...
Validating '/tmp/Renoise Redux-1-17691/Renoise Redux_TmpFile-0-3.xrni' (testing the zip archive)...
Validating '/tmp/Renoise Redux-1-17691/Renoise Redux_TmpFile-0-3.xrni' (checking the document)...
Instrument was successfully saved.
       PATCH create audio
config filename: -/home/brandon/.radium/config-
**parent is main_window: 1
GFX_PP_Update renoise_redux_demo 1
Note: Num_vamps: 1
Note: Num_vamps: 1
Note: Num_vamps: 1
        GUI GC: Delayed closing of GUI. Pos: 1414, guinum: 3098
        GUI GC: Delayed closing of GUI. Pos: 357, guinum: 357
mouse button: 1 4
x/y: -525/-108. x1/y1: -600/-112. x2/y2: -510/-96
chip: 0x10444620
GFX_PP_Update renoise_redux_demo 1
MW_set_selected_chip called
x/y: -525/-108. x1/y1: -600/-112. x2/y2: -510/-96
mouse release: (nil)
       Remake: ~SuperConnectin
Scene is double-clicked
GFX_PP_Update renoise_redux_demo 1
Opening VST UI: Renoise Redux
Renoise Redux LOG> VST Shell: Open plugin editor...
Renoise Redux LOG> System: Application path retrieved from /proc/self/exe: '/media/nvme/Downloads/radium_64bit_linux-5.9.98/bin/radium_linux.bin'
mouse release: (nil)
Closing VST UI: Renoise Redux
Renoise Redux LOG> VST Shell: Closing plugin editor...
mouse button: 2 4
mouse release: (nil)
mouserelease_create_chip called
  Warning: popup menu might leak: 1023.
**parent is main_window: 1
  FOCUS IN
TABLECALLBACK: 
        GUI GC: COLLECTING gui garbage. Pos: 1397, guinum: 3123. Num alive guis: 1404
  FOCUS OUT
TABLECALLBACK: 
#("1" "renoise_redux_demo" "VST" "Synth" "Renoise" "VST / renoise_redux_demo" "1" "1") 
(hash-table
  ':category "Synth"
  ':creator "Renoise"
  ':name "renoise_redux_demo"
  ':container-name "renoise_redux_demo"
  ':num-outputs 1
  ':num-uses 1
  ':num-inputs 1
  ':path "VST / renoise_redux_demo"
  ':type-name "VST"
  ':type "NORMAL") 
  ---------- Container: -renoise_redux_demo-, type: -VST-, plugin: -renoise_redux_demo-
createAudioInstrument called
PATCH_create_audio called
       PATCH set name
PATCH_make_active_audio called
AUDIO_InitPatch2 called
PLUGIN_create called
TYPE_NAME: -VST-, NAME: -renoise_redux_demo-. Version: 0.1.1.1
  Trying to load -/home/brandon/.vst/renoise_redux_demo.so-. Identifier: -VST-renoise_redux_demo-b3395f88-52524458-
Creating VST instance: renoise_redux_demo
zombified - calling shutdown handler
Renoise Redux LOG> GraphPort: Loading cursor images (libXcursor is present)...
Reading the plugin caches...
Renoise Redux LOG> Application: Loading the preferences...
Loading the preferences...
Renoise Redux LOG> Application: Init...
Renoise Redux LOG> DspDevices: Registering native DSP effects...
Renoise Redux LOG> Application: Init OK
Renoise Redux LOG> Redux: Creating plugin shell instance...
Building player engine...
Renoise Redux LOG> Player: Constructing...
Renoise Redux LOG> Player: Start running...
Configuring audio subsystems...
Starting audio subsystems...
Starting MIDI subsystems...
*** Unhandled VST Callback: 14
Renoise Redux LOG> VST Shell: Unsupported host canDo: bypass
Initialising VST: renoise_redux_demo (0.1.1.1)
/media/nvme/Downloads/radium_64bit_linux-5.9.98/bin/radium: line 21: 17691 Killed                  LD_LIBRARY_PATH="$LD_LIBRARY_PATH" "$THIS_DIR"/radium_linux.bin $@
I had to kill it as it froze Radium. Is it my distro? I am running Artix now.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Getting Less Crashes in Radium

Post by kjetil »

I'm going to contact the Renoise team. Does Redux freeze every time, or does it crash too? It freezes every time after showing this message?

Code: Select all

Initialising VST: renoise_redux_demo (0.1.1.1)
I've also reported the ZamDelay issue here: https://github.com/zamaudio/zam-plugins/issues/80
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Getting Less Crashes in Radium

Post by kjetil »

If I just find faust alternatives to everything, would Radium run better?
If plugins are the reason for the crashes, then yes, that should fix it.
brandflake11
Posts: 20
Joined: 17 May 2020 18:18

Re: Getting Less Crashes in Radium

Post by brandflake11 »

Yes, Redux freezes after loading the second instance of it at that message. It will just indefinitely hang. Because Redux does this, Radium does too. You have to kill Radium.

I may start looking into Faust more then for my plugin fix. Some of Radium's coolest plugins are faust-made, and they tend to run great (I really like Tapiir and the granular sampler).

Let me know if there is anything else I can do to help you. I have paid for both Redux and Renoise, so if I need to be the one to contact a certain person at Renoise, let me know!
brandflake11
Posts: 20
Joined: 17 May 2020 18:18

Re: Getting Less Crashes in Radium

Post by brandflake11 »

I found another plugin that was crashing my project at random times: the vst (not vst3) version of surge synthesizer from the AUR: surge-synthesizer-bin. Now, this might be my fault for using this older version, but the newer version in the arch community repo only has vst3 and lv2 as the plugin format.

I replaced this synth and am getting much better reliability it seems so far.
teteros
Posts: 6
Joined: 18 Jan 2019 18:39

Re: Getting Less Crashes in Radium

Post by teteros »

brandflake11 wrote: 27 May 2020 21:57 With the latest redux demo it still crashes when loading two instances:
Weird, I'm on vanilla Arch Linux and I can't reproduce any of these crashes with latest Redux 1.1.1 demo and zam plugins.
Maybe it's because I'm on the open source amdgpu drivers rather than NVIDIA's?
I'm radium 5.9.98 from AUR:
ss.png
ss.png (89.35 KiB) Viewed 29018 times
brandflake11 wrote: 28 May 2020 15:42 the vst (not vst3) version of surge synthesizer from the AUR: surge-synthesizer-bin. Now, this might be my fault for using this older version
If you can you should really avoid using binary blobs/proprietary audio plugins if you're on a distro that's not officially supported by the vendor. Recent problem for example is that glibc 2.31 came out and it deprecated a part of the math library, breaking some plugins on "bleeding-edge" distros that have it already when you can't recompile yourself. See this thread where Ardour plugins had this issue for instance.

I've wondered why you're not using the VST3 version of Surge, then I tried it and Radium just doesn't read it it seems:

Code: Select all

No valid plugins found in /home/tete/.vst3/Surge.vst3/Contents/x86_64-linux/Surge.so
My guess is either JUCE doesn't like this plugin or the VST Paths menu in Radium options is only for VST2 plugins and of course Surge isn't a valid VST3 plugin in this case so it's skipped if you add /home/USER/.vst3 as a search path.
I could load this plugin in REAPER though.
brandflake11 wrote: 28 May 2020 15:42 the newer version in the arch community repo only has vst3 and lv2 as the plugin format.
Naturally since VST2 is deprecated and the SDK is not available publicly by Steinberg anymore, Surge removed it from its packaging. However you can use these steps to compile a VST2 version of Surge manually:

Code: Select all

# Install steinberg-vst36 from AUR or download the VST2 SDK from this link:
# https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip
# Assuming you use the AUR package or otherwise above is extracted to /usr/include/vst36
git clone --recurse-submodules --depth=1 "https://github.com/surge-synthesizer/surge"
cd surge
mkdir -p buildlin/public.sdk/source
ln -s /usr/include/vst36 buildlin/public.sdk/source/vst2.x
export VST2SDK_DIR=buildlin
./build-linux.sh -l -p vst2 build
./build-linux.sh -l -p vst2 install
Then add /home/YOUR_USER/.vst to Radium's VST search path and rescan the plugins and surge should show up.

@kjetil If you want to investigate why Surge3 is failing you can use:

Code: Select all

git clone --recurse-submodules --depth=1 "https://github.com/surge-synthesizer/surge"
cd surge
./build-linux.sh -l -p vst3 build
./build-linux.sh -l -p vst3 install
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Getting Less Crashes in Radium

Post by kjetil »

Maybe it's because I'm on the open source amdgpu drivers rather than NVIDIA's?
Regarding the ZamDelay plugin, there seems to be a memory corruption issue. It's probably coincidental when it happens. For me, it crashes just when I try to load it. All other Zam plugins seems to work fine.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Getting Less Crashes in Radium

Post by kjetil »

My guess is either JUCE doesn't like this plugin or the VST Paths menu in Radium options is only for VST2 plugins and of course Surge isn't a valid VST3 plugin in this case so it's skipped if you add /home/USER/.vst3 as a search path.
JUCE didn't have support for VST3 on Linux last time I checked (not so long ago). I will probably update JUCE as soon as VST3 is supported.
Post Reply