Now the pullups for PR#57445 & PR#50277 have made it into netbsd-10 and netbsd-9 (Many thanks to all involved), it's easier to return to looking at webgl breaking on NetBSD in firefox-111 and later.
To confirm, firefox110 (when patched to build with more recent rust), built against the latest pkgsrc tree continues to work fine with webgl on netbsd-10 (src for pkgsrc package at
http://sync.absd.org/pkgsrc/firefox110.txz )
On attempting to open
https://get.webgl.org both firefox-110 and firefox-111 show the following to stderr:
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=1.22834) [GFX1-]: glxtest: cannot access /sys/bus/pci
However firefox-110 then displays the cube, while firefox-111 indicates that webgl is supported, no cube is shown and stderr includes:
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=1.22834) |[1][GFX1]: MethodDispatcher<7> not found. Please file a bug! (t=8.37413) [GFX1]: MethodDispatcher<7> not found. Please file a bug!
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=1.22834) |[1][GFX1]: MethodDispatcher<7> not found. Please file a bug! (t=8.37413) |[2][GFX1]: DispatchCommand(id: 7) failed. Please file a bug! (t=8.37421) [GFX1]: DispatchCommand(id: 7) failed. Please file a bug!
_javascript_ error:
https://get.webgl.org/tdl/tdl-minified.js, line 155: TypeError: program is null
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=1.22834) |[1][GFX1]: MethodDispatcher<7> not found. Please file a bug! (t=8.37413) |[2][GFX1]: DispatchCommand(id: 7) failed. Please file a bug! (t=8.37421) |[3][GFX1]: MethodDispatcher<18> not found. Please file a bug! (t=8.38554) [GFX1]: MethodDispatcher<18> not found. Please file a bug!
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=1.22834) |[1][GFX1]: MethodDispatcher<7> not found. Please file a bug! (t=8.37413) |[2][GFX1]: DispatchCommand(id: 7) failed. Please file a bug! (t=8.37421) |[3][GFX1]: MethodDispatcher<18> not found. Please file a bug! (t=8.38554) |[4][GFX1]: DispatchCommand(id: 18) failed. Please file a bug! (t=8.38562) [GFX1]: DispatchCommand(id: 18) failed. Please file a bug!
It seems possible that firefox has added some additional checks to glxtest and is erroring out when they do not pass.
Unless anyone has any insight (or time to poke at :) I'll try to come back to this later, probably start by comparing -110 and -111 source trees to see if anything pops out, but I have a bunch of other stuff to try to get clear of so I'm not sure when I'll be able to make time for this.
David