GFX Troubleshooting/zh: Difference between revisions

From DDraceNetwork
Darkh (talk | contribs)
Created page with "至此,您应当可以启动游戏。"
Tags: mobile web edit mobile edit
Darkh (talk | contribs)
Created page with "一般都是驱动程序不正常而生的问题,您可前去相关厂商下载最新的驱动程序(AMD用户[https://www.amd.com/en/support 点击这里],英伟达用户[https://www.nvidia.com/download/index.aspx?lang=en-us 点击这里],英特尔用户[https://www.intel.com/content/www/us/en/download-center/home.html 点击这里]。若您为英特尔用户须留意:[https://www.intel.cn/content/www/cn/zh/support/articles/000058958/graphics.html 此文章]..."
Line 38: Line 38:
一般都是驱动程序不正常而生的问题,您可前去相关厂商下载最新的驱动程序(AMD用户[https://www.amd.com/en/support 点击这里],英伟达用户[https://www.nvidia.com/download/index.aspx?lang=en-us 点击这里],英特尔用户[https://www.intel.com/content/www/us/en/download-center/home.html 点击这里]。若您为英特尔用户须留意:[https://www.intel.cn/content/www/cn/zh/support/articles/000058958/graphics.html 此文章])。如果游戏仍无法启动,请尝试使用Vulkan,编辑位于[[FAQ/zh#《DDNet》的配置文件,配置目录在哪?|配置目录]]里的配置文件settings_ddnet.cfg,在文件底部添加:
一般都是驱动程序不正常而生的问题,您可前去相关厂商下载最新的驱动程序(AMD用户[https://www.amd.com/en/support 点击这里],英伟达用户[https://www.nvidia.com/download/index.aspx?lang=en-us 点击这里],英特尔用户[https://www.intel.com/content/www/us/en/download-center/home.html 点击这里]。若您为英特尔用户须留意:[https://www.intel.cn/content/www/cn/zh/support/articles/000058958/graphics.html 此文章])。如果游戏仍无法启动,请尝试使用Vulkan,编辑位于[[FAQ/zh#《DDNet》的配置文件,配置目录在哪?|配置目录]]里的配置文件settings_ddnet.cfg,在文件底部添加:


<div lang="en" dir="ltr" class="mw-content-ltr">
gfx_backend Vulkan
<pre>gfx_backend Vulkan</pre>
Steam用户也可以在Steam中修改游戏启动选项(打开Steam库,右键点击游戏并选择“属性…”,在“通用”选项卡下,您会看到“启动选项”),输入:<code>"gfx_backend Vulkan"</code>(谨记打上"")。
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
</div>




<span id="some-text is invisible with the vulkan backend"></span>
<span id="some-text is invisible with the vulkan backend"></span>
<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Some_text_is_invisible_with_the_Vulkan_backend"></span>
== Some text is invisible with the Vulkan backend ==
== 文字相关问题 ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:Vulkangraphicsbug.jpg|thumb|“文字不可见”的显示问题]]
[[File:Vulkangraphicsbug.jpg|thumb|Vulkan graphics bug with missing text|center]]
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
文字不可见是因2021年AMD驱动程序而生的问题,您只需[https://www.amd.com/en/support 点击这里]下载2022年3月或更新的驱动程序即可解决。假如无2022年后的驱动程序,则代表您只能切回OpenGL,在DDNet客户端F1控制台输入<code>gfx_gl_major 3;gfx_gl_minor 3; gfx_backend opengl</code>,然后重启即可。
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
<code>gfx_gl_major 3;gfx_gl_minor 3; gfx_backend opengl</code> in the F1 console and restart the client.
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Some_text_looks_broken"></span>
== Some text looks broken ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=== Razer Cortex文字损坏 ===
[[File:Razer-Cortex-Overlay.png|thumb|Razer Cortex-Overlay makes text unreadable|center]]
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:Razer-Cortex-Overlay.png|thumb|“文字损坏”的显示问题]]
Some users reported broken text, e.g. text that is unreadable as if the text was streetched.
This is caused by external overlays. Most people with this problem reported they used the "Razer Cortex" overlay. Disabling/uninstalling fixed the problem.
</div>


文字损坏大多是因您启用了Razer Cortex,这会导致文字拉長撐大、无法阅读。禁用或卸载Razer Cortex即可解决。


<div lang="en" dir="ltr" class="mw-content-ltr">
== The client randomly crashes with an Intel GPU ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="The_client_randomly_crashes_with_an_Intel_GPU"></span>
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 <code>gfx_gl_major 2;gfx_gl_minor 0; gfx_backend opengl</code> in the F1 console of the client and restart.
</div>


Windows中,英特尔显卡OpenGL 2.1+会导致各式故障问题,因此会令《DDNet》启用降级机制。您可转用Vulkan;或者在F1控制台输入<code>gfx_gl_major 2;gfx_gl_minor 0; gfx_backend opengl</code>,然后重启即可。


<div lang="en" dir="ltr" class="mw-content-ltr">
 
== Absolutely nothing helps ==
<span id="Absolutely_nothing_helps"></span>
</div>
== 解决不了您的问题 ==


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

Revision as of 13:39, 3 June 2023

本条目旨在解决因显卡而生的各种故障问题


游戏无法启动

这种情况可分为两类,其一为旧电脑(2015年前)玩家,其二为新电脑玩家。


旧电脑玩家

一般来说,您只需要强制使用OpenGL 1.x,就能正常启动游戏。要更改OpenGL,首先您需确保电脑没有运行DDNet客户端,然后编辑位于配置目录里的配置文件settings_ddnet.cfg,在文件底部添加:

 gfx_gl_major 1
gfx_backend opengl

Steam用户也可以在Steam中修改游戏启动选项(打开Steam库,右键点击游戏并选择“属性…”,在“通用”选项卡下,您会看到“启动选项”),输入"gfx_gl_major 1; gfx_backend opengl"(谨记打上"")。

如果游戏仍无法启动,您可用软件渲染,也就是完全依赖CPU渲染图形。其弊处在于游戏的FPS会大幅下降,您可使用以下方法优化调整

  1. 下载:
  2. 解压《DDNet》和Mesa,
  3. 在Mesa中将x64文件夹中的所有.dll文件移至DDNet客户端配置目录里。
至此,您应当可以启动游戏。

如果没有,请尝试在配置文件settings_ddnet.cfg底部添加gfx_backend Vulkan


新电脑玩家

一般都是驱动程序不正常而生的问题,您可前去相关厂商下载最新的驱动程序(AMD用户点击这里,英伟达用户点击这里,英特尔用户点击这里。若您为英特尔用户须留意:此文章)。如果游戏仍无法启动,请尝试使用Vulkan,编辑位于配置目录里的配置文件settings_ddnet.cfg,在文件底部添加:

gfx_backend Vulkan

Steam用户也可以在Steam中修改游戏启动选项(打开Steam库,右键点击游戏并选择“属性…”,在“通用”选项卡下,您会看到“启动选项”),输入:"gfx_backend Vulkan"(谨记打上"")。


文字相关问题

“文字不可见”的显示问题

文字不可见是因2021年AMD驱动程序而生的问题,您只需点击这里下载2022年3月或更新的驱动程序即可解决。假如无2022年后的驱动程序,则代表您只能切回OpenGL,在DDNet客户端F1控制台输入gfx_gl_major 3;gfx_gl_minor 3; gfx_backend opengl,然后重启即可。


Razer Cortex文字损坏

“文字损坏”的显示问题

文字损坏大多是因您启用了Razer Cortex,这会导致文字拉長撐大、无法阅读。禁用或卸载Razer Cortex即可解决。


英特尔显卡导致游戏崩溃

Windows中,英特尔显卡OpenGL 2.1+会导致各式故障问题,因此会令《DDNet》启用降级机制。您可转用Vulkan;或者在F1控制台输入gfx_gl_major 2;gfx_gl_minor 0; gfx_backend opengl,然后重启即可。


解决不了您的问题

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.