Troubleshooting/zh: Difference between revisions

From DDraceNetwork
EdEnd (talk | contribs)
Created page with "''<small>提示:不是所有的崩溃/bug都时由DDNet代码引起的,你应该始终保持系统和驱动程序是最新状态。只有可复现的或是有崩溃日志的bug,才标志着DDNet的代码中出现了一些问题,并且可以被轻松修复。</small>''"
EdEnd (talk | contribs)
Created page with "如果你发现画面有卡顿,并且开发人员可以复现这些问题,那么大概率是你的图像驱动版本太老,含有bug,或是被硬件厂商所抛弃。"
Line 30: Line 30:
== 图像问题 ==
== 图像问题 ==


<div lang="en" dir="ltr" class="mw-content-ltr">
如果你发现画面有卡顿,并且开发人员可以复现这些问题,那么大概率是你的图像驱动版本太老,含有bug,或是被硬件厂商所抛弃。
If you experience graphics glitches, and the developers cannot reproduce them, there is a good chance that your graphics drivers are outdated, contain bugs or simply are abandoned by the hardware company.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
你仍然可以尝试以下方法:
You can still try the following thing:
</div>


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

Revision as of 16:51, 27 May 2023

这篇文章旨在帮助你解决在DDNet中遇到的问题。

对于开发者进行故障排除的实用信息有:

  1. 崩溃/警告日志文件
  2. 硬件信息(GPU,CPU,内存,运行系统(比如Windows, Linux等等))-所使用的GPU可以在客户端启动后按下f1打开控制台来查看,会以紫色文本显示。
  3. 问题产生前的步骤


崩溃

崩溃就是预料外的中断,或者说游戏突然关闭退出,通常由一个DDNet代码中的bug,或是其他软件引起。

经验法则是,如果你能重现崩溃,就尝试与开发人员联系。

外部链接或者在GitHub中创建一条问题。

自Windows系统的DDNet 16起,客户端会创建一份崩溃日志或是警告日志,可以在配置路径的"dumps"目录下找到。

如果客户端在启动时就发生了崩溃,通常会是图像驱动出了问题(见GFX故障排除),或是杀毒软件误杀(上网搜索如何将特定应用,即DDNet,设置为受信任的程序)。

提示:不是所有的崩溃/bug都时由DDNet代码引起的,你应该始终保持系统和驱动程序是最新状态。只有可复现的或是有崩溃日志的bug,才标志着DDNet的代码中出现了一些问题,并且可以被轻松修复。


图像问题

如果你发现画面有卡顿,并且开发人员可以复现这些问题,那么大概率是你的图像驱动版本太老,含有bug,或是被硬件厂商所抛弃。

你仍然可以尝试以下方法:

If you have a modern GPU try to update your drivers first, all of the following steps are fallbacks that also have drawbacks (e.g. worse graphics).

Inside the client go on Settings -> Graphics
Under "Renderer" select OpenGL 1
Restart

If you prefer to have a more appropriate solution for your problem, visit the GFX Troubleshooting page, which analysis graphics problems more specifically and gives extra details.


ALT + TAB problems

This is most likely a graphics driver problem. However you can still try to fix it by using "Windowed Fullscreen".

This is a special fullscreen mode, that makes the window act like it is fullscreen, even if it's not.

Note: There is a drawback on some systems. E.g. under Windows it might leave the Windows desktop compositor active, which results in less FPS, and in worst case more input delay.

Inside the client go on Settings -> Graphics
Click on "Fullscreen" (or whatever you last selected) and choose "Windowed Fullscreen" instead

(if you experience bugs changing this mode, just restart the game once and make sure "Windowed Fullscreen" is still selected)


Broken streaming

When you experience a bug with streaming DDNet over discord, you are most likely using a nvidia graphics card.

A user already reached out to discord, and they told him to:

If you have problems finding DDNet in nvidia shadow play.

Make sure you actually use the nvidia card to play DDNet (press F1 after a client start and see the purple text saying something like "gfx [...] Vendor:", it should mention nvidia)

Under Windows you can usually select the preferred graphics card under Windows' graphics options, or directly in the control panel of your graphics driver (e.g. nvidia control panel)

Network / Connection problems

DDNet and Teeworlds network code requires a stable connection with as less ping jitter as possible.

If you experience problems make sure to:

  1. Use a LAN cable instead of Wifi
  2. Turn off other applications on your computer and other computers in your network to tell if they are the source of the problem
  3. Prefer DSL/Fiber over cable internet
  4. Make sure it is not a DoS/DDoS attack on the server (did it ever work before, do other servers work fine?)
  5. Try ping -t ger2.ddnet.org in cmd.exe for a few minutes, stop it with ctrl-c, and check the if the ping jumps there too or you have packet loss
  6. Try to trace route the connection to the DDNet server (using tracert ger2.ddnet.org in cmd.exe) and see if there is bad routing (ask your ISP to fix it)