njbrown / texturelab

Free, Cross-Platform, GPU-Accelerated Procedural Texture Generator
Other
740 stars 46 forks source link

TextureLab crashes on Ubuntu 20.04 #16

Closed leonard7e closed 4 years ago

leonard7e commented 4 years ago

OS: Ubuntu Linux 20.04 GPU: GeForce RTX 2060 SUPER CPU: AMD Ryzen 7 1800X

There is a strange problem. There are two computers here, both use (xfce) XUbuntu 20.04. TextureLab works fine on my 2-core Celeron shoebox. But on the other (Ryzen based) PC it just opens a white window.

TextureLab's Console feedback (Ryzen system). I tried the TextureLab-AppImage and the TextureLab from compressed archive.

# The AppImage
leonard@LuckDragon:~$ TextureLabLinux-v0.2.0.AppImage 
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230

# Decompressed from archive
leonard@LuckDragon:~$ cd app/TextureLab/
leonard@LuckDragon:~/app/TextureLab$ ls
chrome_100_percent.pak  chrome-sandbox  libEGL.so     libGLESv2.so          LICENSES.chromium.html  natives_blob.bin  resources.pak      swiftshader  v8_context_snapshot.bin
chrome_200_percent.pak  icudtl.dat      libffmpeg.so  LICENSE.electron.txt  locales                 resources         snapshot_blob.bin  texturelab
leonard@LuckDragon:~/app/TextureLab$ ./texturelab 
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230

Just now I refreshed both Ubuntu systems with sudo apt update; sudo apt upgrade Still the same issue on the other Pc.

iKlsR commented 4 years ago

What happens if you try building from source?

iKlsR commented 4 years ago

@njbrown You might want to explicitly bump electron.

njbrown commented 4 years ago

@iKlsR I'll update electron. We've addressed this issue before here #11. I might have to do an interim release since this seems to be a recurring issue.

@leonard7e are you ok with building from source and telling us if the issue has been resolved?

leonard7e commented 4 years ago

I am sorry, I did not look at closed issues.

After building TextureLab, I did "npm run electron:serve". Still screen. Used Firefox and chromium.

Screenshot screenshot

leonard7e commented 4 years ago

Chromium browser console shows an error message.

scrs_chromium

In Firefox console, similar error message. "Uncaught ReferenceError: require is not defined"

njbrown commented 4 years ago

The app shouldn't be running in the inside the browser; an electron window should popup. Try using yarn electron:serve and let me know if it works.

@iKlsR I might just remove the npm instructions once and for all.

leonard7e commented 4 years ago

I tried with yarn. Now TextureLab works. :-)

njbrown commented 4 years ago

Awesome!

@iKlsR definitely dropping npm instructions.

njbrown commented 4 years ago

@leonard7e I'd recommend building from the v0.2.0 tag since it's the latest official release. There's no guarantee of the stability of master.

https://github.com/njbrown/texturelab/tree/v0.2.0

leonard7e commented 4 years ago

Ok, I will do. Thank you for your help. :-)