What is DirectX?
DirectX is a component that includes a set of protocols and definitions (APIs) that enable efficient development of files and multimedia content. DirectX was created by the Microsoft company and comes as a set of multimedia libraries for the Windows operating system.
Today DirectX facilitates the optimal use of Windows resources, optimizes the performance of the graphics card and a GPU with more than four cores. Therefore, DirectX is essential for playing video games and other multimedia content.
What is DirectX used for?
DirectX is used for optimize applications that require the use of multimedia content like video games in Windows. In this way it is possible to establish adequate communication between the hardware required by a video game and the operating system. As a result, better graphics can be accessed in less time.
An unknown DirectX error has occurred and League of Legends cannot start - LoL Solution
The message "An unknown DirectX error has occurred and League of Legends cannot start" may appear when your computer's DirectX version is out of date or when there is an error in the video driver. Here are the steps to take to fix this problem.
Check the DirectX version on your PC
First, you have to check the DirectX version installed on your PC. To do this, type the command xdiag in the Windows 10 search engine and press the "Enter" key. As a result, the DirectX Diagnostic Tool will open in a new window.
When asked "Do you want to check if the drivers are digitally signed?" press the «Yes» button. Next, you will see a new window with four tabs. Choose "System" and at the bottom of the panel, locate the number right next to the word DxDiag. This number corresponds to the current DirectX version of your operating system.
Update DirectX on Windows
To update and install the latest version of DirectX on your operating system, you need to go to the Microsoft website. There you will find the DirectX web runtime installer. Select the language "Spanish" and press the orange button Download.
Once the installer is downloaded, run the executable file as an admin user, accept the license agreements and press the button "Forward". Uncheck the Bing activation box and press «Next» again. Wait a few seconds as the installation process completes on your PC.
Update the video driver
If you want to run League of Legends smoothly, you need to update your PC's graphics card drivers. To do this, press the «Win + X» keys and select «Device Manager». Then, display the "Display adapters" option and right-click on the video component.
Click on «Properties» and in the «Driver» tab press the «Update Driver» button. Select the automatic download option and wait a few minutes while the system locates and download the latest version the video driver for your graphics card.
Repair Windows files
There might be errors in Windows files preventing League of Legends from starting. To solve this problem, press the «Win + X» keys and click on «Command Prompt (Admin)».
In the Windows command console, type sfc / scannow and press the key "Enter". This will cause the system to activate the file scan tool. If there are any errors, they will be fixed after completing the process and restarting your computer.