Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

What frame rate settings are available, and where are they documented?

  • 3 답장
  • 0 이 문제를 만남
  • 4 보기
  • 최종 답변자: MarjaE

more options

I use layout.frame_rate 1 to block animation, and to replace painful partial scrolling with clean jumps. I can't use an intermediate frame rate, such as 3-30 fps, due to the seizure risks, or a high frame rate, such as 60 fps, due to migraines when hit by "smooth" animation, "ease in-out" animation, zooming animation, parallax animation, partial scrolling with one part of the window sliding alongside another, etc.

about:config involves some other frame-rate and frame_rate settings;

gfx.display.frame-rate-divisor starts at 1

layers.offmainthreadcomposition.frame-rate starts at -1

layout.expose_high_rate_mode_from_refreshdriver starts at true

layout.frame_rate starts at 0, which defaults to monitor settings; I've reset it to 1 (1 frame per second).

layout.throttled_frame_rate starts at 1

What are these and what do they do? I've tried looking them up, and see a bunch of posts about browser diagnostics, or *increasing* frame rates, or the like.

I use layout.frame_rate 1 to block animation, and to replace painful partial scrolling with clean jumps. I can't use an intermediate frame rate, such as 3-30 fps, due to the seizure risks, or a high frame rate, such as 60 fps, due to migraines when hit by "smooth" animation, "ease in-out" animation, zooming animation, parallax animation, partial scrolling with one part of the window sliding alongside another, etc. about:config involves some other frame-rate and frame_rate settings; gfx.display.frame-rate-divisor starts at 1 layers.offmainthreadcomposition.frame-rate starts at -1 layout.expose_high_rate_mode_from_refreshdriver starts at true layout.frame_rate starts at 0, which defaults to monitor settings; I've reset it to 1 (1 frame per second). layout.throttled_frame_rate starts at 1 What are these and what do they do? I've tried looking them up, and see a bunch of posts about browser diagnostics, or *increasing* frame rates, or the like.

선택된 해결법

You can possibly search the source code and check comments of a specific pref.

I don't think that anybody of the regular users who answer questions has the knowledge to know what these prefs are about and determine whether it is safe to modify those prefs, so be cautious.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (3)

more options

선택된 해결법

You can possibly search the source code and check comments of a specific pref.

I don't think that anybody of the regular users who answer questions has the knowledge to know what these prefs are about and determine whether it is safe to modify those prefs, so be cautious.

more options

You can toggle a pref via the command line in the Browser Console.

Note that the response gets slow if you set the pref to 1. There is set/getIntPref and set/getBoolPref for the Number (Integer) and the Boolean prefs.

var pref_name="layout.frame_rate";
var fr=[1,-1]; /* -1 is the default (60) */
Services.prefs.setIntPref(pref_name,Services.prefs.getIntPref(pref_name)==fr[0]?fr[1]:fr[0]);
console.log(pref_name,Services.prefs.getIntPref(pref_name));


more options

Wow, thank you!