Figma-Linux/figma-linux

Uh oh… we can't open that file

Opened this issue · 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.

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

I managed to fix it by enabling the feature flag in this comment
#206 (comment)

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.