Help with GPU access for electron based apps on WSL2 #14007
Unanswered
cipherswami
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Something is wrong with GPU access from WSL2.
Sometimes, Joplin an electron based app works fine it boots in 2-3 secs. The other times it takes more than a minute to start.
My probable guess is something related to GPU. As initially, my settings were to use llvmpipe (software rendering) when I forced mesa to use INTEL, thing were good, and now something is wrong again mesa still uses INTEL, but it is still broken some where down the chain.
$ glxinfo -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Microsoft Corporation (0xffffffff) Device: D3D12 (Intel(R) Iris(R) Xe Graphics) (0xffffffff) Version: 25.0.7 Accelerated: yes Video memory: 8202MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 4.1 Max compat profile version: 4.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 Memory info (GL_ATI_meminfo): VBO free memory - total: 7406 MB, largest block: 7406 MB VBO free aux. memory - total: 0 MB, largest block: 0 MB Texture free memory - total: 7406 MB, largest block: 7406 MB Texture free aux. memory - total: 0 MB, largest block: 0 MB Renderbuffer free memory - total: 7406 MB, largest block: 7406 MB Renderbuffer free aux. memory - total: 0 MB, largest block: 0 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 8202 MB Total available memory: 8202 MB Currently available dedicated video memory: 7406 MB OpenGL vendor string: Microsoft Corporation OpenGL renderer string: D3D12 (Intel(R) Iris(R) Xe Graphics) OpenGL core profile version string: 4.1 (Core Profile) Mesa 25.0.7-0ubuntu0.24.04.2 OpenGL core profile shading language version string: 4.10 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.1 (Compatibility Profile) Mesa 25.0.7-0ubuntu0.24.04.2 OpenGL shading language version string: 4.10 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL ES profile version string: OpenGL ES 3.0 Mesa 25.0.7-0ubuntu0.24.04.2 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00Beta Was this translation helpful? Give feedback.
All reactions