-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document RenderingServer.get_video_adapter_name()
may report a fixed name
#80445
Document RenderingServer.get_video_adapter_name()
may report a fixed name
#80445
Conversation
…d name Firefox will always report the user's GPU as a GeForce GTX 980 in an attempt to make fingerprinting more difficult. This is not the case in Chromium-based browsers though.
6acbabb
to
c751f19
Compare
@@ -1450,6 +1450,7 @@ | |||
<description> | |||
Returns the name of the video adapter (e.g. "GeForce GTX 1080/PCIe/SSE2"). | |||
[b]Note:[/b] When running a headless or server binary, this function returns an empty string. | |||
[b]Note:[/b] On the web platform, some browsers such as Firefox may report a different, fixed GPU name such as "GeForce GTX 980" (regardless of the user's actual GPU model). This is done to make fingerprinting more difficult. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to unify the casing of "Web" vs "web", and define some guidelines.
$ rg -g"*.xml" " Web[, ]" | wc -l
45
$ rg -g"*.xml" " web[, ]" | wc -l
30
I think at least when referring to Godot's "Web" platform, it should be capitalized, like it is in OS.get_name()
.
Then maybe when referring to "the web", it can be lowercase.
Here with "the web platform", are we talking about the web as a platform, or Godot's "Web" platform?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here with "the web platform", are we talking about the web as a platform, or Godot's "Web" platform?
I'd say the latter, but I don't have a strong opinion on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this can/should be handled in a separate PR anyway, so let's merge this one.
Thanks! |
Cherry-picked for 4.1.2. |
Firefox may1 report the user's GPU as a GeForce GTX 980 in an attempt to make fingerprinting more difficult. This is not the case in Chromium-based browsers though.
Footnotes
I've noticed this on 3 different setups (GTX 1080, RX 6900 XT, RTX 4090). I don't know if GPUs older than the GTX 980 are affected by this (probably not). ↩