Code Monkey home page Code Monkey logo

Comments (15)

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

What the graphic card you have?
Send to me the output of the next command:

lspci | grep -iE '(3D|VGA)'

or just

lspci

And the output of the next cmd:

glxinfo | grep OpenGL

Is www.figma.com works fine from a browser on your PC? For example, in google chrome.

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Just try install bumblebee and bumblebee-nvidia if you have nvidia card.

from figma-linux.

hashevskyi avatar hashevskyi commented on July 21, 2024
taras@Juno:~$ lspci | grep -iE '(3D|VGA)'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood PRO [Radeon HD 5550/5570/5630/6510/6610/7570]
taras@Juno:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI Bridge (PCI Express Graphics Port 0)
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI Bridge (PCI Express Port 2)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood PRO [Radeon HD 5550/5570/5630/6510/6610/7570]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
taras@Juno:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD REDWOOD (DRM 2.50.0 / 4.15.0-24-generic, LLVM 6.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.0-rc5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.0-rc5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

from figma-linux.

hashevskyi avatar hashevskyi commented on July 21, 2024

yes, in browser figma.com works fine

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Hmmm...
Enter chrome://gpu/ in google chrome in the url field. What have values of the webGL and webGL2 params?
Try:

sudo apt install libglx-mesa0 libgl1-mesa-glx libopengl0

from figma-linux.

hashevskyi avatar hashevskyi commented on July 21, 2024

WebGL: Hardware accelerated WebGL2: Hardware accelerated

from figma-linux.

hashevskyi avatar hashevskyi commented on July 21, 2024

taras@Juno:~$ sudo apt install libglx-mesa0 libgl1-mesa-glx libopengl0 [sudo] password for taras: Reading package lists... Done Building dependency tree Reading state information... Done libgl1-mesa-glx is already the newest version (18.0.0~rc5-1ubuntu1). libgl1-mesa-glx set to manually installed. libglx-mesa0 is already the newest version (18.0.0~rc5-1ubuntu1). libglx-mesa0 set to manually installed. libopengl0 is already the newest version (1.0.0-2ubuntu2). libopengl0 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded. taras@Juno:~$

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Make sure, that you have last version of the GPU driver for you card.
And read this.

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

What output the next commands?

grep -rnHE --color 'blacklist' /etc/modprobe.d/
ls -la /usr/lib/xorg/modules/extensions/

Maybe soon, I will added the SwiftShader. It's should reslove this problem. I hope.

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Still doesn't works?

from figma-linux.

hashevskyi avatar hashevskyi commented on July 21, 2024

taras@Juno:~$ grep -rnHE --color 'blacklist' /etc/modprobe.d/ /etc/modprobe.d/blacklist-modem.conf:1:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/blacklist-modem.conf:2:# blacklist snd-atiixp-modem /etc/modprobe.d/blacklist-modem.conf:3:# blacklist snd-intel8x0m /etc/modprobe.d/blacklist-modem.conf:4:# blacklist snd-via82xx-modem /etc/modprobe.d/blacklist-ath_pci.conf:6:blacklist ath_pci /etc/modprobe.d/blacklist-firewire.conf:3:blacklist ohci1394 /etc/modprobe.d/blacklist-firewire.conf:4:blacklist sbp2 /etc/modprobe.d/blacklist-firewire.conf:5:blacklist dv1394 /etc/modprobe.d/blacklist-firewire.conf:6:blacklist raw1394 /etc/modprobe.d/blacklist-firewire.conf:7:blacklist video1394 /etc/modprobe.d/blacklist-firewire.conf:9:#blacklist firewire-ohci /etc/modprobe.d/blacklist-firewire.conf:10:#blacklist firewire-sbp2 /etc/modprobe.d/blacklist-rare-network.conf:3:# vulnerability exploitations, they are being blacklisted here so that /etc/modprobe.d/alsa-base.conf:12:install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } /etc/modprobe.d/alsa-base.conf:15:install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } /etc/modprobe.d/alsa-base.conf:16:install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; } /etc/modprobe.d/alsa-base.conf:17:install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; } /etc/modprobe.d/alsa-base.conf:19:install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; } /etc/modprobe.d/alsa-base.conf:21:install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; } /etc/modprobe.d/alsa-base.conf:22:install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; } /etc/modprobe.d/alsa-base.conf:25:install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; } /etc/modprobe.d/amd64-microcode-blacklist.conf:3:blacklist microcode /etc/modprobe.d/blacklist-framebuffer.conf:4:blacklist aty128fb /etc/modprobe.d/blacklist-framebuffer.conf:5:blacklist atyfb /etc/modprobe.d/blacklist-framebuffer.conf:6:blacklist bochs-drm /etc/modprobe.d/blacklist-framebuffer.conf:7:blacklist radeonfb /etc/modprobe.d/blacklist-framebuffer.conf:8:blacklist cirrusfb /etc/modprobe.d/blacklist-framebuffer.conf:9:blacklist cyber2000fb /etc/modprobe.d/blacklist-framebuffer.conf:10:blacklist cyblafb /etc/modprobe.d/blacklist-framebuffer.conf:11:blacklist gx1fb /etc/modprobe.d/blacklist-framebuffer.conf:12:blacklist hgafb /etc/modprobe.d/blacklist-framebuffer.conf:13:blacklist i810fb /etc/modprobe.d/blacklist-framebuffer.conf:14:blacklist intelfb /etc/modprobe.d/blacklist-framebuffer.conf:15:blacklist kyrofb /etc/modprobe.d/blacklist-framebuffer.conf:16:blacklist lxfb /etc/modprobe.d/blacklist-framebuffer.conf:17:blacklist matroxfb_base /etc/modprobe.d/blacklist-framebuffer.conf:18:blacklist neofb /etc/modprobe.d/blacklist-framebuffer.conf:19:blacklist nvidiafb /etc/modprobe.d/blacklist-framebuffer.conf:20:blacklist pm2fb /etc/modprobe.d/blacklist-framebuffer.conf:21:blacklist rivafb /etc/modprobe.d/blacklist-framebuffer.conf:22:blacklist s1d13xxxfb /etc/modprobe.d/blacklist-framebuffer.conf:23:blacklist savagefb /etc/modprobe.d/blacklist-framebuffer.conf:24:blacklist sisfb /etc/modprobe.d/blacklist-framebuffer.conf:25:blacklist sstfb /etc/modprobe.d/blacklist-framebuffer.conf:26:blacklist tdfxfb /etc/modprobe.d/blacklist-framebuffer.conf:27:blacklist tridentfb /etc/modprobe.d/blacklist-framebuffer.conf:28:#blacklist vesafb /etc/modprobe.d/blacklist-framebuffer.conf:29:blacklist vfb /etc/modprobe.d/blacklist-framebuffer.conf:30:blacklist viafb /etc/modprobe.d/blacklist-framebuffer.conf:31:blacklist vt8623fb /etc/modprobe.d/blacklist-framebuffer.conf:32:blacklist udlfb /etc/modprobe.d/intel-microcode-blacklist.conf:3:blacklist microcode /etc/modprobe.d/blacklist.conf:6:blacklist evbug /etc/modprobe.d/blacklist.conf:9:blacklist usbmouse /etc/modprobe.d/blacklist.conf:10:blacklist usbkbd /etc/modprobe.d/blacklist.conf:13:blacklist eepro100 /etc/modprobe.d/blacklist.conf:16:blacklist de4x5 /etc/modprobe.d/blacklist.conf:19:blacklist eth1394 /etc/modprobe.d/blacklist.conf:23:blacklist snd_intel8x0m /etc/modprobe.d/blacklist.conf:26:blacklist snd_aw2 /etc/modprobe.d/blacklist.conf:29:blacklist i2c_i801 /etc/modprobe.d/blacklist.conf:32:blacklist prism54 /etc/modprobe.d/blacklist.conf:35:blacklist bcm43xx /etc/modprobe.d/blacklist.conf:38:blacklist garmin_gps /etc/modprobe.d/blacklist.conf:41:blacklist asus_acpi /etc/modprobe.d/blacklist.conf:45:blacklist snd_pcsp /etc/modprobe.d/blacklist.conf:49:blacklist pcspkr /etc/modprobe.d/blacklist.conf:55:blacklist amd76x_edac taras@Juno:~$ ls -la /usr/lib/xorg/modules/extensions/ total 288 drwxr-xr-x 2 root root 4096 тра 31 09:11 . drwxr-xr-x 5 root root 4096 тра 31 09:11 .. -rw-r--r-- 1 root root 285832 кві 13 18:31 libglx.so taras@Juno:~$

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Try to comment on this lines in the /etc/modprobe.d/blacklist-framebuffer.conf file:

blacklist radeonfb
blacklist gx1fb
blacklist lxfb

Just add # symbol before each line and save file.
And reboot.

I see, that you have glx, but the app can not get access to the hardware acceleration. Maybe, google chrome also can not get access, but chrome use SwiftShader and do rendering through it, without the hardware acceleration.
Last time, I have problem with integration SwiftShader into my app. For now, I can not still add this. But I will be trying again.

from figma-linux.

hashevskyi avatar hashevskyi commented on July 21, 2024

Did not help comment on the parameters in the file blacklist-framebuffer.conf. I will wait for a new version of the application.

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

For now, I have problems with adding the SwiftShader libraries, which able to help to resolve this problem. And I still don't know how resolve integration problem.
Last time, I added the SwiftShader libraries from Google Chrome, but the figma to begin incorrect to handling and displaying a projects.
You can see it in my video, how it work now, if the hardware acceleration doesn't available.

You can watch for my tasks on the projects tab. What to expect in next release, and what will be reject.
Thank you for understanding.

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Hi. Try install 0.2.0 release.

from figma-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.