While playing League of Legends on your computer, some players have reported receiving an error message on their screens with the following content:
'An unknown DirectX error has occurred and League of Legends cannot start. Please ensure that your video card is using the latest video drivers from the manufacturer.'
If you're also experiencing DirectX errors in League of Legends (LoL), here's how to fix them.
If you haven't installed League of Legends (LoL) yet, you can access it here to download and install the game: League of Legends
Fixing DirectX Error in League of Legends (LoL) on PC
Method 1: Delete the Game.cfg file
According to some League of Legends players, deleting the game.cfg file can also help fix DirectX errors.
To delete the game.cfg file, enter the path C:Riot GamesLeague of LegendsConfig into the Search box in File Explorer, or alternatively, right-click on the League of Legends shortcut, select Open file location to open the LoL folder, which contains the Config subfolder. Your task is to locate and right-click on the game.cfg file in the Config subfolder, and select Delete to remove the file.
Method 2: Update Graphics Card Driver
LoL error messages suggest ensuring that the graphics card driver you're using is updated to the latest version from the manufacturer. Therefore, the next solution to fix DirectX errors in League of Legends is to update the graphics card driver to ensure DirectX compatibility.
Follow the steps below to update your graphics card driver to the latest version:
- First, uninstall the current graphics card driver before updating to the latest version. To do this, open the Run command window by pressing Windows + R, then type appwiz.cpl into it and press Enter or click OK.
- Select the graphics card driver listed and displayed in Programs and Features, click the Uninstall button and choose Yes to confirm.
- To manually update the graphics card driver, you'll need to delve into the details of the Windows platform as well as the specifics of the video card model. To do this, type dxdiag into the Run window and press Enter.
- In the System tab, locate and jot down detailed information about the operating system.
- Record the graphics card model and manufacturer details in the DirectX Display tab.
- Next, open any browser on your computer and visit the website of the graphics card manufacturer (usually NVIDIA, AMD, or Intel).
- Access the driver download section. Here, select the graphics card model and Windows platform from the driver search menu, or input the graphics card model into the Search box if not provided.
- Choose to download the latest graphics card driver compatible with either Windows 64-bit or 32-bit.
- Run the installation file and select the necessary options to install the latest version of the graphics card driver.
- Once the driver installation process is complete, restart your Windows computer and check if the DirectX error in League of Legends (LoL) persists.
Method 3: Delete Files and Subfolders
If you've tried the above two methods but to no avail, as some other players have shared, deleting certain files and subfolders and then using the Repair option in the game may also fix the DirectX error.
- Firstly, open the game's Config folder by entering the path C:Riot GamesLeague of LegendsConfig into the Search box in File Explorer.
- Locate and delete the game.cfg and input files in the Config folder.
- Next, open the subfolder RADS within the League of Legends subfolder.
- Find and delete the subfolders named: lol_game_client and lol_game_client_en_us.
- Open the game launcher window, click on the ? button to open the Help window, where there are 4 options.
- Click on the Repair button in the Help window to fix any corrupted or faulty files.
Method 4: Repairing NET Framework Installation
Since Microsoft NET Framework is essential for DirectX, we'll need to repair the NET Framework installation to fix DirectX errors in League of Legends. To do this, we'll use the Microsoft NET Framework Repair Tool compatible with all platforms from Windows XP to Windows 7.
Download the Microsoft NET Framework Repair Tool to your computer and install it here: NET Framework Repair Tool
Next, open the NET Framework Repair Tool and click on Next to begin the NET Framework repair process.
Additionally, reinstalling NET Framework can also help resolve DirectX errors. To uninstall NET Framework, we can use the NET Framework Cleanup Tool, then download and reinstall NET Framework.
Download the NET Framework Cleanup Tool to your computer and install it here: NET Framework Cleanup Tool
Download NET Framework to your computer and install it here: NET Framework
This Mytour article has just guided you through some ways to fix DirectX errors in League of Legends (LoL). Hopefully, this article has provided you with additional useful information. If you have any questions or need further clarification, readers can leave their comments below for assistance.
