x42/meters.lv2

issue with bbc meter, din meter, 1/3 octave spectrum display ... AND Carla TROUGH X11VNC

Opened this issue · 5 comments

all this lv2 plugins fail when they are used through x11vnc : carla ends with segmentation fault, jalv don't show anything ...

Thanks

x42 commented

By default the plugins use ExternalUI (render directly w/hardware acceleration). You need jalv.extui to display them.

Alternatively you can compile the plugins with make EXTERNALUI=no (Note: if you do compile them to be embeddable, the screen-update frequency cannot be guaranteed and the meter ballistics may be inaccurate)

Trying with jalv.extui gives a segmentation fault on the distant client (xtightvncviewer) X display :

a@tryo:~$ jalv.extui http://gareus.org/oss/lv2/meters#BBCstereo
Plugin: http://gareus.org/oss/lv2/meters#BBCstereo
UI: http://gareus.org/oss/lv2/meters#needle_gl
UI Type: http://kxstudio.sf.net/ns/lv2ext/external-ui#Widget
JACK Name: BBC Meter (Stereo)
Block length: 128 frames
MIDI buffers: 32768 bytes
Comm buffers: 524288 bytes
Update rate: 25.0 Hz

ref = -18.000000
levelL = 0.000000
levelR = 0.000000
Erreur de segmentation
a@tryo:~$

But all is ok on the server side, BBC meters appears (with a local X display)

x42 commented

Smells like an OpenGL issue. Can you run glxinfo or glxgears via VNC?
Might be similar to #15

yes :

a@tryo:~$ glxinfo
name of display: :1
Error: couldn't find RGB GLX visual or fbconfig

a@tryo:~$

x42 commented

You should be able to compile the plugins using software emulated GL, or rather configure that virtual X server to emulate GL. Not sure if it's a good idea in this case (viualization) but I suppose you'll run into the same issues with various DPF/carla plugins down the road as well.