为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

reset hardware related preference in profile

  • 2 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 the-edmeister

more options

I have moved my firefox profile to a new machine. While there is no major issues encountered with the new machine, it is found that my profile is still storing some preference values with reference to my old machine, for instance "gfx.driver-init.*" (my old machine is using Intel display whie the new machine is using AMD display). I wonder if there is any clean-up steps or tools such that it can validate/reset hardware-related preferences when moving profiles across machines/platforms to avoid possible errors/crashes. This is to say that I want to keep all software configuration instead of removing all preferences.

for instance, the following preferences are found in my pref.js user_pref("gfx.crash-guard.d3d11layers.appVersion", "45.0"); user_pref("gfx.crash-guard.d3d11layers.deviceID", "0x130a"); user_pref("gfx.crash-guard.d3d11layers.driverVersion", "15.300.1025.1001"); user_pref("gfx.crash-guard.d3d11layers.feature-d2d", true); user_pref("gfx.crash-guard.d3d11layers.feature-d3d11", true); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.direct3d11-angle", true); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle", true); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-d3d11", false); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-warp", false); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-try-d3d11", true); user_pref("gfx.crash-guard.status.d3d11layers", 2); user_pref("gfx.crash-guard.status.d3d9video", 2); user_pref("gfx.crash-guard.status.glcontext", 2); user_pref("gfx.direct3d.last_used_feature_level_idx", 0); user_pref("gfx.driver-init.appVersion", "42.0"); user_pref("gfx.driver-init.deviceID", "0x0166"); user_pref("gfx.driver-init.driverVersion", "10.18.10.4276"); user_pref("gfx.driver-init.feature-d2d", true); user_pref("gfx.driver-init.feature-d3d11", true); user_pref("gfx.driver-init.status", 2);

I have moved my firefox profile to a new machine. While there is no major issues encountered with the new machine, it is found that my profile is still storing some preference values with reference to my old machine, for instance "gfx.driver-init.*" (my old machine is using Intel display whie the new machine is using AMD display). I wonder if there is any clean-up steps or tools such that it can validate/reset hardware-related preferences when moving profiles across machines/platforms to avoid possible errors/crashes. This is to say that I want to keep all software configuration instead of removing all preferences. for instance, the following preferences are found in my pref.js user_pref("gfx.crash-guard.d3d11layers.appVersion", "45.0"); user_pref("gfx.crash-guard.d3d11layers.deviceID", "0x130a"); user_pref("gfx.crash-guard.d3d11layers.driverVersion", "15.300.1025.1001"); user_pref("gfx.crash-guard.d3d11layers.feature-d2d", true); user_pref("gfx.crash-guard.d3d11layers.feature-d3d11", true); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.direct3d11-angle", true); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle", true); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-d3d11", false); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-warp", false); user_pref("gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-try-d3d11", true); user_pref("gfx.crash-guard.status.d3d11layers", 2); user_pref("gfx.crash-guard.status.d3d9video", 2); user_pref("gfx.crash-guard.status.glcontext", 2); user_pref("gfx.direct3d.last_used_feature_level_idx", 0); user_pref("gfx.driver-init.appVersion", "42.0"); user_pref("gfx.driver-init.deviceID", "0x0166"); user_pref("gfx.driver-init.driverVersion", "10.18.10.4276"); user_pref("gfx.driver-init.feature-d2d", true); user_pref("gfx.driver-init.feature-d3d11", true); user_pref("gfx.driver-init.status", 2);

所有回复 (2)

more options

No, in general it's better to reset your current profile to keep only your private data: https://support.mozilla.org/en-US/kb/reset-firefox-to-fix-most-problems

It's a solution to start a new profile not from scratch.

more options

prefs.js is a text file, any text editor should be able to edit it - as long a Firefox is closed and you don't disturb the line-break formatting for each preference. The worst you could do is to b0rk the file, so create a back-up before you edit it. I have edited prefs.js when moving an existing Profile to a new PC; and I have screwed it up a time or two.

This will give you an idea about which files in the Profile folder are 'safe' to copy into a new Profile on a different PC. https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile