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

[TAG review] Wondering if power consumption choice should be initiated by the user #2946

Closed
kdashg opened this issue May 25, 2022 · 2 comments
Milestone

Comments

@kdashg
Copy link
Contributor

kdashg commented May 25, 2022

From w3ctag/design-reviews#626 (comment)

Power consumption is a concern. While there is a mechanism to allow applications to request a high power vs low power device, we are wondering if the choice should be initiated by the user, and not the application. e.g. if the user is on the go, let them choose integrated GPU instead of discrete to save power. Initially, we discussed the possibility of forcing the application to integrated in low-power scenarios, but adds another fingerprinting surface so we don't think this is a valid suggestion.

@kdashg kdashg changed the title [TAG review] wondering if power consumption choice should be initiated by the user [TAG review] Wondering if power consumption choice should be initiated by the user May 25, 2022
@kainino0x kainino0x added this to the V1.0 milestone May 25, 2022
@greggman
Copy link
Contributor

To me this seems out of scope for WebGPU. It seems like a browser (UA) issue.

  • A UA can do notihng
  • A UA can pay attention to the OS's low-power mode and in response choose the low-powered GPU, and throttle video, throttle JavaScript, throttle rAF, throttle animation frame rates, start returning refers-reduced-motion CSS media query, only allow playing one video at a time, etc...
  • A UA can put global settings for low-power
  • A UA can put per page settings for low-power
  • A UA can put per power source settings for low-power (connected to power, on battery)
  • A UA can put indivual settings for all of these things (default camera, default mic, default gpu, default max fps, etc...)

It's not clear why WebGPU itself would have any thing to say here.

@litherum
Copy link
Contributor

Resolved today: a UA already can make the power consumption choice be initiated by the user.

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

No branches or pull requests

4 participants