magenta-studio
magenta-studio copied to clipboard
Linux Build issues
I was able to build magenta-studio standalone app on Debian Stretch in the past but have never been able to on Debian Buster
yarn -v 1.22.4
npm -v 6.14.5
node -v v14.5.0
I decided to try again and am still encountering problems. The first is this when trying to run any of the apps for example
./Continue
Returns this error:
The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure ~/dev/magenta-studio/dist/linux-standalone-1.0.0/Continue-linux-x64/chrome-sandbox is owned by root and has mode 4755.
sudo chmod 4755 chrome-sandbox
sudo chown root:root chrome-sandbox
does not resolve it
However running
sudo sysctl kernel.unprivileged_userns_clone=1
will allow the program to run but now presents a new error...
./Continue
(Continue:10932): Gtk-WARNING **: 14:37:45.092: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(Continue:10932): Gtk-WARNING **: 14:37:45.092: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(Continue:10932): Gtk-WARNING **: 14:37:45.092: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
[10961:0710/143745.332715:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
in the command line and this pop up
Another thing I noticed is building using npm gives a white screen that cannot be dragged.
Building using yarn displays a screen that matches my desktop theme and is draggable
As well (must use ALSA to JACK bridge) the yarn version connects to audio whereas the npm build does not
The latest commit where electron was bumped 5 major versions broke this.
I get the same error message but window actually renders, however the choose file button is completely broken.
if i revert to c76f20ca89f9ca4afaa86ca42f86f52d0a915edb, everything works as expected.
The latest commit where electron was bumped 5 major versions broke this.
I get the same error message but window actually renders, however the choose file button is completely broken.
if i revert to c76f20c, everything works as expected.
I reverted to this commit c76f20c and it successfully built on Linux and runs without error Thanks @DarkRTA
I ran into similar issues, using Debian. although I'm currently running sid so i have: npm -v 7.3.0
node -v v15.5.1
reverting to c76f20c did not work for me i still get the unmovable white box