WebGL Renderer Info returns wrong graphics card name
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
People
(Reporter: damil, Unassigned)
Details
Steps to reproduce:
const gl = document.createElement('canvas').getContext('webgl');
const debugInfo = gl.getExtension('WEBGL_debug_renderer_info');
const vendor = gl.getParameter(debugInfo.UNMASKED_VENDOR_WEBGL);
const renderer = gl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL);
console.log(vendor, renderer);
or (same result)
const canvas = document.createElement('canvas');
const gl = canvas.getContext('webgl');
console.log(gl.getParameter(gl.RENDERER))
Actual results:
Returns GTX 980, but I have RTX 2070.
Expected results:
Return RTX 2070 like e.g. Chrome does.
Btw. for WEBGL_debug_renderer_info I get a deprecated warning in Firefox and will be removed. Please use RENDERER.
RENDERER currently returns the same in Firefox as the deprecated one. But in Chrome it only returns: "WebKit WebGL"
Are you sure to set this deprecated? It's not possible to get the graphics card name. Is this intended? Mabye for privacy protection?
Background: I want to get the graphics card name for support reasons. For example, if someone reports a bug. But yes. Such information can be used for profiling, which should be avoided. Is there a plan or statement of this information in w3c or other?
Comment 3•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 5•1 year ago
|
||
(In reply to damil from comment #2)
Background: I want to get the graphics card name for support reasons. For example, if someone reports a bug. But yes. Such information can be used for profiling, which should be avoided. Is there a plan or statement of this information in w3c or other?
We bucket graphics cards into representative groups, which is now more visible since bug 1826040 added ", or similar" to the returned name.
For automated support reports, we believe that the graphics card we return here is representative of the true hidden-for-privacy gpu in the user's system.
For more detailed support reports, we recommend that you do what we do for ours, and ask for the user's about:support.
Updated•1 year ago
|
Description
•