You are not logged in.

#1 2024-09-24 22:48:52

miguel04685
Member
From: Rio de Janeiro, Brasil
Registered: 2024-09-24
Posts: 18

[SOLVED] WebGL is disabled by default when using mesa-amber.

So, I have switched from mesa to mesa-amber recently because of rendering issues which I found on the normal mesa version. That might be because my GPU is very old (I have an Intel Celeron E3300 with integrated graphics). When using mesa, WebGL is enabled by default when launching the browser. When using mesa-amber, the only make WebGL enabled is launching the web browser with the variable "LIBGL_ALWAYS_SOFTWARE=1" on the terminal. Is there a way to make WebGL enabled by default even when using mesa-amber?

EDIT: I haven't specified it here, but I'm using Xorg.

Last edited by miguel04685 (2024-09-24 23:54:02)

Offline

#2 2024-09-24 23:21:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: [SOLVED] WebGL is disabled by default when using mesa-amber.

how sure are you you werent already on the software renderer on standard mesa anyway? You most likely were, but to verify post a xorg log and

glxinfo -B

from both mesa setups

Offline

#3 2024-09-24 23:32:46

miguel04685
Member
From: Rio de Janeiro, Brasil
Registered: 2024-09-24
Posts: 18

Re: [SOLVED] WebGL is disabled by default when using mesa-amber.

For mesa-amber:

[miguel@archmiguel ~]$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) G33  (0x29c2)
    Version: 21.3.9
    Accelerated: yes
    Video memory: 384MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 1.4
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) G33
OpenGL version string: 1.4 Mesa 21.3.9-arch.6 Amber

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 21.3.9-arch.6 Amber
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

[miguel@archmiguel ~]$
====================================================================================
For mesa:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa Project (0x8086)
    Device: i915 (chipset: G33) (0x29c2)
    Version: 24.2.3
    Accelerated: yes
    Video memory: 384MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: Mesa Project
OpenGL renderer string: i915 (chipset: G33)
OpenGL version string: 2.1 Mesa 24.2.3-arch1.1
OpenGL shading language version string: 1.20

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 24.2.3-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

[miguel@archmiguel ~]$

Last edited by miguel04685 (2024-09-24 23:34:50)

Offline

#4 2024-09-24 23:40:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: [SOLVED] WebGL is disabled by default when using mesa-amber.

The older driver does not report OpenGL 2.1 compat, see https://wiki.archlinux.org/title/Intel_ … 915_driver for trying to enable it... chances are that this is precisely what causes "rendering issues" but it might be worth a shot

PS: please use [ code ] [ /code ] tags without the spaces when pasting outputs

Offline

#5 2024-09-24 23:52:58

miguel04685
Member
From: Rio de Janeiro, Brasil
Registered: 2024-09-24
Posts: 18

Re: [SOLVED] WebGL is disabled by default when using mesa-amber.

Your solution has just solved my problem. Thank you so much! Also, I will remember to use code format next time, sorry for forgetting about that.

Last edited by miguel04685 (2024-09-24 23:55:53)

Offline

Board footer

Powered by FluxBB