This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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);

All Replies (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