Skip to content

WebGL not working causing massive performance issues #49239

@hackthedev

Description

@hackthedev

Preflight Checklist

Electron Version

39.2.7

What operating system(s) are you using?

Other Linux

Operating System Version

Arch Linux x86_64 / 6.17.9-arch1-1

What arch are you using?

x64

Last Known Working Electron version

No response

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

It should load the website and execute the javascript as fast as if i were to open it in brave, or the browser itself.

Actual Behavior

The javascript code that fetches and displays the website content takes usually about 4-5 seconds in electron, whereas if i were to open the website directly in brave, it only takes 500ms.

Testcase Gist URL

No response

Additional Information

I think the issue is related to the following output, as the packaged app worked fine for a friend of mine using windows. Possibly its a me issue, but im not sure how to verify. I have a Nvidia 3080, and not any problems except for this.

Discord works fine, so im not sure what im possibly missing.

{
  '2d_canvas': 'disabled_software',
  direct_rendering_display_compositor: 'disabled_off_ok',
  gpu_compositing: 'disabled_software',
  multiple_raster_threads: 'enabled_on',
  opengl: 'disabled_off',
  rasterization: 'disabled_software',
  raw_draw: 'disabled_off_ok',
  skia_graphite: 'disabled_off',
  trees_in_viz: 'disabled_off',
  video_decode: 'disabled_software',
  video_encode: 'disabled_software',
  vulkan: 'disabled_off',
  webgl: 'disabled_off',
  webgl2: 'disabled_off',
  webgpu: 'disabled_off',
  webnn: 'disabled_off'
}

My preload script works fine too, taking max 10 ms to load and all.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions