Figma-Linux / figma-linux

Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join us in https://t.me/figma_linux
GNU General Public License v2.0
2.6k stars 160 forks source link

Having trouble with WebGL #112

Open heri16 opened 4 years ago

heri16 commented 4 years ago

Bug description

Not able to open any project.

Error Message:

Uh oh... we can't open that file

We can't open this file because we're having trouble with WebGL. Please try restarting the desktop app.

If this problem persists, your graphics card or driver may not be supported.

Console:

xdg-settings: default-url-scheme-handler not implemented for xfce
You've got a 1300 fonts in your os.
(node:6956) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:6956) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
[wm] already signed in? true
figma.st cookie changed: explicit figma.st .www.figma.com 
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230
local fonts support is enabled
local fonts support is enabled

Workaround: "/opt/figma-linux/figma-linux --disable-seccomp-filter-sandbox" Warning! The above may expose you to russian viruses / malware.

Screenshots Screenshot_2020-06-17_15-22-51

Additional context Figma installed via AUR on Manjaro latest (Archlinux)

talentlessguy commented 4 years ago

Check if your graphics drivers are installed properly:

send outputs of inxi -G and glxinfo | grep OpenGL

maudrid commented 3 years ago
Graphics:  Device-1: NVIDIA GM204 [GeForce GTX 980] driver: nvidia v: 450.66 
           Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 2560x1440~60Hz, 2560x1440~60Hz 
           OpenGL: renderer: GeForce GTX 980/PCIe/SSE2 v: 4.6.0 NVIDIA 450.66 
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 980/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 450.66
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 450.66
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.66
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
maudrid commented 3 years ago

This seems to be the same issue as here: https://github.com/rstudio/rstudio/issues/6379

rvalayodapillai commented 3 years ago

Download Figma from here, it should solve the issue.

Sidd5arth commented 1 year ago

I had the same problem so do this - update graphics driver and reinstall figma.

CodeFreakk commented 1 year ago

Download Figma from here, it should solve the issue

where can I get for windows

PixsaOJ commented 2 months ago

Same issue, started happening couple weeks ago

PixsaOJ commented 2 months ago

prime-run figma-linux is working for me. Need to modify shortcut tough.

if figma-linux is not found in your system, then point to AppImage or set environment variables in snap/flatpak.

Using Flatseal for Flatpak version is great. Maybe you can find variables that enables GPU for you.

Visit Arch guide for dual GPU-s, there is lot of info, even if you are not on arch.

danielomer commented 2 weeks ago

prime-run figma-linux is working for me. Need to modify shortcut tough.

if figma-linux is not found in your system, then point to AppImage or set environment variables in snap/flatpak.

Using Flatseal for Flatpak version is great. Maybe you can find variables that enables GPU for you.

Visit Arch guide for dual GPU-s, there is lot of info, even if you are not on arch.

Thanks man, that worked for me. (arch linux garuda)