detect-gpu icon indicating copy to clipboard operation
detect-gpu copied to clipboard

OSX 12.1 - Firefox 96.0.2 (64-bit) - WEBGL_debug_renderer_info is deprecate - Returns tier 0

Open robertosilvestrigotham opened this issue 3 years ago • 7 comments

Schermata 2022-01-27 alle 07 31 32

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

robertosilvestrigotham avatar Jan 27 '22 06:01 robertosilvestrigotham

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

hug0b avatar Jul 28 '22 17:07 hug0b

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"
}

arpu avatar Jan 13 '23 18:01 arpu

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

arpu avatar Jan 13 '23 18:01 arpu

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?

Sergey1888888 avatar Oct 12 '23 12:10 Sergey1888888

Fixed in detect-gpu-js.

alexkowel avatar Nov 25 '23 09:11 alexkowel

@alexkowel nice, any plans to merge your changes to this repo?

arpu avatar Nov 25 '23 10:11 arpu

@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.

alexkowel avatar Nov 25 '23 10:11 alexkowel