Sorry if this is on the wrong place.
Anyway, I’m “covering” for a fellow lecturer for the next month and the class is using Figma. I installed figma-linux to avoid using the browser (which for some reason is not the preferred way for the other lecturers) and… WebGL errors!
Strange message saying that my browser (??? maybe because it is an electron app? or something) does not support webGL and so on…
I updated my graphic card drivers (Nvidia) and still same issue.
To rub salt into the wound, if I boot up windows (that I only use for Word and now, apparently, Figma) it just runs!
I may not be much help but some more information will help other to give you ideas/solutions. How did you install figma? From the AUR (if so which package?) or Snap?
I’m afraid I tried both ways. First I went with the AUR (I think I installed the figma-linux and not the -bin or the -git) and then I tried the flatpak, with my reasoning being that the flatpak should be self-contained so not dependent of… something that was/is missing.
According to the AUR comments the WebGL issue, which others have also experienced, is related to the /share/applications/figma-linux.desktop file.
One suggestion offered there by @ijann is to edited that file to a simpler form. Others have said it runs from terminal (presumably the command I gave you).
I’m a bit ashamed to say that I totally forgot to check the comments and rather tried to google the answer, to no avail!
I still need to see if in the -bin version it behaves “out of the box” but this, (/opt/…) does the trick!
EDIT: This made me think and I went and tried to see what command I was issuing when calling the application and… it was /opt/figma-linux/figma-linux!!! However, the arguments being passed were less than ideal, I think:
I don’t understand all of them, but the WebGL chromium has to be a leftover of the application as a electron app, as well as the V8 (which are, if not mistaken, browser render related stuff)… I deleted all - probably a mistake in the long(er) run - and now it works without going to the terminal!