Page 3 of 3

Re: LHI Audio's debut plug-in, Cadmium

Posted: Sun Nov 18, 2018 12:36 pm
by sysrqer
lilith wrote:
sysrqer wrote:
lilith wrote:
Do you get a back trace?
No, I don't really have time to investigate too much at the moment.
What Cadmium version are you using? This is from Discord:
.............
Hey everybody, Cadmium 1.0.1 is out! This is a bugfix release, and just a Linux one at that.

The issues resolved are both "frozen" or non-displayed UI with recent Mesa versions or NVidia cards, and also a crash/segfault opening the UI with AMDGPU-driven cards.

New demos are up on lhiaudio.com, and for the full version, re-download it from your confirmation email. The "Download" link in your confirmation email always downloads the latest version.
Unfortunately, this doesn't fix it for me.
Renoise log says this:

Code: Select all

VstPlugs: Trying to instantiate /home/alex/.vst/cadmium-1.0.2-linux-64-demo/cadmium.so
VstPlugs: Analyzing VST plugin 'LHI Audio: cadmium', Unique ID:1464615748, Version:2400
VstPlugs: Instantiate OK

VstWindow: Creating a new X11Window...
VstWindow: Setting X11Window properties...
VstWindow: Give the plug access to the X11Window...
VstWindow: Query the X11Window child...
VstWindow: Child window has no _EventProc property set...
VstWindow: Setting new Windowsize 1118, 707
VstWindow: Mapping the window...
VstWindow: Setting new Windowsize 1118, 707

CrashLog: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fe67e339890]
CrashLog: [0x4114be79]
CrashLog: [0x7fe61c69bc70]
CrashLog: /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.396.54(_nv020glcore+0) [0x7fe626eaa500]

Application: Caught an unhandled fatal exception (Thread: ???)!
Application: Saving a backup...

Application: Terminating...

Re: LHI Audio's debut plug-in, Cadmium

Posted: Sun Nov 18, 2018 2:03 pm
by wrl
Sorry for the delay getting back to folks here.
sysrqer wrote:Finally got around to trying this and it unfortunately crashes renoise when the gui tries to come up. Ldd looks ok as far as I can tell:

I think the GPU supporting OpenGL 3.2 requirement might be the problem but I've no idea how to check that against what I have. If this helps at all:

Code: Select all

Graphics:  Card: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1920x1080@59.98hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 396.54 Direct Render: Yes
Yeah, the GPU all looks fine. It would be very helpful if you could clone Rutabaga, the UI toolkit I use in Cadmium, and see if the test application runs.

Code: Select all

git clone https://github.com/wrl/rutabaga
cd rutabaga
./waf configure build
./build/examples/test
Let me know how that goes and we can narrow this down from there.

Re: LHI Audio's debut plug-in, Cadmium

Posted: Sun Nov 18, 2018 3:21 pm
by sysrqer
wrl wrote: Let me know how that goes and we can narrow this down from there.
I had to install the following packages to get through the configure:
  • libfreetype6-dev
    libxcb-xkb-dev
    libxcb-icccm4-dev
    libxcb-cursor-dev
    libxkbfile-dev
    libxkbcommon-dev
    libxkbcommon-x11-dev
    libxrender-dev
Appeared to build ok in the in end and I was able to get the gui from this to come up, could see all the knobs and could move them.

Code: Select all

[alex ~/temp2/rutabaga][master] ./waf configure build
Setting top to                           : /home/alex/temp2/rutabaga 
Setting out to                           : /home/alex/temp2/rutabaga/build 

Checking for 'gcc' (C compiler)          : /usr/bin/gcc 

Checking for alloca() in stdlib.h        : yes 
Checking for program 'pkg-config'        : /usr/bin/pkg-config 
Checking for 'gl'                        : yes 
Checking for 'freetype2'                 : yes 
Checking for 'x11-xcb'                   : yes 
Checking for 'xcb'                       : yes 
Checking for 'xcb-xkb'                   : yes 
Checking for 'xcb-icccm'                 : yes 
Checking for 'xcb-cursor'                : yes 
Checking for 'xkbfile'                   : yes 
Checking for 'xkbcommon'                 : yes 
Checking for 'xkbcommon-x11'             : yes 
Checking for 'xrender'                   : yes 

