在Debian 10上安装NVIDIA驱动程序

1. 添加非自由的贡献组件


deb http://ftp.jp.debian.org/debian/ buster main non-free contrib 

安装/运行nvidia-detect以获取驱动程序的deb名称。

Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GLM [Quadro 1000M] [10de:0dfa] (rev a1)

Checking card:  NVIDIA Corporation GF108GLM [Quadro 1000M] (rev a1)
Your card is only supported up to the 390 legacy drivers series.
It is recommended to install the
    nvidia-legacy-390xx-driver
package.

3. 安装驱动程序

apt install nvidia-legacy-390xx-driver

重新启动

问题

分辨率被自动调整,导致字体变得过大。

在HP笔记本(分辨率为1920×1080)上,由于NVIDIA的驱动程序,DPI将自动设置为139×144。

在NVIDIA的控制面板中选择“X Server Display Configuration”,然后点击“Save X Configuration”按钮,
将其保存为/usr/share/X11/xorg.conf.d/90-nvidia.conf,并添加以下行。

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    ....

    Option "UseEditDpi" "FALSE"
    Option  "DPI"   "96x96"
EndSection

如果添加UseEditDpi和DPI,可以手动进行设置。

广告
将在 10 秒后关闭
bannerAds