figma-linux icon indicating copy to clipboard operation
figma-linux copied to clipboard

Uh oh… we can't open that file

Open denysdesign opened this issue 1 year ago • 3 comments

  • App version: 0.11.4-0

  • The output of screenfetch:
    ██████████████████ ████████ @ ██████████████████ ████████ OS: Manjaro 24.0.2 Wynsdey ██████████████████ ████████ Kernel: x86_64 Linux 6.9.3-3-MANJARO ██████████████████ ████████ Uptime: 4h 25m ████████ ████████ Packages: 1529 ████████ ████████ ████████ Shell: zsh 5.9 ████████ ████████ ████████ Resolution: 1920x1080 ████████ ████████ ████████ DE: KDE ████████ ████████ ████████ WM: KWin ████████ ████████ ████████ GTK Theme: Breeze [GTK2/3] ████████ ████████ ████████ Icon Theme: breeze ████████ ████████ ████████ Disk: 475G / 3,7T (14%) ████████ ████████ ████████ CPU: AMD Ryzen 7 4800H with Radeon Graphics @ 16x 4.3GHz ████████ ████████ ████████ GPU: AMD Radeon Graphics (radeonsi, renoir, LLVM 17.0.6, DRM 3.57, 6.9.3-3-MANJARO) RAM: 13278MiB / 15407MiB

  • Type of installed package (Snap, AppImage, deb, rpm, pacman): pacman

Bug description 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.

denysdesign avatar Jun 28 '24 13:06 denysdesign

I'm having the same problem. A workaround I found consistent is launching the app from the terminal.

rasteli avatar Jun 29 '24 16:06 rasteli

I managed to fix it by enabling the feature flag in this comment https://github.com/Figma-Linux/figma-linux/issues/206#issuecomment-2137872366

momaqbol avatar Jul 02 '24 12:07 momaqbol

I'm not sure why, but it happens because of this flag that is in the figma launcher --enable-webgl-image-chromium. Figma works fine on Ubuntu but on Manjaro I haven't figured out why it doesn't work yet.

Editing the file /usr/share/applications/figma-linux.dekstop and by removing the flag above you will be able to start the application normally (ref).

I'm having the same problem. A workaround I found consistent is launching the app from the terminal.

Opening Figma via the terminal is different from opening it via the launcher, which is why the workaround worked. See the difference between the default commands:

From terminal:

figma-linux --allow-file-access-from-files --enable-gpu-rasterization --enable-experimental-canvas-features --use-vulkan --enable-features=Vulkan --disable-color-correct-rendering

From laucher:

/opt/figma-linux/figma-linux --no-sandbox --enable-oop-rasterization --ignore-gpu-blacklist -enable-experimental-canvas-features --enable-accelerated-2d-canvas --force-gpu-rasterization --enable-fast-unload --enable-accelerated-vpx-decode=3 --enable-tcp-fastopen --javascript-harmony --enable-checker-imaging --v8-cache-options=code --v8-cache-strategies-for-cache-storage=aggressive --enable-zero-copy --ui-enable-zero-copy --enable-native-gpu-memory-buffers --enable-webgl-image-chromium --enable-accelerated-video --enable-gpu-rasterization --allow-file-access-from-files --enable-gpu-rasterization --enable-experimental-canvas-features --use-vulkan --enable-features=Vulkan --disable-color-correct-rendering

And just to add, the workaround mentioned by @Enjoy2Live didn't work for me.

alanmatiasdev avatar Aug 24 '24 14:08 alanmatiasdev