detect-gpu
detect-gpu copied to clipboard
OSX 12.1 - Firefox 96.0.2 (64-bit) - WEBGL_debug_renderer_info is deprecate - Returns tier 0
Client: Osx 12.1 (Macbook pro 16" with Radeon AMD Radeon Pro 5300M 4 GB) Browser: Firefox 96.0.2 (64-bit)
Error: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. (detect-gpu.esm.js)
Installed via npm, version 4.0.6
Seems like Firefox has added this warning for privacy reasons but effective deprecation seems unclear at this point.
https://bugzilla.mozilla.org/show_bug.cgi?id=1722782 https://github.com/ruffle-rs/ruffle/issues/5279
anything we can do at the moment?
every firefox gets wrong GPU tier see https://github.com/pmndrs/detect-gpu/issues/95
can confirm on 108.0.1 (64-Bit) Firefox fedora Linux
{
"fps": 1,
"gpu": "radeon r9 200",
"isMobile": false,
"tier": 0,
"type": "BENCHMARK"
}
on chrome:
{
"fps": 72,
"gpu": "amd radeon rx 460 / pro 450/455/460/560",
"isMobile": false,
"tier": 3,
"type": "BENCHMARK"
}
simple example shows the WEBGL_debug_renderer_info does not work anymore on FF
https://codesandbox.io/s/quizzical-http-qsq60g?file=/src/index.js
shows AMD Radeon R9 200 Series
simple example shows the WEBGL_debug_renderer_info does not work anymore on FF
https://codesandbox.io/s/quizzical-http-qsq60g?file=/src/index.js
shows AMD Radeon R9 200 Series
I have same issue. Was someone able to fix it?
Fixed in detect-gpu-js.
@alexkowel nice, any plans to merge your changes to this repo?
@alexkowel nice, any plans to merge your changes to this repo?
Unfortunately, I'm not a TypeScript fan, that's why detect-gpu-js was completely rewritten with JavaScript. So direct merge from that repo is not possible.