我想验证当前用于 NVIDIA 的驱动程序,然后在必要时将驱动程序切换到 nvidia-331-updates。
我如何做到这一点?
sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00000FFBsv00001462sd000010DBbc03sc00i00
model : GK107GLM [Quadro K2000M]
vendor : NVIDIA Corporation
driver : nvidia-331-updates - distro non-free
driver : nvidia-304 - distro non-free
driver : nvidia-304-updates - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
sudo ubuntu-drivers list
nvidia-304
nvidia-331
nvidia-331-updates
nvidia-304-updates
Run Code Online (Sandbox Code Playgroud)
(我试过sudo ubuntu-drivers autoinstall
和sudo ubuntu-drivers autoinstall nvidia-331-updates
- desperatly,在缺乏有效的帮助文本-无济于事)
最近有人问过一个类似的问题(How do you use ubuntu-drivers-common or software-properties in the command line to change graphics drivers?)但提问者接受了一个并没有真正回答问题的答案。这就是为什么我想再试一次。
我首先对此感兴趣的原因是因为在尝试设置第二台显示器后突然摆弄图形“附加驱动程序”工具停止工作。
不,你不能。至少使用该工具不会。没有可以帮助您安装不同驱动程序的命令:
list: Show all driver packages which apply to the current system.
debug: Print all available information and debug data about drivers.
devices: Show all devices which need drivers, and which packages apply to them.
autoinstall: Install drivers that are appropriate for automatic installation.
Run Code Online (Sandbox Code Playgroud)
list
不安装,但列出。debug
只是打印更多信息。devices
内容丰富。autoinstall
不允许其他参数:
list: Show all driver packages which apply to the current system.
debug: Print all available information and debug data about drivers.
devices: Show all devices which need drivers, and which packages apply to them.
autoinstall: Install drivers that are appropriate for automatic installation.
Run Code Online (Sandbox Code Playgroud)
apt
您可以忽略该工具并使用以下输出手动安装软件包。只需删除一个包并安装另一个:
sudo apt-get install nvidia-331-updates
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
16351 次 |
最近记录: |