Skip to content
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

Use screen refresh rate as entropy #170

Open
v-0-d opened this issue Jan 30, 2022 · 10 comments
Open

Use screen refresh rate as entropy #170

v-0-d opened this issue Jan 30, 2022 · 10 comments
Labels
enhancement New feature or request

Comments

@v-0-d
Copy link

v-0-d commented Jan 30, 2022

Check out:
https://www.testufo.com/
It will show you the screen refresh rate live.

This would add entropy even for those browsers that fake the screen resolution successfully.

@abrahamjuliot abrahamjuliot added the enhancement New feature or request label Jan 31, 2022
@abrahamjuliot
Copy link
Owner

Thank you, that is pretty cool. There's an interesting discussion on this at #114. I will give this some thought. I'm interested in testing this more thoroughly on different devices.

@Thorin-Oakenpants
Copy link

Thorin-Oakenpants commented Feb 7, 2022

FF can't report more than 60fps/60hz - it's capped

@tomrittervg
Copy link

FF can't report more than 60fps/60hz - it's capped

I'm not sure about that.

https://searchfox.org/mozilla-central/source/modules/libpref/init/StaticPrefList.yaml#7898-7904
and
https://searchfox.org/mozilla-central/source/gfx/thebes/gfxPlatform.cpp#2896-2903
and
https://searchfox.org/mozilla-central/source/gfx/thebes/gfxPlatform.cpp#2906

tell me that if your system can do more than 60Hz, and can tell Firefox it can do more than 60Hz - then we will at least try.

And RFP doesn't affect that AFAICT - at least until https://bugzilla.mozilla.org/show_bug.cgi?id=1692609 finally lands

@v-0-d
Copy link
Author

v-0-d commented Feb 7, 2022

I get 90hz on a pixel 5 with the latest tor browser on ufotest.

@Thorin-Oakenpants
Copy link

ahh, OK - I was thinking of #114 (comment) where I linked to your comment and took that to mean rAF cannot go above 60, but I guess I've misread the context (or rather than rAF is not being used in this PoC from OP) - IANAE :)

I think the argument against this is that rAF only gets called on a regular 60 times a second when operating at high speed. It'll never go faster than that. It will go slower.

@Thorin-Oakenpants
Copy link

Thorin-Oakenpants commented Jun 7, 2022

I get 90hz on a pixel 5 with the latest tor browser on ufotest.

@v-0-d What do you get now on Nightly since 1692609 landed

  • edit: with and without privacy.resistFingerprinting = true

for relevance, just read https://bugzilla.mozilla.org/show_bug.cgi?id=1772711#c1

@abrahamjuliot
Copy link
Owner

On my 75hz monitor, in Nightly, I get 75 fps. With RFP on, I get 49-60.

@Thorin-Oakenpants
Copy link

Thorin-Oakenpants commented Jun 9, 2022

With RFP on, I get 49-60.

that's so 0xBADA55

@Thorin-Oakenpants
Copy link

FYI: https://bugzilla.mozilla.org/show_bug.cgi?id=1774247

@abrahamjuliot
Copy link
Owner

abrahamjuliot commented Jul 14, 2022

https://www.shadertoy.com/view/7ssyzr (GPU and OS detector+ fps)

RFP is stable at 60 fps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants