GFX Troubleshooting: Difference between revisions

m small clearification
m fix links
Line 21: Line 21:
<!--T:5-->
<!--T:5-->
Usually it’s enough to force OpenGL 1.x and the game should start.
Usually it’s enough to force OpenGL 1.x and the game should start.
Do this by editing settings_ddnet.cfg that is located inside the config directory [[Special:MyLanguage/FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?|FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?]]
Do this by editing settings_ddnet.cfg that is located inside the config directory ([[Special:MyLanguage/FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?|FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?]])
Make sure no DDNet Client is running (best is you even check in the taskmanager)
Make sure no DDNet Client is running (best is you even check in the taskmanager)
To the bottom of this file add:
To the bottom of this file add:
Line 48: Line 48:
([https://www.amd.com/en/support AMD], [https://www.nvidia.com/download/index.aspx?lang=en-us NVIDIA], [https://www.intel.com/content/www/us/en/download-center/home.html Intel]). For Intel also note this article: [https://www.intel.com/content/www/us/en/support/articles/000058958/graphics.html Warning: Installing This Graphics Driver From Intel May Overwrite Customizations From Your Computer Manufacturer (OEM)].
([https://www.amd.com/en/support AMD], [https://www.nvidia.com/download/index.aspx?lang=en-us NVIDIA], [https://www.intel.com/content/www/us/en/download-center/home.html Intel]). For Intel also note this article: [https://www.intel.com/content/www/us/en/support/articles/000058958/graphics.html Warning: Installing This Graphics Driver From Intel May Overwrite Customizations From Your Computer Manufacturer (OEM)].
If it’s still crashing you should try to use vulkan
If it’s still crashing you should try to use vulkan
Do this by editing settings_ddnet.cfg that is located inside the config directory ([[Special:MyLanguage/FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?|FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?]]
Do this by editing settings_ddnet.cfg that is located inside the config directory ([[Special:MyLanguage/FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?|FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?]])
Make sure no DDNet Client is running (best is you even check in the taskmanager)
Make sure no DDNet Client is running (best is you even check in the taskmanager)
To the bottom of this file add:
To the bottom of this file add:
Line 61: Line 61:
</translate>
</translate>
<translate>
<translate>
== Some text is invisible with the Vulkan backend == <!--T:13-->
 
 
==Some text is invisible with the Vulkan backend == <!--T:13-->


<!--T:14-->
<!--T:14-->
Line 72: Line 74:




== Some text looks broken == <!--T:16-->
==Some text looks broken == <!--T:16-->


<!--T:17-->
<!--T:17-->
Line 82: Line 84:




== The client randomly crashes with an Intel GPU == <!--T:19-->
==The client randomly crashes with an Intel GPU == <!--T:19-->


<!--T:20-->
<!--T:20-->
Line 90: Line 92:




== Low FPS, stuttering or similar problems == <!--T:21-->
==Low FPS, stuttering or similar problems == <!--T:21-->


<!--T:22-->
<!--T:22-->
These problems can be caused by many things, most commonly stuttering is caused by a bad driver or overheating of some component.
These problems can be caused by many things, most commonly stuttering is caused by a bad driver or overheating of some component.
Here is a guide that can help eliminate these kind of problems:
Here is a guide that can help eliminate these kind of problems:
* Update all drivers, and the operating system to latest version. On Windows go in the Windows safe mode and uninstall the graphics driver using [https://www.guru3d.com/files-details/display-driver-uninstaller-download.html DDU] (not open source, please replace it with a similar tool) or similar tools and then install the latest driver from the manufacturer's website. This can fix more problems than you could guess
*Update all drivers, and the operating system to latest version. On Windows go in the Windows safe mode and uninstall the graphics driver using [https://www.guru3d.com/files-details/display-driver-uninstaller-download.html DDU] (not open source, please replace it with a similar tool) or similar tools and then install the latest driver from the manufacturer's website. This can fix more problems than you could guess
* For Windows: restart Windows using the "Restart" button (not shutdown). This will clear some caches
*For Windows: restart Windows using the "Restart" button (not shutdown). This will clear some caches
* Clean your computers coolers. Remove any kind of dust with some air pressure (better don't use a vacuum cleaner because of electric charges). Watch if temperatures of the hardware components are below their proclaimed threshold.
*Clean your computers coolers. Remove any kind of dust with some air pressure (better don't use a vacuum cleaner because of electric charges). Watch if temperatures of the hardware components are below their proclaimed threshold.
* Make sure the hardware (e.g. the graphics card) is properly plugged in.
*Make sure the hardware (e.g. the graphics card) is properly plugged in.
* Try to lower the refresh rate in the client (cl_refresh_rate, gfx_refresh_rate).
*Try to lower the refresh rate in the client (cl_refresh_rate, gfx_refresh_rate).
* For Windows: set Windows to high performance mode
*For Windows: set Windows to high performance mode
* Close all other software (e.g. Discord, Mouse/Keyboard tools)
*Close all other software (e.g. Discord, Mouse/Keyboard tools)
* Unplug all USB devices you don't need (USB sticks, controllers etc.)
*Unplug all USB devices you don't need (USB sticks, controllers etc.)
* Try a different renderer in the DDNet client. settings -> graphics -> renderer
*Try a different renderer in the DDNet client. settings -> graphics -> renderer




== Absolutely nothing helps == <!--T:21-->
==Absolutely nothing helps == <!--T:21-->


<!--T:22-->
<!--T:22-->
If you are sure you did everything correct and nothing helped report this bug on ddnet’s discord #bugs channel. You are the first encountering this situation. The only known modern GPU that caused problems is an AMD ryzen 3 2200g, if you don’t use the AMD beta drivers (confirmed with Adrenalin 22.5.1 Recommended (WHQL))
If you are sure you did everything correct and nothing helped report this bug on ddnet’s discord #bugs channel. You are the first encountering this situation. The only known modern GPU that caused problems is an AMD ryzen 3 2200g, if you don’t use the AMD beta drivers (confirmed with Adrenalin 22.5.1 Recommended (WHQL))
You can simply switch to OpenGL backend, see [[Special:MyLanguage/#some-text is invisible with the vulkan backend|#Some text is invisible with the Vulkan backend]]. Else you have to accept to use an OpenGL 1.x backend as described in [[Special:MyLanguage/#for-users with older computers|#For users with older computers]].
You can simply switch to OpenGL backend, see [[Special:MyLanguage/GFX_Troubleshooting#Some_text_is_invisible_with_the_Vulkan_backend|#Some text is invisible with the Vulkan backend]]. Else you have to accept to use an OpenGL 1.x backend as described in [[Special:MyLanguage/GFX_Troubleshooting#For_users_with_older_computers|#For users with older computers]].
It’s also quite possible that the problem is not GFX related. Try to disable your Anti-Virus for DDNet, make sure you use a recent Windows/Linux/macOS version. Always try 64-bit versions first as they are more tested.
It’s also quite possible that the problem is not GFX related. Try to disable your Anti-Virus for DDNet, make sure you use a recent Windows/Linux/macOS version. Always try 64-bit versions first as they are more tested.




== Some ingame tiles are invisible or look broken == <!--T:23-->
==Some ingame tiles are invisible or look broken == <!--T:23-->


<!--T:24-->
<!--T:24-->
You are probably an user with an old GPU, just see [[Special:MyLanguage/#for-users with older computers|#For users with older computers]] for the solution.
You are probably an user with an old GPU, just see [[Special:MyLanguage/GFX_Troubleshooting#For_users_with_older_computers|#For users with older computers]] for the solution.
</translate>
</translate>