顯卡故障排除

From DDraceNetwork
Revision as of 09:46, 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頻道里匯報。

紋理文件顯示錯誤

一般因舊顯卡導致,解決方法可參見舊電腦玩家