Checking for 'jack'                      : yes 

'configure' finished successfully (0.179s)
Waf: Entering directory `/home/alex/temp2/rutabaga/build'
[  1/108] Compiling third-party/libuv/src/unix/tcp.c
[  2/108] Compiling third-party/libuv/src/threadpool.c
[  3/108] Compiling third-party/libuv/src/unix/stream.c
[  4/108] Compiling third-party/libuv/src/unix/signal.c
[  5/108] Compiling third-party/libuv/src/inet.c
[  6/108] Compiling third-party/libuv/src/unix/process.c
[  7/108] Compiling third-party/libuv/src/unix/poll.c
[  8/108] Compiling third-party/libuv/src/fs-poll.c
[  9/108] Compiling third-party/libuv/src/unix/pipe.c
[ 10/108] Compiling third-party/libuv/src/unix/loop-watcher.c
[ 11/108] Compiling third-party/libuv/src/unix/getnameinfo.c
[ 12/108] Compiling third-party/libuv/src/unix/fs.c
[ 13/108] Compiling third-party/libuv/src/unix/getaddrinfo.c
[ 14/108] Compiling third-party/libuv/src/unix/linux-syscalls.c
[ 15/108] Compiling third-party/libuv/src/unix/dl.c
[ 16/108] Compiling third-party/libuv/src/unix/linux-inotify.c
[ 17/108] Compiling third-party/libuv/src/unix/core.c
[ 18/108] Compiling third-party/libuv/src/unix/async.c
[ 19/108] Compiling third-party/libuv/src/unix/udp.c
[ 20/108] Compiling third-party/libuv/src/unix/tty.c
[ 21/108] Compiling third-party/libuv/src/unix/timer.c
[ 22/108] Compiling third-party/libuv/src/version.c
[ 23/108] Compiling third-party/libuv/src/uv-common.c
[ 24/108] Compiling third-party/libuv/src/unix/thread.c
[ 25/108] Compiling third-party/libuv/src/unix/loop.c
[ 26/108] Compiling third-party/libuv/src/unix/proctitle.c
[ 27/108] Compiling third-party/libuv/src/unix/linux-core.c
[ 28/108] Processing styles/default/assets/text_input_normal.tga
[ 29/108] Processing styles/default/assets/text_input_normal.tga
[ 30/108] Processing styles/default/fonts/open_sans/OpenSans-Regular.ttf
[ 31/108] Processing styles/default/assets/tile.tga
[ 32/108] Processing styles/default/assets/button_normal.tga
[ 33/108] Processing styles/default/assets/button_hover.tga
[ 34/108] Processing styles/default/assets/button_active.tga
[ 35/108] Processing styles/default/assets/button_focus.tga
[ 36/108] Processing styles/default/assets/bknob_bg.tga
[ 37/108] Processing styles/default/assets/bknob_rotor.tga
[ 38/108] Processing styles/default/assets/text_input_focus.tga
[ 39/108] Processing styles/default/style.css
[ 40/108] Compiling src/element.c
[ 41/108] Compiling src/mat4.c
[ 42/108] Compiling src/platform/x11-xcb/keyboard.c
[ 43/108] Compiling src/render.c
[ 44/108] Compiling src/stylequad.c
[ 45/108] Compiling src/shader.c
[ 46/108] Compiling src/surface.c
[ 47/108] Compiling third-party/freetype-gl/vertex-attribute.c
[ 48/108] Linking build/third-party/libuv.a
[ 49/108] Compiling src/quad.c
[ 50/108] Compiling third-party/freetype-gl/vector.c
[ 51/108] Compiling src/atom.c
[ 52/108] Compiling third-party/freetype-gl/texture-font.c
[ 53/108] Compiling third-party/glloadgen/gl_core.3.2.c
[ 54/108] Compiling third-party/freetype-gl/vertex-buffer.c
[ 55/108] Compiling src/widgets/spinbox.c
[ 56/108] Compiling src/widgets/knob.c
[ 57/108] Compiling src/rutabaga.c
[ 58/108] Compiling src/platform/x11-xcb/clipboard.c
[ 59/108] Compiling src/widgets/value.c
[ 60/108] Compiling src/text/text-buffer.c
[ 61/108] Compiling src/text/text-object.c
[ 62/108] Compiling src/platform/x11-xcb/cursor.c
[ 63/108] Compiling build/styles/default/assets/text_input_normal.tga.c
[ 64/108] Compiling build/styles/default/assets/text_input_normal.tga.c
[ 65/108] Compiling build/styles/default/assets/button_normal.tga.c
[ 66/108] Compiling src/asset.c
[ 67/108] Compiling src/platform/x11-xcb/window.c
[ 68/108] Compiling build/styles/default/assets/button_hover.tga.c
[ 69/108] Compiling build/styles/default/assets/button_active.tga.c
[ 70/108] Compiling src/platform/mouse.c
[ 71/108] Compiling build/styles/default/assets/button_focus.tga.c
[ 72/108] Compiling third-party/freetype-gl/texture-atlas.c
[ 73/108] Compiling build/styles/default/assets/tile.tga.c
[ 74/108] Compiling build/styles/default/assets/bknob_rotor.tga.c
[ 75/108] Compiling build/styles/default/assets/text_input_focus.tga.c
[ 76/108] Compiling src/event.c
[ 77/108] Compiling build/styles/default/style.c
[ 78/108] Compiling build/styles/default/assets/bknob_bg.tga.c
[ 79/108] Compiling src/platform/x11-xcb/event.c
[ 80/108] Compiling src/widgets/patchbay/node.c
[ 81/108] Compiling src/widgets/patchbay/port.c
[ 82/108] Compiling src/widgets/button.c
[ 83/108] Compiling src/widgets/text-input.c
[ 84/108] Compiling src/style.c
[ 85/108] Compiling src/container.c
[ 86/108] Compiling build/styles/default/fonts/open_sans/OpenSans-Regular.ttf.c
[ 87/108] Compiling src/layout.c
[ 88/108] Compiling src/widgets/label.c
[ 89/108] Compiling examples/test.c
[ 90/108] Compiling examples/basic.c
[ 91/108] Compiling examples/txtest.c
[ 92/108] Compiling examples/tiny.c
[ 93/108] Compiling examples/cabbage_patch.c
[ 94/108] Processing glsl_to_c_header: src/shaders/default.vert.glsl src/shaders/default.frag.glsl -> build/src/shaders/default.glsl.h
[ 95/108] Processing glsl_to_c_header: src/shaders/surface.vert.glsl src/shaders/surface.frag.glsl -> build/src/shaders/surface.glsl.h
[ 96/108] Processing glsl_to_c_header: src/shaders/text.vert.glsl src/shaders/text.frag.glsl -> build/src/shaders/text.glsl.h
[ 97/108] Processing glsl_to_c_header: src/shaders/patchbay-canvas.vert.glsl src/shaders/patchbay-canvas.frag.glsl -> build/src/shaders/patchbay-canvas.glsl.h
[ 98/108] Processing glsl_to_c_header: src/shaders/stylequad.vert.glsl src/shaders/stylequad.frag.glsl -> build/src/shaders/stylequad.glsl.h
[ 99/108] Compiling src/text/font-manager.c
[100/108] Compiling src/window.c
[101/108] Compiling src/widgets/patchbay/canvas.c
[102/108] Linking build/src/librutabaga.a
[103/108] Linking build/styles/librtb_style_default.a
[104/108] Linking build/examples/test
[105/108] Linking build/examples/basic
[106/108] Linking build/examples/txtest
[107/108] Linking build/examples/tiny
[108/108] Linking build/examples/cabbage_patch
Waf: Leaving directory `/home/alex/temp2/rutabaga/build'
'build' finished successfully (2.846s)

Still the same result in renoise though.

Re: LHI Audio's debut plug-in, Cadmium

Posted: Sun Nov 18, 2018 11:19 pm
by wrl
sysrqer wrote:Appeared to build ok in the in end and I was able to get the gui from this to come up, could see all the knobs and could move them.
There's an issue I'm aware of which you might be hitting which has so far only cropped up on Windows, but yours has all the symptoms. Could you drop me an email at support@lhiaudio.com? I'd like to send you a debug build, which I would prefer not to post publicly.