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.68k stars 163 forks source link

€25 Bounty - Please fix AMD GPU functionality. #271

Open snarkyalyx opened 2 years ago

snarkyalyx commented 2 years ago

Hey there,

As you can see in issue #258, #242, #206 and various more, performance on systems with AMD graphics acceleration is limited.

Because Open Source has a general funding problem, I'm giving out a small update bounty that might motivate someone to fix this! If anyone here wants to add to the bounty, feel free - the developers would probably appreciate it!

All the best

ChugunovRoman commented 2 years ago

@Awoolyx The bounty is not needed. PayPal blocked russian accounts. I won't able to get your bounty

ChugunovRoman commented 2 years ago

@Awoolyx try 0.9.6 release

snarkyalyx commented 2 years ago

@ChugunovRoman Thank you so much for the fix! Works like a charm now.

Sucks that the actions of your government must affect you people. The second you're able to receive payment through PayPal or other payment methods, feel free to send me an email via alyx@bucki.co to claim the bounty - I might just double down if you have to wait a few months.

Have a good one

snarkyalyx commented 2 years ago

Actually, let me reopen this.

@ChugunovRoman - When making the window better, the performance is still a little bit stuttery. I don't know why, as the logs aren't spitting anything out at the moment. I

ChugunovRoman commented 2 years ago

@Awoolyx how you did install the app? If pacman, deb or rmp package, you can try to delete the lib folder and libm.so.6 and libz.so.1 from /opt/figma-linux/ directory. But I'm not sure if this will help.

snarkyalyx commented 2 years ago

I tried via the AppImage as I'm waiting for the AUR to update. I'll do it once I have time.

snarkyalyx commented 2 years ago

I had some issues with glibc because figma-linux is loading via /opt/figma-linux opposed to /usr/lib/figma-linux, causing it to fail on launch.

Doing this resolved my issue: LD_PRELOAD=/usr/ib/[libm.so](http://libm.so/).6 figma-linux

Before, I got: figma-linux: /opt/figma-linux/[libm.so](http://libm.so/).6: version GLIBC_2.35' not found (required by /usr/lib/[libcairo.so](http://libcairo.so/).2) when trying to launch.

Otherwise, performacne is great

snarkyalyx commented 2 years ago

Appears to have an issue with mesa's libva drivers as well: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

RaulOn18 commented 2 years ago

@Awoolyx hey, I got the same problem, 'figma-linux: /opt/figma-linux/libm.so.6: version GLIBC 2.35' not found (needed by /usr/lib/libcairo.so.2), could you please tell me how you type this command, LD PRELOAD=/usr/lib/[libm.so](http://libm.so/).6