Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

Linux 顯卡驅動安裝後解析度異常?NVIDIA 官方驅動 + xorg.conf 強制指定模式解決

編輯:關於 Linux

安裝 NVIDIA 官方驅動 (.run) 後常出現解析度過低、無開機動畫等問題。本文完整記錄:下載對應顯卡驅動、禁用 nouveau (加入 blacklist.conf、重建 initramfs) 、安裝 gcc kernel-devel、進入 init 3 文字模式執行 sh NVIDIA-Linux-xxx.run、安裝後解析度異常需手動編輯 /etc/X11/xorg.conf 在 Screen 區段指定 Modes "1920x1080" 並關閉 DynamicTwinView、重啟 X 服務驗證。雖屬強制指定模式,但能解決驅動自動偵測失敗導致的低解析度困擾。

關鍵步驟摘要

  1. lspci | grep VGA 確認顯卡型號下載驅動
  2. 禁用 nouveau:
    echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
    dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
  3. yum -y install gcc kernel-devel
  4. init 3 進入文字模式,sh NVIDIA-Linux-xxx.run
  5. 修正解析度:編輯 /etc/X11/xorg.conf
    Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      SubSection "Display"
        Depth 24
        Modes "1920x1080"
      EndSubSection
    EndSection
  6. 重啟 X 或重開機

官方驅動雖啟用 3D 特效,但自動偵測不準時需手動 xorg.conf 強制模式,屬已知權衡取捨。

Copyright © Windows教程網 All Rights Reserved