can not totally disable WebGL?

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
googlefan
Newbie
Newbie
Posts: 4
Joined: 2024-11-13, 05:01

can not totally disable WebGL?

Unread post by googlefan » 2024-11-13, 05:07

Hello, I have everything related to WebGL in about:config turned off but it still seems to work because the terminal (I run Palemoon from the CLI) is flooded with messages like

Code: Select all

WebGL(0x7f1154929800)::ForceLoseContext
WebGL(0x7f115492a000)::ForceLoseContext
WebGL(0x7f1154a5d000)::ForceLoseContext
WebGL(0x7f1154a5d800)::ForceLoseContext
WebGL(0x7f115ae55000)::ForceLoseContext
WebGL(0x7f115ae55800)::ForceLoseContext
WebGL(0x7f115bd8f000)::ForceLoseContext
WebGL(0x7f115bd8f800)::ForceLoseContext
WebGL(0x7f115c248800)::ForceLoseContext
WebGL(0x7f114dc0c800)::ForceLoseContext
WebGL(0x7f114dc0d000)::ForceLoseContext
WebGL(0x7f114f22b800)::ForceLoseContext
WebGL(0x7f114f22c000)::ForceLoseContext
WebGL(0x7f11503a2800)::ForceLoseContext
WebGL(0x7f11503a3000)::ForceLoseContext
WebGL(0x7f115119a000)::ForceLoseContext
WebGL(0x7f115119a800)::ForceLoseContext
WebGL(0x7f1151fdb000)::ForceLoseContext
WebGL(0x7f1151fdb800)::ForceLoseContext
WebGL(0x7f1152272800)::ForceLoseContext
WebGL(0x7f1152273000)::ForceLoseContext
WebGL(0x7f1154b51000)::ForceLoseContext
WebGL(0x7f1154b51800)::ForceLoseContext
WebGL(0x7f114dceb000)::ForceLoseContext
WebGL(0x7f115102e800)::ForceLoseContext
WebGL(0x7f115102f000)::ForceLoseContext
WebGL(0x7f11511b6800)::ForceLoseContext
My changes to the defaults:

Code: Select all

webgl.disabled;true
webgl.disable-wgl;true
webgl.disable-extensions;true
webgl.enable-webgl2;false
How do I disable the WebGL completely, once and for all?

User avatar
therube
Board Warrior
Board Warrior
Posts: 1712
Joined: 2018-06-08, 17:02

Re: can not totally disable WebGL?

Unread post by therube » 2024-11-13, 17:46

Try, webgl.disable-angle;true.

User avatar
googlefan
Newbie
Newbie
Posts: 4
Joined: 2024-11-13, 05:01

Re: can not totally disable WebGL?

Unread post by googlefan » 2024-11-15, 17:11

therube wrote:
2024-11-13, 17:46
Try, webgl.disable-angle;true.
It is disabled already, I've missed it when was copying other modified values, also I have non standard value

Code: Select all

webgl.disable-DOM-blit-uploads;true

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37517
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: can not totally disable WebGL?

Unread post by Moonchild » 2024-11-15, 20:24

I looked into this a little; it's actually a bit of a misnomer as it's part of DOM canvas, and while WebGL rendering might be disabled, parts of the plumbing (context) would still be active and being called from canvas methods.
That said, these messages to the console should not be enabled by default and it's something we've inherited from Mozilla. This kind of spew belongs in debug builds, not release builds. I'll get rid of it in normal builds.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite