[LINUX] Crash on a fresh Ubuntu Studio 26.04

Hi all !

Just installed the new version of Ubuntu Studio on my main workstation.
Vital crashes on Bitwig Studio, and then I tried to make it work with the standalone version and I get this message on the terminal :

/home/runner/work/vital/vital/plugin_framework/third_party/bgfx.cmake/bgfx/src/glcontext_egl.cpp (425): BGFX FATAL 0x00000002: Failed to create surface.
Abandon                    (core dumped) ./Vital

I’ll try to investigate but any help would be really appreciated ! :slight_smile:

My config :
Ubuntu Studio 26.04 - Linux kernel 7.0.0-14-generic
Intel i7 6700 4 Ghz
NVIDIA GeForce GTX 1650
32 GB RAM

Have a nice day !

Ok, so it works on 1.0.7 (standalone and VST) but obviously I can’t open the presets from last years… Works also with 1.5.4, will test on another versions later

Same happens with fresh Ubuntu 26.04 based on Wayland, fresh Reaper 7.70 and fresh Vital 1.6.4… Reaper crashes with vst, vst3 and clap versions of Vital. Trying to fix permissions without success.

While trying to install previous versions of Vital found that 1.6.0 working!
Try to install 1.6.4 after 1.6.0. Reaper crashes. Reinstall 1.6.0. Reaper is working now.

Waiting for 1.6.5

1 Like

Same problems here with Ubuntu 24.04. Vital stable 1.0.7 and early access 1.6.4 are crashing in Reaper 7.69 and Bitwig 6.0.6

In Bitwig Vital opens and crashes when installing factory content. Reaper crashes immediately when chosing Vital as VST.

Sad situation for Linux users…

edit: Works for me when doing the following:

  • I use Linux ZIP instead of RPM and only copy over .vst3 directory
  • cancel installation of factory presets dialog when plugin opens
  • install factory presets using “import bank” dialog and choose the manually downloaded file

I did some digging with a debugger today (will post a report thread when I am able to). It’s caused due to some Wayland & X11 incompatibility issues.

Without getting too technical there is a function in Vital called setRenderContextSize and it expects 3 values to be given to it, including resolution height and width. But due to X11 and Wayland, the way that information is given to Vital is mapped different in memory, which is causing Vital to receive resolution values way outside the bounds allowed for display resolutions.

Unfortunately a second issue is the way Vital gets these values can’t be overwritten by forcing X11 at the application layer, so you need to force it a lower level.

Fortunately Slart on the Discord posted 2 scripts to do this, 1 for Bitwig (Flatpak version) and 1 for Reaper.


(See following response for Reaper as only 1 embed allowed per post)

However depending on your system you may need to edit the version of 50_mesa.json as yours may not be 50. You can check with these commands (varies per system), then change the number accordingly.

ls -l /usr/share/glvnd/egl_vendor.d/
ls -l /etc/glvnd/egl_vendor.d/

On reaper, you need to change the path to reaper as well.

1 Like

Slarts Reaper solution as mentioned in above post:

1 Like