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.64k stars 160 forks source link

WebGL Error #206

Open stackingflow opened 3 years ago

stackingflow commented 3 years ago

figma-linux

figmalinux

GPU report from figma-linux ->

Graphics Feature Status

  • Canvas: Software only. Hardware acceleration disabled
  • Compositing: Software only. Hardware acceleration disabled
  • Multiple Raster Threads: Disabled
  • Out-of-process Rasterization: Disabled
  • OpenGL: Disabled
  • Rasterization: Software only. Hardware acceleration disabled
  • Skia Renderer: Enabled
  • Video Decode: Software only. Hardware acceleration disabled
  • Vulkan: Disabled
  • WebGL: Disabled
  • WebGL2: Disabled

Version Information

Data exported | 2021-05-21T04:00:45.507Z -- | -- Chrome version | Chrome/89.0.4389.90 Operating system | Linux 5.4.0-73-generic Software rendering list URL | https://chromium.googlesource.com/chromium/src/+/398b018945b04cb71527b0df43fcdd3eea27510b/gpu/config/software_rendering_list.json Driver bug list URL | https://chromium.googlesource.com/chromium/src/+/398b018945b04cb71527b0df43fcdd3eea27510b/gpu/config/gpu_driver_bug_list.json ANGLE commit id | f25a0b5b404b 2D graphics backend | Skia/89 109bfc9052ce1bde7acf07321d605601d7b7ec24 Command Line | /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 --disable-color-correct-rendering

Driver Information

Initialization time | 0 -- | -- In-process GPU | false Passthrough Command Decoder | false Sandboxed | false GPU0 | VENDOR= 0x0000, DEVICE=0x0000 Optimus | false AMD switchable | false Driver vendor |   Driver version |   GPU CUDA compute capability major version | 0 Pixel shader version |   Vertex shader version |   Max. MSAA samples |   Machine model name |   Machine model version |   GL_VENDOR | Disabled GL_RENDERER | Disabled GL_VERSION | Disabled GL_EXTENSIONS |   Disabled Extensions |   Disabled WebGL Extensions |   Window system binding vendor |   Window system binding version |   Window system binding extensions |   Window manager | GNOME Shell XDG_CURRENT_DESKTOP | Unity GDMSESSION | ubuntu Compositing manager | Yes System visual ID | 0 RGBA visual ID | 0 Direct rendering version | unknown Reset notification strategy | 0x0000 GPU process crash count | 0 gfx::BufferFormats supported for allocation and texturing | R_8: not supported, R_16: not supported, RG_88: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, P010: not supported

Compositor Information

Tile Update Mode | Zero-copy -- | -- Partial Raster | Enabled

GpuMemoryBuffers Status

R_8 | Software only -- | -- R_16 | Software only RG_88 | Software only BGR_565 | Software only RGBA_4444 | Software only RGBX_8888 | Software only RGBA_8888 | Software only BGRX_8888 | Software only BGRA_1010102 | Software only RGBA_1010102 | Software only BGRA_8888 | Software only RGBA_F16 | Software only YVU_420 | Software only YUV_420_BIPLANAR | Software only P010 | Software only

Display(s) Information

Info | Display[21441628360977476] bounds=[0,0 1920x1080], workarea=[0,28 1920x1052], scale=1, rotation=0, panel_rotation=0 external. -- | -- Color space (all) | {primaries_d50_referred: [[0.6442, 0.3535], [0.3226, 0.6231], [0.1521, 0.0552]], transfer:IEC61966_2_1, matrix:RGB, range:FULL} Buffer format (all) | BGRA_8888 SDR white level in nits | 100 Bits per color component | 8 Bits per pixel | 24 Refresh Rate in Hz | 60

Video Acceleration Information

Vulkan Information

Device Performance Information

Driver Information for Hardware GPU

