After upgrading to Xubuntu 24.10, WebGL no longer works on Firefox (v. 131.03.03) due to nvidia-driver-560

After updating to Xubuntu 24.10 from 24.04, WebGL no longer works on Firefox (v. 131.03.03), while it works fine in Chrome.

In about:support I see:

Driver Informations WSI WebGL 1 - Renderer driver WebGL 1 WebGL creation failed:

WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)

Renderer driver WebGL 2 WebGL creation failed:

AllowWebgl2:false restricts context creation on this system. ()

webgl.enable-prototype-webgl2 is set to true webgl.force is set to true webgl.osmesalib is set to true

Wayland has not yet been implemented on Xubuntu, so I am still using X11.

I have the same issue even when running Firefox in safe mode.

After a few attempts, it seems the issue is related to the Nvidia drivers. I uninstalled the drivers using the command:

sudo apt purge nvidia-driver

rebooted the system (now running with the Nouveau drivers), and the sites with WebGL worked. Then I rebooted into maintenance mode and tried to install the previous drivers, nvidia-driver-535, but it seems they are no longer available in Xubuntu 24.10. In fact, nvidia-driver-560 is installed along with some files from nvidia-driver-535, so the problem reappeared.

I have an Nvidia GeForce RTX 2070 Super.

Same problem. And it seem to be 100% reproducible. Doesn’t work with X11.

Compositing	WebRender (Software)
Font Visibility Debug Info	Ubuntu Unknown - VERSION_ID="24.10"
ID=ubuntu
Asynchronous Pan/Zoom	wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled
WebGL 1 Driver WSI Info	-
WebGL 1 Driver Renderer	WebGL creation failed: 
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)
WebGL 1 Driver Version	-
WebGL 1 Driver Extensions	-
WebGL 1 Extensions	-
WebGL 2 Driver WSI Info	-
WebGL 2 Driver Renderer	WebGL creation failed: 
* AllowWebgl2:false restricts context creation on this system. ()
WebGL 2 Driver Version	-
WebGL 2 Driver Extensions	-
WebGL 2 Extensions	-
Window Protocol	x11
Desktop Environment	xfce

Any Ubuntu app, like App Center says Unable to create GL Context.

And still same with driver 565.

550.127.08 either doesn’t fox it

This still not fixed! With 570 either.