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

When I try to open Firefox, I get an error message that begins "The procedure entry point ?CreateDrawTargetForCairoSurface@Factory...could not be located..."

  • 1 reply
  • 2 have this problem
  • 76 views
  • Last reply by cor-el

more options

When I try to open Firefox, I get an error message that reads "The procedure entry point ?CreateDrawTargetForCairoSurface@Factory@gfx@mozilla@@SA?AV?$TemporaryRef@VDrawTarget@gfx@mozilla@@@3@PAU_cairo_surface@@ABUIntSize@23@@Z could not be located in the dynamic link library gkmedias.dll.

My only option is to click okay in the Error Message Box, but Firefox will not open then.

When I try to open Firefox, I get an error message that reads "The procedure entry point ?CreateDrawTargetForCairoSurface@Factory@gfx@mozilla@@SA?AV?$TemporaryRef@VDrawTarget@gfx@mozilla@@@3@PAU_cairo_surface@@ABUIntSize@23@@Z could not be located in the dynamic link library gkmedias.dll. My only option is to click okay in the Error Message Box, but Firefox will not open then.

Chosen solution

Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.

Download a fresh Firefox copy and save the file to the desktop.

Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.

  • Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.



Try to disable hardware acceleration in Firefox.

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.

Download a fresh Firefox copy and save the file to the desktop.

Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.

  • Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.



Try to disable hardware acceleration in Firefox.