Page 1 of 1

Webgl and graphics driver update

Posted: 2023-09-22 04:17
by larienna
I will need to use WebGL for some homework in the days to come. When I run the WebGL test in Firefox, I get the following error message:

"Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card."

Firefox suggest updating the graphics driver, but since I am in Linux, drivers always a problem unless it's part of the kernel. I currently have Debian 9 and I cannot afford to reinstall or upgrade. I was wondering if

Is there a way to install the drivers from the Debian 10 backports?

Is it recommended to do so, or are there high risks of not being able to restore the previous drivers?

Is there another alternative?

Thank you

Re: Webgl and graphics driver update

Posted: 2023-09-22 04:39
by @ttila
Do you enabled it in Firefox?? Type about:config and than type webgl, enable webgl.force-enabled and any similar items.

Re: Webgl and graphics driver update

Posted: 2023-09-22 06:02
by steve_v
Also have a look in 'about:support', it'll give you a bunch of information on webgl support, what is and isn't enabled, and why.

Re: Webgl and graphics driver update

Posted: 2023-09-22 12:11
by larienna
I tried setting webgl.force-enable and it gives me the same error. I'll see later if about:support could give me some diagnosis.

Re: Webgl and graphics driver update

Posted: 2023-09-22 12:39
by sunrat
Debian 9 is past EOL and completely unsupported for over a year now. It's unlikely any graphics drivers would be available.
What graphics card do you have?

Re: Webgl and graphics driver update

Posted: 2023-09-23 02:13
by larienna

Code: Select all

$ lspci -nn | grep VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7520G] [1002:9990]
I looked at about:support and tried to find anything suspicious. There seems to be some stuff written besides the WebGL1 and 2 entries. But I found this:

Code: Select all

WebGPU Default Adapter	{  "navigator.gpu": null }
WebGPU Fallback Adapter	{  "navigator.gpu": null }
That could be the source of the problem. Not really sure if there is a way to set the adapter for those values.

Re: Webgl and graphics driver update

Posted: 2024-10-14 18:30
by Oaktree
I'm now facing this problem, have you fixed it? if so, how did you do it. I'm not that tech savvy, which makes this way harder.