We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

reset hardware related preference in profile

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