Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uh oh… we can't open that file #390

Open
denysdesign opened this issue Jun 28, 2024 · 3 comments
Open

Uh oh… we can't open that file #390

denysdesign opened this issue Jun 28, 2024 · 3 comments

Comments

@denysdesign
Copy link

  • 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.

@rasteli
Copy link

rasteli commented Jun 29, 2024

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

@Enjoy2Live
Copy link

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

@alanmatiasdev
Copy link

alanmatiasdev commented Aug 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants