GFX Troubleshooting/uk: Difference between revisions

From DDraceNetwork
(Created page with "Якщо вищезазначені дії не допомогли, ви можете спробувати переключитися на програмну візуалізацію гри. Це означає, що тепер кадри буде відтворювати не ваша відеокарта, а процесор, що може вплинути на продуктивність гри. Для цього знадобиться завантажити оста...")
(Created page with "gfx_backend Vulkan")
Line 22: Line 22:
Якщо вищезазначені дії не допомогли, ви можете спробувати переключитися на програмну візуалізацію гри. Це означає, що тепер кадри буде відтворювати не ваша відеокарта, а процесор, що може вплинути на продуктивність гри. Для цього знадобиться завантажити останню версію гри, яка відповідає розрядності вашої системи, на офіційному сайті [https://ddnet.org/downloads DDNet], завантажити і встановити [https://www.7-zip.org/download.html 7-Zip], завантажити [https://github.com/pal1000/mesa-dist-win/releases Mesa3D]. Архів Mesa називається приблизно так: mesa3d-xx.y.z-release-mingw.7z. Розпакуйте гру та розпакуйте Mesa3D. Скопіюйте файли з розширенням .dll з папки 64-х (або 86-х для 32-бітних систем) в папку з грою і спробуйте запустити DDNet. Якщо це не допомогло, то спробуйте додати
Якщо вищезазначені дії не допомогли, ви можете спробувати переключитися на програмну візуалізацію гри. Це означає, що тепер кадри буде відтворювати не ваша відеокарта, а процесор, що може вплинути на продуктивність гри. Для цього знадобиться завантажити останню версію гри, яка відповідає розрядності вашої системи, на офіційному сайті [https://ddnet.org/downloads DDNet], завантажити і встановити [https://www.7-zip.org/download.html 7-Zip], завантажити [https://github.com/pal1000/mesa-dist-win/releases Mesa3D]. Архів Mesa називається приблизно так: mesa3d-xx.y.z-release-mingw.7z. Розпакуйте гру та розпакуйте Mesa3D. Скопіюйте файли з розширенням .dll з папки 64-х (або 86-х для 32-бітних систем) в папку з грою і спробуйте запустити DDNet. Якщо це не допомогло, то спробуйте додати


  <div lang="en" dir="ltr" class="mw-content-ltr">
  gfx_backend Vulkan
gfx_backend Vulkan
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 11:09, 27 August 2023

На цій сторінці зібрані рішення типових проблем з графікою, які гравці змогли виявити. Не всі вони можуть допомогти, але варто спробувати.

Гра не запускається

Розділимо гравців на дві групи: гравці зі старими комп'ютерами (до 2015 року) та гравці з новими комп'ютерами.

Для гравців зі старими комп'ютерами

Зазвичай достатньо примусово встановити OpenGL 1.x, і гра запуститься. Для цього відредагуйте settings_ddnet.cfg, який знаходиться в каталозі config (FAQ#Де знаходиться DDNet config, каталог config або каталог збереження?). Переконайтеся, що жоден клієнт DDNet не запущений (найкраще перевірити навіть у диспетчері завдань). У нижній частині цього файлу додайте:

gfx_gl_major 1

gfx_backend opengl Якщо ви запускаєте гру через Steam, то можете налаштувати параметри запуску гри, які можна знайти в властивостях гри (ПКМ по іконці). Вставте до параметрів запуску наступний рядок разом із лапками: "gfx_gl_major 1; gfx_backend opengl"

Якщо вищезазначені дії не допомогли, ви можете спробувати переключитися на програмну візуалізацію гри. Це означає, що тепер кадри буде відтворювати не ваша відеокарта, а процесор, що може вплинути на продуктивність гри. Для цього знадобиться завантажити останню версію гри, яка відповідає розрядності вашої системи, на офіційному сайті DDNet, завантажити і встановити 7-Zip, завантажити Mesa3D. Архів Mesa називається приблизно так: mesa3d-xx.y.z-release-mingw.7z. Розпакуйте гру та розпакуйте Mesa3D. Скопіюйте файли з розширенням .dll з папки 64-х (або 86-х для 32-бітних систем) в папку з грою і спробуйте запустити DDNet. Якщо це не допомогло, то спробуйте додати

gfx_backend Vulkan

to the settings_ddnet.cfg as described above

For users with new computers

Usually this is caused by bad drivers. You should check the manufacturers website for the newest drivers (AMD, NVIDIA, Intel). For Intel also note this article: 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 Do this by editing settings_ddnet.cfg that is located inside the config 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) To the bottom of this file add:

gfx_backend Vulkan

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 -> start arguments

Some text is invisible with the Vulkan backend

Vulkan graphics bug with missing text

Users with an AMD card reported this and it’s caused by AMD driver from 2021. Just visit and download a driver from march 2022 or newer from https://www.amd.com/en/support. If there is no driver from 2022 you should switch back to OpenGL, you sadly cannot use Vulkan then, inside the client just paste gfx_gl_major 3;gfx_gl_minor 3; gfx_backend opengl in the F1 console and restart the client.

Some text looks broken

Razer Cortex-Overlay makes text unreadable

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.

The client randomly crashes with an Intel GPU

Usually DDNet has a strong fallback system for Intel GPUs on Windows as they often caused bugs with OpenGL 2.1+ If you have a recent Intel GPU you can simply switch to Vulkan in the graphic settings inside the client. Else type gfx_gl_major 2;gfx_gl_minor 0; gfx_backend opengl in the F1 console of the client and restart.

Low FPS, stuttering or similar problems

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:

  • Update all drivers, and the operating system to latest version. On Windows go in the Windows safe mode and uninstall the graphics driver using 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
  • 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.
  • Try to lower the refresh rate in the client (cl_refresh_rate, gfx_refresh_rate).
  • For Windows: set Windows to high performance mode
  • Close all other software (e.g. Discord, Mouse/Keyboard tools)
  • Unplug all USB devices you don't need (USB sticks, controllers etc.)
  • Try a different renderer in the DDNet client. settings -> graphics -> renderer

Absolutely nothing helps

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 #Some text is invisible with the Vulkan backend. Else you have to accept to use an OpenGL 1.x backend as described in #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.

Some ingame tiles are invisible or look broken

You are probably an user with an old GPU, just see #For users with older computers for the solution.