GFX Troubleshooting/zh: Difference between revisions

From DDraceNetwork
(Created page with "=== 旧电脑玩家 ===")
(Updating to match new version of source page)
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{MigrateTranslation}}
<languages />
<languages/>
 
本条目旨在解决因'''显卡而生的各种故障问题'''。
本条目旨在解决因'''显卡而生的各种故障问题'''。


<span id="Game_not_starting"></span>
<span id="Game_not_starting"></span>
<div class="mw-translate-fuzzy">
== 游戏无法启动 ==
== 游戏无法启动 ==
</div>


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




<span id="for-users with older computers"></span>
<span id="for-users-with-older-computers"></span>
 
<span id="For_users_with_older_computers"></span>
<span id="For_users_with_older_computers"></span>
<div class="mw-translate-fuzzy">
=== 旧电脑玩家 ===
=== 旧电脑玩家 ===
</div>


一般来说,您只需要强制使用OpenGL 1.x,就能正常启动游戏。要更改OpenGL,首先您需确保电脑没有运行DDNet客户端,然后编辑位于[[Special:MyLanguage/FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?|配置目录]]里的配置文件settings_ddnet.cfg在文件底部添加:
一般来说,您只需要强制使用OpenGL 1.x,就能正常启动游戏。
要更改OpenGL,首先您需确保电脑没有运行DDNet客户端(最好在任务管理器中确认),然后编辑位于[[Special:MyLanguage/FAQ#Where_is_the_DDNet_config,_config_directory_or_save_directory?|配置目录]]里的配置文件settings_ddnet.cfg
在文件底部添加:


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


<div lang="en" dir="ltr" class="mw-content-ltr">
如果游戏仍无法启动,您可用软件渲染,也就是完全依赖CPU渲染图形。其弊处在于游戏的FPS会大幅下降,您可使用以下方法优化调整
If all this still does not help, you can still fallback to software rendering. Software rendering means it runs all graphics calls on your CPU instead of your GPU. This results in far less FPS, but might still be playable with some tweaks. Grab the latest 64-bit version of ddnet from https://ddnet.org/downloads. Now download and install 7-Zip. Download the latest mesa for windows from https://github.com/pal1000/mesa-dist-win/releases
#下载:
which should be named like this: mesa3d-xx.y.z-release-mingw.7z.
#*最新64位版《DDNet》( https://ddnet.org/downloads.Download )
Unpack the DDNet client somewhere, unpack mesa. From mesa move all .dll files from the x64 directory inside the DDNet client’s directory. So all .dll files are next to DDNet.exe. If you did everything right it should start the client again, if not try to add
#*7-Zip
</div>
#*Mesa( https://github.com/pal1000/mesa-dist-win/releases )(需下载文件名字如mesa3d-xx.y.z-release-mingw.7z的压缩档)
#解压《DDNet》和Mesa,
#在Mesa中将x64文件夹中的所有.dll文件移至DDNet客户端配置目录里。
 
gfx_backend Vulkan
 
至此,您应当可以启动游戏。如果没有,请尝试在配置文件settings_ddnet.cfg底部添加上面这段代买。


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="For_users_with_new_computers"></span>
gfx_backend Vulkan
<div class="mw-translate-fuzzy">
=== 新电脑玩家 ===
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
一般都是驱动程序不正常而生的问题,您可前去相关厂商下载最新的驱动程序([https://www.amd.com/en/support AMD 用户],[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,编辑位于[[Special:MyLanguage/FAQ#Where is the DDNet config, config directory or save directory?|配置目录]]里的配置文件settings_ddnet.cfg
to the settings_ddnet.cfg as described above
确保 DDNet 客户端没有在允许(最好在任务管理器确认)。
</div>
在文件底部添加:


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


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
=== For users with new computers ===
===Third-party software===
Isolate the problem by closing all unnecessary programs, especially those that integrate with games and graphics, like Steam, Discord, recording software (e.g. OBS), monitoring software (e.g. FPS Monitor) etc.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Usually this is caused by bad drivers. You should check the manufacturers website for the newest drivers
*On Windows, crashes have been reported when using ''FPS Monitor'' (<code>fpsmonvk64.dll</code> appears in the crash log) with NVIDIA graphics cards and the Vulkan graphics backend. Uninstall FPS Monitor if you experience the client crashing on launch.
([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)].
*On Windows, users reported that Discord's game overlay was causing games to stutter or exhibit low frame rate performance. The issue was resolved by disabling the overlay setting in Discord.
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?]]
Make sure no DDNet Client is running (best is you even check in the taskmanager)
To the bottom of this file add:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="some-text-is-invisible-with-the-vulkan-backend"></span>
<pre>gfx_backend Vulkan</pre>
 
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>
<div class="mw-translate-fuzzy">
== Vulkan文字不可见的相关问题 ==
</div>
</div>


<div class="mw-translate-fuzzy">
[[File:Vulkangraphicsbug.jpg|thumb|“文字不可见”的显示问题]]
</div>


<span id="some-text is invisible with the vulkan backend"></span>
文字不可见是因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>,然后重启即可。
<div lang="en" dir="ltr" class="mw-content-ltr">
== Some text is invisible with the Vulkan backend ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Some_text_looks_broken"></span>
[[File:Vulkangraphicsbug.jpg|thumb|Vulkan graphics bug with missing text|center]]
<div class="mw-translate-fuzzy">
=== Razer Cortex 下文字损坏 ===
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
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.
[[File:Razer-Cortex-Overlay.png|thumb|“文字损坏”的显示问题]]
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>


许多玩家报告文字损坏的问题,例如说因为文字拉长撑大而无法阅读。
这是外部软件覆盖图像造成的。大部分存在这个问题的人都使用了雷游系统加速器(Razer Cortex),请尝试关闭或者卸载该软件解决。


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="The_client_randomly_crashes_with_an_Intel_GPU"></span>
== Some text looks broken ==
<div class="mw-translate-fuzzy">
== 英特尔显卡下客户端随机崩溃 ==
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
[[File:Razer-Cortex-Overlay.png|thumb|Razer Cortex-Overlay makes text unreadable|center]]
Windows中,英特尔显卡OpenGL 2.1+会导致各式故障问题,因此会令《DDNet》启用降级机制。您可转用Vulkan;或者在F1控制台输入<code>gfx_gl_major 2;gfx_gl_minor 0; gfx_backend opengl</code>,然后重启即可。
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Low_FPS,_stuttering_or_similar_problems"></span>
Some users reported broken text, e.g. text that is unreadable as if the text was streetched.
<div class="mw-translate-fuzzy">
This is caused by external overlays. Most people with this problem reported they used the "Razer Cortex" overlay. Disabling/uninstalling fixed the problem.
== 帧率过低、卡顿及类似问题 ==
</div>
</div>


 
<div class="mw-translate-fuzzy">
<div lang="en" dir="ltr" class="mw-content-ltr">
有许多因素可能导致这些问题,最常见的卡顿原因是驱动程序不合理或电脑部件过热。
== The client randomly crashes with an Intel GPU ==
下面是减少问题的相关向导,对于不熟悉的人下面的操作存在一定风险,请谨慎使用:
* 更新所有驱动和操作系统。Windows系统需要进入安全模式,使用 [https://www.guru3d.com/files-details/display-driver-uninstaller-download.html DDU(非开源软件,请自行寻找其它相似软件)] 或类似的工具卸载图形显示显卡驱动,之后重新在官网下载安装最新的驱动。这个方法能够解决许多意想不到的问题。(请注意,对于过度老旧的硬件更新驱动反而可能导致卡顿。)
* 对于 Windows 系统:使用重启按钮重启电脑,而不是关机再开机,这样会清除内存中的缓存。
* 清理电脑的散热器。利用空气压力清除所有粉尘(最好不用使用吸尘器,防止带电电荷影响精密的电子元件)。之后记得检测电脑运行时硬件的温度是否超过设计极限。
* 确保所有硬件(尤其是显卡)都正确组装。
* 在客户端中降低刷新率(相关控制台参数为cl_refresh_rate, gfx_refresh_rate)。
* 对于 Windows 系统:开启高性能模式。
* 关闭其他软件降低硬件性能压力,例如 Discord,或者键鼠工具。
* 拔掉所有不用的 USB 设备,例如 USB 手柄控制器等。
* 在客户端中更改渲染方式。设置 -> 图像 -> 渲染设置。
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Absolutely_nothing_helps"></span>
Usually DDNet has a strong fallback system for Intel GPUs on Windows as they often caused bugs with OpenGL 2.1+
<div class="mw-translate-fuzzy">
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>
</div>


<div class="mw-translate-fuzzy">
您可以看看您的显卡是否为AMD ryzen 3 2200g(目前唯一已知导致故障问题的显卡),假如显卡驱动程序并非Adrenalin 22.5.1 Recommended (WHQL)的 beta 版本,您可尝试使用OpenGL渲染方式(关于如何切换到OpenGL,参见[[Special:MyLanguage/GFX_Troubleshooting#some-text_is_invisible_with_the_vulkan_backend|Vulkan文字不可见]])。


<div lang="en" dir="ltr" class="mw-content-ltr">
否则您只能使用OpenGL 1.x渲染,参见
== Absolutely nothing helps ==
[[Special:MyLanguage/GFX_Troubleshooting#some-text is invisible with the vulkan backend|Vulkan文字不可见]]。
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
如果最终仍未解决您的问题,可能您的问题并非显卡故障,您可以在[[Special:MyLanguage/Troubleshooting|故障排除]][[Special:MyLanguage/FAQ|常见问题解答]]中查找您的问题解决方法;或者试试禁用杀毒软件(有风险,请慎用);使用最新版64位《DDNet》。假如您没有在上方找到解决方法,您可以前往官方[https://ddnet.org/discord Discord]中的#bugs子频道里汇报。
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]].
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.
</div>
</div>


 
<span id="Some_ingame_tiles_are_invisible_or_look_broken"></span>
<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
== Some ingame tiles are invisible or look broken ==
== 纹理文件不可见或显示错误 ==
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
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.
一般因旧显卡导致,解决方法可参见[[Special:MyLanguage/GFX_Troubleshooting#for-users-with-older-computers|旧电脑玩家]]
</div>
</div>

Revision as of 15:27, 5 May 2024

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

游戏无法启动

这种情况可分为两类,其一为旧电脑(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客户端配置目录里。
gfx_backend Vulkan

至此,您应当可以启动游戏。如果没有,请尝试在配置文件settings_ddnet.cfg底部添加上面这段代买。

新电脑玩家

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

gfx_backend Vulkan

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

Third-party software

Isolate the problem by closing all unnecessary programs, especially those that integrate with games and graphics, like Steam, Discord, recording software (e.g. OBS), monitoring software (e.g. FPS Monitor) etc.

  • On Windows, crashes have been reported when using FPS Monitor (fpsmonvk64.dll appears in the crash log) with NVIDIA graphics cards and the Vulkan graphics backend. Uninstall FPS Monitor if you experience the client crashing on launch.
  • On Windows, users reported that Discord's game overlay was causing games to stutter or exhibit low frame rate performance. The issue was resolved by disabling the overlay setting in Discord.

Vulkan文字不可见的相关问题

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

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

Razer Cortex 下文字损坏

“文字损坏”的显示问题

许多玩家报告文字损坏的问题,例如说因为文字拉长撑大而无法阅读。 这是外部软件覆盖图像造成的。大部分存在这个问题的人都使用了雷游系统加速器(Razer Cortex),请尝试关闭或者卸载该软件解决。

英特尔显卡下客户端随机崩溃

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

帧率过低、卡顿及类似问题

有许多因素可能导致这些问题,最常见的卡顿原因是驱动程序不合理或电脑部件过热。 下面是减少问题的相关向导,对于不熟悉的人下面的操作存在一定风险,请谨慎使用:

  • 更新所有驱动和操作系统。Windows系统需要进入安全模式,使用 DDU(非开源软件,请自行寻找其它相似软件) 或类似的工具卸载图形显示显卡驱动,之后重新在官网下载安装最新的驱动。这个方法能够解决许多意想不到的问题。(请注意,对于过度老旧的硬件更新驱动反而可能导致卡顿。)
  • 对于 Windows 系统:使用重启按钮重启电脑,而不是关机再开机,这样会清除内存中的缓存。
  • 清理电脑的散热器。利用空气压力清除所有粉尘(最好不用使用吸尘器,防止带电电荷影响精密的电子元件)。之后记得检测电脑运行时硬件的温度是否超过设计极限。
  • 确保所有硬件(尤其是显卡)都正确组装。
  • 在客户端中降低刷新率(相关控制台参数为cl_refresh_rate, gfx_refresh_rate)。
  • 对于 Windows 系统:开启高性能模式。
  • 关闭其他软件降低硬件性能压力,例如 Discord,或者键鼠工具。
  • 拔掉所有不用的 USB 设备,例如 USB 手柄控制器等。
  • 在客户端中更改渲染方式。设置 -> 图像 -> 渲染设置。

对于问题毫无帮助?

您可以看看您的显卡是否为AMD ryzen 3 2200g(目前唯一已知导致故障问题的显卡),假如显卡驱动程序并非Adrenalin 22.5.1 Recommended (WHQL)的 beta 版本,您可尝试使用OpenGL渲染方式(关于如何切换到OpenGL,参见Vulkan文字不可见)。

否则您只能使用OpenGL 1.x渲染,参见 Vulkan文字不可见

如果最终仍未解决您的问题,可能您的问题并非显卡故障,您可以在故障排除常见问题解答中查找您的问题解决方法;或者试试禁用杀毒软件(有风险,请慎用);使用最新版64位《DDNet》。假如您没有在上方找到解决方法,您可以前往官方Discord中的#bugs子频道里汇报。

纹理文件不可见或显示错误

一般因旧显卡导致,解决方法可参见旧电脑玩家