Initialization time | 0 -- | -- In-process GPU | false Passthrough Command Decoder | false Sandboxed | false GPU0 | VENDOR= 0x0000, DEVICE=0x0000 Optimus | false AMD switchable | false Driver vendor |   Driver version |   GPU CUDA compute capability major version | 0 Pixel shader version |   Vertex shader version |   Max. MSAA samples |   Machine model name |   Machine model version |   GL_VENDOR | Disabled GL_RENDERER | Disabled GL_VERSION | Disabled GL_EXTENSIONS |   Disabled Extensions |   Disabled WebGL Extensions |   Window system binding vendor |   Window system binding version |   Window system binding extensions |   Window manager | GNOME Shell XDG_CURRENT_DESKTOP | Unity GDMSESSION | ubuntu Compositing manager | Yes System visual ID | 0 RGBA visual ID | 0 Direct rendering version | unknown Reset notification strategy | 0x0000 GPU process crash count | 0 gfx::BufferFormats supported for allocation and texturing | R_8: not supported, R_16: not supported, RG_88: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, P010: not supported

Graphics Feature Status for Hardware GPU

  • Canvas: Software only. Hardware acceleration disabled
  • Compositing: Software only. Hardware acceleration disabled
  • Multiple Raster Threads: Disabled
  • Out-of-process Rasterization: Disabled
  • OpenGL: Disabled
  • Rasterization: Software only. Hardware acceleration disabled
  • Skia Renderer: Enabled
  • Video Decode: Software only. Hardware acceleration disabled
  • Vulkan: Disabled
  • WebGL: Disabled
  • WebGL2: Disabled

Log Messages

  • GpuProcessHost: The GPU process exited normally. Everything is okay.
  • GpuProcessHost: The GPU process exited normally. Everything is okay.
snarkyalyx commented 2 years ago

@insanitywanted Check the new release: https://github.com/Figma-Linux/figma-linux/releases/tag/v0.9.6 and see if performance is better, as you have an older AMD GPU, might have fixed issues for you as well.

Striffly commented 3 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4).

The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

Note : Make sure to write Vulkan, not vulkan ! Otherwise, it won't work.

johnnywilly16 commented 3 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4).

The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

Thank you a lot, i was having the same issue.

anthonyespirat commented 3 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4).

The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

This is solve my issue.

Arch Linux (Gnome) with Nvidia GPU

Zaenalabidin57 commented 3 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4).

The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

thanks. worked too, mine on arch linux with Amd onboard GPU

VadimRight commented 2 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4).

The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

I can't understand where I can find those settings

anthonyprime202 commented 2 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4).

The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

It doesn't work for me :( I'm using arch linux with hyprlnad and on lenovo thinkbook 15 amd ryzen 3 5000, and integrated graphics

VadimRight commented 2 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4). The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

It doesn't work for me :( I'm using arch linux with hyprlnad and on lenovo thinkbook 15 amd ryzen 3 5000, and integrated graphics

Can you tell me where this settings are? I really don't get where those settings are

VadimRight commented 2 months ago

Sorry for the necroposting, but I encountered a similar issue with a recent update (0.11.4). The solution for me was to enable Vulkan by adding enable-features command line switch in Figma's settings: image

It doesn't work for me :( I'm using arch linux with hyprlnad and on lenovo thinkbook 15 amd ryzen 3 5000, and integrated graphics

I fixed this issue by running figma-linux with terminal. I also use Hyprland on Arch Linux.

Striffly commented 2 months ago

Can you tell me where this settings are? I really don't get where those settings are

image

sylvainbx commented 3 weeks ago

I'm using an hybrid GPU (intel/nvidia) laptop and I had the same issue, adding the command line switch and launching it from a terminal didn't solved the issue. The error message reported in the terminal was the following :

[25762:0823/071834.789418:ERROR:vulkan_swap_chain.cc(395)] vkQueuePresentKHR() failed: -1000001004
[25762:0823/071834.789664:ERROR:gpu_service_impl.cc(1124)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[25694:0823/071834.808862:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=8704

However, launching figma prefixed with prime-run (PRIME) solved the issue

johnnywilly16 commented 3 weeks ago

@sylvainbx Figma may be trying to use the integrated Intel GPU by default.

littleblack111 commented 3 days ago

same, but it will crash on vulkan driver

johnnywilly16 commented 2 days ago

same, but it will crash on vulkan driver

sett you figma settings like that : image

enable-gpu-rasterization enable-experimental-canvas-features use-vulkan enable-features Vulkan ignore-gpu-blacklist use-webgl use-gl=desktop