|
|
(27 intermediate revisions by 2 users not shown) |
Line 5: |
Line 5: |
| 对于开发者进行故障排除的实用信息有: | | 对于开发者进行故障排除的实用信息有: |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | # 崩溃/警告日志文件 |
| # Crash/Assertion logs | | # 硬件信息(GPU,CPU,内存,运行系统(比如Windows, Linux等等))-所使用的GPU可以在客户端启动后按下f1打开控制台来查看,会以紫色文本显示。 |
| # Hardware information (GPU, CPU, RAM, operating system (e.g. Windows, Linux etc.)) - The used GPU can always be found by pressing F1 after client start. It should be highlighted in purple text. | | # 问题产生前的步骤 |
| # Steps to reproduce the problem | |
| </div>
| |
|
| |
|
|
| |
|
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="Crashes"></span> |
| == Crashes == | | == 崩溃 == |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 崩溃就是预料外的中断,或者说游戏突然关闭退出,通常由一个DDNet代码中的bug,或是其他软件引起。 |
| Crashes are unexpected shutdowns, that are most likely caused by a bug in the DDNet code, or in other software.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 经验法则是,如果你能重现崩溃,就尝试与开发人员联系。 |
| The rule of thumb is that, if you can reproduce the crash, you should reach out to the developers.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 见'''外部链接'''或者在[https://github.com/ddnet/ddnet GitHub]中创建一条问题。 |
| See '''external links''' or create an issue on [https://github.com/ddnet/ddnet GitHub].
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 自Windows系统的DDNet 16起,客户端会创建一份崩溃日志或是警告日志,可以在[[Special:MyLanguage/FAQ#Where_is_the_DDNet_config.2C_config_directory_or_save_directory.3F|配置路径的"dumps"目录]]下找到。 |
| Since DDNet 16 for Windows the client might create a crash log or assertion log which can be found in the [[Special:MyLanguage/FAQ#Where_is_the_DDNet_config.2C_config_directory_or_save_directory.3F|config directory under "dumps"]].
| |
| Just send them to the developers and they might be able to find useful information out of them.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 如果客户端在启动时就发生了崩溃,通常会是图像驱动出了问题(见[[Special:MyLanguage/GFX_Troubleshooting|GFX故障排除]]),或是杀毒软件误杀(上网搜索如何将特定应用,即DDNet,设置为受信任的程序)。 |
| If the client crashes at startup, it is commonly a broken graphics driver (see the [[Special:MyLanguage/GFX_Troubleshooting| GFX Troubleshooting]]) or an antivirus software (search the internet for how to disable it for a specific application/DDNet).
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | ''<small>提示:不是所有的崩溃/bug都是由DDNet代码引起的,你应该始终保持系统和驱动程序是最新状态。只有可复现的或是有崩溃日志的bug,才标志着DDNet的代码中出现了一些问题,并且可以被轻松修复。</small>'' |
| ''<small>Note: Not all crashes / bugs are caused by DDNet code, you should always keep your system and your drivers up to date. Only reproducable or bugs with a crash log, that indicates a bug in the DDNet code, can be fixed easily.</small>'' | |
| </div>
| |
|
| |
|
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="Graphics_problems"></span> |
| == Graphics problems == | | == 图像问题 == |
| </div>
| |
|
| |
|
| <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">
| | '''如果你有一个不是太老的GPU(显卡),尝试去更新一下它的驱动程序。以下所有方案都只是有副作用的补救措施(可能会使画面变得更差)。''' |
| '''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).''' | |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| |
| <pre> | | <pre> |
| Inside the client go on Settings -> Graphics
| | 在客户端内找到设置->图像 |
| Under "Renderer" select OpenGL 1
| | 在渲染设置中选择OpenGL |
| Restart
| | 重启游戏 |
| </pre> | | </pre> |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 如果你想要找到一个更好的解决方案,可以访问[[Special:MyLanguage/GFX_Troubleshooting|GFX故障排除]]页面,其中更详细的分析了各种图像问题并且给出了更多的细节信息。 |
| If you prefer to have a more appropriate solution for your problem, visit the [[Special:MyLanguage/GFX_Troubleshooting|GFX Troubleshooting]] page, which analysis graphics problems more specifically and gives extra details.
| |
| </div>
| |
|
| |
|
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="ALT_+_TAB_problems"></span> |
| == ALT + TAB problems == | | == ALT + TAB 问题 == |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 最大的可能是图像驱动的问题。不过你仍然可以使用窗口化全屏来尝试解决这个问题。 |
| This is most likely a graphics driver problem. However you can still try to fix it by using "Windowed Fullscreen".
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 这是一种特殊的全屏模式,并使游戏窗口如同全屏时一样运作,尽管它不是。 |
| This is a special fullscreen mode, that makes the window act like it is fullscreen, even if it's not.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | ''<small>提示:在有些系统上会有副作用。比如,在Windows系统中它可能会让Windows桌面合成器保持运行,并降低游戏的fps(帧率),并且在更坏的情况中提高输入延迟。</small>'' |
| ''<small>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.</small>''
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| |
| <pre> | | <pre> |
| Inside the client go on Settings -> Graphics
| | 在客户端内找到设置->图像 |
| Click on "Fullscreen" (or whatever you last selected) and choose "Windowed Fullscreen" instead
| | 点击“全屏”(或是你的当前窗口设置选项)并且选择“窗口化全屏” |
| </pre> | | </pre> |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | ''<small?(如果你在调整到该设置时遇见bug,那么就重启游戏,并且保证仍然选择的是“窗口化全屏”)</small>'' |
| ''<small>(if you experience bugs changing this mode, just restart the game once and make sure "Windowed Fullscreen" is still selected)</small>'' | |
| </div>
| |
|
| |
|
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="Broken_streaming"></span> |
| == Broken streaming == | | == 直播流异常 == |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 当你在discord直播DDNet时遇见了bug(虽然国服玩家基本不看这一直播平台),你大概率使用的是英伟达(nvidia)提供的显卡,以下简称n卡。 |
| When you experience a bug with streaming DDNet over discord, you are most likely using a nvidia graphics card.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 已经有用户向discord官方反馈,并且官方回复说: |
| A user already reached out to discord, and they told him to:
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | [https://github.com/ddnet/ddnet/issues/4711#issuecomment-1046824198 '''在 '''用户设置 > 声音和视频 '''中关闭“使用最新技术来捕获我的屏幕”设置项。'''] |
| [https://github.com/ddnet/ddnet/issues/4711#issuecomment-1046824198 '''Toggle off the "Use our latest technology to capture my screen" setting under User Settings > Voice & Video'''] | |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 如果你在n卡ShadowPlay(快捷键Alt+Z或Windows徽标键+G,n卡自带的录屏推流程序,老型号显卡可能没有)中找不到DDNet: |
| If you have problems finding DDNet in nvidia shadow play.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 确保你在使用n卡进行游戏(客户端启动后按f1进入控制台可以看到紫色文字标注了正在使用的图像处理设备)。 |
| 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)
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 在Windows系统中你通常可以在Windows的图像设置中选择想要使用的显卡,或者直接在你显卡的驱动程序设置面板中调整(比如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)
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="Network_/_Connection_problems"></span> |
| == Network / Connection problems == | | == 网络/连接问题 == |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | DDNet和Teeworlds的有关网络的源码需要一个稳定的网络连接,尽可能让延迟和抖动降低。 |
| DDNet and Teeworlds network code requires a stable connection with as less ping jitter as possible. | |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 如果你面临相关问题,尝试: |
| If you experience problems make sure to:
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | # 使用有线连接而不是无线连接 |
| # Use a LAN cable instead of Wifi | | # 关闭电脑上的其他程序或是关闭网络中其他的设备,然后辨别是否由它们造成了问题。 |
| # Turn off other applications on your computer and other computers in your network to tell if they are the source of the problem | | # 在有线连接时尽量使用DSL或是光纤 |
| # Prefer DSL/Fiber over cable internet | | # 确保服务器没有在遭受Dos/DDoS攻击(服务器之前是否还在线?其他服务器是否还在线?) |
| # Make sure it is not a DoS/DDoS attack on the server (did it ever work before, do other servers work fine?) | | # 尝试在cmd中使用<code>ping -t chn11.ddnet.org</code>几分钟,并用ctrl+c来停止,检查是否同样出现ping值波动或者丢包现象 |
| # Try <code>ping -t ger2.ddnet.org</code> 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 | | # 尝试在cmd中使用<code>tracert chn11.ddnet.org</code>来追踪DDNet服务器,检查是否时线路连接有问题(让你的网络服务提供商来修复) |
| # Try to trace route the connection to the DDNet server (using <code>tracert ger2.ddnet.org</code> in cmd.exe) and see if there is bad routing (ask your ISP to fix it) | |
| </div>
| |
這篇文章旨在幫助你解決在DDNet中遇到的問題。
對於開發者進行故障排除的實用信息有:
- 崩潰/警告日誌文件
- 硬體信息(GPU,CPU,內存,運行系統(比如Windows, Linux等等))-所使用的GPU可以在客戶端啟動後按下f1打開控制台來查看,會以紫色文本顯示。
- 問題產生前的步驟
崩潰
崩潰就是預料外的中斷,或者說遊戲突然關閉退出,通常由一個DDNet代碼中的bug,或是其他軟體引起。
經驗法則是,如果你能重現崩潰,就嘗試與開發人員聯繫。
見外部連結或者在GitHub中創建一條問題。
自Windows系統的DDNet 16起,客戶端會創建一份崩潰日誌或是警告日誌,可以在配置路徑的"dumps"目錄下找到。
如果客戶端在啟動時就發生了崩潰,通常會是圖像驅動出了問題(見GFX故障排除),或是殺毒軟體誤殺(上網搜索如何將特定應用,即DDNet,設置為受信任的程序)。
提示:不是所有的崩潰/bug都是由DDNet代碼引起的,你應該始終保持系統和驅動程序是最新狀態。只有可復現的或是有崩潰日誌的bug,才標誌著DDNet的代碼中出現了一些問題,並且可以被輕鬆修復。
圖像問題
如果你發現畫面有卡頓,並且開發人員可以復現這些問題,那麼大概率是你的圖像驅動版本太老,含有bug,或是被硬體廠商所拋棄。
你仍然可以嘗試以下方法:
如果你有一個不是太老的GPU(顯卡),嘗試去更新一下它的驅動程序。以下所有方案都只是有副作用的補救措施(可能會使畫面變得更差)。
在客户端内找到设置->图像
在渲染设置中选择OpenGL
重启游戏
如果你想要找到一個更好的解決方案,可以訪問GFX故障排除頁面,其中更詳細的分析了各種圖像問題並且給出了更多的細節信息。
ALT + TAB 問題
最大的可能是圖像驅動的問題。不過你仍然可以使用窗口化全屏來嘗試解決這個問題。
這是一種特殊的全屏模式,並使遊戲窗口如同全屏時一樣運作,儘管它不是。
提示:在有些系統上會有副作用。比如,在Windows系統中它可能會讓Windows桌面合成器保持運行,並降低遊戲的fps(幀率),並且在更壞的情況中提高輸入延遲。
在客户端内找到设置->图像
点击“全屏”(或是你的当前窗口设置选项)并且选择“窗口化全屏”
<small?(如果你在調整到該設置時遇見bug,那麼就重啟遊戲,並且保證仍然選擇的是「窗口化全屏」)
直播流異常
當你在discord直播DDNet時遇見了bug(雖然國服玩家基本不看這一直播平台),你大概率使用的是英偉達(nvidia)提供的顯卡,以下簡稱n卡。
已經有用戶向discord官方反饋,並且官方回覆說:
在 用戶設置 > 聲音和視頻 中關閉「使用最新技術來捕獲我的屏幕」設置項。
如果你在n卡ShadowPlay(快捷鍵Alt+Z或Windows徽標鍵+G,n卡自帶的錄屏推流程序,老型號顯卡可能沒有)中找不到DDNet:
確保你在使用n卡進行遊戲(客戶端啟動後按f1進入控制台可以看到紫色文字標註了正在使用的圖像處理設備)。
在Windows系統中你通常可以在Windows的圖像設置中選擇想要使用的顯卡,或者直接在你顯卡的驅動程序設置面板中調整(比如nvidia控制面板)。
網絡/連接問題
DDNet和Teeworlds的有關網絡的源碼需要一個穩定的網絡連接,儘可能讓延遲和抖動降低。
如果你面臨相關問題,嘗試:
- 使用有線連接而不是無線連接
- 關閉電腦上的其他程序或是關閉網絡中其他的設備,然後辨別是否由它們造成了問題。
- 在有線連接時儘量使用DSL或是光纖
- 確保伺服器沒有在遭受Dos/DDoS攻擊(伺服器之前是否還在線?其他伺服器是否還在線?)
- 嘗試在cmd中使用
ping -t chn11.ddnet.org
幾分鐘,並用ctrl+c來停止,檢查是否同樣出現ping值波動或者丟包現象
- 嘗試在cmd中使用
tracert chn11.ddnet.org
來追蹤DDNet伺服器,檢查是否時線路連接有問題(讓你的網絡服務提供商來修復)