Analysis and Troubleshooting Steps
Your issue—the Tibia client crashing immediately when selecting DirectX or OpenGL modes—is a classic sign of a conflict with your graphics card drivers or a missing/corrupted system file.
Since your hardware (Ryzen 5 2600X and GTX 1050 Ti) is more than powerful enough for Tibia, the problem is almost certainly software-related.
Here are the most likely solutions, prioritized by effectiveness:
1. Update and Cleanly Reinstall NVIDIA Drivers (Most Likely Fix)
Corrupt or outdated drivers are the number one cause of such crashes, as they fail when the client tries to make a DirectX or OpenGL call.
Action A (Update): Use the GeForce Experience application or visit the official NVIDIA website to download and install the very latest drivers for your GTX 1050 Ti.
Action B (Clean Reinstall - If A Fails): Completely uninstall your current NVIDIA drivers using a specialized tool like DDU (Display Driver Uninstaller) while in Safe Mode, then perform a fresh installation of the latest drivers. This removes any potentially corrupt settings left behind.
2. Reset Tibia's Configuration
Tibia's settings might have carried over or stored a bad configuration file that is incompatible with the new hardware setup.
Action:
Fully close the Tibia client.
Navigate to the Tibia data folder: C:\Users\YOUR_USERNAME\AppData\Local\Tibia\packages\Tibia\conf
Locate and delete the file named client.config.
Restart Tibia. The client will generate a new default configuration. Try selecting DirectX (Performance) once the game successfully loads.
3. Check System Dependencies (DirectX / Visual C++)
Even though you have DirectX 12, older games like Tibia often rely on specific legacy components (like DirectX 9 runtime libraries or older Visual C++ redistributables) that might be missing on a fresh Windows install.
4. Investigate Overlay Conflicts
Software that imposes an overlay on games can sometimes conflict with a game's initialization.
Action: Temporarily disable any in-game overlays you may be running, such as Discord Overlay, GeForce Experience Overlay, Steam Overlay, or monitoring tools like MSI Afterburner.