figma-linux
figma-linux copied to clipboard
[Question] How do I Launch figma with Electon flags (for NVIDIA PRIME rendering)?
I made electron work with NVIDIA PRIME using these flags:
__NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER="NVIDIA-G0" __GLX_VENDOR_LIBRARY_NAME="nvidia" __VK_LAYER_NV_optimus="NVIDIA_only" electron --enable-accelerated-mjpeg-decode --enable-accelerated-video --ignore-gpu-blacklist --enable-native-gpu-memory-buffers --enable-gpu-rasterization
is there any way to do the same but in figma-linux
?
When I try to pass these same flags it falls back to software SwiftShader
rendering
@talentlessguy the app use GPU by default
@ChugunovRoman by default the application uses integrated GPU on Optimus laptops with dual graphics card
Sometimes users want to render figma on discrete gpu, but it not working
@dmirubtsov I have a laptop with Optimus and the app uses discrete GPU. But if in a system uses integrated GPU, then figma-linux will used integrated GPU too.
@ChugunovRoman do you use prime offloading? https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html