An unknown Direct X error has occurred in League of Legends

Contents

DirectX is a set of application programming interfaces used to handle multimedia related tasks, especially video and game programming, running on Microsoft platforms. DirectX is also used by other software applications for graphics and visualization tasks..

What is the League of Legends DirectX bug?

League of Legends (LoL) is a multiplayer online battle game (MOBA) developed for Windows. However, some players cannot open LoL when a DirectX error message appears. The message says:

“An unknown DirectX error has occurred and League of Legends cannot start. Make sure your video card uses the latest video drivers from the manufacturer.

1-42-10-9444591

Follow the solutions below to fix this problem. All of them were confirmed by the users and we are sure that one of them will correspond to your scenario and that you will be able to solve the problem.

Solution 1: update your graphics card drivers

This could be the logical first step, as this method is also suggested in the error code. Since DirectX is closely related to your graphics card, an old video driver can cause a bug with DirectX and you should download the latest version asap.

On the other hand, users have reported that updating their driver caused the problem, which means you may be able to fix it by downgrading the driver to an older version. There are many ways of doing it, so let's get started.

  • Select the Start menu button at the bottom left of the screen, type Device Manager and click on it in the list of results at the top. You can also use the Windows key combination + R clicking both keys at the same time to open the Run dialog. Enter “devmgmt.msc” in the dialog box and click OK.

Driver update:

  1. Expand the Display Adapters section in Device Manager, right click on your graphics card and select Uninstall device option.

1-155-2-5898342

  1. Confirm the dialog boxes that ask you to confirm your choice and finish the process.

  2. Find your video card driver on the card manufacturer's website and follow their instructions, that should be right there on the site. Save the installation file to your computer and run it from there. The computer may restart multiple times during the installation process.

Controller Backup:

  1. Right click on the graphics card adapter you want to remove and select Properties. With the Properties window open, navigate to the Driver tab and find the Driver Back button below.

1-156-2-7397272

  1. If the option is grayed out, it means that the device has not been updated in the last few days and has no backup files that remember the old driver. This also means that the recent driver update is probably not the cause of this problem.

  2. If the option to click is available, do so and follow the onscreen instructions to revert to the previous version of the driver. Restart your computer and check if the problem persists at the command prompt.

Note: If you are using Windows 10, the latest drivers are often installed alongside other Windows updates, so make sure to keep your windows operating system up to date 10. Windows Update runs automatically on Windows 10, but you can check for new updates by following the instructions below.

  1. Use the Windows key combination + I to open Settings on your Windows PC. Alternatively, you can search “Setting” using the search bar located on the taskbar.

1-157-2-8550499

  1. Find and open the subsection “Update and security” in the Settings app.

  2. Stay on the Windows Update tab and click the Check for updates button under the update status to check if a new version of Windows is available.

1-41-13-5280121

  1. If it exists, Windows should start the download process immediately and the update should install the next time it is rebooted.

Solution 2: initiate a full repair of the League of Legends client

Fortunately, the game itself has several ways to fix various problems through the automated repair tool that can be found in the client settings in LoL. The tools are really very useful and there are several people who claim that the tool has done wonders for them, even with this unknown DirectX error.

  1. Open League of Legends by double clicking its launcher, waiting for you to check for new game or client updates and clicking the start button at the top of the launcher.

1-158-4-5505014

  1. Once the game has been opened, open your settings and stay in the General subsection in the Clients section and locate the Start Full Repair option within. Click on it and follow the onscreen instructions. Check if the process has helped and if you keep seeing the same error while playing.

Solution 3: delete the registry entries and reinstall DirectX

As you can see, the error is due to DirectX, so maybe it's time to do something about it and try to fix it. This can be easily achieved by deleting a certain registry key and reinstalling DirectX. This method is quite easy to do and you should not skip it on your way to troubleshooting.

  1. Since you are deleting certain registry keys, We recommend that you back up the registry to avoid other problems. Even so, there will be no problem if you follow the instructions.

  2. Open the Registry Editor window by typing “Regedit” in the search bar or in the Run dialog box. Navigate to the next key in your registry by navigating the left panel:

HKEY_LOCAL_MACHINEN-SoftwareNMicrosoftN-DirectX

1-159-4-3905038

  1. Right-click the DirectX key in the left navigation pane and choose the Delete option. Confirm pending dialog boxes and restart your computer immediately.

Note: If you can't delete this key, you may need to add additional permissions to your account. This can be easily done while still in Registry Editor by following the helpful set of steps below!!

  1. Right-click the DirectX key in the left navigation pane and choose the Delete option.

  2. In the option Group or user names, try locating your computer's username in the list. If that is not the case, click Add >> Advanced >> Search now. You should be able to see your user account in the search results, so select it and click ok twice till you go back to permissions folder.

1-160-3-9204449

  1. Select your account in the Group or user names section and check the Full Control checkbox under Permissions for (Your username) and apply the changes you have made.

  2. Thereafter, you can right-click the DirectX key and click Delete to try again.

After this and restarting the computer, it's time to reinstall DirectX on the computer. It can be done as simple as downloading the latest version of DirectX for your operating system and installing it over the current version..

The process differs from operating system to operating system and users have reported that Windows users 10 they can just restart their PCs instead of reinstalling DirectX. Other versions can follow the steps below:

  1. Go to the DirectX End User Runtime Web Installer Download Page on Microsoft Official Website.

  2. Click the red download button on the site and follow the on-screen instructions to download the DirectX web installer to your computer.

1-161-4-8599343

Note: Microsoft will probably offer a couple of their other tools after clicking the download link, but you can choose to uncheck those products if you prefer not to install them. If you choose not to download these utilities, the Next button will change its name to No, thank you and will continue.

  1. Complete the DirectX installation by following the instructions on the Microsoft website or the DirectX installation wizard. You will need to scroll through the Terms and Conditions page and click the Next button.

1-162-4-8324334

  1. Restart your computer and see if the DirectX related error still appears when you try to play League of Legends.

Solution 4: reinstall the game

Reinstalling the game may seem like a desperate move, but it is definitely easier than solving advanced problems. What's more, as you progress in League of Legends, that signs up through your Riot account, you will definitely not lose any of your progress.

  1. First, make sure you are logged in with an account that has been granted administrator permissions, as you will not be able to uninstall programs with any other account.

  2. Click the Start menu and open the Control Panel by searching for it there or in the Run dialog box. Alternatively, you can click gear icon to open settings if you are using Windows OS 10.

  3. In the control panel, change the view by clicking “To see how:” Category in the upper right corner and click Uninstall a program under Programs.

1-163-4-9181777

  1. If you are using the Settings app, by clicking Applications, a list of all programs and applications installed on your PC will immediately open.

  2. Find the League of Legends entry in the list of all apps and click on it once. Click the Uninstall button above the list and confirm the prompts for dialog boxes. Follow the onscreen instructions to uninstall League of Legends and then restart your computer.

  3. Click this link and be sure to click the Play for free button / Play now and choose the Already Registered option on the registration screen to start the download immediately.

1-164-3-2956851

  1. Find the file you downloaded, open it and install League of Legends by following the instructions on the screen and waiting for the process to finish. Check if the DirectX related error persists.

Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.