rewrite nvidia-detect

Taylor Kline taylor.kline at utexas.edu
Tue Jan 10 00:01:55 UTC 2017


umm disregard my accidentally sent email that clearly shows I am just
learning how to use the mailing list.

I didn't do an extensive code review but it did detect my Optimus setup:

Find the NVIDIA driver version for Debian Stretch.
Checking PCI ID: 8086191b is not a valid NVIDIA device ID. Ignoring this PCI ID.
Checking PCI ID: 10de139b Found: GM107M [GeForce GTX 960M]

WARNING! This looks like a NVIDIA Optimus GPU,
maybe you prefeer a Bumblebee setup, or try
the experimental NVIDIA Prime support in 370 >

Your GPU(s) are supported by Nvidia driver version(s):
375xx
It is recommanded to install the following Debian package:
nvidia-driver

On Mon, Jan 9, 2017 at 3:52 PM, Floris <jkfloris at dds.nl> wrote:
> I made a rewrite of the nvidia-detect script.
>
> - The script is compatible with sh, bash and dash.
> - It is easy to add or remove supported Debian and NVIDIA versions.
> - Use the -d switch to mimic a Debian version.
> - support for multiple NVIDIA GPUs (or as PCI-ID on the command line)
> - No new dependencies, only pciutils
> - Try to detect NVIDIA Optimus (Unfortunately I doesn't have a device to
> test this)
>
> I'm only scripting as a hobby, so feel free to correct and teach me new
> things!
>
> Floris



More information about the pkg-nvidia-devel mailing list