显卡故障排除

From DDraceNetwork
Revision as of 09:48, 29 July 2023 by Darkh (talk | contribs)

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

游戏无法启动

这种情况可分为两类,其一为旧电脑(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"(谨记打上"")。

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,然后重启即可。

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

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

对于问题毫无帮助?

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

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

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

纹理文件显示错误

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