GFX Troubleshooting: Difference between revisions

m no language needs to migrate anymore
Marked this version for translation
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
There are numerous graphics (gfx) related bugs users encountered. Not all are fixable, but might have workarounds.
There are numerous graphics (gfx) related bugs users encountered. Not all are fixable, but might have workarounds.
This site is there to collect these to help those encountering the same issues.
This site is there to collect these to help those encountering the same issues.


== Game not starting == <!--T:2-->
== Game not starting == <!--T:2-->
Line 11: Line 10:
Generally there are two different types of users encountering these problems. Users with old computers (2015 and older) and users with new computers.
Generally there are two different types of users encountering these problems. Users with old computers (2015 and older) and users with new computers.


<span id="for-users with older computers"></span>
</translate>
</translate>
<span id="for-users-with-older-computers"></span>
<translate>
<translate>
=== For users with older computers === <!--T:4-->
=== For users with older computers === <!--T:4-->
Line 20: Line 17:
<!--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#config-dir|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 46: Line 43:
([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#config-dir|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 54: Line 51:
If you are a steam user, you can also pass it as steam start parameter by writing “gfx_backend Vulkan” (INCLUDING the “) (rightclick ddnet in steam, properties -&gt; start arguments
If you are a steam user, you can also pass it as steam start parameter by writing “gfx_backend Vulkan” (INCLUDING the “) (rightclick ddnet in steam, properties -&gt; start arguments


<span id="some-text is invisible with the vulkan backend"></span>
</translate>
</translate>
<span id="some-text-is-invisible-with-the-vulkan-backend"></span>
<translate>
<translate>
==Some text is invisible with the Vulkan backend == <!--T:13-->
==Some text is invisible with the Vulkan backend == <!--T:13-->


Line 69: Line 63:
If there is no driver from 2022 you should switch back to OpenGL, you sadly cannot use Vulkan then, inside the client just paste
If there is no driver from 2022 you should switch back to OpenGL, you sadly cannot use Vulkan then, inside the client just paste
<code>gfx_gl_major 3;gfx_gl_minor 3; gfx_backend opengl</code> in the F1 console and restart the client.
<code>gfx_gl_major 3;gfx_gl_minor 3; gfx_backend opengl</code> in the F1 console and restart the client.


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


<!--T:18-->
<!--T:18-->
Some users reported broken text, e.g. text that is unreadable as if the text was streetched.
Some users reported broken text, e.g. text that is unreadable as if the text was stretched.
This is caused by external overlays. Most people with this problem reported they used the "Razer Cortex" overlay. Disabling/uninstalling fixed the problem.
This is caused by external overlays. Most people with this problem reported they used the "Razer Cortex" overlay. Disabling/uninstalling fixed the problem.


==The client randomly crashes with an Intel GPU == <!--T:19-->
==The client randomly crashes with an Intel GPU == <!--T:19-->
Line 88: Line 80:
Else type <code>gfx_gl_major 2;gfx_gl_minor 0; gfx_backend opengl</code> in the F1 console of the client and restart.
Else type <code>gfx_gl_major 2;gfx_gl_minor 0; gfx_backend opengl</code> in the F1 console of the client and restart.


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


==Low FPS, stuttering or similar problems == <!--T:21-->
<!--T:26-->
 
<!--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:
Line 103: Line 94:
*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-->
Line 109: Line 99:
<!--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/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]].
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/GFX_Troubleshooting#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>